1 2019-09-18 Joseph Myers <joseph@codesourcery.com>
3 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
8 * sysdeps/s390/hp-timing.h: New file.
10 2019-09-18 Joseph Myers <joseph@codesourcery.com>
12 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
14 (CLONE_VM): New macro.
15 (CLONE_VFORK): Likewise.
17 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
19 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
20 Rearrange subprocesses.
21 (pldd_process): New function.
22 * support/Makefile (libsupport-routines): Add support_ptrace.
23 * support/xptrace.h: New file.
24 * support/support_ptrace.c: Likewise.
26 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
30 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31 (INTERNAL_VSYSCALL_CALL): Remove.
32 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33 (INTERNAL_VSYSCALL_CALL): Likewise.
34 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35 (INTERNAL_VSYSCALL_CALL): Likewise.
36 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
39 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
41 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
42 (__get_timebase_freq): Remove use of
43 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
44 (get_timebase_freq_fallback): New symbol.
45 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
46 HAVE_GETTIMEOFDAY_VSYSCALL.
47 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
49 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
54 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
55 * .../sysv/linux/powerpc/powerpc64/sysdep.h
56 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
58 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
60 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
61 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
62 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
64 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
65 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
66 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
67 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
68 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
69 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
70 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
71 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
72 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
73 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
75 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
76 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
77 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
78 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
79 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
80 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
81 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
83 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
84 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
85 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
86 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
87 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
88 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
90 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
91 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
92 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
93 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
94 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
95 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
96 HAVE_GETCPU_VSYSCALL): Likewise.
97 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
98 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
99 HAVE_GETCPU_VSYSCALL): Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
101 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
103 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
104 HAVE_GETCPU_VSYSCALL): Likewise.
105 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
106 invalid names if architecture does not define them.
107 (get_vdso_mangle_symbol): New symbol.
108 * sysdeps/unix/sysv/linux/init-first.c: New file.
109 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
111 clock_gettime, clock_getres, getcpu, time): Remove declaration.
112 (__libc_vdso_platform_setup_arch): Likewise and use
113 get_vdso_mangle_symbol to setup vDSO symbols.
114 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
116 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
117 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
120 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
121 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
122 Use get_vdso_symbol instead of _dl_vdso_vsym.
123 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
124 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
125 (__lookup_riscv_flush_icache): Likewise.
126 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
128 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
129 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
130 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
131 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
132 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
133 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
135 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
136 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
137 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
139 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
141 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
143 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
145 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
151 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
152 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
154 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
155 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
156 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
157 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
159 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
161 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
163 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
164 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
166 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
167 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
168 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
169 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
170 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
171 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
172 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
173 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
174 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
175 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
176 (get_vdso_symbol): New function.
178 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
180 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
181 position of string null termination.
183 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
186 * sysdeps/unix/alpha/getegid.S: Move to ...
187 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
188 * sysdeps/unix/alpha/geteuid.S: Move to ...
189 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
190 * sysdeps/unix/alpha/getppid.S: Move to ...
191 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
193 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
195 Fix http: URL in 'configure'
196 * configure.ac: Add URL to AC_INIT so that it generates an
197 https: URL instead of an http: URL.
198 * configure: Regenerate.
200 Regenerate charmap-kw.h, locfile-kw.h
201 This propagates the recent http->https URL changes.
202 Since I used gperf 3.1 to regenerate, this is also a minor
203 internal-to-localedef API change.
204 URL problem reported by Joseph Myers in:
205 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
206 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
207 Regenerate with gperf 3.1.
208 * locale/programs/linereader.h (kw_hash_fct_t):
209 * locale/programs/repertoire.c (repertoiremap_hash):
210 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
212 2019-09-05 Florian Weimer <fweimer@redhat.com>
215 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
216 (_nl_category_names_get): New function.
217 * intl/dcigettext.c (category_to_name): Call it.
218 * locale/findlocale.c (_nl_find_locale): Likewise.
219 * intl/loadlocale.c (_nl_load_locale): Likewise.
220 * locale/newlocale.c (__newlocale): Likewise.
221 * locale/setlocale.c (_nl_category_names): Adjust definition.
222 (_nl_category_name_idxs): Likewise.
223 (new_composite_name): Call _nl_category_names_get.
224 (setlocale): Likewise.
226 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
228 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
229 const attribute with pure attribute.
231 2019-09-04 Lukasz Majewski <lukma@denx.de>
233 * sysdeps/unix/sysv/linux/kernel-features.h
234 (__ASSUME_TIME64_SYSCALLS): New macro.
236 2019-09-04 Zack Weinberg <zackw@panix.com>
239 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
240 * rt/clock_getres.c: Move to time/clock_getres.c.
241 * rt/clock_gettime.c: Move to time/clock_gettime.c.
242 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
243 * rt/clock_settime.c: Move to time/clock_settime.c.
244 * rt/tst-clock.c: Move to time/tst-clock.c.
245 * rt/tst-clock2.c: Move to time/tst-clock2.c.
246 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
247 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
248 * rt/clock-compat.c: Delete file.
250 * time/clock_getcpuclockid.c
251 * time/clock_getres.c
252 * time/clock_gettime.c
253 * time/clock_nanosleep.c
254 * time/clock_settime.c
255 * sysdeps/posix/clock_getres.c
256 * sysdeps/unix/clock_gettime.c
257 * sysdeps/unix/clock_nanosleep.c
258 * sysdeps/unix/clock_settime.c
259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
260 * sysdeps/unix/sysv/linux/clock_getres.c
261 * sysdeps/unix/sysv/linux/clock_gettime.c
262 * sysdeps/unix/sysv/linux/clock_nanosleep.c
263 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
264 defined by this file with default symbol version GLIBC_2_17,
265 and optionally a compatibility alias at symbol version GLIBC_2_2.
266 * include/time.h: Remove internal prototypes for clock_getres,
267 clock_nanosleep, and clock_getcpuclockid.
269 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
270 Remove unused function realtime_gettime.
272 * rt/Makefile (clock-routines, routines): Remove variable.
273 (librt-routines): Remove clock-compat.
274 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
276 * time/Makefile (routines): Add clock_getres, clock_gettime,
277 clock_settime, clock_getcpuclockid, and clock_nanosleep.
278 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
281 * rt/Versions (libc): Remove entire stanza.
282 (librt GLIBC_2.2): Remove all clock_* functions.
283 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
284 Add clock_getres, clock_gettime, clock_settime,
285 clock_getcpuclockid, and clock_nanosleep.
286 (libc GLIBC_PRIVATE): Add __clock_gettime.
288 * sysdeps/mach/hurd/i386/librt.abilist
289 * sysdeps/unix/sysv/linux/alpha/librt.abilist
290 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
291 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
292 * sysdeps/unix/sysv/linux/hppa/librt.abilist
293 * sysdeps/unix/sysv/linux/i386/librt.abilist
294 * sysdeps/unix/sysv/linux/ia64/librt.abilist
295 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
296 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
297 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
298 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
299 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
300 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
303 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
304 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
305 * sysdeps/unix/sysv/linux/sh/librt.abilist
306 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
307 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
308 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
309 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
310 Remove entries for clock_getres, clock_gettime, clock_settime,
311 clock_getcpuclockid, and clock_nanosleep.
313 * sysdeps/mach/hurd/i386/libc.abilist
314 * sysdeps/unix/sysv/linux/alpha/libc.abilist
315 * sysdeps/unix/sysv/linux/arm/libc.abilist
316 * sysdeps/unix/sysv/linux/hppa/libc.abilist
317 * sysdeps/unix/sysv/linux/i386/libc.abilist
318 * sysdeps/unix/sysv/linux/ia64/libc.abilist
319 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
322 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
324 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
330 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
331 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
332 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
333 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
334 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
335 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
336 Add another set of entries for clock_getres, clock_gettime,
337 clock_settime, clock_getcpuclockid, and clock_nanosleep at
338 whatever version GLIBC_2.2 maps to.
340 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
342 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
344 2019-09-03 Florian Weimer <fweimer@redhat.com>
347 * locale/programs/charmap.h (struct charseq): Turn bytes into a
348 flexible array member.
349 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
352 2019-09-02 Florian Weimer <fweimer@redhat.com>
354 * misc/tst-mntent-autofs.c: New file.
355 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
357 2019-09-02 Ian Kent <ikent@redhat.com>
359 Use autofs "ignore" mount hint in getmntent_r/getmntent.
360 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
362 (__getmntent_r): Call it. Filter out autofs entries with an
363 "ignore" mount option.
365 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
367 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
368 (generic_memcpy): Include generic C memcpy.
369 * benchtests/bench-memmove.c (simple_memmove): Remove.
370 (generic_memmove): Include generic C memmove.
371 * benchtests/bench-memset.c (simple_memset): Remove.
372 (generic_memset): Include generic C memset.
373 * benchtests/bench-memset-large.c (simple_memset): Remove.
374 (generic_memset): Include generic C memset.
375 * benchtests/bench-memset-walk.c (simple_memset): Remove.
376 (generic_memset): Include generic C memset.
377 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
378 * string/memset.c (MEMSET): Likewise.
379 * sysdeps/x86_64/memcopy.h: Remove empty file.
381 2019-08-30 Florian Weimer <fweimer@redhat.com>
383 nptl: Move pthread_attr_getinheritsched implementation into libc.
384 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
385 (libpthread-routines): Remove pthread_attr_getinheritsched.
386 * nptl/Versions (libpthread GLIBC_2.0): Remove
387 pthread_attr_getinheritsched.
388 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
389 * nptl/nptl-init.c (pthread_functions): Remove initializer for
390 ptr_pthread_attr_getinheritsched.
391 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
392 Remove ptr_pthread_attr_getinheritsched member.
393 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
394 Remove pthread_attr_getinheritsched.
395 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
397 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
399 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
401 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
403 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
405 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
407 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
409 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
410 (GLIBC_2.4): Likewise.
411 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
412 (GLIBC_2.0): Likewise.
413 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
414 (GLIBC_2.18): Likewise.
415 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
416 (GLIBC_2.18): Likewise.
417 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
418 (GLIBC_2.0): Likewise.
419 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
420 (GLIBC_2.0): Likewise.
421 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
424 (GLIBC_2.0): Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
426 (GLIBC_2.3): Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
428 (GLIBC_2.17): Likewise.
429 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
430 (GLIBC_2.27): Likewise.
431 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
432 (GLIBC_2.0): Likewise.
433 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
434 (GLIBC_2.2): Likewise.
435 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
437 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
439 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
440 (GLIBC_2.0): Likewise.
441 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
442 (GLIBC_2.2): Likewise.
443 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
444 (GLIBC_2.2.5): Likewise.
445 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
446 (GLIBC_2.16): Likewise.
448 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
450 * sysdeps/mach/hurd/getcwd.c
451 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
452 slash if we got an unknown root directory. (__getcwd): Do not fail with
453 EGRATUITOUS if we got an unknown root directory.
454 * hurd/hurdselect.c (SELECT_ERROR): New macro.
456 - Add `error' field to `d' structures array.
457 - If a poll descriptor is bogus, set EBADF, but continue with a zero
459 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
460 EBADF there is any bit set above _hurd_dtablesize.
461 - Do not request io_select on bogus descriptors (SELECT_ERROR).
462 - On io_select request error, record the error.
463 - On io_select bogus reply, use EIO error code.
464 - On io_select bogus or error reply, record the error.
465 - Do not destroy reply port for bogus FDs.
466 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
467 EBADF case, or else POLLERR.
468 - On error, make select simulated readiness.
471 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
474 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
475 unlocks SS and returns to the saved PC.
476 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
477 thread stack instead of the saved PC.
479 2019-08-30 Richard Braun <rbraun@sceen.net>
481 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
483 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
484 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
485 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
487 (_hurd_select): Replace the call to __io_select with either
488 __io_select_request or __io_select_timeout_request, depending on the
489 timeout. Count the number of ready descriptors (replies for which at
490 least one type bit is set). Implement the timeout locally when there is
493 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
495 * elf/dl-addr.c (determine_info): Calculate the symbol index
496 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
497 * elf/dl-lookup.c (do_lookup_x): Ditto.
498 (_dl_setup_hash): Initialize MIPS xhash translation table.
499 * elf/elf.h (SHT_MIPS_XHASH): New define.
500 (DT_MIPS_XHASH): New define.
501 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
503 (ELF_MACHINE_HASH_SYMIDX): Ditto.
504 (ELF_MACHINE_XHASH_SETUP): Ditto.
505 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
507 (ELF_MACHINE_HASH_SYMIDX): Ditto.
508 (ELF_MACHINE_XHASH_SETUP): Ditto.
509 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
510 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
512 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
514 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
516 * sysdeps/sh/preconfigure.ac: New file.
517 * sysdeps/sh/preconfigure: Regenerate.
518 * sysdeps/sh/be/sh3/Implies: New file.
519 * sysdeps/sh/be/sh4/Implies: Likewise.
520 * sysdeps/sh/le/sh3/Implies: Likewise.
521 * sysdeps/sh/le/sh4/Implies: Likewise.
522 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
523 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
524 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
525 sysdeps/unix/sysv/linux/sh/le/*.abilist.
526 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
528 * sysdeps/microblaze/preconfigure.ac: New file.
529 * sysdeps/microblaze/preconfigure: Regenerate.
530 * sysdeps/microblaze/be/implies: New file.
531 * sysdeps/microblaze/le/implies: Likewise.
532 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
533 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
534 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
535 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
536 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
538 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
539 * sysdeps/arm/preconfigure: Regenerate.
540 * sysdeps/arm/be/Implies: New file.
541 * sysdeps/arm/be/armv6/Implies: Likewise.
542 * sysdeps/arm/be/armv6t2/Implies: Likewise.
543 * sysdeps/arm/be/armv7/Implies: Likewise.
544 * sysdeps/arm/le/Implies: Likewise.
545 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
546 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
547 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
548 sysdeps/unix/sysv/linux/arm/le/*.abilist.
549 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
551 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
553 Fix posix/tst-regex by using UTF-8 and own test input
554 Problem reported by Stefan Liebler in:
555 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
556 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
557 (do_test, test_expr): Adjust to the fact that this source file,
558 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
559 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
560 so that it is now UTF-8.
562 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
564 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
565 (fegetenv_status): Generate 'mffsl' unconditionally.
567 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
569 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
571 (_FPU_MASK_ALL): Delete.
573 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
575 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
576 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
578 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
579 with simpler required steps, set fewer FPSCR bits if possible.
581 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
583 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
584 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
585 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
586 weight access to FPSCR; remove unnecessary second FPSCR read and
588 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
589 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
590 access to FPSCR; Use macros in fenv_libc.h in favor of local.
592 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
594 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
595 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
596 (fenv_exceptions_to_reg): New.
597 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
598 operation with call to fenv_exceptions_to_reg().
599 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
601 2019-08-28 Florian Weimer <fweimer@redhat.com>
603 * misc/mntent.c (struct mntent_buffer): Define.
604 (mntent_buffer): Adjust type to void *.
605 (allocate): Adjust for allocate_once.
606 (deallocate): New function.
607 (getmntent): Call allocate_once.
609 2019-08-28 Florian Weimer <fweimer@redhat.com>
611 nptl: Move pthread_attr_setdetachstate implementation into libc.
612 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
613 (libpthread-routines): Remove pthread_attr_setdetachstate.
614 * nptl/Versions (libpthread GLIBC_2.0): Remove
615 pthread_attr_setdetachstate.
616 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
617 * nptl/nptl-init.c (pthread_functions): Remove initializer for
618 ptr_pthread_attr_setdetachstate.
619 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
620 Remove ptr_pthread_attr_setdetachstate member.
621 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
622 Remove pthread_attr_setdetachstate.
623 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
627 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
629 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
631 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
633 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
635 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
636 (GLIBC_2.4): Likewise.
637 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
638 (GLIBC_2.0): Likewise.
639 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
640 (GLIBC_2.18): Likewise.
641 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
642 (GLIBC_2.0): Likewise.
643 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
644 (GLIBC_2.0): Likewise.
645 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
648 (GLIBC_2.0): Likewise.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
650 (GLIBC_2.3): Likewise.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
652 (GLIBC_2.17): Likewise.
653 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
654 (GLIBC_2.27): Likewise.
655 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
656 (GLIBC_2.0): Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
658 (GLIBC_2.2): Likewise.
659 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
661 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
662 (GLIBC_2.0): Likewise.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
664 (GLIBC_2.2): Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
666 (GLIBC_2.2.5): Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
668 (GLIBC_2.16): Likewise.
670 2019-08-28 Florian Weimer <fweimer@redhat.com>
673 * login/Makefile (tests): Add tst-pututxline-lockfail.
674 (tst-pututxline-lockfail): Link with -lpthread.
675 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
676 (__libc_getutid_r): Adjust.
677 (__libc_pututline): Likewise. Check for file_offset == -1.
678 * login/tst-pututxline-lockfail.c: New file.
680 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
682 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
683 * posix/tst-regex.input: New file.
685 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
688 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
690 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
691 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
692 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
693 * sysdeps/mips/tst-undefined-weak.c: Likewise.
694 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
695 Increment highest valid ABIVERSION value.
697 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
699 * sysdeps/unix/sysv/linux/mips/Makefile
700 (test-xfail-check-execstack):
701 Move under mips-has-gnustack != yes.
702 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
703 Apply -Wa,-execstack if mips-force-execstack == yes.
704 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
705 * sysdeps/unix/sysv/linux/mips/configure.ac
706 (mips-force-execstack): New var.
707 Set to yes for hard-float builds with minimum_kernel < 4.8.0
708 or minimum_kernel not set at all.
709 (mips-has-gnustack): New var.
710 Use value of libc_cv_as_noexecstack
711 if mips-force-execstack != yes, otherwise set to no.
713 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
714 Florian Weimer <fweimer@redhat.com>
716 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
717 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
718 Make a compat_symbol.
719 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
720 (__profil_counter_global): Likewise.
722 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
723 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
725 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
726 sigcontext_get_pc and return aligned cast to uintptr_t.
727 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
728 * sysdeps/posix/profil.c (profil_count): Change PC argument to
730 (__profil): Use SA_SIGINFO.
731 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
733 (__sprofil): Use SA_SIGINFO.
734 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
735 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
736 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
737 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
738 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
739 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
740 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
741 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
742 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
745 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
746 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
747 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
748 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
749 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
750 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
751 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
752 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
754 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
755 GET_PC, __sigaction, sigaction): Remove defines.
756 (sigcontext_get_pc): New function.
757 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
758 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
759 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
760 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
761 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
762 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
763 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
764 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
765 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
766 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
767 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
768 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
769 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
770 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
771 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
772 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
773 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
774 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
775 Handle CTX argument as ucontext_t.
776 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
778 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
779 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
780 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
781 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
782 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
783 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
784 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
786 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
787 tst-sigcontextinfo-get_pc.
788 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
789 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
791 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
793 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
796 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
799 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
800 * localedata/locales/ug_CN (first_weekday): Likewise.
801 * localedata/locales/zh_CN (first_weekday): Likewise.
803 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
805 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
806 field name in mcontext_t struct.
808 2019-08-22 Joseph Myers <joseph@codesourcery.com>
810 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
811 unsupported with libidn2 before 2.0.5.
812 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
814 * manual/time.texi (strftime): Document %Ob and %OB as C2X
817 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
819 Remove dead regex code
820 * posix/regex_internal.c (re_node_set_insert):
821 Remove unnecessary assignment. Reported by Tim Rühsen in:
822 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
824 Fix bad pointer / leak in regex code
825 This was found by Coverity (CID 1484201). [BZ#24844]
826 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
827 pointer and/or memory leak when storage is exhausted.
829 2019-08-21 Zack Weinberg <zackw@panix.com>
831 * misc/syslog.c (__vsyslog_internal)
832 * time/getdate.c (__getdate_r)
833 * time/tst_wcsftime.c (main):
834 Use return value of time, not its argument.
836 * string/strfry.c (strfry)
837 * sysdeps/mach/sleep.c (__sleep):
838 Remove unnecessary casts of NULL in calls to time.
840 2019-08-21 Joseph Myers <joseph@codesourcery.com>
842 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
843 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
844 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
845 (__TGMATH_2_NARROW_F): Likewise.
846 (__TGMATH_2_NARROW_D): New macro.
847 (__TGMATH_2_NARROW_F16): Likewise.
848 (__TGMATH_2_NARROW_F32): Likewise.
849 (__TGMATH_2_NARROW_F64): Likewise.
850 (__TGMATH_2_NARROW_F32X): Likewise.
851 (__TGMATH_2_NARROW_F64X): Likewise.
852 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
853 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
854 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
855 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
856 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
857 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
858 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
859 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
860 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
861 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
862 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
863 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
864 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
865 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
867 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
869 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
871 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
873 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
875 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
877 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
879 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
881 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
882 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
883 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
884 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
885 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
886 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
887 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
888 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
889 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
891 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
893 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
895 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
897 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
898 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
899 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
900 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
901 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
902 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
903 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
904 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
905 * math/gen-tgmath-tests.py (Type): Add members
906 non_standard_real_argument_types_list, long_double_type,
907 complex_float64_type and float32x_ext_type.
908 (Type.__init__): Set the new members.
909 (Type.floating_type): Add new argument floatn.
910 (Type.real_floating_type): Likewise.
911 (Type.can_combine_types): Likewise.
912 (Type.combine_types): Likewise.
913 (Type.init_types): Create internal Float32x_ext type.
914 (Tests.__init__): Define Float32x_ext in generated C code.
915 (Tests.add_tests): Handle narrowing functions.
916 (Tests.add_all_tests): Likewise.
917 (Tests.tests_text): Allow variation in mant_dig for narrowing
918 functions with compilers before GCC 8.
919 * math/Makefile (tgmath3-narrow-types): New variable.
920 (tgmath3-narrow-macros): Likewise.
921 (tgmath3-macros): Add $(tgmath3-narrow-macros).
923 2019-08-20 Andreas Schwab <schwab@suse.de>
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
927 2019-08-19 Carlos O'Donell <carlos@redhat.com>
929 * nscd/nscd.conf: Add warning and comment about shared option.
931 2019-08-19 Carlos O'Donell <carlos@redhat.com>
933 * nss/nsswitch.conf: Expand comments, and simplify defaults.
934 * manual/nss.texi (NSS Basics): List all known databases.
935 (Services in the NSS configuration): Mention automount.
937 2019-08-19 Florian Weimer <fweimer@redhat.com>
939 Do not print backtraces on fatal errors.
940 * debug/fortify_fail.c (__libc_argv): Remove declaration.
941 (__fortify_fail_abort): Remove definition.
942 (__fortify_fail): Call __libc_message directly.
943 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
944 (__stack_chk_fail): Call __fortify_fail instead of
945 __fortify_fail_abort.
946 * include/stdio.h (__fortify_fail_abort): Remove declaration.
947 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
949 (__libc_message): Do not handle do_backtrace. Do not call
951 (__libc_fatal): Do not pass do_backtrace to __libc_message.
952 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
953 (before_abort): Remove definitions.
955 2019-08-16 Florian Weimer <fweimer@redhat.com>
957 nptl: Move pthread_attr_getdetachstate implementation into libc.
958 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
959 (libpthread-routines): Remove pthread_attr_getdetachstate.
960 * nptl/Versions (libpthread GLIBC_2.0): Remove
961 pthread_attr_getdetachstate.
962 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
963 * nptl/nptl-init.c (pthread_functions): Remove initializer for
964 ptr_pthread_attr_getdetachstate.
965 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
966 Remove ptr_pthread_attr_getdetachstate member.
967 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
968 Remove pthread_attr_getdetachstate.
969 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
971 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
973 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
975 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
977 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
979 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
981 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
982 (GLIBC_2.4): Likewise.
983 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
984 (GLIBC_2.0): Likewise.
985 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
986 (GLIBC_2.18): Likewise.
987 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
988 (GLIBC_2.0): Likewise.
989 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
990 (GLIBC_2.0): Likewise.
991 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
994 (GLIBC_2.0): Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
996 (GLIBC_2.3): Likewise.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
998 (GLIBC_2.17): Likewise.
999 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1000 (GLIBC_2.27): Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1002 (GLIBC_2.0): Likewise.
1003 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1004 (GLIBC_2.2): Likewise.
1005 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1008 (GLIBC_2.0): Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1010 (GLIBC_2.2): Likewise.
1011 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1012 (GLIBC_2.2.5): Likewise.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1014 (GLIBC_2.16): Likewise.
1016 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1018 * math/libm-test-compat_totalorder.inc (do_test)
1019 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1020 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1021 * math/libm-test-compat_totalordermag.inc (do_test)
1022 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1024 2019-08-15 Florian Weimer <fweimer@redhat.com>
1026 nptl: Move pthread_attr_init implementation into libc.
1027 * nptl/Makefile (routines): Add pthread_attr_init.
1028 (libpthread-routines): Remove pthread_attr_init.
1029 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1030 (libpthread GLIBC_2.0): Likewise.
1031 * nptl/pthread_attr_init.c: Check for libc compat version instead
1032 of libpthread compat version.
1033 * nptl/forward.c (__pthread_attr_init_2_0)
1034 (__pthread_attr_init_2_1): Remove definitions.
1035 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1036 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1037 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1038 Remove members ptr___pthread_attr_init_2_0,
1039 ptr___pthread_attr_init_2_1.
1040 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1041 Remove pthread_attr_init.
1042 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1044 (GLIBC_2.1): Likewise.
1045 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1047 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1049 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1051 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1053 (GLIBC_2.1): Likewise.
1054 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1056 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1057 (GLIBC_2.4): Likewise.
1058 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1059 (GLIBC_2.0): Likewise.
1060 (GLIBC_2.1): Likewise.
1061 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1062 (GLIBC_2.18): Likewise.
1063 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1064 (GLIBC_2.0): Likewise.
1065 (GLIBC_2.1): Likewise.
1066 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1067 (GLIBC_2.0): Likewise.
1068 (GLIBC_2.1): Likewise.
1069 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1072 (GLIBC_2.0): Likewise.
1073 (GLIBC_2.1): Likewise.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1075 (GLIBC_2.3): Likewise.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1077 (GLIBC_2.17): Likewise.
1078 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1079 (GLIBC_2.27): Likewise.
1080 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1081 (GLIBC_2.0): Likewise.
1082 (GLIBC_2.1): Likewise.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1084 (GLIBC_2.2): Likewise.
1085 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1088 (GLIBC_2.0): Likewise.
1089 (GLIBC_2.1): Likewise.
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1091 (GLIBC_2.2): Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1093 (GLIBC_2.2.5): Likewise.
1094 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1095 (GLIBC_2.16): Likewise.
1097 2019-08-15 Florian Weimer <fweimer@redhat.com>
1100 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1101 new object in __RTLD_OPENEXEC mode (except for the origin).
1102 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1103 check for the error message.
1104 (do_test): Call it. Add check using relative path.
1105 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1106 (tst-dlopen-aout-container): Link with libpthread.
1107 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1109 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1111 * math/bits/mathcalls.h
1112 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1113 (totalorder): Take pointer arguments.
1114 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1115 (totalordermag): Likewise.
1116 * manual/arith.texi (totalorder): Likewise.
1117 (totalorderf): Likewise.
1118 (totalorderl): Likewise.
1119 (totalorderfN): Likewise.
1120 (totalorderfNx): Likewise.
1121 (totalordermag): Likewise.
1122 (totalordermagf): Likewise.
1123 (totalordermagl): Likewise.
1124 (totalordermagfN): Likewise.
1125 (totalordermagfNx): Likewise.
1126 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1127 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1128 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1129 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1130 totalorderl, totalordermag, totalordermagf, totalordermagl,
1131 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1132 totalordermagf64, totalordermagf32x, totalorderf64x,
1133 totalordermagf64x, totalorderf128 and totalordermagf128.
1134 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1135 and compat_totalordermag.
1136 (libm-test-funcs-compat): New variable.
1137 (libm-tests-compat): Likewise.
1138 (tests): Do not include compat tests.
1139 (tests-internal): Add compat tests.
1140 ($(foreach t,$(libm-tests-base),
1141 $(objpfx)$(t)-compat_totalorder.o)): Depend
1142 on $(objpfx)libm-test-totalorder.c.
1143 ($(foreach t,$(libm-tests-base),
1144 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1145 $(objpfx)libm-test-totalordermag.c.
1146 (tgmath3-macros): Remove totalorder and totalordermag.
1147 * math/libm-test-compat_totalorder.inc: New file.
1148 * math/libm-test-compat_totalordermag.inc: Likewise.
1149 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1150 (RUN_TEST_fpfp_b): New macro.
1151 (RUN_TEST_LOOP_fpfp_b): Likewise.
1152 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1154 (totalorder_test): Condition on [!COMPAT_TEST].
1155 (do_test): Likewise.
1156 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1158 (totalordermag_test): Condition on [!COMPAT_TEST].
1159 (do_test): Likewise.
1160 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1161 totalorder and totalordermag.
1162 * math/test-tgmath.c (NCALLS): Change to 132.
1163 (F(compile_test)): Do not call totalorder or totalordermag.
1164 (F(totalorder)): Remove.
1165 (F(totalordermag)): Likewise.
1166 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1167 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1168 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1170 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1171 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1172 [!_ISOMAC] (TEST_ALIGN): Likewise.
1173 [!_ISOMAC] (TEST_OFFSET): Likewise.
1174 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1175 and <first-versions.h>.
1176 (__totalorder): Take pointer arguments. Add symbol versions and
1178 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1179 <shlib-compat.h> and <first-versions.h>.
1180 (__totalordermag): Take pointer arguments. Add symbol versions
1182 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1183 <shlib-compat.h> and <first-versions.h>.
1184 (__totalorder): Take pointer arguments. Add symbol versions and
1186 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1187 <shlib-compat.h> and <first-versions.h>.
1188 (__totalordermag): Take pointer arguments. Add symbol versions
1190 * sysdeps/ieee754/float128/float128_private.h
1191 (__totalorder_compatl): New macro.
1192 (__totalordermag_compatl): Likewise.
1193 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1194 and <first-versions.h>.
1195 (__totalorderf): Take pointer arguments. Add symbol versions and
1197 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1198 <shlib-compat.h> and <first-versions.h>.
1199 (__totalordermagf): Take pointer arguments. Add symbol versions
1201 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1202 <shlib-compat.h> and <first-versions.h>.
1203 (__totalorderl): Take pointer arguments. Add symbol versions and
1205 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1206 <shlib-compat.h> and <first-versions.h>.
1207 (__totalordermagl): Take pointer arguments. Add symbol versions
1209 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1211 (__totalorderl): Take pointer arguments. Add symbol versions and
1213 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1215 (__totalordermagl): Take pointer arguments. Add symbol versions
1217 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1218 <shlib-compat.h> and <first-versions.h>.
1219 (__totalorderl): Take pointer arguments. Add symbol versions and
1221 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1222 <shlib-compat.h> and <first-versions.h>.
1223 (__totalordermagl): Take pointer arguments. Add symbol versions
1225 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1227 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1229 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1230 (do_test): Update calls to totalorderl and totalordermagl.
1231 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1232 Update calls to totalorderl and totalordermagl.
1233 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1240 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1241 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1242 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1243 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1244 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1245 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1246 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1255 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1256 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1258 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1264 2019-08-15 Florian Weimer <fweimer@redhat.com>
1267 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1268 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1269 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1271 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1272 __attribute_nonstring__ to ut_id.
1273 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1276 2019-08-15 Florian Weimer <fweimer@redhat.com>
1279 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1280 (file_locking_unlock): Likewise.
1282 2019-08-15 Florian Weimer <fweimer@redhat.com>
1285 login: Disarm timer after utmp lock acquisition.
1286 * login/utmp_file.c (struct file_locking): Remove.
1287 (try_file_lock): Adjust.
1288 (file_lock_restore): Remove function.
1289 (__libc_getutent_r): .
1290 (internal_getut_r): Likewise.
1291 (__libc_getutline_r): Likewise.
1292 (__libc_pututline): Likewise.
1293 (__libc_updwtmp): Likewise.
1295 2019-08-15 Florian Weimer <fweimer@redhat.com>
1297 nptl: Remove pthread_self compatibility symbol from libpthread.
1298 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1300 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1301 * nptl/compat-pthread_self.c: Remove file.
1302 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1303 Remove pthread_self.
1304 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1306 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1308 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1310 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1312 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1314 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1315 (GLIBC_2.4): Likewise.
1316 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1317 (GLIBC_2.0): Likewise.
1318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1319 (GLIBC_2.18): Likewise.
1320 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1321 (GLIBC_2.0): Likewise.
1322 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1323 (GLIBC_2.0): Likewise.
1324 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1327 (GLIBC_2.0): Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1329 (GLIBC_2.3): Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1331 (GLIBC_2.17): Likewise.
1332 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1333 (GLIBC_2.0): Likewise.
1334 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1335 (GLIBC_2.2): Likewise.
1336 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1338 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1339 (GLIBC_2.0): Likewise.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1341 (GLIBC_2.2): Likewise.
1342 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1343 (GLIBC_2.2.5): Likewise.
1344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1345 (GLIBC_2.16): Likewise.
1347 2019-08-15 Florian Weimer <fweimer@redhat.com>
1349 nptl: Move pthread_attr_destroy implementation into libc.
1350 * nptl/Makefile (routines): Add pthread_attr_destroy.
1351 (libpthread-routines): Remove pthread_attr_destroy.
1352 * nptl/Versions (libpthread GLIBC_2.0): Remove
1353 pthread_attr_destroy.
1354 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1355 libc compat version instead of libpthread compat version.
1356 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1357 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1358 ptr_pthread_attr_destroy.
1359 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1360 Remove ptr_pthread_attr_destroy member.
1361 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1362 Remove pthread_attr_destroy.
1363 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1365 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1367 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1369 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1371 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1373 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1375 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1376 (GLIBC_2.4): Likewise.
1377 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1378 (GLIBC_2.0): Likewise.
1379 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1380 (GLIBC_2.18): Likewise.
1381 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1382 (GLIBC_2.0): Likewise.
1383 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1384 (GLIBC_2.0): Likewise.
1385 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1388 (GLIBC_2.0): Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1390 (GLIBC_2.3): Likewise.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1392 (GLIBC_2.17): Likewise.
1393 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1394 (GLIBC_2.27): Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1396 (GLIBC_2.0): Likewise.
1397 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1398 (GLIBC_2.2): Likewise.
1399 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1401 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1402 (GLIBC_2.0): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1404 (GLIBC_2.2): Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1406 (GLIBC_2.2.5): Likewise.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1408 (GLIBC_2.16): Likewise.
1410 2019-08-15 Andreas Schwab <schwab@suse.de>
1412 * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 2019-08-15 Florian Weimer <fweimer@redhat.com>
1416 * malloc/Makefile (tests): Only add tst-mxfast for
1418 * malloc/tst-mxfast.c: Fix copyright year.
1419 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1422 2019-08-15 Florian Weimer <fweimer@redhat.com>
1424 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1426 * login/Makefile (tests): Add tst-updwtmpx.
1427 * login/tst-updwtmpx.c: New file.
1429 2019-08-15 Florian Weimer <fweimer@redhat.com>
1431 nptl: Move pthread_equal implementation into libc.
1432 * nptl/Makefile (routines): Add pthread_equal.
1433 * nptl/forward.c (pthread_equal): Remove definition.
1434 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1436 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1437 Remove ptr_pthread_equal member.
1438 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1439 Remove pthread_equal.
1440 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1442 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1444 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1446 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1448 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1450 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1452 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1453 (GLIBC_2.4): Likewise.
1454 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1455 (GLIBC_2.0): Likewise.
1456 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1457 (GLIBC_2.18): Likewise.
1458 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1459 (GLIBC_2.0): Likewise.
1460 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1461 (GLIBC_2.0): Likewise.
1462 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1465 (GLIBC_2.0): Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1467 (GLIBC_2.3): Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1469 (GLIBC_2.17): Likewise.
1470 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1471 (GLIBC_2.27): Likewise.
1472 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1473 (GLIBC_2.0): Likewise.
1474 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1475 (GLIBC_2.2): Likewise.
1476 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1479 (GLIBC_2.0): Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1481 (GLIBC_2.2): Likewise.
1482 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1483 (GLIBC_2.2.5): Likewise.
1484 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1485 (GLIBC_2.16): Likewise.
1487 2019-08-14 Florian Weimer <fweimer@redhat.com>
1489 * support/support_descriptors.c: Include <support/descriptors.h>.
1491 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1493 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1494 Disable DC ZVA code if this macro is defined as zero.
1495 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1496 Change to zero to disable using DC ZVA.
1498 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1500 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1502 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1503 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1504 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1505 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1508 2019-08-13 Florian Weimer <fweimer@redhat.com>
1510 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1512 (struct file_locking): New.
1513 (try_file_lock, file_unlock, file_lock_restore): New functions.
1514 (__libc_getutent_r): Use the new functions.
1515 (internal_getut_r): Likewise.
1516 (__libc_getutline_r): Likewise.
1517 (__libc_pututline): Likewise.
1518 (__libc_updwtmp): Likewise.
1520 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1522 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1524 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1525 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1526 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1527 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1528 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1529 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1530 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1532 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1533 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1534 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1536 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1538 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1540 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1542 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1544 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1546 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1548 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1549 (IEC_60559_BFP_EXT)]: Likewise.
1550 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1552 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1554 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1556 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1558 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1560 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1562 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1564 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1566 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1567 Likewise, except for totalorder, totalordermag, getpayload,
1568 setpayload and setpayloadsig.
1569 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1570 except for totalorder and totalordermag.
1572 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1574 (strndup): Likewise.
1576 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1577 Undefine and define to 1 if [_GNU_SOURCE].
1578 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1579 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1580 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1581 (__USE_ISOC99): Likewise.
1582 (__USE_ISOC95): Likewise.
1583 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1585 2019-08-13 Florian Weimer <fweimer@redhat.com>
1587 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1589 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1590 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1591 * login/getutmpx.c (getutmpx): Likewise.
1592 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1594 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1595 _HAVE_UT_TV are always true.
1596 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1597 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1598 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1599 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1601 (internal_getut_r): _HAVE_UT_TYPE is always true.
1602 (__libc_pututline): Likewise.
1603 * login/programs/utmpdump.c (print_entry): Assume that
1604 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1605 _HAVE_UT_TV are always true.
1606 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1607 _HAVE_UT_ID are always true.
1608 * sysdeps/gnu/bits/utmp.h: Move to ...
1609 * bits/utmp.h: ... here, replacing the old file.
1611 2019-08-12 Florian Weimer <fweimer@redhat.com>
1613 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1614 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1616 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1617 (do_test): Open the executable using an absolute path. Print
1618 error message to standard output.
1620 2019-08-09 DJ Delorie <dj@redhat.com>
1622 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1623 * manual/tunables.texi: Document it.
1624 * malloc/malloc.c (do_set_mxfast): New.
1625 (__libc_mallopt): Call it.
1626 * malloc/arena.c: Add mxfast tunable.
1627 * malloc/tst-mxfast.c: New.
1628 * malloc/Makefile: Add it.
1630 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1631 Carlos O'Donell <carlos@redhat.com>
1634 * malloc/malloc.c (__malloc_info): Account for top chunk.
1636 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1639 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1641 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1643 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1645 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1647 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1649 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1651 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1654 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1659 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1661 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1663 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1665 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1666 (ALWAYS_USE_VSYSCALL): Likewise.
1667 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1668 (ALWAYS_USE_VSYSCALL): Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1670 (ALWAYS_USE_VSYSCALL): Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1672 (ALWAYS_USE_VSYSCALL): Likewise.
1673 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1676 (ALWAYS_USE_VSYSCALL): Likewise.
1677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1678 (ALWAYS_USE_VSYSCALL): Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1683 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1684 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1685 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1686 USE_VSYSCALL): Remove defitions.
1689 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1690 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1695 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1696 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1698 (ALWAYS_USE_VSYSCALL): Define.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1700 (ALWAYS_USE_VSYSCALL): Likewise.
1703 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1704 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1705 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1708 * sysdeps/sh/libm-test-ulps: Update.
1710 2019-08-05 Florian Weimer <fweimer@redhat.com>
1713 * login/uptmp-private.h (struct ufuncs): Remove definition.
1714 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1715 (__libc_utmp_jump_table): Remove declarations.
1716 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1717 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1718 (__libc_updwtmp): Declare.
1719 * login/getutent_r.c (__libc_utmp_unknown_functions)
1720 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1721 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1722 (endutent_unknown): Remove definitions.
1723 (__setutent): Call __libc_setutent.
1724 (__getutent_r): Call __libc_getutent_r.
1725 (__pututline): Call __libc_pututline.
1726 (__endutent): Call __libc_endutent.
1727 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1728 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1729 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1730 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1731 (__libc_setutent): Rename from stetutent_file. Drop static.
1732 (maybe_setutent): New function.
1733 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1734 Check for initialization.
1735 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1736 Check for initialization.
1737 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1738 Check for initialization.
1739 (__libc_pututline): Rename from pututline_file. Drop static.
1740 Check for initialization.
1741 (__libc_endutent): Rename from endutent_file. Drop static. Check
1743 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1744 * login/utmpname.c (__utmpname): Call __libc_endutent.
1745 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1746 __libc_getutlien_r, __libc_endutent.
1747 * manual/users.texi (Who Logged In, Manipulating the Database):
1750 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1752 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1754 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1756 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1758 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1759 kernel version number to 5.2.
1761 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1763 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1764 mnemonics and set .machine power8.
1765 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1766 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1767 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1770 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1771 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1772 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1773 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1776 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1778 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1780 2019-08-01 Florian Weimer <fweimer@redhat.com>
1783 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1786 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1789 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1792 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1794 * version.h (RELEASE): Set to "stable".
1795 (VERSION): Set to "2.30".
1796 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1798 * manual/install.texi: Update component versions.
1799 * INSTALL: Regenerate.
1802 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1804 * po/be.po: Update translations.
1805 * po/bg.po: Likewise.
1806 * po/ca.po: Likewise.
1807 * po/cs.po: Likewise.
1808 * po/da.po: Likewise.
1809 * po/de.po: Likewise.
1810 * po/el.po: Likewise.
1811 * po/eo.po: Likewise.
1812 * po/es.po: Likewise.
1813 * po/fi.po: Likewise.
1814 * po/fr.po: Likewise.
1815 * po/gl.po: Likewise.
1816 * po/hr.po: Likewise.
1817 * po/hu.po: Likewise.
1818 * po/ia.po: Likewise.
1819 * po/id.po: Likewise.
1820 * po/it.po: Likewise.
1821 * po/ja.po: Likewise.
1822 * po/ko.po: Likewise.
1823 * po/lt.po: Likewise.
1824 * po/nb.po: Likewise.
1825 * po/nl.po: Likewise.
1826 * po/pl.po: Likewise.
1827 * po/pt_BR.po: Likewise.
1828 * po/ru.po: Likewise.
1829 * po/rw.po: Likewise.
1830 * po/sk.po: Likewise.
1831 * po/sl.po: Likewise.
1832 * po/sv.po: Likewise.
1833 * po/tr.po: Likewise.
1834 * po/uk.po: Likewise.
1835 * po/vi.po: Likewise.
1836 * po/zh_CN.po: Likewise.
1837 * po/zh_TW.po: Likewise.
1839 2019-07-31 Florian Weimer <fweimer@redhat.com>
1843 iconv, libio: Revert reference counting changes.
1844 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1845 free the steps array.
1846 * libio/Makefile (tests): Remove tst-wfile-gconv.
1847 (tests-container): Do not add tst-wfile-ascii.
1848 (tst-wfile-gconv-ENV): Do not set.
1849 (generated): Do not add tst-wfile-gconv.mtrace,
1850 tst-wfile-gconv.check.
1851 [($run-built-tests)] (tests-special): Do not add
1852 tst-wfile-gconv-mem.out.
1853 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1854 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1855 instead of __wcsmbs_clone_conv.
1856 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1857 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1859 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1862 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1864 2019-07-30 Florian Weimer <fweimer@redhat.com>
1866 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1867 type to uintptr_t. Update comment.
1868 (check_stack_top): Adjust.
1870 2019-07-29 Florian Weimer <fweimer@redhat.com>
1872 Linux: Move declaration of getdents64 to <dirent.h>.
1873 * bits/dirent_ext.h: New file.
1874 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1875 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1876 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1877 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1879 * manual/filesys.texi (Low-level Directory Access): Update header
1882 2019-07-29 DJ Delorie <dj@redhat.com>
1883 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1886 * Makeconfig (all-subdirs): Improved source comments.
1887 * Makefile (testroot.pristine/install.stamp): Pass
1888 subdirs='$(sorted-subdirs)' to make install.
1890 2019-07-25 Florian Weimer <fweimer@redhat.com>
1893 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1894 counter before freeing array.
1896 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1899 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1901 * sysdeps/x86_64/configure: Regenerated.
1902 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1903 to -mprefer-vector-width=128 if supported.
1905 2019-07-24 Florian Weimer <fweimer@redhat.com>
1907 * scripts/build-many-glibcs.py (Context.checkout): Default to
1910 2019-07-24 Florian Weimer <fweimer@redhat.com>
1913 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1914 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1915 (sysdep_headers): Add bits/socket-constants.h.
1916 (tests-special): Add tst-socket-consts.out.
1917 (tst-socket-consts.out): New target.
1918 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1919 around <asm/unistd.h>.
1920 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1921 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1923 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1924 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1925 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1926 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1927 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1930 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1932 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1935 * Makefile (testroot.pristine/install.stamp): Pass
1936 subdirs='$(all-subdirs)' to make install.
1938 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1939 the same arguments used in all tests.
1941 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1943 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1945 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1948 * locale/C-translit.h.in: Add Cyrillic transliteration.
1950 2019-07-19 Florian Weimer <fweimer@redhat.com>
1952 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1954 (fsconfig): Add system call name.
1955 (fsmount): Likewise.
1958 (move_mount): Likewise.
1959 (open_tree): Likewise.
1961 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1963 * po/libc.pot: Regenerate.
1965 2019-07-18 Mike Crowe <mac@mcrowe.com>
1967 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1968 functions recently added to sysdeps/nptl/pthread.h:
1969 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1970 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1972 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1973 pthread_cond_clockwait forwarding functions. There are no internal
1974 users, so it is unnecessary to expose these functions in libc.so.
1975 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1976 unnecessary ptr___pthread_cond_clockwait member.
1977 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1980 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1983 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1984 begin with an uppercase letter now.
1986 (mon): Update from CLDR, reword February from "Kudo" to
1987 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1988 and August from "Liiqen" to "Leqeeni".
1989 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1990 April from "Agda Baxisso" to "Agda Baxis" and August from
1991 "Leqeeni" to "Liiqen".
1992 * localedata/locales/aa_ER@saaho (mon): Likewise.
1993 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1994 abbreviated February from "Kud" to "Nah".
1995 (mon): Update from CLDR, reword February from "Kudo" to
1996 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1998 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2001 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2003 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2006 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2007 name_mrs, name_miss, and name_ms.
2008 * localedata/locales/nl_NL (LC_NAME): Likewise.
2010 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2013 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2014 * localedata/locales/en_IE (first_weekday): Likewise.
2016 2019-07-12 Mike Crowe <mac@mcrowe.com>
2018 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2019 that is only useful if futex_supports_exact_relative_timeouts ()
2021 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2023 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2024 timeouts potentially being imprecise since it's no longer true.
2025 Remove declaration of futex_supports_exact_relative_timeouts.
2026 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2027 of futex_supports_exact_relative_timeouts.
2029 * NEWS: Mention recently-added pthread_cond_clockwait,
2030 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2031 sem_clockwait functions.
2033 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2034 works like pthread_mutex_timedlock but takes a clockid parameter to
2035 measure the abstime parameter against.
2036 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2037 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2038 * nptl/pthread_mutex_timedlock.c
2039 (__pthread_mutex_clocklock_common): Rename from
2040 __pthread_mutex_timedlock and add clockid parameter. Pass this
2041 parameter to lll_clocklock and lll_clocklock_elision in place of
2042 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2043 LIBC_PROBE and validate clockid parameter before calling
2044 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2045 implementation to add LIBC_PROBE and calls
2046 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2048 * nptl/Makefile: Add tst-mutex11.c.
2049 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2050 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2051 clockid parameters to pthread_mutex_clocklock.
2052 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2053 clockid parameter to indicate which clock to be used. Call
2054 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2055 (do_test): Call do_test_clock to separately test
2056 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2057 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2058 * nptl/tst-mutex9.c: Likewise.
2059 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2060 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2062 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2064 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2066 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2068 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2070 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2072 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2074 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2075 (GLIBC_2.30): Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2077 (GLIBC_2.30): Likewise.
2078 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2079 (GLIBC_2.30): Likewise.
2080 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2081 (GLIBC_2.30): Likewise.
2082 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2083 (GLIBC_2.30): Likewise.
2084 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2087 (GLIBC_2.30): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2089 (GLIBC_2.30): Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2091 (GLIBC_2.30): Likewise.
2092 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2093 (GLIBC_2.30): Likewise.
2094 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2095 (GLIBC_2.30): Likewise.
2096 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2097 (GLIBC_2.30): Likewise.
2098 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2101 (GLIBC_2.30): Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2103 (GLIBC_2.30): Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2105 (GLIBC_2.30): Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2107 (GLIBC_2.30): Likewise.
2109 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2110 parameter to indicate the clock that the abstime parameter should
2111 be measured against in preparation for adding
2112 pthread_mutex_clocklock.
2113 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2114 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2115 from __lll_timedlock and add clockid parameter.
2116 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2118 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2119 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2120 rather than __gettimeofday so that clockid can be used. This means
2121 that conversion from struct timeval is no longer required.
2122 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2124 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2125 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2126 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2127 from lll_timedlock_elision, add clockid parameter and use
2128 meaningful names for other parameters. (__pthread_mutex_timedlock):
2129 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2130 lll_clocklock_elision.
2131 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2132 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2133 clockid parameter. (__lll_clocklock_elision): Rename from
2134 __lll_timedlock_elision and add clockid parameter.
2135 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2136 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2138 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2139 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2140 (LLL_LOCK): Likewise.
2141 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2142 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2144 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2145 pthread_rwlock_clockwrlock which behave like
2146 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2147 respectively, except they always measure abstime against the
2148 supplied clockid. The functions currently support CLOCK_REALTIME
2149 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2151 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2152 pthread_wrlock_clockwrlock.
2153 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2154 pthread_rwlock_clockwrlock.c.
2155 * nptl/pthread_rwlock_clockrdlock.c: Implement
2156 pthread_rwlock_clockrdlock.
2157 * nptl/pthread_rwlock_clockwrlock.c: Implement
2158 pthread_rwlock_clockwrlock.
2159 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2160 clockid parameter and verify that it indicates a supported clock on
2161 entry so that we fail even if it doesn't end up being used. Pass
2162 that clock on to futex_abstimed_wait when necessary.
2163 (__pthread_rwlock_wrlock_full): Likewise.
2164 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2165 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2166 be used because there's no timeout.
2167 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2168 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2169 be used because there is no timeout.
2170 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2171 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2173 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2174 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2176 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2177 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2178 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2179 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2180 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2181 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2182 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2183 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2184 (GLIBC_2.30): Likewise.
2185 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2186 (GLIBC_2.30): Likewise.
2187 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2188 (GLIBC_2.30): Likewise.
2189 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2190 (GLIBC_2.30): Likewise.
2191 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2192 (GLIBC_2.30): Likewise.
2193 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2195 (GLIBC_2.30): Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2197 (GLIBC_2.30): Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2199 (GLIBC_2.30): Likewise.
2200 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2201 (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2203 (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2207 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2208 (GLIBC_2.30): Likewise.
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2210 (GLIBC_2.30): Likewise.
2211 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2212 (GLIBC_2.30): Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2214 (GLIBC_2.30): Likewise.
2215 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2216 pthread_rwlock_clockwrlock timeout tests to match the existing
2217 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2218 * nptl/tst-rwlock14.c (do_test): Likewise.
2219 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2220 ancillary output throughout. (tf): Accept thread_args structure so
2221 that rwlock, a clockid and function name can be passed to the
2222 thread. (do_test_clock): Rename from do_test. Accept clockid
2223 parameter to specify test clock. Use the magic clockid value of
2224 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2225 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2226 specified clockid to pthread_rwlock_clockrdlock and
2227 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2228 (do_test): Call do_test_clock to test each clockid in turn.
2229 * nptl/tst-rwlock7.c: Likewise.
2230 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2231 thread_args structure so that the (now int) thread number, the
2232 clockid and the function name can be passed to the thread.
2233 (do_test_clock): Renamed from do_test. Pass the necessary
2234 thread_args when creating the reader and writer threads. Use
2235 xpthread_create and xpthread_join.
2236 (do_test): Call do_test_clock to test each clockid in turn.
2237 * manual/threads.texi: Add documentation for
2238 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2240 nptl: pthread_rwlock: Move timeout validation into _full functions
2241 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2242 Check validity of abstime parameter.
2243 (__pthread_rwlock_rwlock_full): Likewise.
2244 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2245 Remove check for validity of abstime parameter.
2246 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2249 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2250 like pthread_cond_timedwait except it always measures abstime
2251 against the supplied clockid.
2252 * nptl/Makefile: Add tst-cond26 and tst-cond27
2253 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2254 * sysdeps/nptl/pthread.h: Likewise
2255 * nptl/forward.c: Add __pthread_cond_clockwait
2256 * nptl/forward.c: Likewise
2257 * nptl/pthreadP.h: Likewise
2258 * sysdeps/nptl/pthread-functions.h: Likewise
2259 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2260 clockid parameter and comment describing why we don't need to check
2261 its value. Use that value when calling
2262 futex_abstimed_wait_cancelable rather than reading the clock from
2263 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2264 (__pthread_cond_timedwait): Read clock from flags and pass it to
2265 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2266 function with weak alias from pthread_cond_clockwait.
2267 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2268 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2269 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2270 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2271 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2272 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2273 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2274 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2275 (GLIBC_2.30): Likewise.
2276 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2277 (GLIBC_2.30): Likewise.
2278 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2279 (GLIBC_2.30): Likewise.
2280 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2281 (GLIBC_2.30): Likewise.
2282 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2283 (GLIBC_2.30): Likewise.
2284 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2286 (GLIBC_2.30): Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2288 (GLIBC_2.30): Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2290 (GLIBC_2.30): Likewise.
2291 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2292 (GLIBC_2.30): Likewise.
2293 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2294 (GLIBC_2.30): Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2296 (GLIBC_2.30): Likewise.
2297 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2299 (GLIBC_2.30): Likewise.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2301 (GLIBC_2.30): Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2303 (GLIBC_2.30): Likewise.
2304 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2305 (GLIBC_2.30): Likewise.
2306 * nptl/tst-cond11.c (run_test): Support testing
2307 pthread_cond_clockwait too by using a special magic
2308 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2309 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2310 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2311 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2312 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2313 clocks to pthread_cond_clockwait.
2314 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2315 struct timespec and pthread_cond_clockwait.
2316 * manual/threads.texi: Document pthread_cond_clockwait.
2318 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2319 sem_timedwait, but measures abstime against the specified clock.
2320 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2321 clockid parameters to indicate the clock which abstime should be
2323 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2324 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2325 __new_sem_wait_slow.
2326 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2328 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2329 sem_clockwait.c to match those used for sem_timedwait.c.
2330 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2331 * nptl/Versions (GLIBC_2.30): Likewise.
2332 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2334 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2335 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2336 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2337 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2338 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2339 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2340 (GLIBC_2.30): Likewise.
2341 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2342 (GLIBC_2.30): Likewise.
2343 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2344 (GLIBC_2.30): Likewise.
2345 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2346 (GLIBC_2.30): Likewise.
2347 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2348 (GLIBC_2.30): Likewise.
2349 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2351 (GLIBC_2.30): Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2353 (GLIBC_2.30): Likewise.
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2355 (GLIBC_2.30): Likewise.
2356 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2357 (GLIBC_2.30): Likewise.
2358 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2359 (GLIBC_2.30): Likewise.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2361 (GLIBC_2.30): Likewise.
2362 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2364 (GLIBC_2.30): Likewise.
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2366 (GLIBC_2.30): Likewise.
2367 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2368 (GLIBC_2.30): Likewise.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2370 (GLIBC_2.30): Likewise.
2371 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2373 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2374 tests to also test sem_clockwait.
2375 * manual/threads.texi: Document sem_clockwait.
2377 nptl: Add clockid parameter to futex timed wait calls
2378 * sysdeps/nptl/lowlevellock-futex.h,
2379 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2380 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2381 takes a clockid rather than a special clockbit.
2382 * sysdeps/nptl/lowlevellock-futex.h: Add
2383 lll_futex_supported_clockid so that client functions can check
2384 whether their clockid parameter is valid even if they don't
2385 ultimately end up calling lll_futex_clock_wait_bitset.
2386 * sysdeps/nptl/futex-internal.h,
2387 sysdeps/unix/sysv/linux/futex-internal.h
2388 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2389 clockid_t parameter to indicate which clock the absolute time
2390 passed should be measured against. Pass that clockid onto
2391 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2393 * sysdeps/nptl/futex-internal.h,
2394 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2395 futex_abstimed_supported_clockid so that client functions can check
2396 whether their clockid parameter is valid even if they don't
2397 ultimately end up calling futex_abstimed_wait.
2398 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2399 code to calculate relative timeout for
2400 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2401 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2402 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2403 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2404 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2405 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2406 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2408 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2411 * posix/tst-mmap-offset.c: Mention BZ #24699.
2412 (do_test_bz21270): Rename to do_test_large_offset and use
2413 mmap64_maximum_offset to check for maximum expected offset value.
2414 * sysdeps/generic/mmap_info.h: New file.
2415 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2416 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2419 2019-07-10 DJ Delorie <dj@redhat.com>
2420 Sergei Trofimovich <slyfox@inbox.ru>
2424 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2426 * nss/tst-nss-db-endgrent.c: New.
2427 * nss/tst-nss-db-endgrent.root: New.
2428 * nss/tst-nss-db-endpwent.c: New.
2429 * nss/tst-nss-db-endpwent.root: New.
2430 * nss/Makefile: Add new tests.
2431 * support/links-dso-program-c.c: Add selinux dependency.
2432 * support/links-dso-program.cc: Add selinux dependency.
2433 * support/Makefile: Build those with -lselinux if enabled.
2435 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2437 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2438 DT_AARCH64_VARIANT_PCS check.
2439 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2440 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2443 2019-07-10 Andreas Schwab <schwab@suse.de>
2446 * malloc/malloc.h (__malloc_check_init): Don't declare.
2447 * include/malloc.h (__malloc_check_init): Likewise.
2448 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2449 * manual/memory.texi (__malloc_check_init): Don't mention it.
2451 2019-07-10 Mao Han <han_mao@c-sky.com>
2453 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2455 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2457 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2458 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2460 2019-07-08 DJ Delorie <dj@redhat.com>
2463 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2464 * io/tst-ftw-lnk.c: New test.
2465 * io/Makefile: Run it.
2467 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2469 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2470 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2471 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2472 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2473 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2474 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2476 Adjust implementation path.
2477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2478 Adjust implementation path.
2479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2480 Adjust implementation path.
2481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2482 (libm-sysdep_routines): Add s_log* objects.
2483 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2484 CFLAGS-s_logb-power7.c): New fule.
2485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2487 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2491 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2494 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2497 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2501 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2504 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2507 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2511 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2514 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2517 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2521 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2522 powerpc32 integer 0 converting to -0.
2524 * benchtests/Makefile (bench-math): Add logb.
2525 * benchtests/logb-inputs: New file.
2526 * benchtests/logbf-inputs: New file.
2528 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2529 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2530 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2531 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2537 sysdep_routines): Add s_modf* objects.
2538 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2539 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2542 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2546 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2549 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2555 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2560 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2561 twoM500, twoM600, two60factor, pdnum): Remove.
2562 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2563 (__ieee754_hypot): Replace static variables with inline definition,
2564 remove ununsed branches.
2565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2566 (libm-sysdep_routines): Remove e_hypot-* objects.
2567 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2570 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2571 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2572 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2573 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2574 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2576 * benchtests/Makefile (bench-math): Add hypot.
2577 * benchtests/hypot-inputs: New file.
2579 2019-07-08 Vincent Chen <vincentc@andestech.com>
2581 * sysdeps/unix/sysv/linux/dl-vdso.h
2582 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2584 2019-07-04 Andreas Schwab <schwab@suse.de>
2587 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2589 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2591 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2592 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2593 * sysdeps/aarch64/sys/ifunc.h: New file.
2594 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2595 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2597 2019-07-01 Florian Weimer <fweimer@redhat.com>
2600 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2601 Replace __vfork with __libpthread_version_placeholder for
2603 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2604 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2606 * nptl/pt-vfork.c: Remove file.
2607 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2608 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2609 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2610 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2611 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2612 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2613 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2614 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2615 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2616 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2617 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2618 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2619 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2620 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2621 Remove vfork, __vfork.
2622 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2624 (GLIBC_2.1.2): Replace __vfork with
2625 __libpthread_version_placeholder.
2626 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2627 Remove vfork, __vfork.
2628 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2630 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2632 (GLIBC_2.1.2): Replace __vfork with
2633 __libpthread_version_placeholder.
2634 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2637 (GLIBC_2.4): Remove vfork, __vfork.
2638 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2639 (GLIBC_2.0): Remove vfork.
2640 (GLIBC_2.1.2): Replace __vfork with
2641 __libpthread_version_placeholder.
2642 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2643 (GLIBC_2.18): Remove vfork, __vfork.
2644 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2645 (GLIBC_2.0): Remove vfork.
2646 (GLIBC_2.2): Remove __vfork.
2647 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2648 (GLIBC_2.2): Remove vfork, __vfork.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2650 (GLIBC_2.0): Remove vfork.
2651 (GLIBC_2.1.2): Replace __vfork with
2652 __libpthread_version_placeholder.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2654 (GLIBC_2.3): Remove vfork, __vfork.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2656 (GLIBC_2.17): Likewise.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2658 (GLIBC_2.0): Remove vfork.
2659 (GLIBC_2.1.2): Replace __vfork with
2660 __libpthread_version_placeholder.
2661 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2662 (GLIBC_2.2): Remove vfork, __vfork.
2663 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2665 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2666 (GLIBC_2.0): Remove vfork.
2667 (GLIBC_2.1.2): Replace __vfork with
2668 __libpthread_version_placeholder.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2670 (GLIBC_2.2): Remove vfork, __vfork.
2671 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2672 (GLIBC_2.2.5): Likewise.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2674 (GLIBC_2.16): Likewise.
2675 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2676 Remove __errno_location.
2678 2019-07-02 Florian Weimer <fweimer@redhat.com>
2681 * malloc/Depend: Add nptl and htl, due to potential indirect
2682 libpthread dependency of memusagestat.
2684 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2686 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2689 2019-07-01 Florian Weimer <fweimer@redhat.com>
2691 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2692 variant for arm-linux-gnueabi.
2694 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2697 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2699 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2700 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2701 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2702 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2703 and tst-cet-legacy-mod-6c.
2704 (CFLAGS-tst-cet-legacy-5a.c): New.
2705 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2706 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2707 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2708 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2709 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2710 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2711 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2712 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2713 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2714 ($(objpfx)tst-cet-legacy-5a): Likewise.
2715 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2716 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2717 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2718 ($(objpfx)tst-cet-legacy-5b): Likewise.
2719 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2720 (tst-cet-legacy-5b-ENV): Likewise.
2721 ($(objpfx)tst-cet-legacy-6a): Likewise.
2722 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2723 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2724 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2725 ($(objpfx)tst-cet-legacy-6b): Likewise.
2726 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2727 (tst-cet-legacy-6b-ENV): Likewise.
2728 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2729 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2730 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2731 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2732 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2733 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2734 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2735 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2736 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2737 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2738 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2739 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2740 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2741 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2743 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2745 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2746 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2747 (__fegetround_ISA300) New.
2748 (__fegetround_ISA2) New.
2749 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2750 (_FPU_MFFS): Move implementation...
2752 (_FPU_MFFSL): Move implementation....
2753 (_FPU_GET_RC_ISA300): Here. New.
2754 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2755 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2756 (fegetenv_status): New.
2757 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2758 instead of fegetenv_register().
2759 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2761 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2763 * benchtests/bench-math-inlines.c: Increase iterations.
2764 * benchtests/bench-memcmp.c: Likewise.
2765 * benchtests/bench-rawmemchr.c: Likewise.
2766 * benchtests/bench-strcmp.c: Likewise.
2767 * benchtests/bench-strcpy_chk.c: Likewise.
2768 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2769 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2770 (INNER_LOOP_ITERS_SMALL): Likewise.
2771 * benchtests/bench-strncat.c: Increase iterations.
2772 * benchtests/bench-strncmp.c: Increase iterations.
2773 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2774 * benchtests/bench-strrchr.c: Increase iterations.
2775 * benchtests/bench-strstr.c: Keep iterations unchanged.
2776 * benchtests/bench-strtod.c: Increase iterations.
2778 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2780 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2781 with INNER_LOOP_ITERS_LARGE.
2782 * benchtests/bench-memchr.c: Likewise.
2783 * benchtests/bench-rawmemchr.c: Likewise.
2784 * benchtests/bench-strcat.c: Likewise.
2785 * benchtests/bench-strchr.c: Likewise.
2786 * benchtests/bench-string.h: Likewise.
2787 * benchtests/bench-strlen.c: Likewise.
2788 * benchtests/bench-strncpy.c: Likewise.
2789 * benchtests/bench-strnlen.c: Likewise.
2791 2019-06-28 Florian Weimer <fweimer@redhat.com>
2793 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2794 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2795 entire allocated memory range.
2797 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2799 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2800 (prepare_version_base): New helper inline function.
2801 (prepare_version): New macro replacing PREPARE_VERSION.
2802 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2804 2019-06-28 Florian Weimer <fweimer@redhat.com>
2807 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2808 mismatch in a versioned symbol reference.
2809 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2810 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2811 tst-sonamemove-dlopen.
2812 (module-names): Add tst-sonamemove-linkmod1,
2813 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2814 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2815 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2816 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2817 (tst-sonamemove-runmod1.so): Link against
2818 tst-sonamemove-runmod2.so.
2819 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2820 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2821 tst-sonamemove-runmod2.so.
2822 (tst-sonamemove-dlopen): Link with -ldl.
2823 (tst-sonamemove-dlopen.out): Likewise.
2824 * elf/tst-sonamemove-link.c: New file.
2825 * elf/tst-sonamemove-dlopen.c: Likewise.
2826 * elf/tst-sonamemove-linkmod1.c: Likewise.
2827 * elf/tst-sonamemove-linkmod1.map: Likewise.
2828 * elf/tst-sonamemove-runmod1.c: Likewise.
2829 * elf/tst-sonamemove-runmod1.map: Likewise.
2830 * elf/tst-sonamemove-runmod2.c: Likewise.
2831 * elf/tst-sonamemove-runmod2.map: Likewise.
2833 2019-06-28 Florian Weimer <fweimer@redhat.com>
2835 * support/xdlfcn.h (xdlvsym): Declare function.
2836 * support/xdlfcn.c (xdlvsym): Define funciton.
2838 2019-06-28 Florian Weimer <fweimer@redhat.com>
2841 io: Remove the copy_file_range emulation.
2842 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2843 not define and call copy_file_range_compat.
2844 * io/Makefile (tests-static, tests-internal): Do not add
2845 tst-copy_file_range-compat.
2846 * io/copy_file_range-compat.c: Remove file.
2847 * io/copy_file_range.c (copy_file_range): Define as stub.
2848 * io/tst-copy_file_range-compat.c: Remove file.
2849 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2850 (typical_sizes): Update comment. Remove 16K sizes.
2851 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2853 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2854 (delayed_write_failure_beginning, delayed_write_failure_end)
2855 (cross_device_failure, enospc_failure_1, enospc_failure)
2856 (oappend_failure): Remove functions.
2857 (tests): Adjust test case list.
2858 (do_test): Remove file system search code. Check for ENOSYS from
2859 copy_file_range. Do not free xdevfile.
2860 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2861 copy_file_range. Do not document the EXDEV error, which future
2862 kernels may not report. Update the wording to reflect that
2863 further errors are possible.
2864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2865 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2867 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2868 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2870 * sysdeps/unix/sysv/linux/kernel-features.h
2871 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2874 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2876 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2877 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2880 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2882 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2883 used as a mask for the mode argument of __vfprintf_internal.
2884 * stdio-common/printf-parse.h (printf_arg): New union member:
2886 * stdio-common/vfprintf-internal.c
2887 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2888 (PARSE_FLOAT_VA_ARG): Likewise.
2889 (SETUP_FLOAT128_INFO): Likewise.
2890 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2891 SETUP_FLOAT128_INFO.
2892 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2893 floating-point value to the new union member, pa_float128.
2894 (printf_positional): Zero-initialize args_value[cnt] with memset.
2896 2019-06-27 Florian Weimer <fweimer@redhat.com>
2899 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2900 buffer size if necessary.
2901 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2903 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2905 (large_buffer_checks): Likewise.
2906 (do_test): Call large_buffer_checks.
2908 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2910 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2911 * sysdeps/x86/dl-lookupcfg.h: Here.
2912 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2914 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2917 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2922 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2923 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2926 * sysdeps/powerpc/powerpc32/fpu/Makefile
2927 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2928 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2929 and fctidz optimization.
2930 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2931 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2933 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2934 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2935 CFLAGS-s_lround-power5+.c): New rule.
2936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2956 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2957 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2960 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2964 2019-06-26 Vincent Chen <vincentc@andestech.com>
2966 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2967 specific system calls, fp_udfiex_crtl and udftrap.
2969 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2971 * nptl/tst-eintr1.c (tf1): Add return statement.
2972 (do_test): Remove unused th variable.
2974 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2976 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2977 Return error if get_character fails.
2979 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2981 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2983 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2986 * localedata/locales/szl_PL (day): Use the correct Unicode
2987 sequences instead of non-ASCII characters.
2989 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2992 * localedata/locales/szl_PL (abday): Spelling corrections.
2996 (alt_mon): This, then apply spelling corrections.
2997 (mon): New entry, month names in the genitive case.
2999 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3002 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3003 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3004 (thousands_sep): Likewise.
3005 (grouping): Set to 3;3.
3007 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3009 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3010 PREPARE_VERSION_KNOWN.
3011 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3012 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3014 (VDSO_HASH_LINUX_2_6_39): Likewise.
3015 (VDSO_NAME_LINUX_4_9): Likewise.
3016 (VDSO_HASH_LINUX_4_9): Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3018 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3019 (_libc_vdso_platform_setup): Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3021 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3023 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3026 2019-06-20 Mike Crowe <mac@mcrowe.com>
3028 * nptl/eintr.c: Use libsupport.
3029 * nptl/tst-eintr1.c: Likewise.
3030 * nptl/tst-eintr2.c: Likewise.
3031 * nptl/tst-eintr3.c: Likewise.
3032 * nptl/tst-eintr4.c: Likewise.
3033 * nptl/tst-eintr5.c: Likewise.
3034 * nptl/tst-mutex-errorcheck.c: Likewise.
3035 * nptl/tst-mutex5.c: Likewise.
3037 * support/test-driver.h: Add verbose_printf macro.
3039 * support/xtime.h: Add xclock_now() helper function.
3041 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3042 Florian Weimer <fweimer@redhat.com>
3045 * libio/genops.c (_IO_unbuffer_all)
3046 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3047 buffers and access _IO_FILE_complete members of legacy libio streams.
3048 * libio/tst-bz24228.c: New file.
3049 * libio/tst-bz24228.map: Likewise.
3050 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3051 [build-shared] (generated): Add tst-bz24228.mtrace and
3053 [run-built-tests && build-shared] (tests-special): Add
3054 $(objpfx)tst-bz24228-mem.out.
3055 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3056 ($(objpfx)tst-bz24228-mem.out): New rule.
3058 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3060 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3061 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3062 (__FPU_MFFSL): Likewise.
3063 (_FPU_SETCW): Likewise.
3065 2019-06-19 Stan Shebs <stanshebs@google.com>
3066 Raoni Fassina Firmino <raoni@linux.ibm.com>
3069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3070 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3071 static-linking version.
3072 * sysdeps/unix/sysv/linux/powerpc/Makefile
3073 (tests-static): Add test-gettimebasefreq-static.
3075 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3078 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3081 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3082 between the currency symbol and the minus sign).
3083 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3085 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3088 * string/test-strcasestr.c (check_result): Add NULL check.
3089 * nss/tst-field.c (check_rewrite): Likewise.
3090 * benchtests/bench-strstr.c (do_one_test): Likewise.
3091 * string/test-strstr.c (check_result): Likewise.
3092 * argp/argp-test.c (popt): Increase size of buf to 12.
3093 * benchtests/bench-malloc-simple.c (bench):
3094 Do not initialize tests array out of bounds.
3096 2019-06-19 Florian Weimer <fweimer@redhat.com>
3099 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3102 2019-06-18 Florian Weimer <fweimer@redhat.com>
3105 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3106 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3107 fail when called from dlopen.
3108 * elf/Makefile [have-fpie && build-shared] (tests): Add
3110 (tst-dlopen-pie): Link with -ldl.
3111 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3112 * elf/tst-dlopen-pie.c (do_test): New file.
3114 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3117 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3118 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3119 between the currency symbol and the minus sign).
3120 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3121 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3123 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3125 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3126 sysdep-rtld-routines): Remove rules.
3127 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3128 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3129 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3130 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3131 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3132 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3133 vDSO path for SHARED.
3134 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3135 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3136 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3137 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3138 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3139 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3141 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3142 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3143 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3144 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3145 CFLAGS-s_llround-power5+.c): New rule.
3146 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3148 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3150 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3152 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3154 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3157 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3159 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3162 * sysdeps/powerpc/powerpc64/fpu/Makefile
3163 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3165 (libm-sysdep_routines): Remove s_llround-* objects.
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3176 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3177 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3178 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3179 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3180 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3181 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3182 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3183 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3186 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3189 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3191 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3192 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3193 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3194 * sysdeps/powerpc/powerpc32/fpu/Makefile
3195 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3196 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3198 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3199 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3200 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3202 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3203 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3204 CFLAGS-s_lrint-ppc32.c): New rule.
3205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3218 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3230 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3231 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3233 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3234 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3236 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3238 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3241 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3243 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3245 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3247 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3249 (libm-sysdep_routines): Remove s_llrint-* objects.
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3255 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3256 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3257 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3258 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3259 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3260 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3261 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3263 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3265 2019-06-14 Florian Weimer <fweimer@redhat.com>
3267 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3268 argument to __glibc_has_include to inhibit macro expansion.
3270 2019-06-14 Florian Weimer <fweimer@redhat.com>
3272 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3273 function-like macro, so that __has_include can inhibit expansion
3276 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3278 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3282 Allow memset in libc.so.
3284 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3286 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3287 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3288 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3289 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3290 symbols at load time.
3291 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3293 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3295 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3296 (DT_AARCH64_VARIANT_PCS): Define.
3298 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3301 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3311 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3312 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3314 Remove s_finite* objects.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3323 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3324 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3327 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3330 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3340 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3341 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3343 Remove s_isinf* and s_isinf* objects.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3350 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3351 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3356 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3358 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3359 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3362 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3378 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3379 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3380 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3381 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3382 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3383 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3385 Remove s_isnan-* and s_isnanf-* objects.
3386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3395 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3399 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3400 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3402 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3405 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3407 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3408 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3409 CFLAGS-bench-isfinite.c): New rule.
3410 * benchtests/isnan-input: New file.
3411 * benchtests/isinf-input: New file.
3412 * benchtests/isfinite-input: New file.
3414 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3415 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3416 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3417 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3419 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3430 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3432 Remove s_copysign-power6 s_copysign-ppc64.
3433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3439 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3441 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3442 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3444 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3445 round_to_integer_float, round_mode): Add RINT handling.
3446 (reset_fenv_mode): New symbol.
3447 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3448 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3449 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3450 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3452 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3454 2019-06-12 Florian Weimer <fweimer@redhat.com>
3457 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3458 * libio/freopen.c (freopen): Use it.
3460 2019-06-12 Florian Weimer <fweimer@redhat.com>
3462 Linux: Deprecate sysctl.
3463 * include/sysctl.h (__sysctl): Remove declaration.
3464 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3466 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3467 (sysctl): Add deprecation attribute.
3468 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3469 directly, to avoid the deprecation warning. Do not include
3471 (__sysctl): Remove hidden alias.
3473 2019-06-12 Florian Weimer <fweimer@redhat.com>
3475 Linux: Use kernel headers for statx definitions if available.
3476 * include/bits/statx-generic.h: New file.
3477 * include/bits/types/struct_statx.h: Likewise.
3478 * include/bits/types/struct_statx_timestamp.h: Likewise.
3479 * io/Makefile (headers): Add bits/statx-generic.h.
3480 * io/bits/statx-generic.h: New file. Partly copied from
3482 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3483 define original_statx.
3484 * io/bits/types/struct_statx.h: Likewise.
3485 * io/bits/types/struct_statx_timestamp.h: Likewise.
3486 (statx_generic): Use original_statx.
3487 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3488 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3490 2019-06-12 Florian Weimer <fweimer@redhat.com>
3492 * misc/sys/cdefs.h (__glibc_has_include): Define.
3494 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3496 * string/memmem.c (__memmem): Rewrite to improve performance.
3498 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3500 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3502 (two_way_long_needle): Block inlining.
3503 * string/strstr.c (strstr2): Add new function.
3504 (strstr3): Likewise.
3505 (STRSTR): Completely rewrite strstr to improve performance.
3507 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3509 * benchtests/bench-strstr.c (test_hard_needle): New function.
3511 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3513 * malloc/tst-calloc.c: Include <libc-diag.h>.
3514 (null_test): Ignore -Wunused-result around calls to calloc.
3515 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3516 (do_test): Ignore -Wunused-result around call to malloc.
3518 2019-06-07 Florian Weimer <fweimer@redhat.com>
3520 Linux: Add getdents64 system call.
3521 * include/dirnent.h (getdents): Add comment and change buffer
3522 argument type to void *.
3523 (getdents64): Likewise. Add hidden prototype.
3524 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3526 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3528 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3529 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3530 argument type to void *.
3531 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3532 Add hidden definition and getdents64 alias.
3533 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3535 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3536 * manual/filesys.texi (Accessing Directories): Add Low-level
3537 Directory Access node reference.
3538 (Opening a Directory): Cross-reference it.
3539 (Low-level Directory Access): New node.
3540 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3542 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3544 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3545 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3547 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3549 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3551 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3553 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3555 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3557 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3559 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3560 (GLIBC_2.30): Likewise.
3561 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3562 (GLIBC_2.30): Likewise.
3563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3564 (GLIBC_2.30): Likewise.
3565 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3566 (GLIBC_2.30): Likewise.
3567 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3570 (GLIBC_2.30): Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3572 (GLIBC_2.30): Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3574 (GLIBC_2.30): Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3576 (GLIBC_2.30): Likewise.
3577 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3579 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3583 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3586 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3593 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3595 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3599 (_FPU_GETCW): Use __FPU_MFFS().
3600 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3602 2019-06-06 Florian Weimer <fweimer@redhat.com>
3604 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3605 internal GCC preprocessor identifier __has_include__.
3607 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3609 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3610 with call to equivalent function.
3612 2019-06-04 Florian Weimer <fweimer@redhat.com>
3614 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3615 (do_release_shlib): Adjust for __twalk_r.
3616 (__gconv_release_shlib): Call __twalk_r.
3618 2019-06-04 Andreas Schwab <schwab@suse.de>
3621 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3622 no irreversible characters occurred.
3623 * iconv/gconv_simple.c (internal_ucs4_loop)
3624 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3625 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3626 (ucs4_internal_loop_single, internal_ucs4le_loop)
3627 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3628 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3629 (ucs4le_internal_loop_single): Add const to outend.
3630 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3631 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3632 * iconv/Makefile (tests): Add tst-iconv7.
3633 * iconv/tst-iconv7.c: New file.
3635 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3637 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3639 2019-06-01 Florian Weimer <fweimer@redhat.com>
3641 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3642 * sysdeps/unix/sysv/linux/arm/Makefile
3643 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3644 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3645 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3646 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3647 compatibility symbols.
3649 2019-05-31 Florian Weimer <fweimer@redhat.com>
3651 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3652 system calls for the arm architecture: breakpoint, get_tls,
3653 set_tls, usr26, usr32.
3655 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3657 * sysdeps/powerpc/Makefile
3658 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3659 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3660 Declare '.machine power7' to get support for ldbrx.
3661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3662 directive based on the directory of the file.
3663 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3664 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3665 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3666 '.machine' directive.
3667 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3668 (VADDUQM_V7_V8): Remove.
3669 (__STRCASECMP): Replace macros with actual instructions.
3670 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3671 '.machine' directive.
3672 (VCLZD_V8_v7): Remove.
3673 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3675 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3679 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3681 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3683 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3685 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3686 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3692 2019-05-28 mansayk <6688000@gmail.com>
3695 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3697 2019-05-28 mansayk <6688000@gmail.com>
3700 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3701 (abmon): Likewise, but remove the trailing dots.
3703 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3705 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3707 2019-05-27 Florian Weimer <fweimer@redhat.com>
3709 * nptl/nptl-init.c: Add comment.
3711 2019-05-24 Florian Weimer <fweimer@redhat.com>
3713 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3714 struct in_addr/struct in6_addr alignment.
3716 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3719 (F_SEAL_FUTURE_WRITE): New macro.
3721 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3723 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3724 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3725 * elf/tst-ldconfig_aux-cache.root: New directory.
3726 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3727 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3728 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3730 2019-05-22 Zack Weinberg <zackw@panix.com>
3732 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3734 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3735 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3737 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3742 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3743 Issue an #error if used with a compiler in SPE-float mode.
3744 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3745 * sysdeps/powerpc/powerpc32/setjmp_common.S
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3752 Remove code to preserve SPE register state.
3754 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3755 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3756 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3757 Remove __SPE__ ifndefs.
3759 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3761 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3762 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3763 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3764 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3765 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3766 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3767 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3768 (INNER_LOOP_ITERS_MEDIUM): New define.
3769 (INNER_LOOP_ITERS_SMALL): New define.
3770 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3771 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3772 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3773 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3774 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3776 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3778 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3780 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3781 (SEMTIMEDOP_IPC_ARGS): Likewise.
3783 2019-05-21 Florian Weimer <fweimer@redhat.com>
3786 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3787 before updating __counter field and release it afterwards. Add
3789 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3790 requirement for __counter member.
3792 2019-05-21 Florian Weimer <fweimer@redhat.com>
3795 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3796 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3797 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3798 instead of __gconv_release_step.
3799 * libio/Makefile (tests): Add tst-wfile-gconv.
3800 (tests-container): Add tst-wfile-ascii.
3801 (tst-wfile-gconv-ENV): Enable mtrace.
3802 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3803 (tests-special): Add tst-wfile-gconv-mem.out.
3804 (tst-wfile-gconv.out): Depend on locales.
3805 (tst-wfile-gconv-mem.out): Add mtrace rule.
3806 * libio/tst-wfile-ascii.c: New file.
3807 * libio/tst-wfile-gconv.c: Likewise.
3809 2019-05-20 Florian Weimer <fweimer@redhat.com>
3812 libio: Remove codecvt vtable.
3813 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3815 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3816 __libio_codecvt_encoding.
3817 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3818 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3819 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3820 * libio/iofwide.c (__libio_codecvt): Remove variable.
3821 (_IO_fwide): Do not copy __libio_codecvt.
3822 (__libio_codecvt_out): Rename from do_out and export.
3823 (do_unshift): Remove function.
3824 (__libio_codecvt_in): Rename from do_in and export.
3825 (__libio_codecvt_encoding): Rename from do_encoding and export.
3826 (do_always_noconv): Remove function.
3827 (__libio_codecvt_length): Rename from do_length and export.
3828 (do_max_length): Remove function.
3829 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3831 (struct _IO_codecvt): Remove fields __codecvt_destr,
3832 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3833 __codecvt_do_encoding, __codecvt_do_always_noconv,
3834 __codecvt_do_length, __codecvt_do_max_length.
3835 * libio/libioP.h (enum __codecvt_result): Define; moved from
3837 (__libio_codecvt_out, __libio_codecvt_in)
3838 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3840 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3841 (_IO_wfile_underflow): Call __libio_codecvt_in.
3842 (_IO_wfile_underflow): Likewise.
3843 (_IO_wfile_underflow_mmap): Likewise.
3844 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3845 __libio_codecvt_length.
3846 (adjust_wide_data): Call __libio_codecvt_encoding,
3848 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3849 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3850 __libio_codecvt_length.
3852 2019-05-20 Florian Weimer <fweimer@redhat.com>
3854 * support/support.h (support_sbindir_prefix): Declare.
3855 (support_install_rootsbindir): Update comment.
3856 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3857 * support/support_paths.c (support_sbindir_prefix): Define.
3859 2019-05-20 Mike Crowe <mac@mcrowe.com>
3861 * support/timespec.c: Add backslash to correct newline in failure
3864 * support/timespec.h: Correct confusing comment.
3866 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3868 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3870 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3871 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3872 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3873 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3876 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3879 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3881 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3882 (NT_ARM_PACG_KEYS): Likewise.
3884 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3886 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3887 (tcache_put): Remove redundant assert.
3888 (tcache_get): Remove redundant asserts.
3889 (__libc_malloc): Check tcache count is not zero.
3890 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3892 2019-05-17 Florian Weimer <fweimer@redhat.com>
3894 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3896 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3898 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3899 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3903 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3904 (__ASSUME_STATX): Likewise.
3906 2019-05-16 Florian Weimer <fweimer@redhat.com>
3908 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3910 (LINE_PARSER): Do not map IPv4 addresses.
3911 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3913 (_nss_nis_gethostent_r): Always pass AF_INET to
3914 internal_nis_gethostent_r.
3915 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3917 (_nss_nis_gethostbyname2_r): Adjust call to
3918 internal_nis_gethostent_r.
3919 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3920 call to internal_nis_gethostent_r.
3921 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3923 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3924 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3925 Remove flags argument. Do not map IPv4 addresses.
3926 (internal_nisplus_gethostent_r): Adjust call to
3927 _nss_nisplus_parse_hostent.
3928 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3929 to _nss_nisplus_parse_hostent.
3930 (_nss_nisplus_gethostbyname2_r): Adjust call to
3931 internal_gethostbyname2_r.
3932 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3933 Adjust call to internal_gethostbyname2_r.
3934 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3935 _nss_nisplus_parse_hostent.
3936 (_nss_nisplus_gethostbyname4_r): Adjust call to
3937 internal_gethostbyname2_r.
3939 2019-05-16 Florian Weimer <fweimer@redhat.com>
3941 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3943 (LINE_PARSER): Remove address mapping.
3944 (EXTRA_ARGS_VALUE): Remove flags argument.
3945 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3946 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3947 gethostbyname3_multi.
3948 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3949 _nss_files_gethostbyname3_r.
3950 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3952 2019-05-16 Florian Weimer <fweimer@redhat.com>
3954 * support/support_test_compare_blob.c (report_blob): Report
3955 incorrect NULL blobs.
3957 2019-05-15 Mark Wielaard <mark@klomp.org>
3960 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3961 __libc_once_get (once) and static_buf == NULL.
3962 (__dlerror): Check we have a valid key, set result to static_buf
3965 2019-05-15 Andreas Schwab <schwab@suse.de>
3968 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3969 __codecvt_do_length.
3970 * libio/Makefile (tests): Add tst-wfile-sync.
3971 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3972 * libio/tst-wfile-sync.c: New file.
3973 * libio/tst-wfile-sync.input: New file.
3975 2019-05-15 Florian Weimer <fweimer@redhat.com>
3977 nss: Turn __nss_database_lookup into a compatibility symbol.
3978 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3979 __nss_database_lookup.
3980 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3981 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3982 __nss_database_lookup.
3983 (__nss_next): Move to …
3984 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3986 (__nss_database_lookup): New function.
3987 * nss/Versions (GLIBC_2.0): Update comment.
3988 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3989 * grp/initgroups.c (internal_getgrouplist): Call
3990 __nss_database_lookup2 instead of __nss_database_lookup.
3991 * nscd/aicache.c (addhstaiX): Likewise.
3992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3993 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3994 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3995 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3996 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3998 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3999 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4002 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4004 * support/support.h (support_install_rootsbindir): New variable.
4005 * support/support_paths.c: Likewise.
4006 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4008 2019-05-15 Florian Weimer <fweimer@redhat.com>
4010 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4011 * iconv/gconv_int.h (__gconv_transliterate): … here.
4012 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4013 * iconv/skeleton.c: Likewise.
4015 2019-05-14 Florian Weimer <fweimer@redhat.com>
4017 Linux: Add the tgkill function.
4018 * bits/signal_ext.h: New file.
4019 * manual/signal.texi (Signaling Another Process): Document tgkill.
4020 * signal/Makefile (headers): Add bits/signal_ext.h.
4021 * signal/signal.h: Include <bits/signal_ext.h>.
4022 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4023 (tst-tgkill): Link with libpthread.
4024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4025 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4026 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4027 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4029 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4030 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4031 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4032 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4033 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4034 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4035 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4036 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4037 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4038 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4039 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4043 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4052 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4053 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4055 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4061 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4063 * manual/search.texi (Tree Search Function): Adjust twalk_r
4066 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4069 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4072 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4073 * support/support.h (support_bindir_prefix): New variable.
4074 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4076 * config.make.in (bindir): New variable.
4078 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4079 (lll_trylock): Call __lll_trylock.
4080 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4081 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4082 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4083 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4084 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4086 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4088 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4089 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4090 lowlevellock-futex.h.
4092 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4093 initialization for LLL_LOCK_INITIALIZER different than 0.
4094 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4095 Assume LLL_LOCK_INITIALIZER being 0.
4096 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4097 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4099 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4100 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4102 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4103 Optimize futex call and add systemtap probe.
4105 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4106 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4107 __libc_disable_asynccancel, __librt_enable_asynccancel,
4108 __libc_disable_asynccancel, __librt_enable_asynccancel,
4109 __librt_disable_asynccancel): Move to ...
4110 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4111 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4112 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4113 * sysdeps/generic/single-thread.h: New file.
4114 * sysdeps/unix/sysdep.h: Include single-thread.h.
4115 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4116 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4118 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4121 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4122 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4124 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4125 * localedata/unicode-gen/PropList.txt: Likewise.
4126 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4127 * localedata/charmaps/UTF-8: Regenerate.
4128 * localedata/locales/i18n_ctype: Likewise.
4129 * localedata/locales/tr_TR: Likewise.
4130 * localedata/locales/translit_circle: Likewise.
4131 * localedata/locales/translit_cjk_compat: Likewise.
4132 * localedata/locales/translit_combining: Likewise.
4133 * localedata/locales/translit_compat: Likewise.
4134 * localedata/locales/translit_font: Likewise.
4135 * localedata/locales/translit_fraction: Likewise.
4137 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4140 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4141 (do_set_tcache_count): Only update if count is small enough.
4142 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4144 2019-05-10 Florian Weimer <fweimer@redhat.com>
4146 * nptl/sem_close.c (struct walk_closure): Define.
4147 (walker): Adjust for __twalk_r.
4148 (sem_close): Call __twalk_r.
4150 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4152 * support/timespec.c (test_timespec_before_impl,
4153 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4156 2019-05-09 Mike Crowe <mac@mcrowe.com>
4158 * nptl/tst-abstime.c: Use libsupport.
4160 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4161 small bug where only tv.tv_usec was checked which could cause an
4162 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4165 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4168 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4169 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4171 * nptl/tst-cond11.c: Use libsupport.
4173 * support/timespec.h: New file. Provide timespec helper functions
4174 along with macros in the style of those in check.h.
4175 * support/timespec.c: New file. Implement check functions declared
4176 in support/timespec.h.
4177 * support/timespec-add.c: New file from gnulib containing
4178 timespec_add implementation that handles overflow.
4179 * support/timespec-sub.c: New file from gnulib containing
4180 timespec_sub implementation that handles overflow.
4181 * support/README: Mention timespec.h.
4183 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4186 * nptl/Makefile: Move tst-eintr1 to xtests.
4188 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4190 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4192 (round_mode): Add definition for TRUNC.
4193 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4194 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4195 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4196 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4197 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4199 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4201 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4203 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4205 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4207 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4209 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4211 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4213 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4214 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4215 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4216 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4217 s_truncf-power5+, and s_truncf-ppc64.
4218 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4219 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4221 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4224 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4226 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4229 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4231 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4232 s_truncf-power5+, and s_truncf-ppc64.
4233 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4235 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4236 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4238 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4239 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4240 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4241 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4242 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4244 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4246 (round_mode): Add definition for ROUND.
4247 (round_to_integer_float): Likewise.
4248 * sysdeps/powerpc/fpu/s_round.c: New file.
4249 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4250 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4251 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4252 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4254 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4256 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4258 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4260 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4262 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4264 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4266 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4268 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4269 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4270 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4271 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4272 s_roundf-power5+, and s_roundf-ppc64.
4273 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4274 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4276 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4278 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4279 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4281 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4284 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4286 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4287 s_roundf-power5+, and s_roundf-ppc64.
4288 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4290 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4291 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4293 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4294 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4295 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4296 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4297 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4299 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4301 (round_mode): Add definition for FLOOR.
4302 * sysdeps/powerpc/fpu/s_floor.c: New file.
4303 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4304 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4305 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4324 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4325 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4326 s_floorf-power5+, and s_floorf-ppc64.
4327 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4328 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4330 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4332 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4333 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4335 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4338 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4340 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4341 s_floorf-power5+, and s_floorf-ppc64.
4342 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4350 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4351 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4352 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4355 2019-05-08 Mike Crowe <mac@mcrowe.com>
4357 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4358 clock_gettime wrapper for use in tests that fails the test rather
4359 than returning failure.
4361 * support/xtime.h: New file to declare xclock_gettime.
4363 * support/Makefile: Add xclock_gettime.c.
4365 * support/README: Mention xtime.h.
4367 2019-05-08 Florian Weimer <fweimer@redhat.com>
4369 malloc/tst-mallocfork2: Use process-shared barriers.
4370 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4371 (signal_count, sigusr1_sender_pid): Remove.
4372 (iterations): Define constant.
4373 (shared): New variable.
4374 (sigusr1_received): Update comment.
4375 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4376 (signal_sender): Optional use barriers to avoid sending signals
4377 during irrelevant times.
4378 (do_it): Initialize variable shared. Use xfork for error
4379 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4380 the iteration count, independent of signal delivery. Check for
4381 deadlocks in fork. Introduce barriers for reducing signal
4382 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4383 replaced by the barriers. Count signals during fork/free/malloc
4385 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4387 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4389 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4391 (clock_adjtime64) New syscall.
4392 (clock_getres_time64) Likewise.
4393 (clock_gettime64) Likewise.
4394 (clock_nanosleep_time64) Likewise.
4395 (clock_settime64) Likewise.
4396 (futex_time64) Likewise.
4397 (io_pgetevents_time64) Likewise.
4398 (io_uring_enter) Likewise.
4399 (io_uring_register) Likewise.
4400 (io_uring_setup) Likewise.
4401 (mq_timedreceive_time64) Likewise.
4402 (mq_timedsend_time64) Likewise.
4403 (pidfd_send_signal) Likewise.
4404 (ppoll_time64) Likewise.
4405 (pselect6_time64) Likewise.
4406 (recvmmsg_time64) Likewise.
4407 (rt_sigtimedwait_time64) Likewise.
4408 (sched_rr_get_interval_time64) Likewise.
4409 (semtimedop_time64) Likewise.
4410 (timer_gettime64) Likewise.
4411 (timer_settime64) Likewise.
4412 (timerfd_gettime64) Likewise.
4413 (timerfd_settime64) Likewise.
4414 (utimensat_time64) Likewise.
4416 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4417 version to 9 branch.
4419 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4421 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4422 __memmove_thunderx2 to the list of implementations
4423 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4424 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4425 (__memmove_thunderx2): Rewritten using SIMD ld/st
4426 (__memcpy_thunderx2): Fixed handling overlapping cases.
4427 Used ldp/stp instead of ldr/str if possible. Made loops
4430 2019-05-03 Florian Weimer <fweimer@redhat.com>
4432 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4434 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4437 * elf/tst-pldd.c (in_str_list): New function.
4438 (do_test): Add default names for ld and libc as one option.
4440 2019-05-02 Florian Weimer <fweimer@redhat.com>
4442 misc: Add twalk_r function.
4443 * include/search.h (__twalk_r): Declare.
4444 * manual/examples/twalk.c: New file.
4445 * manual/search.texi (Tree Search Function): Document twalk_r.
4446 * misc/Versions (2.30): Export twalk_r.
4447 (GLIBC_PRIVATE): Export __twalk_r.
4448 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4449 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4450 (twalk_r): Add weak alias.
4451 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4452 (walk_trace): New variable.
4453 (struct twalk_with_twalk_r_closure): Define.
4454 (twalk_with_twalk_r_action): New function.
4455 (twalk_with_twalk_r): Likewise.
4456 (walk_action): Call walk_trace_add.
4457 (walk_tree_with): Rename from walk_tree. Add walk argument.
4458 (walk_tree): New function.
4459 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4460 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4462 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4464 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4465 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4466 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4467 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4468 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4469 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4471 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4473 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4475 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4476 (GLIBC_2.30): Likewise.
4477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4478 (GLIBC_2.30): Likewise.
4479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4480 (GLIBC_2.30): Likewise.
4481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4482 (GLIBC_2.30): Likewise.
4483 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4486 (GLIBC_2.30): Likewise.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4488 (GLIBC_2.30): Likewise.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4490 (GLIBC_2.30): Likewise.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4492 (GLIBC_2.30): Likewise.
4493 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4495 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4499 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4504 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4506 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4509 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4511 Make mktime etc. compatible with __time64_t
4512 Keep these functions compatible with Gnulib while adding
4513 __time64_t support. The basic idea is to move private API
4514 declarations from include/time.h to time/mktime-internal.h, since
4515 the former file cannot easily be shared with Gnulib whereas the
4517 Also, do some other minor cleanup while in the neighborhood.
4518 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4519 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4520 since Gnulib needs it.
4521 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4522 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4523 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4524 (in_time_t_range): New static function.
4525 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4526 so that glibc users are not tempted to use __time64_t.
4527 * time/mktime-internal.h: Rewrite so that it does both glibc
4528 and Gnulib work. Include time.h if not _LIBC.
4529 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4530 (__time64_t): New type or macro, moved here from
4532 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4533 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4534 from include/time.h.
4535 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4536 New macros, taken from GNulib.
4537 (__mktime_internal): New prototype, moved here from include/time.h.
4538 * time/mktime.c (mktime_min, mktime_max, convert_time)
4539 (ranged_convert, __mktime_internal, __mktime64):
4540 * time/timegm.c (__timegm64):
4541 Use __time64_t, not time_t.
4542 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4543 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4545 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4546 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4547 for libc_hidden_def.
4549 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4551 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4553 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4556 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4557 from `-Wmaybe-uninitialized'.
4558 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4560 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4562 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4564 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4565 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4566 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4567 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4568 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4570 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4596 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4601 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4604 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4605 s_ceilf-power5+, and s_ceilf-ppc64.
4606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4611 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4612 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4614 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4616 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4617 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4618 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4620 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4622 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4623 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4624 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4625 (sem_getvalue): Likewise.
4627 2019-04-26 Florian Weimer <fweimer@redhat.com>
4629 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4630 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4632 2019-04-26 Florian Weimer <fweimer@redhat.com>
4634 Makeconfig: Move -Wl,-rpath-link options before library references.
4635 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4636 (link-libc): Remove $(link-libc-rpath-link).
4638 2019-04-25 Florian Weimer <fweimer@redhat.com>
4640 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4641 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4642 (+link-static-before-libc): Remove $(CC).
4643 (+link-static, +link-static-tests): Add $(CC).
4644 (+link-before-libc): Remove $(CC).
4645 (+link, +link-pie, +link-pie-printers): Add $(CC).
4647 2019-04-26 Florian Weimer <fweimer@redhat.com>
4649 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4650 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4651 (+link-static-before-libc): Remove $(CC).
4652 (+link-static, +link-static-tests): Add $(CC).
4653 (+link-before-libc): Remove $(CC).
4654 (+link, +link-pie, +link-pie-printers): Add $(CC).
4656 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4659 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4661 2019-04-25 Florian Weimer <fweimer@redhat.com>
4663 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4664 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4665 (bench-link-targets): New variable.
4666 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4668 2019-04-25 Florian Weimer <fweimer@redhat.com>
4670 Also enable BIND_NOW for programs if --enable-bind-now.
4671 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4672 (+link-pie): Use $(link-extra-flags).
4673 (+link-static): Likewise.
4674 [! $(build-pie-default)] (+link): Likewise.
4675 * manual/install.texi (Configuring and compiling): Update
4676 --enable-bind-now description.
4677 * INSTALL: Regenerated.
4679 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4681 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4682 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4684 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4687 * malloc/Makefile (others): Add memusagestat.
4688 ($(objpfx)memusagestat): Delete rule.
4689 (LDLIBS-memusagestat): New variable.
4691 2019-04-24 Florian Weimer <fweimer@redhat.com>
4693 * locale/Makefile (tests-special): Guard setting by
4694 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4695 to run while cross-compiling.
4697 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4700 * elf/Makefile (tests-container): Add tst-pldd.
4701 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4702 (E(find_maps)): Avoid use alloca, use default read file operations
4703 instead of explicit LFS names, and fix infinite loop.
4704 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4705 (get_process_info): Use _Static_assert instead of assert, use default
4706 directory operations instead of explicit LFS names, and free some
4708 * elf/tst-pldd.c: New file.
4710 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4712 * malloc/arena.c (do_set_mallopt_check): Removed.
4714 2019-04-23 Florian Weimer <fweimer@redhat.com>
4716 locale: Add LOCPATH diagnostics to the locale program.
4717 * locale/programs/locale.c (setlocale_failed): New variable.
4718 (try_setlocale): New function.
4719 (quote_string): Likewise.
4720 (setlocale_diagnostics): Likewise.
4721 (main): Call try_setlocale instead of setlocale. Call
4722 setlocale_diagnostics.
4723 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4724 (tst-locale-locpath.out): New target.
4725 * locale/tst-locale-locpath.sh: New file.
4727 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4729 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4732 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4735 * malloc/hooks.c (malloc_check, realloc_check): Use
4736 __builtin_add_overflow on overflow check and adapt to
4737 checked_request2size change.
4738 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4739 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4740 allocation size to PTRDIFF_MAX.
4741 (REQUEST_OUT_OF_RANGE): Remove macro.
4742 (checked_request2size): Change to inline function and limit maximum
4743 requested size to PTRDIFF_MAX.
4744 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4745 maximum allocation size to PTRDIFF_MAX.
4746 (_mid_memalign): Use _int_memalign call for overflow check.
4747 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4748 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4749 limit maximum requested size to PTRDIFF_MAX.
4750 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4751 valloc, pvalloc): Add __attribute_alloc_size__.
4752 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4753 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4754 larger than PTRDIFF_MAX.
4755 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4756 around tests of malloc with negative sizes.
4757 * malloc/tst-posix_memalign.c (do_test): Likewise.
4758 * malloc/tst-pvalloc.c (do_test): Likewise.
4759 * malloc/tst-valloc.c (do_test): Likewise.
4760 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4761 with resulting size allocation larger than PTRDIFF_MAX with
4762 reallocarray_nowarn.
4763 (reallocarray_nowarn): New function.
4764 * NEWS: Mention the malloc function semantic change.
4766 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4768 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4769 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4771 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4772 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4773 * sysdeps/powerpc/fpu/s_fma.c: New file.
4774 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4776 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4777 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4779 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4780 the magic flag store.
4781 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4783 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4785 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4786 Remove rt_sigreturn call.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4789 Remove rt_sigreturn call.
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4795 * support/Makefile (libsupport-routines): Add support_subprocess,
4796 xposix_spawn, xposix_spawn_file_actions_addclose, and
4797 xposix_spawn_file_actions_adddup2.
4798 (tst-support_capture_subprocess-ARGS): New rule.
4799 * support/capture_subprocess.h (support_capture_subprogram): New
4801 * support/support_capture_subprocess.c (support_capture_subprocess):
4802 Refactor to use support_subprocess and support_capture_poll.
4803 (support_capture_subprogram): New function.
4804 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4805 str_to_write_mode, test_common, parse_int, handle_restart,
4806 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4807 (do_test): Add support_capture_subprogram tests.
4808 * support/subprocess.h: New file.
4809 * support/support_subprocess.c: Likewise.
4810 * support/xposix_spawn.c: Likewise.
4811 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4812 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4813 * support/xspawn.h: Likewise.
4815 2019-04-17 Mike Gerow <gerow@google.com>
4817 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4820 2019-04-11 Florian Weimer <fweimer@redhat.com>
4822 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4823 domain with empty string.
4824 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4826 2019-04-11 Florian Weimer <fweimer@redhat.com>
4828 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4830 (alloc_buffer_next): Change return type to non-const. Update
4833 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4835 * manual/time.texi (Formatting Calendar Time): Add missing percent
4836 sign to conversion specifier.
4838 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4839 Kwok Cheung Yeung <kcy@codesourcery.com>
4842 * malloc/mtrace.c: Define prototypes for all hooks.
4843 (set_default_hooks): New function.
4844 (set_trace_hooks): Likewise.
4845 (save_default_hooks): Likewise.
4846 (tr_freehook): Use new s*_hooks functions.
4847 (tr_mallochook): Likewise.
4848 (tr_reallochook): Likewise.
4849 (tr_memalignhook): Likewise.
4851 (muntrace): Likewise.
4853 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4855 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4856 (generic_stpcpy): New function.
4857 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4858 (generic_stpncpy): New function.
4859 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4860 (generic_strcat): New function.
4861 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4862 (generic_strcpy): New function.
4863 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4864 (STUPID_STRNCAT): Remove function.
4865 (generic_strncat): New function.
4866 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4867 (STUPID_STRNCPY): Remove function.
4868 (generic_strncpy): New function.
4869 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4870 (generic_strnlen): New function.
4871 (memchr_strnlen): New function.
4872 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4873 (memchr_strlen): Likewise.
4875 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4877 * benchtests/bench-strstr.c (input): Add realistic input text.
4878 (stupid_strstr): Remove function.
4879 (basic_strstr): Add function.
4880 (twoway_strstr): Add function.
4881 (do_one_test): Add result checking.
4882 (do_test): Use new input text. Remove accidental early matches.
4883 (test_main): Improve range of tests, reduce unaligned cases.
4885 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4887 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4888 (basic_memmem): Add function.
4889 (twoway_memmem): Add function.
4891 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4893 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4894 * benchtests/bench-malloc-thread.c: Likewise.
4895 * benchtests/bench-skeleton.c: Likewise.
4896 * benchtests/bench-strtod.c: Likewise.
4897 * benchtests/bench-timing.h: Likewise.
4899 2019-04-08 Florian Weimer <fweimer@redhat.com>
4901 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4903 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4904 RES_INSECURE2 security checks.
4905 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4906 RES_INSECURE2 handling.
4908 2019-04-08 Florian Weimer <fweimer@redhat.com>
4910 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4911 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4912 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4914 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4915 (tests-internal): Update justification for tst-resolv-res_init,
4916 tst-resolv-res_init-thread.
4917 (tst-res_use_inet6): Remove target.
4918 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4919 * resolv/res_debug.c (p_option): Remove "inet6" support.
4920 * resolv/res_init.c (res_setoptions): Likewise.
4921 * resolv/res_use_inet6.h: Remove file.
4922 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4924 (res_use_inet6): Always return false.
4925 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4926 * resolv/resolv_context.h: Adjust file comment.
4927 (struct resolv_context): Update comment on __next field.
4928 (__resolv_context_put): Update comment.
4929 * resolv/tst-res_use_inet6.c: Remove file.
4930 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4932 (test_cases): Adjust test case.
4933 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4934 (thread_byname2_af_inet6): Use old byname_inet6 code.
4935 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4936 (gai): Remove do_inet6 argument.
4937 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4938 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4939 (thread_gai_unspec_inet6): Remove functions.
4940 (do_test): Adjust thread_funcs.
4941 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4943 (gaih_inet): Do not disable RES_USE_INET6 flag.
4945 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4947 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4948 and remove redundant code.
4950 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4952 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4954 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4964 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4965 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4966 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4968 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4970 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4973 Remove wcsrchr optimizations.
4974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4976 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4979 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4981 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4992 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4995 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4997 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5000 Remove wcschr optimizations.
5001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5003 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5006 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5008 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5022 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5024 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5027 Remove wcscpy optimizations.
5028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5030 * include/loop_unroll.h: New file.
5031 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5032 besides generic implementation.
5034 2019-04-03 DJ Delorie <dj@redhat.com>
5036 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5037 snprintf truncating output.
5039 2019-04-02 DJ Delorie <dj@redhat.com>
5041 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5044 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5047 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5049 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5050 (mkreftable): Add rules for the new Japanese era and the new dates.
5052 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5053 Rafał Lużyński <digitalfreak@lingonborough.com>
5055 * time/tst-strftime2.c (date_t): Explicitly define the type.
5056 (dates): Use natural month and year numbers to express a date.
5057 (is_before): New function to compare dates.
5058 (mkreftable): Minor improvements to simplify maintenance.
5059 (do_test): Reflect the changes in dates array.
5062 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5063 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5064 * time/tst-strftime2.c (locales): Likewise.
5065 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5066 2010-04-01, and 2011-04-01.
5067 (mkreftable): Add rules for the new locales and the new dates.
5069 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5071 * localedata/locales/ja_JP: Add comments to era entries.
5073 2019-04-01 DJ Delorie <dj@redhat.com>
5076 * time/strptime_l.c (%Ey): Fix fencepost error.
5077 * time/tst-strftime3.c: New.
5078 * time/Makefile (tests): Add tst-strftime3.
5080 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5082 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5083 conditional branch to DIVBYZERO. Fix unwind info.
5084 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5085 excb after conditional branch to $powerof2. Add missing unop
5086 instructions and .align directives and reorder instructions to
5089 2019-04-01 Richard Henderson <rth@twiddle.net>
5091 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5093 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5096 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5098 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5099 $libc_cv_riscv_float_abi in `test' invocation.
5100 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5102 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5104 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5106 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5108 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5109 (_GET_SI_FPSCR): Likewise.
5110 (_SET_SI_FPSCR): Likewise.
5112 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5114 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5116 (signbit): Use builtin for clang 3.3.
5117 (isinf): Use builtin for clang 3.7.
5119 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5121 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5123 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5125 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5128 2019-03-25 Mike Crowe <mac@mcrowe.com>
5130 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5131 pthread_rwlock_timedrdlock with calls to
5132 pthread_rwlock_timedwrlock to ensure that the latter is tested
5133 too. Use new function name in diagnostic messages too.
5135 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5136 (do_test) Use libsupport test macros rather than hand-coded
5137 conditionals and error messages. Ensure that sem_init returns zero
5138 rather than not -1. Use <support/test-driver.c> rather than
5141 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5142 test macros rather than hand-coded conditionals and error messages.
5143 Use <support/test-driver.c> rather than test-skeleton.c.
5145 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5147 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5149 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5150 (NT_MIPS_MSA): Likewise.
5152 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5154 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5155 * benchtests/README: Update description.
5156 * benchtests/bench-timing.h: Default to hp-timing.
5157 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5158 HP_TIMING_PRINT): Remove.
5159 (HP_TIMING_NOW): Add generic implementation.
5160 (hp_timing_t): Change to uint64_t.
5162 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5164 * nptl/descr.h: Likewise.
5165 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5166 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5167 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5168 Abstract hp-timing usage with RTLD_* macros.
5169 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5170 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5171 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5172 HP_TIMING_NONAVAIL): Likewise.
5173 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5175 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5176 HP_SMALL_TIMING_AVAIL): Likewise.
5177 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5178 HP_SMALL_TIMING_AVAIL): Likewise.
5179 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5180 HP_SMALL_TIMING_AVAIL): Likewise.
5181 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5182 HP_SMALL_TIMING_AVAIL): Likewise.
5183 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5185 * sysdeps/generic/hp-timing-common.h: Update comment with
5186 HP_TIMING_AVAIL removal.
5188 * include/random-bits.h: New file.
5189 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5190 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5192 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5193 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5196 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5197 * rt/Makefile (clock-routines): Remove get_clockfreq.
5198 * rt/get_clockfreq.c: Remove file.
5199 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5200 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5203 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5205 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5206 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5207 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5208 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5209 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5211 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5212 pthread_clock_settime.
5213 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5214 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5215 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5216 * elf/rtld.c (_dl_start_final): Likewise.
5217 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5218 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5220 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5221 (_dl_cpuclock_offset): Remove.
5222 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5223 cpuclock_offset_ununsed.
5224 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5225 cpuclock_offset set.
5226 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5227 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5228 * nptl/pthread_clock_gettime.c: Remove file.
5229 * nptl/pthread_clock_settime.c: Likewise.
5230 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5231 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5232 and CLOCK_PROCESS_CPUTIME_ID support.
5233 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5234 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5235 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5236 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5237 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5239 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5241 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5243 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5244 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5245 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5247 * sysdeps/s390/memmem-arch13.S: New file.
5248 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5249 if it is only used as fallback.
5250 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5251 * sysdeps/s390/multiarch/ifunc-impl-list.c
5252 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5254 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5256 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5257 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5258 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5260 * sysdeps/s390/multiarch/ifunc-impl-list.c
5261 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5262 * sysdeps/s390/strstr-arch13.S: New file.
5263 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5264 if it is only used as fallback.
5265 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5267 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5269 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5270 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5271 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5272 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5274 * sysdeps/s390/multiarch/ifunc-impl-list.c
5275 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5276 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5277 S390_IS_ARCH13_MIE3): New defines.
5279 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5281 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5282 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5283 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5284 * sysdeps/s390/configure: Regenerated.
5286 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5288 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5289 Add vxe2, vxp, dflt, sort flags.
5290 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5291 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5293 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5294 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5295 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5296 HWCAP_S390_DFLT): Define.
5298 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5301 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5302 of compiler warning.
5303 * locale/programs/ld-collate.c (collate_output): Likewise.
5305 2019-03-21 DJ Delorie <dj@redhat.com>
5308 * iconv/iconvconfig.c (write_output): Replace floating point math
5309 with integer math to avoid imprecise results.
5310 * locale/programs/ld-collate.c (collate_output): Likewise.
5312 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5314 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5315 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5317 2019-03-20 mansayk <6688000@gmail.com>
5320 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5321 (abday): Likewise, but remove the trailing dots.
5323 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5325 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5327 (HWCAP_PACA): Likewise.
5328 (HWCAP_PACG): Likewise.
5329 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5331 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5333 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5335 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5338 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5342 (old_getpagesize): New syscall.
5344 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5347 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5348 * localedata/locales/cmn_TW (era): Likewise.
5349 * localedata/locales/hak_TW (era): Likewise.
5350 * localedata/locales/lzh_TW (era): Likewise.
5351 * localedata/locales/nan_TW (era): Likewise.
5353 2019-03-14 Adam Maris <amaris@redhat.com>
5355 * malloc/malloc.c (_int_malloc): Check for large bin list
5356 corruption when inserting unsorted chunk.
5358 2019-03-14 Florian Weimer <fweimer@redhat.com>
5360 Remove obsolete, never-implemented XSI STREAMS declarations.
5361 * manual/terminal.texi (Allocation): Remove portability note and
5363 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5365 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5366 * sysdeps/unix/inet/Subdirs (streams): Remove.
5367 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5368 (conformtest-headers-UNIX98): Likewise.
5369 (conformtest-headers-XOPEN2K): Likewise.
5370 (conformtest-headers-POSIX2008): Likewise.
5371 * posix/compat-streams.c: New file.
5372 * posix/Makefile (routines): Add it.
5373 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5374 getpmsg, isastream, putmsg, putpmsg.
5375 (GLIBC_2.30): New section.
5376 * bits/stropts.h: Remove file.
5377 * bits/xtitypes.h: Likewise.
5378 * conform/data/stropts.h-data: Likewise.
5379 * include/stropts.h: Likewise.
5380 * include/sys/stropts.h: Likewise.
5381 * include/xtitypes.h: Likewise.
5382 * streams/Makefile: Likewise.
5383 * streams/fattach.c: Likewise.
5384 * streams/fdetach.c: Likewise.
5385 * streams/getmsg.c: Likewise.
5386 * streams/getpmsg.c: Likewise.
5387 * streams/isastream.c: Likewise.
5388 * streams/putmsg.c: Likewise.
5389 * streams/putpmsg.c: Likewise.
5390 * streams/stropts.h: Likewise.
5391 * streams/sys/stropts.h: Likewise.
5392 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5393 * sysdeps/s390/bits/xtitypes.h: Likewise.
5394 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5396 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5397 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5398 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5399 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5400 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5401 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5402 * sysdeps/x86/bits/xtitypes.h: Likewise.
5404 2019-03-14 Florian Weimer <fweimer@redhat.com>
5406 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5408 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5409 but not with libnss_files.
5410 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5412 2019-03-14 Zack Weinberg <zackw@panix.com>
5414 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5415 Specify encoding="utf-8" when opening headers to check.
5417 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5419 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5421 (Context.checkout_tar): Handle variable major version for Linux
5424 2019-03-13 Florian Weimer <fweimer@redhat.com>
5427 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5429 2019-03-13 Zack Weinberg <zackw@panix.com>
5431 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5433 * include/inttypes.h: Adjust to match.
5434 * include/stdint.h: New wrapper.
5436 2019-03-13 Zack Weinberg <zackw@panix.com>
5438 * scripts/check-obsolete-constructs.py: New test script.
5439 * scripts/check-installed-headers.sh: Remove tests for
5440 obsolete typedefs, superseded by check-obsolete-constructs.py.
5441 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5442 as a special test. Update commentary.
5443 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5444 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5446 * posix/sys/types.h (__u_intN_t): Remove.
5447 (u_int8_t): Typedef using __uint8_t.
5448 (u_int16_t): Typedef using __uint16_t.
5449 (u_int32_t): Typedef using __uint32_t.
5450 (u_int64_t): Typedef using __uint64_t.
5452 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5454 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5456 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5457 Ignore types other than AT_HWCAP.
5458 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5459 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5461 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5462 in the case of falling back to generic output mechanism.
5463 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5466 2019-03-12 Florian Weimer <fweimer@redhat.com>
5468 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5470 2019-03-12 Florian Weimer <fweimer@redhat.com>
5473 resolv: Enable full ICMP errors for UDP DNS sockets
5474 * resolv/res_enable_icmp.c: New file.
5475 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5476 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5477 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5480 2019-03-11 Mao Han <han_mao@c-sky.com>
5482 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5483 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5485 2019-03-11 Mao Han <han_mao@c-sky.com>
5487 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5488 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5489 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5491 2019-03-11 Mao Han <han_mao@c-sky.com>
5493 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5495 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5498 2019-03-11 Mao Han <han_mao@c-sky.com>
5500 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5501 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5504 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5507 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5508 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5510 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5511 * localedata/unicode-gen/PropList.txt: Likewise.
5512 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5513 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5514 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5515 * localedata/charmaps/UTF-8: Regenerate.
5516 * localedata/locales/i18n_ctype: Likewise.
5517 * localedata/locales/tr_TR: Likewise.
5518 * localedata/locales/translit_circle: Likewise.
5519 * localedata/locales/translit_cjk_compat: Likewise.
5520 * localedata/locales/translit_combining: Likewise.
5521 * localedata/locales/translit_compat: Likewise.
5522 * localedata/locales/translit_font: Likewise.
5523 * localedata/locales/translit_fraction: Likewise.
5525 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5527 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5528 than after operators.
5529 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5530 (setitimer_locked): Likewise.
5531 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5532 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5533 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5534 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5535 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5536 (PPC_CPU_SUPPORTED): Likewise.
5537 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5538 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5539 (stat_overflow): Likewise.
5540 (statfs_overflow): Likewise.
5541 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5542 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5543 (eq_ttyname_r): Likewise.
5544 (run_chroot_tests): Likewise.
5546 2019-03-07 Florian Weimer <fweimer@redhat.com>
5548 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5551 2019-03-07 Martin Liska <mliska@suse.cz>
5553 * math/Makefile: Change location where math-vector-fortran.h is
5555 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5556 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5557 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5558 * scripts/check-installed-headers.sh: Skip Fortran header files.
5559 * scripts/check-wrapper-headers.py: Likewise.
5561 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5563 * nptl/nptl-init.c (__have_futex_clock_realtime,
5564 __have_futex_clock_realtime): Remove definition.
5565 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5566 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5567 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5568 __ASSUME_FUTEX_CLOCK_REALTIME support.
5569 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5571 * sysdeps/unix/sysv/linux/kernel-features.h
5572 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5573 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5576 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5578 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5579 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5580 __GI___wcscpy and wcscpy.
5582 2019-03-04 Florian Weimer <fweimer@redhat.com>
5584 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5586 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5589 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5591 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5594 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5597 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5598 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5600 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5602 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5604 (do_test): Likewise.
5605 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5606 (do_test_call_varg): Likewise.
5607 (do_test_call_rarg): Likewise.
5608 * sysdeps/ieee754/ldbl-opt/Makefile
5609 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5611 ($(objpfx)tst-nldbl-warn.c): New rule.
5612 ($(objpfx)tst-nldbl-error.c): Likewise.
5613 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5616 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5619 * include/bits/error-ldbl.h: New file.
5620 * include/error.h: Include stdarg.h. Declare internal functions
5621 __error_internal and __error_at_line_internal.
5622 * misc/Makefile (headers): Add bits/error-ldbl.h.
5623 * misc/bits/error-ldbl.h: New file.
5624 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5625 avoid the inclusion of bits/error.h.
5626 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5627 and __nldbl_error_at_line.
5628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5629 (__nldbl_error, __ndlbl_error_at_line): New functions.
5630 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5631 Redirect error and error_at_line.
5632 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5642 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5645 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5648 * include/bits/err-ldbl.h: New file.
5649 * include/err.h: Add prototypes for the internal functions:
5650 __vwarnx_internal and __vwarn_internal.
5651 * misc/Makefile (headers): Add bits/err-ldbl.h.
5652 * misc/bits/err-ldbl.h: New file.
5653 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5654 defined, i.e.: when -mlong-double-64 is in use.
5655 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5656 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5657 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5658 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5659 (VA_CALL): New macro.
5660 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5661 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5664 declare prototypes for the new functions.
5665 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5675 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5678 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5680 * sysdeps/ieee754/ldbl-opt/Makefile
5681 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5682 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5683 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5685 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5688 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5689 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5690 * argp/bits/argp-ldbl.h: New file.
5691 * include/argp.h: Include stdarg.h. Add prototypes for internal
5692 functions: __argp_error_internal and __argp_failure_internal.
5693 * include/bits/argp-ldbl.h: New file.
5694 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5695 __nldbl_argp_error and __nldbl_argp_failure.
5696 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5697 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5699 Redirect argp_error and argp_failure calls.
5700 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5709 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5710 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5713 2019-03-01 Florian Weimer <fweimer@redhat.com>
5716 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5717 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5718 code, to avoid creating an ABI tag note.
5719 (modules-names-nobuild): Add tst-big-note-lib.
5721 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5723 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5724 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5726 2019-03-01 Florian Weimer <fweimer@redhat.com>
5729 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5730 (__netlink_assert_response): Add additional missing newlines.
5732 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5734 * sysdeps/powerpc/powerpc32/dl-machine.c
5735 (__elf_machine_fixup_plt): Use space before '('.
5736 (__process_machine_rela): Likewise.
5737 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5739 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5741 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5743 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5744 (pattern): Likewise.
5746 (check_result): Likewise.
5747 (check_excepts): Likewise.
5748 (check_op): Likewise.
5749 (fail_xr): Likewise.
5750 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5751 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5753 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5756 (__makecontext): Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5760 2019-02-28 Florian Weimer <fweimer@redhat.com>
5763 elf: Add test with a local IFUNC resolver.
5764 * elf/ifuncmain9.c: New file.
5765 * elf/ifuncmain9pic.c: Likewise.
5766 * elf/ifuncmain9picstatic.c: Likewise.
5767 * elf/ifuncmain9pie.c: Likewise.
5768 * elf/ifuncmain9static.c: Likewise.
5769 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5770 ifuncmain9static, ifuncmain9picstatic.
5771 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5772 Add ifuncmain9, ifuncmain9pic.
5773 * elf/Makefile [multi-arch && build-shared && have-fpie]
5774 (ifunc-pie-tests): Add ifuncmain9pie.
5775 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5776 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5777 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5779 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5781 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5782 * configure: Regenerated.
5783 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5785 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5788 symbol as __wcspcy instead of wcscpy.
5790 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5792 * include/stdio.h (__renameat2): New hidden prototype.
5793 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5794 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5795 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5796 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5798 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5800 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5803 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5804 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5805 * benchtests/bench-strlen.c (do_test): Likewise.
5806 (test_main): Likewise.
5807 * catgets/gencat.c (read_old): Likewise.
5808 * elf/cache.c (load_aux_cache): Likewise.
5809 * iconvdata/bug-iconv8.c (do_test): Likewise.
5810 * math/test-tgmath-ret.c (do_test): Likewise.
5811 * nis/nis_call.c (rec_dirsearch): Likewise.
5812 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5813 * nptl/tst-audit-threads.c (do_test): Likewise.
5814 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5815 * nss/nss_test1.c (init): Likewise.
5816 * nss/test-netdb.c (test_hosts): Likewise.
5817 * posix/execvpe.c (maybe_script_execute): Likewise.
5818 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5819 * stdio-common/tst-printf.c (do_test): Likewise.
5820 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5821 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5822 * stdlib/qsort.c (STACK_SIZE): Likewise.
5823 * stdlib/test-canon.c (do_test): Likewise.
5824 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5825 * string/memcmp.c (OPSIZ): Likewise.
5826 * string/test-strcpy.c (do_test): Likewise.
5827 (do_random_tests): Likewise.
5828 * string/test-strlen.c (do_test): Likewise.
5829 (test_main): Likewise.
5830 * string/test-strrchr.c (do_test): Likewise.
5831 (do_random_tests): Likewise.
5832 * string/tester.c (test_memrchr): Likewise.
5833 (test_memchr): Likewise.
5834 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5835 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5836 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5837 (read_encoded_value_with_base): Likewise.
5838 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5839 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5840 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5841 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5842 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5843 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5845 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5847 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5848 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5849 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5851 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5853 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5855 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5857 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5858 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5859 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5860 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5861 * time/test_time.c (main): Likewise.
5863 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5865 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5867 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5870 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5873 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5875 * include/wchar.h (__wcscpy): New prototype.
5876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5877 (__wcscpy): Route internal symbol to generic implementation.
5878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5879 Add internal __wcscpy alias.
5880 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5881 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5882 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5883 * wcsmbs/wcscpy.c (wcscpy): Add
5884 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5885 use generic implementation.
5886 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5888 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5891 * sysdeps/m68k/wcpcpy.c: Remove file.
5892 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5894 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5896 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5897 than after operators.
5898 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5899 * sysdeps/mach/hurd/getcwd.c
5900 (__hurd_canonicalize_directory_name_internal): Likewise.
5901 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5902 (pthread_mutex_consistent): Likewise.
5903 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5905 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5906 (__pthread_mutex_transfer_np): Likewise.
5907 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5908 (__pthread_mutex_unlock): Likewise.
5909 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5910 (mtx_owned_p): Likewise.
5911 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5912 (pthread_mutexattr_getrobust): Likewise.
5913 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5914 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5916 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5917 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5918 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5919 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5920 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5924 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5926 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5927 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5928 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5929 (____longjmp_chk): Likewise.
5930 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5933 (INTERNAL_SYSCALL): Likewise.
5934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5935 (INTERNAL_SYSCALL): Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5937 (__get_clockfreq_via_cpuinfo): Likewise.
5939 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5941 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5942 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5943 (WORD_COPY_BWD): Likewise.
5944 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5947 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5948 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5950 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5952 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5954 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5955 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5956 rather than after operators.
5957 * elf/cache.c (print_cache): Likewise.
5958 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5959 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5960 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5961 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5962 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5963 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5964 (reauth_proc): Likewise.
5965 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5966 (__file_name_split_at): Likewise.
5967 (__directory_name_split_at): Likewise.
5968 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5969 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5970 * iconv/gconv_dl.c (do_print): Likewise.
5971 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5972 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5973 * locale/setlocale.c (new_composite_name): Likewise.
5974 * malloc/memusagestat.c (main): Likewise.
5975 * misc/fstab.c (fstab_convert): Likewise.
5976 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5978 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5979 (getgrent_next_file): Likewise.
5980 (internal_getgrnam_r): Likewise.
5981 (internal_getgrgid_r): Likewise.
5982 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5984 (internal_getgrent_r): Likewise.
5985 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5986 (getpwent_next_nss): Likewise.
5987 (getpwent_next_file): Likewise.
5988 (internal_getpwnam_r): Likewise.
5989 (internal_getpwuid_r): Likewise.
5990 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5992 (getspent_next_nss): Likewise.
5993 (internal_getspnam_r): Likewise.
5994 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5995 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5996 * string/strchr.c (STRCHR): Likewise.
5997 * string/strchrnul.c (STRCHRNUL): Likewise.
5998 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5999 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6000 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6001 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6002 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6004 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6005 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6006 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6007 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6008 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6009 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6010 (open_file): Likewise.
6011 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6012 (pthread_mutexattr_setprotocol): Likewise.
6013 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6014 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6015 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6016 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6017 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6019 (elf_machine_rela): Likewise.
6020 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6021 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6022 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6023 * sysdeps/posix/rename.c (rename): Likewise.
6024 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6025 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6026 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6027 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6028 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6029 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6030 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6032 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6034 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6035 * time/tzfile.c (__tzfile_compute): Likewise.
6037 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6039 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6040 rather than after operators.
6041 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6042 * crypt/md5.c (md5_finish_ctx): Likewise.
6043 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6044 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6045 * elf/cache.c (load_aux_cache): Likewise.
6046 * elf/dl-load.c (open_verify): Likewise.
6047 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6048 * elf/readelflib.c (process_elf_file): Likewise.
6049 * elf/rtld.c (dl_main): Likewise.
6050 * elf/sprof.c (generate_call_graph): Likewise.
6051 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6052 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6053 * hurd/dtable.c (reauth_dtable): Likewise.
6054 * hurd/getdport.c (__getdport): Likewise.
6055 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6056 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6057 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6059 * hurd/hurdioctl.c (fioctl): Likewise.
6060 * hurd/hurdselect.c (_hurd_select): Likewise.
6061 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6062 (STOPSIGS): Likewise.
6063 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6064 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6065 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6066 * hurd/msgportdemux.c (msgport_server): Likewise.
6067 * hurd/setauth.c (_hurd_setauth): Likewise.
6068 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6069 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6070 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6071 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6072 * login/tst-utmp.c (do_check): Likewise.
6073 (simulate_login): Likewise.
6074 * mach/lowlevellock.h (lll_lock): Likewise.
6075 (lll_trylock): Likewise.
6076 * math/test-fenv.c (ALL_EXC): Likewise.
6077 * math/test-fenvinline.c (ALL_EXC): Likewise.
6078 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6079 * nis/nis_call.c (__do_niscall3): Likewise.
6080 * nis/nis_callback.c (cb_prog_1): Likewise.
6081 * nis/nis_defaults.c (searchaccess): Likewise.
6082 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6083 * nis/nis_ismember.c (internal_ismember): Likewise.
6084 * nis/nis_local_names.c (nis_local_principal): Likewise.
6085 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6086 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6088 * nis/ypclnt.c (yp_match): Likewise.
6089 (yp_first): Likewise.
6090 (yp_next): Likewise.
6091 (yp_master): Likewise.
6092 (yp_order): Likewise.
6093 * nscd/hstcache.c (cache_addhst): Likewise.
6094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6095 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6096 (internal_getpwuid_r): Likewise.
6097 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6098 * posix/glob.h (__GLOB_FLAGS): Likewise.
6099 * posix/regcomp.c (peek_token): Likewise.
6100 (peek_token_bracket): Likewise.
6101 (parse_expression): Likewise.
6102 * posix/regexec.c (sift_states_iter_mb): Likewise.
6103 (check_node_accept_bytes): Likewise.
6104 * posix/tst-spawn3.c (do_test): Likewise.
6105 * posix/wordexp-test.c (testit): Likewise.
6106 * posix/wordexp.c (parse_tilde): Likewise.
6107 (exec_comm): Likewise.
6108 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6109 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6110 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6111 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6112 * stdio-common/tst-fileno.c (do_test): Likewise.
6113 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6114 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6115 * stdlib/strtod_l.c (round_and_return): Likewise.
6116 (____STRTOF_INTERNAL): Likewise.
6117 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6118 * string/strcspn.c (STRCSPN): Likewise.
6119 * string/test-memmem.c (simple_memmem): Likewise.
6120 * termios/tcsetattr.c (tcsetattr): Likewise.
6121 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6122 * time/asctime.c (asctime_internal): Likewise.
6123 * time/strptime_l.c (__strptime_internal): Likewise.
6124 * time/sys/time.h (timercmp): Likewise.
6125 * time/tzfile.c (__tzfile_compute): Likewise.
6127 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6130 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6132 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6134 * argp/argp-help.c (__argp_error_internal): New function,
6135 renamed from __argp_error, but that takes a 'mode_flags'
6136 parameter to control the format of long double parameters.
6137 (__argp_error): Converted into a call __argp_error_internal.
6138 (__argp_failure_internal): New function, renamed from
6139 __argp_failure, but that takes a 'mode_flags' parameter.
6140 (__argp_failure): Converted into a call __argp_failure_internal.
6141 * misc/err.c (__vwarnx_internal): New function, renamed from
6142 vwarnx, but that takes a 'mode_flags' parameter.
6143 (vwarnx): Converted into a call to __vwarnx_internal.
6144 (__vwarn_internal): New function, renamed from vwarn, but that
6145 takes a 'mode_flags' parameter.
6146 (vwarn): Converted into a call to __vwarn_internal.
6147 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6148 call to __vfxprintf with 'mode_flags'.
6149 (__error_internal): New function, renamed from error, but that
6150 takes a 'mode_flags' parameter.
6151 (error): Converted into a call to __error_internal.
6152 (__error_at_line_internal): New function, renamed from
6153 error_at_line, but that takes a 'mode_flags' parameter.
6154 (error_at_line): Converted into a call to
6155 __error_at_line_internal.
6156 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6157 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6160 2019-02-20 Martin Liska <mliska@suse.cz>
6162 * math/Makefile: Install math-vector-fortran.h.
6163 * bits/math-vector-fortran.h: New file.
6164 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6166 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6168 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6169 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6171 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6173 * nptl/pthread_mutex_trylock.c: Fix comment.
6175 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6177 * nptl/pthread_tryjoin.c: Fix comment.
6179 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6182 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6183 after R_SPARC_H34 case.
6185 2019-02-18 Florian Weimer <fweimer@redhat.com>
6187 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6188 (getanswer): Do not call Dprintf.
6189 (res_gethostbyname2_context): Likewise.
6190 (res_gethostbyaddr_context): Likewise.
6192 2019-02-18 Florian Weimer <fweimer@redhat.com>
6194 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6196 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6198 * libio/stdfiles.c: Update comment.
6199 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6200 set _IO_stdin, _IO_stdout, _IO_stderr.
6201 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6202 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6204 (_IO_deallocate_file): New inline function.
6205 * libio/iolibio.h (_IO_vprintf): Remove definition.
6206 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6207 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6208 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6210 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6211 __builtin_expect. Use _IO_legacy_file.
6213 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6215 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6216 Initialize ctid with a known value and remove update of ctid
6218 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6219 as assumed current value of ctid_ptr.
6221 2019-02-16 Florian Weimer <fweimer@redhat.com>
6223 Check that non-sysdeps headers have wrapper headers.
6224 * scripts/check-wrapper-headers.py: New file.
6225 * Makefile (tests-special): Add check-wrapper-headers.out.
6226 (check-wrapper-headers.out): New target.
6227 * Rules (tests-special): Add check-wrapper-headers.out.
6228 (check-wrapper-headers.out): New target.
6230 2019-02-16 Florian Weimer <fweimer@redhat.com>
6232 Add missing header wrappers under include/.
6233 * include/ar.h: New file.
6234 * include/bits/mqueue2.h: Likewise.
6235 * include/bits/stdio.h: Likewise.
6236 * include/bits/stdio2.h: Likewise.
6237 * include/fstab.h: Likewise.
6238 * include/fts.h: Likewise.
6239 * include/lastlog.h: Likewise.
6240 * include/netinet/icmp6.h: Likewise.
6241 * include/netinet/igmp.h: Likewise.
6242 * include/netinet/ip6.h: Likewise.
6243 * include/re_comp.h: Likewise.
6244 * include/regexp.h: Likewise.
6245 * include/rpcsvc/bootparam.h: Likewise.
6246 * include/rpcsvc/yp_prot.h: Likewise.
6247 * include/sys/random.h: Likewise.
6248 * include/sys/stropts.h: Likewise.
6249 * include/sys/ttychars.h: Likewise.
6250 * include/sys/vfs.h: Likewise.
6251 * include/wait.h: Likewise.
6253 2019-02-16 Florian Weimer <fweimer@redhat.com>
6255 * nptl_db/proc_service.h: Move to ...
6256 * sysdeps/nptl/proc_service.h: ... here.
6257 * nptl_db/thread_db.h: Move to ...
6258 * sysdeps/nptl/thread_db.h: ... here.
6259 * nptl/descr.h: Include <thread_db.h>.
6261 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6263 * io/Makefile (tests): Add tst-lockf.
6264 * io/lockf.c (lockf): Use __fcntl and only define for
6265 !__OFF_T_MATCHES_OFF64_T.
6266 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6267 __OFF_T_MATCHES_OFF64_T case.
6268 * io/tst-lockf.c: New file.
6269 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6270 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6271 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6272 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6273 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6275 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6276 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6279 2019-02-15 Florian Weimer <fweimer@redhat.com>
6282 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6283 pd->result after the thread descriptor has been freed.
6285 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6287 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6288 from function return type.
6290 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6292 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6294 * scripts/test_printers_common.py: Set TERM to a known harmless
6297 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6299 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6300 (xdr_u_int): Likewise.
6301 (xdr_enum): Likewise.
6302 (xdr_bytes): Reword fall-through comment.
6303 (xdr_string): Likewise.
6305 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6308 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6309 (tests): Add tst-join8 tst-join9.
6310 * nptl/lll_timedwait_tid.c: Remove file.
6311 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6312 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6313 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6314 * nptl/pthread_join_common.c (timedwait_tid): New function.
6315 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6317 * nptl/tst-join5.c (thread_join): New function.
6318 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6320 * nptl/tst-join8.c: New file.
6321 * nptl/tst-join9.c: Likewise.
6322 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6323 lll_futex_timed_wait_cancel): Add generic macros.
6324 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6326 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6329 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6331 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6333 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6334 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6335 (lll_futex_timed_wait_cancel): New macro.
6337 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6339 * benchtests/Makefile: Add malloc-simple benchmark.
6340 * benchtests/bench-malloc-simple.c: New benchmark.
6342 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6344 * benchtests/bench-memmove.c (do_one_test): Remove unused
6347 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6351 2019-01-13 Jim Wilson <jimw@sifive.com>
6354 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6355 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6357 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6359 * nptl/Makefile (tests): Add tst-unwind-thread.
6360 (CFLAGS-tst-unwind-thread.c): Define.
6361 * nptl/tst-unwind-thread.c: New file.
6362 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6365 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6367 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6369 * nis/nis_call.c (__do_niscall3): Likewise.
6371 * catgets/gencat.c (normalize_line): Use braces around empty
6373 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6374 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6375 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6376 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6377 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6378 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6379 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6382 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6385 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6387 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6388 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6389 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6390 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6391 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6392 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6393 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6394 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6395 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6396 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6397 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6398 * benchtests/bench-bcopy.c: Delete file.
6399 * benchtests/bench-bzero.c: Likewise.
6400 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6401 (simple_memccpy): Remove.
6402 (generic_memccpy): Add function.
6403 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6404 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6405 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6406 (generic_mempcpy): Add new function.
6407 * benchtests/bench-memset.c (simple_bzero): Remove.
6408 (builtin_bzero): Remove.
6409 (builtin_memset): Remove.
6410 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6411 (generic_rawmemchr): Add new function.
6413 2019-02-12 Florian Weimer <fweimer@redhat.com>
6415 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6417 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6420 * elf/Makefile (tests): Add tst-audit13.
6421 (modules-names): Add tst-audit13mod1.
6422 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6424 * elf/tst-audit13.c: New file.
6425 * elf/tst-audit13mod1.c: Likewise.
6427 2019-02-12 Florian Weimer <fweimer@redhat.com>
6430 * elf/rtld.c (unload_audit_module): New function.
6431 (report_audit_module_load_error): Likewise.
6432 (load_audit_module): Likewise. Extracted from dl_main. Call
6433 _dl_close if the laversion symbol cannot be found. Use early
6434 returns for error handling. Add malloc error check. Check for a
6435 zero return value from la_version. Remove spurious comment about
6436 static TLS initialization. Remove useless casts.
6437 (notify_audit_modules_of_loaded_object): New function. Extracted
6439 (load_audit_module): Likewise.
6440 (dl_main): Call load_audit_modules.
6442 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6444 * elf/dl-exception.c (_dl_exception_create_format): Add
6445 fall-through comments.
6446 * elf/ldconfig.c (parse_conf_include): Likewise.
6447 * elf/rtld.c (print_statistics): Likewise.
6448 * locale/programs/charmap.c (parse_charmap): Likewise.
6449 * misc/mntent_r.c (__getmntent_r): Likewise.
6450 * posix/wordexp.c (parse_arith): Likewise.
6451 (parse_backtick): Likewise.
6452 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6453 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6456 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6458 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6459 Use float instead of double.
6461 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6463 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6465 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/powerpc/bits/mathinline.h: Remove.
6469 2019-02-08 Florian Weimer <fweimer@redhat.com>
6471 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6472 * math/bits/math-finite.h: Move to ...
6473 * bits/math-finite.h: ... here.
6475 2019-02-08 Florian Weimer <fweimer@redhat.com>
6477 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6478 * bits/unistd_ext.h: here.
6480 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6483 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6484 * nss/tst-nss-files-hosts-long.c: New file.
6485 * nss/tst-nss-files-hosts-long.root: New directory.
6486 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6487 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6489 2019-02-08 Florian Weimer <fweimer@redhat.com>
6491 * include/bits/unistd_ext.h: Remove file.
6492 * posix/bits/unistd_ext.h: Move to ...
6493 * sysdeps/generic/bits/unistd_ext.h: ... here.
6495 2019-02-08 Florian Weimer <fweimer@redhat.com>
6497 * include/bits/unistd_ext.h: New file.
6499 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6501 * time/tst-strftime2.c: Use array_length macros instead of magic
6504 2019-02-08 Florian Weimer <fweimer@redhat.com>
6507 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6509 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6510 locking if the new do_locking argument is true.
6511 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6512 __run_fork_handlers.
6514 2019-02-08 Florian Weimer <fweimer@redhat.com>
6517 Linux: Add gettid system call wrapper.
6518 * posix/Makefile (headers): Add bits/unistd_ext.h.
6519 * posix/bits/unistd_ext.h: New file.
6520 * posix/unistd.h: Include it.
6521 * manual/process.texi (Process Identification): Document gettid.
6522 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6523 tst-gettid, tst-gettid-kill.
6524 (tst-gettid): Link with $(shared-thread-library).
6525 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6526 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6527 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6528 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6529 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6532 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6534 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6535 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6537 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6539 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6541 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6543 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6545 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6549 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6550 (GLIBC_2.30): Likewise.
6551 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6552 (GLIBC_2.30): Likewise.
6553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6554 (GLIBC_2.30): Likewise.
6555 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6556 (GLIBC_2.30): Likewise.
6557 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6560 (GLIBC_2.30): Likewise.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6562 (GLIBC_2.30): Likewise.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6564 (GLIBC_2.30): Likewise.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6566 (GLIBC_2.30): Likewise.
6567 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6571 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6573 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6578 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6580 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6582 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6584 2019-02-08 Florian Weimer <fweimer@redhat.com>
6586 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6587 compatibility symbols.
6589 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6592 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6593 Add compiler barriers and comments.
6595 2019-02-07 Florian Weimer <fweimer@redhat.com>
6597 * include/array_length.h (array_length): Do not use a statement
6598 expression and _Static_assert, so that array_length can be used at
6599 file scope and as a constant expression.
6601 2019-02-07 Florian Weimer <fweimer@redhat.com>
6603 * support/xdlfcn.h (xdlmopen): Declare.
6604 * support/xdlmopen.c: New file.
6605 * support/Makefile (libsupport-routines): Add xdlmopen.
6607 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6609 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6610 before return type, without separate inline.
6611 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6612 * elf/dl-tunables.h (tunable_is_name): Likewise.
6613 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6614 (do_set_top_pad): Likewise.
6615 (do_set_mmap_threshold): Likewise.
6616 (do_set_mmaps_max): Likewise.
6617 (do_set_mallopt_check): Likewise.
6618 (do_set_perturb_byte): Likewise.
6619 (do_set_arena_test): Likewise.
6620 (do_set_arena_max): Likewise.
6621 (do_set_tcache_max): Likewise.
6622 (do_set_tcache_count): Likewise.
6623 (do_set_tcache_unsorted_limit): Likewise.
6624 * nis/nis_subr.c (count_dots): Likewise.
6625 * nptl/allocatestack.c (advise_stack_range): Likewise.
6626 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6628 (reduce_sincos): Likewise.
6629 (do_sincos): Likewise.
6630 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6631 (do_set_elision_enable): Likewise.
6632 (TUNABLE_CALLBACK_FNDECL): Likewise.
6634 2019-02-06 Florian Weimer <fweimer@redhat.com>
6636 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6637 (xdlsym): Use dlerror to detect a NULL symbol.
6639 2019-02-06 Florian Weimer <fweimer@redhat.com>
6641 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6643 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6645 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6647 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6649 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6651 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6652 __wmemcmp and weak alias to wmemcmp.
6654 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6657 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6658 TLS_TCB_AT_TP tls variant.
6659 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6660 Add alignment checks.
6661 * support/Makefile (libsupport-routines): Add xposix_memalign and
6663 * support/support.h: Add xposix_memalign.
6664 * support/xthread.h: Add xpthread_attr_setstack.
6665 * support/xposix_memalign.c: New File.
6666 * support/xpthread_attr_setstack.c: Likewise.
6668 2019-02-05 Florian Weimer <fweimer@redhat.com>
6671 arm: Use "nr" constraint for Systemtap probes, to avoid the
6672 compiler using memory operands for constants, due to the "o"
6673 alternative in the default "nor" constraint.
6674 * include/stap-probe.h [USE_STAP_PROBE]: Include
6675 <stap-probe-machine.h>
6676 * sysdeps/generic/stap-probe-machine.h: New file.
6677 * sysdeps/arm/stap-probe-machine.h: Likewise.
6679 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6681 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6682 with 0, not tcache->entries[tc_idx].
6684 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6687 2019-02-04 Andreas Schwab <schwab@suse.de>
6691 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6692 looking up collating elements match against (wide) character
6693 sequence instead of name. Correct alignment adjustment.
6694 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6695 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6696 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6697 (LOCALES): Add cs_CZ.ISO-8859-2.
6698 * posix/tst-fnmatch4.c: New file.
6699 * posix/tst-fnmatch5.c: New file.
6700 * include/wchar.h (__wmemcmp): Declare.
6701 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6702 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6703 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6704 * sysdeps/s390/wmemcmp.c: Likewise.
6706 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6710 * NEWS: Updated for CVE-2019-7309.
6711 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6712 upper 32 bits of RDX register for x32. Use unsigned Jcc
6713 instructions, instead of signed.
6714 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6715 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6717 2019-02-04 Florian Weimer <fweimer@redhat.com>
6719 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6720 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6721 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6723 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6724 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6725 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6726 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6728 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6730 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6732 (posix_spawn_file_actions_addopen): Likewise.
6733 (posix_spawn_file_actions_addclose): Likewise.
6734 (posix_spawn_file_actions_adddup2): Likewise.
6735 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6737 (posix_spawn_file_actions_addfchdir_np): Likewise.
6739 2019-02-04 David Newall <glibc@davidnewall.com>
6741 elf: Implement --preload option for the dynamic linker.
6742 * elf/rtld.c (preloadarg): New variable.
6743 (handle_preload_list): Pass through “where” argument to
6745 (dl_main): Handle "--preload" and add second call to
6746 handle_preload_list.
6747 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6748 (tst-rtld-preload-OBJS): Set variable.
6749 (tst-rtld-preload.out): New target.
6750 * elf/tst-rtld-preload.sh: New file.
6752 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6754 * Makefile (testrun.sh): Exit in case of incorrect argument.
6756 2019-02-04 Florian Weimer <fweimer@redhat.com>
6758 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6761 2019-02-03 Florian Weimer <fweimer@redhat.com>
6763 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6764 implicit overflow checks.
6766 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6768 * stdlib/isomac.c: Include <unistd.h>.
6770 2019-02-03 Florian Weimer <fweimer@redhat.com>
6772 * include/time.h (__tzfile_default): Use int, not long int, for
6774 * time/tzfile.c (struct ttinfo): Change type of the offset member
6776 (__tzfile_read): Remove useless cast.
6777 (__tzfile_default): Adjust prototype.
6778 * time/tzset.c (tz_rule): Change type of the offset member to int.
6779 (parse_offset): Change the type of the sign variable to int.
6781 2019-02-03 Florian Weimer <fweimer@redhat.com>
6784 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6785 * libio/getchar.c (getchar): Likewise.
6786 * libio/getchar_u.c (getchar_unlocked): Likewise.
6787 * libio/getwchar.c (getwchar): Likewise.
6788 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6789 * libio/iogets.c (_IO_gets): Likewise.
6790 * libio/vscanf.c (_IO_vscanf): Likewise.
6791 * libio/vwscanf.c (__vwscanf): Likewise.
6792 * libio/tst-bz24153.c: New file.
6793 * libio/Makefile (tests): Add it.
6795 2019-02-02 Florian Weimer <fweimer@redhat.com>
6798 * manual/resource.texi (Basic Scheduling Functions): Add
6799 portability note. Change process to task throughout the section.
6800 Remove incorrect comment about sched_yield as it affects
6801 tasks/threads, not entire processes.
6802 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6803 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6805 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6807 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6808 * configure: Regenerated.
6809 * manual/install.texi (Tools for Compilation): Update minimum GCC
6811 * INSTALL: Regenerated.
6813 2019-02-01 Florian Weimer <fweimer@redhat.com>
6815 * support/support_test_compare_string.c
6816 (support_test_compare_string): Use "string" in error message.
6817 * support/tst-test_compare_string.c (do_test): Adjust.
6819 2019-02-01 Florian Weimer <fweimer@redhat.com>
6821 * support/support_format_address_family.c
6822 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6824 2019-02-01 Florian Weimer <fweimer@redhat.com>
6826 * manual/socket.texi (Internet Address Formats): Clarify the byte
6827 order of struct sockaddr_in, struct sockaddr_in6. Document
6828 sin6_flowinfo and sin6_scope_id.
6830 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6832 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6833 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6834 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6835 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6836 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6837 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6839 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6841 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6842 [!MEMCHR](MEMCHR): Set to __memchr.
6843 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6844 Add memchr_generic and memchr_nosimd.
6845 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6846 (__libc_ifunc_impl_list): Add memchr ifuncs.
6847 * sysdeps/aarch64/multiarch/memchr.c: New file.
6848 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6849 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6851 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6853 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6855 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6856 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6857 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6858 Add IS_EMAG check for ifunc dispatch.
6859 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6860 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6862 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6864 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6865 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6867 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6870 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6872 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6874 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6876 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6877 syscall-template file.
6879 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6880 Torvald Riegel <triegel@redhat.com>
6881 Rik Prohaska <prohaska7@gmail.com>
6884 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6885 tst-rwlock-trywrlock-stall.
6886 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6887 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6888 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6889 Set __wrphase_fute to 1 only if we started the write phase.
6890 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6891 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6892 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6893 * support/xpthread_rwlock_destroy.c: New file.
6894 * support/xthread.h: Declare xpthread_rwlock_destroy.
6896 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6898 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6901 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6904 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6905 * libio/fileops.c (_IO_new_file_underflow): Likewise
6906 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6907 * libio/putchar.c (putchar): Likewise.
6908 * libio/putchar_u.c (putchar_unlocked): Likewise.
6909 * libio/putwchar.c (putchar): Likewise.
6910 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6911 * libio/tst-bz24051.c: New test.
6912 * libio/Makefile (tests): Add tst-bz24051
6914 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6917 regex: fix read overrun [BZ #24114]
6918 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6919 https://debbugs.gnu.org/34140
6920 * posix/regexec.c (proceed_next_node):
6921 Do not read past end of input buffer.
6923 2019-01-31 Florian Weimer <fweimer@redhat.com>
6926 * nss/nss_files/files-alias.c (get_next_alias): Handle
6927 continuation line without newline at the end.
6928 * nss/tst-nss-files-alias-truncated.c: New file.
6929 * nss/Makefile [$(build-shared)] (tests): Add
6930 tst-nss-files-alias-truncated.
6931 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6932 * support/namespace.h (struct support_chroot_configuration): Add
6934 (struct support_chroot): Add path_aliases member.
6935 * support/support_chroot.c (support_chroot_create): Handle
6937 (support_chroot_free): Free path_aliases.
6939 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6941 * version.h (RELEASE): Set to "development".
6942 (VERSION): Set to "2.29.9000".
6943 * NEWS: Add section for 2.30.
6945 * version.h (RELEASE): Set to "stable".
6946 (VERSION): Set to "2.29".
6947 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6949 * NEWS: Add the list of bugs fixed in 2.29.
6950 * manual/contrib.texi: Update contributors list with some more
6952 * manual/install.texi: Update latest versions of packages
6954 * INSTALL: Regenerated.
6956 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6958 * po/be.po: Update translations.
6959 * po/bg.po: Likewise.
6960 * po/ca.po: Likewise.
6961 * po/cs.po: Likewise.
6962 * po/da.po: Likewise.
6963 * po/de.po: Likewise.
6964 * po/el.po: Likewise.
6965 * po/eo.po: Likewise.
6966 * po/es.po: Likewise.
6967 * po/fi.po: Likewise.
6968 * po/fr.po: Likewise.
6969 * po/gl.po: Likewise.
6970 * po/hr.po: Likewise.
6971 * po/hu.po: Likewise.
6972 * po/ia.po: Likewise.
6973 * po/id.po: Likewise.
6974 * po/it.po: Likewise.
6975 * po/ja.po: Likewise.
6976 * po/ko.po: Likewise.
6977 * po/lt.po: Likewise.
6978 * po/nb.po: Likewise.
6979 * po/nl.po: Likewise.
6980 * po/pl.po: Likewise.
6981 * po/pt_BR.po: Likewise.
6982 * po/ru.po: Likewise.
6983 * po/rw.po: Likewise.
6984 * po/sk.po: Likewise.
6985 * po/sl.po: Likewise.
6986 * po/sv.po: Likewise.
6987 * po/tr.po: Likewise.
6988 * po/uk.po: Likewise.
6989 * po/vi.po: Likewise.
6990 * po/zh_CN.po: Likewise.
6991 * po/zh_TW.po: Likewise.
6993 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6996 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6997 of $f3 register on $y_is_neg path.
6999 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7002 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7003 sigaltstack.ss_flags.
7005 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7008 * manual/time.texi (strftime): Document "%Ey".
7009 * time/strftime_l.c (__strftime_internal): Set the default width
7010 padding with zero of "%Ey" to 2.
7013 * manual/time.texi (strftime): Document "%EC" and "%EY".
7014 * time/Makefile (tests): Add tst-strftime2.
7015 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7016 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7017 override padding for "%Ey".
7018 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7019 "%Ey" in the subformat as if decorated with that flag.
7020 * time/tst-strftime2.c: New file.
7022 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7024 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7028 * elf/Makefile (tests): Add tst-audit13.
7029 (modules-names): Add tst-audit13mod1.
7030 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7032 * elf/rtld.c (dl_main): Handle invalid audit module version.
7033 * elf/tst-audit13.c: New file.
7034 * elf/tst-audit13mod1.c: Likewise.
7036 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7038 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7039 returned by __hurd_at_flags.
7040 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7041 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7042 directly instead of __hurd_file_name_lookup.
7044 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7046 * scripts/build-many-glibcs.py (Context.checkout): Default
7047 binutils version to 2.32 branch.
7049 2019-01-21 Florian Weimer <fweimer@redhat.com>
7053 resolv: Reject trailing characters in host names
7054 * include/arpa/inet.h (__inet_aton_exact): Declare.
7055 (inet_aton): Remove hidden prototype. No longer used internally.
7056 * nscd/gai.c (__inet_aton): Do not define.
7057 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7058 * nss/digits_dots.c (__inet_aton): Likewise.
7059 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7060 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7061 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7062 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7063 (tst-resolv-trailing): Likewise.
7064 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7066 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7067 Make static. Add endp parameter.
7068 (__inet_aton_exact): New function.
7069 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7070 (__inet_addr): Call inet_aton_end.
7071 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7072 not just IPv6. Call __inet_aton_exact.
7073 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7074 (tests): Make const. Add additional test cases with trailing
7076 (do_test): Use array_length.
7077 * resolv/tst-inet_aton_exact.c: New file.
7078 * resolv/tst-resolv-trailing.c: Likewise.
7079 * resolv/tst-resolv-nondecimal.c: Likewise.
7080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7082 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7086 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7087 Clear the upper 32 bits of RSI register.
7088 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7089 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7090 and tst-size_t-wcsnlen.
7091 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7092 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7094 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7098 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7101 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7102 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7104 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7108 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7110 * sysdeps/x86_64/strcmp.S: Likewise.
7111 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7112 tst-size_t-strncmp and tst-size_t-wcsncmp.
7113 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7114 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7115 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7117 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7121 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7122 RDX_LP for length. Clear the upper 32 bits of RDX register.
7123 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7124 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7125 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7126 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7128 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7132 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7133 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7134 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7135 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7137 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7142 length. Clear the upper 32 bits of RDX register.
7143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7144 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7146 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7148 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7150 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7152 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7156 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7157 length. Clear the upper 32 bits of RDX register.
7158 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7159 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7160 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7162 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7163 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7165 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7169 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7170 upper 32 bits of RDX register.
7171 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7172 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7174 * sysdeps/x86_64/x32/test-size_t.h: New file.
7175 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7176 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7178 2019-01-18 Florian Weimer <fweimer@redhat.com>
7181 resolv: Do not send queries for non-host-names in nss_dns.
7182 * resolv/nss_dns/dns-host.c (check_name): New function.
7183 (_nss_dns_gethostbyname2_r): Use it.
7184 (_nss_dns_gethostbyname_r): Likewise.
7185 (_nss_dns_gethostbyname4_r): Likewise.
7187 2019-01-21 Florian Weimer <fweimer@redhat.com>
7189 * resolv/inet_addr.c: Reformat to GNU style.
7190 (__inet_addr, __inet_aton): Update comment.
7192 2019-01-18 Florian Weimer <fweimer@redhat.com>
7194 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7195 ("malloc: Use current (C11-style) atomics for fastbin access").
7196 This commit introduces a substantial performance regression on
7198 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7199 (REMOVE_FB): Define.
7200 (_int_malloc): Use it and reindent.
7201 (_int_free): Use CAS loop with
7202 catomic_compare_and_exchange_val_rel.
7203 (malloc_consolidate): Use atomic_exchange_acq.
7206 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7208 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7210 (LDFLAGS-tst-minsigstksz-2): Likewise.
7211 (LDFLAGS-tst-minsigstksz-3): Likewise.
7212 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7213 (LDFLAGS-tst-minsigstksz-4): Likewise.
7215 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7217 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7220 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7222 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7224 2019-01-16 Zack Weinberg <zackw@panix.com>
7226 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7227 (xget_sigstack_location): New test support functions.
7228 * support/xsigstack.c: New file, implementing them.
7229 * support/tst-xsigstack.c: New test for them.
7230 * support/Makefile: Update.
7232 * signal/tst-minsigstksz-1.c
7233 * signal/tst-minsigstksz-2.c
7234 * signal/tst-minsigstksz-3.c
7235 * signal/tst-minsigstksz-3a.c
7236 * signal/tst-minsigstksz-4.c: New tests.
7237 * signal/Makefile: Run them.
7239 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7241 * po/libc.pot: Regenerate.
7243 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7245 * math/libm-test-fma.inc (fma_test_data): Set
7246 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7248 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7250 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7251 (do_test): Changed __vector __int128_t to __vector unsigned int.
7253 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7256 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7257 stpcpy-avx2 and stpncpy-avx2.
7258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7259 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7260 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7262 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7263 ifunc-strcpy.h}: rename header for a more generic name.
7264 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7265 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7266 AVX unaligned load is fast and vzeroupper is preferred.
7267 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7268 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7269 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7270 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7271 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7272 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7274 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7276 * argp/argp-help.c: Fix typo in comment.
7277 * misc/sys/cdefs.h: Likewise.
7278 * posix/regexec.c (sift_states_iter_mb): Likewise.
7279 * socket/sockatmark.c: Likewise.
7280 * socket/sys/socket.h: Likewise.
7281 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7282 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7283 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7284 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7285 * sysdeps/unix/sockatmark.c: Likewise.
7286 * time/strptime_l.c: Likewise.
7288 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7290 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7291 missing space after the cast of "_NL_CURRENT".
7293 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7295 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7296 ifdef to fix read of VSCR.
7297 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7298 tst-ucontext-ppc64-vscr.c to test list.
7299 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7301 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7303 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7306 2019-01-09 Jim Wilson <jimw@sifive.com>
7308 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7310 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7312 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7313 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7314 __memcpy_falkor for ares.
7315 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7317 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7320 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7323 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7324 4_FP_W_TYPEs are used for IEEE quad precision.
7325 * soft-fp/extendhftf2.c: Likewise.
7326 * soft-fp/extendsftf2.c: Likewise.
7327 * soft-fp/extendxftf2.c: Likewise.
7328 * soft-fp/trunctfdf2.c: Likewise.
7329 * soft-fp/trunctfhf2.c: Likewise.
7330 * soft-fp/trunctfsf2.c: Likewise.
7331 * soft-fp/trunctfxf2.c: Likewise.
7332 * sysdeps/alpha/ots_cvttx.c: Likewise.
7333 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7334 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7335 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7336 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7337 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7338 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7339 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7340 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7341 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7342 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7343 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7344 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7345 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7346 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7347 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7348 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7349 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7351 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7354 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7355 code with -fmath-errno.
7356 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7357 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7358 * string/test-strerror-errno.c: New file.
7360 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7363 * localedata/locales/en_US (date_fmt): Add, set to
7364 "%a %d %b %Y %r %Z".
7366 2019-01-07 Florian Weimer <fweimer@redhat.com>
7369 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7370 instead of @var{errno}.
7371 (Parsing of Integers): Likewise.
7372 (Parsing of Floats): Likewise.
7373 * manual/filesys.texi (Working with Directory Trees): Likewise.
7374 (Temporary Files): Likewise.
7375 * manual/job.texi (Terminal Access Functions): Likewise.
7376 * manual/llio.texi (Synchronizing I/O): Likewise.
7377 * manual/math.texi (SVID Random): Likewise.
7378 * manual/message.texi (The catgets Functions): Likewise.
7379 (Translation with gettext): Likewise.
7380 (Locating gettext catalog): Likewise.
7381 (Charset conversion in gettext): Likewise.
7382 * manual/nss.texi (NSS Module Function Internals): Likewise.
7383 * manual/search.texi (Hash Search Function): Likewise.
7384 * manual/setjmp.texi (System V contexts): Likewise.
7385 * manual/time.texi (Sleeping): Likewise.
7386 * manual/users.texi (Lookup User): Likewise.
7387 (Lookup Group): Likewise.
7389 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7391 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7394 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7398 __builtin_unreachable for default case in switch.
7399 (__ieee754_yn): Likewise.
7400 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7401 (__ieee754_ynl): Likewise.
7402 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7403 (__ieee754_ynl): Likewise.
7404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7405 (__ieee754_ynl): Likewise.
7407 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7409 * manual/maint.texi: Use @{ and @}.
7411 2019-01-04 Florian Weimer <fweimer@redhat.com>
7413 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7415 (do_in_chroot_1): Call it.
7417 Improve error reporting in case it is not possible to create a
7418 collision for the PTY name required by the test.
7420 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7422 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7423 lll_wait_tid with timeout.
7424 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7425 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7426 futex_reltimed_wait_cancelable for cancelabla mode.
7427 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7428 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7430 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7431 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7432 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7433 SYSCALL_CANCEL_NCS): New macro.
7434 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7435 (lll_timedwait_tid): Remove macro.
7436 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7438 (lll_timedwait_tid): Likewise.
7439 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7441 (lll_timedwait_tid): Likewise.
7442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7444 (lll_timedwait_tid): Likewise.
7445 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7446 Use INTERNAL_SYSCALL_CANCEL.
7447 * sysdeps/unix/sysv/linux/futex-internal.h
7448 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7449 instead of __pthread_{enable,disable}_asynccancel.
7450 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7451 (lll_futex_wait_cancel): New macro.
7453 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7454 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7456 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7457 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7459 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7460 in backtrace analysis.
7461 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7463 (tf_send): Likewise.
7465 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7466 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7467 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7468 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7469 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7470 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7471 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7472 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7473 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7474 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7475 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7476 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7478 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7479 tst-cancel-wrappers.sh.
7480 (generated): Remove tst-cancel-wrappers.out.
7481 (tst-cancel-wrappers.out): Remove rule.
7482 * nptl/tst-cancel-wrappers.sh: Remove file.
7484 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7486 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7487 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7490 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7493 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7494 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7495 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7496 close-on-exec reset for adddup2 file action.
7497 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7499 2019-01-03 Zack Weinberg <zackw@panix.com>
7501 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7502 parameter. Only use deprecated scanf when __USE_GNU is defined
7503 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7504 than 201103L, whichever is relevant for the language being compiled.
7506 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7507 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7508 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7509 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7510 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7514 * libio/iovswscanf.c
7519 * stdio-common/fscanf.c
7520 * stdio-common/scanf.c
7521 * stdio-common/vfscanf.c
7522 * stdio-common/vfwscanf.c
7523 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7524 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7525 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7526 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7527 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7528 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7529 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7530 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7531 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7532 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7533 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7534 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7535 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7536 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7537 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7539 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7540 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7541 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7543 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7544 with a preprocessor macro.
7546 * stdio-common/bug21.c, stdio-common/scanf14.c:
7547 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7548 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7549 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7550 to xscanf, xfscanf, xsscanf.
7552 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7553 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7554 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7555 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7557 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7558 override feature selection macros or provide definitions of u_char etc.
7559 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7560 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7561 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7564 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7567 bits/termios-misc.h.
7568 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7569 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7571 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7572 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7573 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7575 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7576 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7577 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7578 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7579 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7580 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7582 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7583 (sysdep_headers): Add termios-misc.h.
7585 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7587 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7591 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7592 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7593 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7594 TCSAFLUSH): Move to termios-tcflow.h.
7595 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7596 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7597 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7598 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7602 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7603 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7604 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7605 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7606 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7607 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7608 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7609 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7611 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7612 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7614 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7618 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7619 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7620 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7621 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7622 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7624 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7625 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7626 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7627 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7632 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7633 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7634 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7636 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7637 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7638 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7639 __MAX_BAUD): Move to termios-baud.h.
7640 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7641 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7642 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7643 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7646 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7648 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7649 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7652 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7653 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7655 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7656 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7658 [USE_MISC] (XTABS): Likewise.
7659 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7660 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7664 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7666 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7667 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7669 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7670 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7671 IUTF8): Move to termios-c_iflag.h.
7672 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7673 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7677 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7679 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7680 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7681 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7682 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7684 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7685 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7686 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7687 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7692 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7693 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7694 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7695 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7698 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7700 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7702 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7708 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7709 _HAVE_C_OSPEED): Define.
7710 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7711 _HAVE_C_OSPEED): Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7713 _HAVE_C_OSPEED): Likewise.
7714 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7715 (cfsetospeed): Check for define value instead of existence.
7716 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7717 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7718 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7719 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7720 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7723 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7725 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7726 (TIOCSER_TEMT): Likewise.
7727 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7728 (TEOCSER_TEMT): Likewise.
7730 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7733 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7735 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7737 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7739 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7741 * sysdeps/htl/pt-barrierattr-setpshared.c
7742 (pthread_barrierattr_setpshared): Add stub warning.
7743 * sysdeps/htl/pt-condattr-setpshared.c
7744 (pthread_condattr_setpshared): Likewise.
7745 * sysdeps/htl/pt-mutexattr-setpshared.c
7746 (pthread_mutexattr_setpshared): Likewise.
7747 * sysdeps/htl/pt-rwlockattr-setpshared.c
7748 (pthread_rwlockattr_setpshared): Likewise.
7749 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7750 (pthread_mutexattr_setpshared): Likewise.
7752 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7754 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7755 constants to match with Linux 4.20.
7757 * sysdeps/mips/mips32/libm-test-ulps: Update.
7758 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7760 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7763 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7764 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7765 than __typeof (...) for the a_ptr variable.
7767 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7769 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7770 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7771 * libio/Makefile (tests): Add tst-sprintf-ub and
7773 (CFLAGS-tst-sprintf-ub.c): New variable.
7774 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7775 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7776 destination buffer and check for overflows in fortified mode.
7777 * libio/libioP.h (PRINTF_CHK): New macro.
7778 * libio/tst-sprintf-chk-ub.c: New file.
7779 * libio/tst-sprintf-ub.c: Likewise.
7781 2019-01-02 Florian Weimer <fweimer@redhat.com>
7784 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7787 2019-01-02 Florian Weimer <fweimer@redhat.com>
7789 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7791 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7793 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7796 * sysdeps/unix/sysv/linux/netpacket/packet.h
7797 (PACKET_IGNORE_OUTGOING): New macro.
7799 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7802 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7804 (riscv_flush_icache): New syscall.
7806 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7807 trailing whitespace removed.
7808 * scripts/config.guess: Update to version 2019-01-01.
7809 * scripts/config.sub: Update to version 2019-01-01.
7810 * scripts/move-if-change: Update from gnulib.
7812 * NEWS: Update copyright dates.
7813 * catgets/gencat.c (print_version): Likewise.
7814 * csu/version.c (banner): Likewise.
7815 * debug/catchsegv.sh: Likewise.
7816 * debug/pcprofiledump.c (print_version): Likewise.
7817 * debug/xtrace.sh (do_version): Likewise.
7818 * elf/ldconfig.c (print_version): Likewise.
7819 * elf/ldd.bash.in: Likewise.
7820 * elf/pldd.c (print_version): Likewise.
7821 * elf/sotruss.sh: Likewise.
7822 * elf/sprof.c (print_version): Likewise.
7823 * iconv/iconv_prog.c (print_version): Likewise.
7824 * iconv/iconvconfig.c (print_version): Likewise.
7825 * locale/programs/locale.c (print_version): Likewise.
7826 * locale/programs/localedef.c (print_version): Likewise.
7827 * login/programs/pt_chown.c (print_version): Likewise.
7828 * malloc/memusage.sh (do_version): Likewise.
7829 * malloc/memusagestat.c (print_version): Likewise.
7830 * malloc/mtrace.pl: Likewise.
7831 * manual/libc.texinfo: Likewise.
7832 * nptl/version.c (banner): Likewise.
7833 * nscd/nscd.c (print_version): Likewise.
7834 * nss/getent.c (print_version): Likewise.
7835 * nss/makedb.c (print_version): Likewise.
7836 * posix/getconf.c (main): Likewise.
7837 * scripts/test-installation.pl: Likewise.
7838 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7840 * All files with FSF copyright notices: Update copyright dates
7841 using scripts/update-copyrights.
7842 * locale/programs/charmap-kw.h: Regenerated.
7843 * locale/programs/locfile-kw.h: Likewise.
7845 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7847 * timezone/zdump.c: Update from tzcode 2018i.
7848 * timezone/zic.c: Likewise.
7850 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7852 regex: improve Gnulib port to AIX
7853 From the glibc point of view, this removes duplicate macro
7854 definitions and is obviously safe.
7855 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7856 * posix/regex_internal.h:
7857 (__attribute__, __attribute_warn_unused_result__):
7858 Remove; already defined elsewhere.
7860 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7863 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7864 copying operation. (ncopies had the wrong type, resulting in an
7865 integer wraparound and too few elements being copied.)
7867 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7870 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7871 <asm/syscalls.h> exists with __has_include__ before including it.
7873 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7878 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7880 * hurd/lookup-retry: Include <unistd.h>.
7881 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7882 Release it on return. Handle "pid" magical lookup retry.
7884 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7887 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7888 (t_fmt_ampm): Likewise.
7889 * localedata/locales/aa_ER (t_fmt): Likewise.
7890 (t_fmt_ampm): Likewise.
7891 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7892 (t_fmt_ampm): Likewise.
7893 * localedata/locales/aa_ET (t_fmt): Likewise.
7894 (t_fmt_ampm): Likewise.
7895 * localedata/locales/am_ET (t_fmt): Likewise.
7896 (t_fmt_ampm): Likewise.
7897 * localedata/locales/byn_ER (t_fmt): Likewise.
7898 (t_fmt_ampm): Likewise.
7899 * localedata/locales/om_ET (t_fmt): Likewise.
7900 (t_fmt_ampm): Likewise.
7901 * localedata/locales/sid_ET (t_fmt): Likewise.
7902 (t_fmt_ampm): Likewise.
7903 * localedata/locales/so_DJ (t_fmt): Likewise.
7904 (t_fmt_ampm): Likewise.
7905 * localedata/locales/so_ET (t_fmt): Likewise.
7906 (t_fmt_ampm): Likewise.
7907 * localedata/locales/so_SO (t_fmt): Likewise.
7908 (t_fmt_ampm): Likewise.
7909 * localedata/locales/ti_ER (t_fmt): Likewise.
7910 (t_fmt_ampm): Likewise.
7911 * localedata/locales/ti_ET (t_fmt): Likewise.
7912 (t_fmt_ampm): Likewise.
7913 * localedata/locales/tig_ER (t_fmt): Likewise.
7914 (t_fmt_ampm): Likewise.
7915 * localedata/locales/wal_ET (t_fmt): Likewise.
7916 (t_fmt_ampm): Likewise.
7918 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7919 * localedata/locales/ar_IN (t_fmt): Likewise.
7920 * localedata/locales/bhb_IN (t_fmt): Likewise.
7921 * localedata/locales/bho_IN (t_fmt): Likewise.
7922 * localedata/locales/bi_VU (t_fmt): Likewise.
7923 * localedata/locales/bn_BD (t_fmt): Likewise.
7924 * localedata/locales/bn_IN (t_fmt): Likewise.
7925 * localedata/locales/brx_IN (t_fmt): Likewise.
7926 * localedata/locales/doi_IN (t_fmt): Likewise.
7927 * localedata/locales/en_HK (t_fmt): Likewise.
7928 (t_fmt_ampm): Likewise.
7929 * localedata/locales/en_IN (t_fmt): Likewise.
7930 * localedata/locales/en_PH (t_fmt): Likewise.
7931 * localedata/locales/gu_IN (t_fmt): Likewise.
7932 * localedata/locales/hi_IN (t_fmt): Likewise.
7933 * localedata/locales/hif_FJ (t_fmt): Likewise.
7934 * localedata/locales/hne_IN (t_fmt): Likewise.
7935 * localedata/locales/kn_IN (t_fmt): Likewise.
7936 * localedata/locales/kok_IN (t_fmt): Likewise.
7937 * localedata/locales/ks_IN (t_fmt): Likewise.
7938 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7939 * localedata/locales/mag_IN (t_fmt): Likewise.
7940 * localedata/locales/mai_IN (t_fmt): Likewise.
7941 * localedata/locales/mjw_IN (t_fmt): Likewise.
7942 * localedata/locales/ml_IN (t_fmt): Likewise.
7943 * localedata/locales/mni_IN (t_fmt): Likewise.
7944 * localedata/locales/mr_IN (t_fmt): Likewise.
7945 * localedata/locales/ms_MY (t_fmt): Likewise.
7946 * localedata/locales/pa_IN (t_fmt): Likewise.
7947 * localedata/locales/raj_IN (t_fmt): Likewise.
7948 * localedata/locales/sa_IN (t_fmt): Likewise.
7949 * localedata/locales/sat_IN (t_fmt): Likewise.
7950 * localedata/locales/sd_IN (t_fmt): Likewise.
7951 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7952 * localedata/locales/tcy_IN (t_fmt): Likewise.
7953 * localedata/locales/the_NP (t_fmt): Likewise.
7954 * localedata/locales/to_TO (t_fmt): Likewise.
7955 * localedata/locales/ur_IN (t_fmt): Likewise.
7957 * localedata/locales/hif_FJ (d_t_fmt): Set to
7958 "%A %d %b %Y %I:%M:%S %p".
7959 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7961 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7962 * localedata/locales/ar_BH (t_fmt): Likewise.
7963 * localedata/locales/ar_DZ (t_fmt): Likewise.
7964 * localedata/locales/ar_EG (t_fmt): Likewise.
7965 * localedata/locales/ar_IQ (t_fmt): Likewise.
7966 * localedata/locales/ar_JO (t_fmt): Likewise.
7967 * localedata/locales/ar_KW (t_fmt): Likewise.
7968 * localedata/locales/ar_LB (t_fmt): Likewise.
7969 * localedata/locales/ar_LY (t_fmt): Likewise.
7970 * localedata/locales/ar_OM (t_fmt): Likewise.
7971 * localedata/locales/ar_QA (t_fmt): Likewise.
7972 * localedata/locales/ar_SD (t_fmt): Likewise.
7973 * localedata/locales/ar_SS (t_fmt): Likewise.
7974 * localedata/locales/ar_SY (t_fmt): Likewise.
7975 * localedata/locales/ar_TN (t_fmt): Likewise.
7976 * localedata/locales/ar_YE (t_fmt): Likewise.
7978 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7979 (t_fmt_ampm): Likewise.
7980 * localedata/locales/gez_ET (t_fmt): Likewise.
7981 (t_fmt_ampm): Likewise.
7983 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7984 (t_fmt_ampm): Likewise.
7985 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7987 * localedata/locales/zh_HK (t_fmt):
7988 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7990 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7991 because this locale does not use the 12-hour clock.
7992 (t_fmt): Set to "%Z %H:%M:%S".
7993 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7995 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7996 because this locale does not use the 12-hour clock.
7997 (t_fmt): Set to "%H:%M:%S %Z".
7998 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8000 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8001 because this locale does not use the 12-hour clock.
8002 (t_fmt): Set to "%T".
8003 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8004 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8006 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8007 because this locale does not use the 12-hour clock.
8008 (t_fmt): Set to "%H:%M:%S %Z".
8009 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8011 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8012 because this locale does not use the 12-hour clock.
8013 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8014 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8016 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8020 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8021 (t_fmt_ampm): Likewise.
8022 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8023 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8024 (d_fmt): Set to "%-d.%-m.%y".
8026 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8028 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8029 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8030 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8032 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8033 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8034 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8036 * support/blob_repeat.c (check_mul_overflow_size_t,
8037 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8039 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8041 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8043 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8045 regex: simplify Gnulib port
8046 This simplifies the code, by removing stuff intended for porting
8047 to Gnulib but no longer needed there.
8048 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8049 uses of libc_hidden_def, weak_alias.
8050 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8051 _Restrict_ except for public-facing headers.
8052 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8053 Remove; already defined elsewhere.
8054 * posix/regex.c, posix/regex_internal.h:
8055 Use __GNUC_PREREQ instead of rolling our own.
8056 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8058 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8060 * benchtests/bench-strlen.c (generic_strlen): New function.
8061 (memchr_strlen): New function.
8063 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8065 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8066 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8067 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8069 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8071 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8073 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8075 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8076 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8077 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8078 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8079 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8081 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8083 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8086 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8087 PLT reference in libc.so.
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8089 _Q_lltoq and _Q_qtod PLT references in libc.so.
8091 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8093 * benchtests/bench-memchr.c: Cleanup defines.
8094 * benchtests/bench-memcmp.c: Likewise.
8095 * benchtests/bench-memset.c: Likewise.
8096 * benchtests/bench-memset-large.c: Likewise.
8097 * benchtests/bench-memset-walk.c: Likewise.
8098 * benchtests/bench-stpcpy.c: Likewise.
8099 * benchtests/bench-stpncpy.c: Likewise.
8100 * benchtests/bench-strcat.c: Likewise.
8101 * benchtests/bench-strchr.c: Likewise.
8102 * benchtests/bench-strcmp.c: Likewise.
8103 * benchtests/bench-strcpy.c: Likewise.
8104 * benchtests/bench-strcspn.c: Likewise.
8105 * benchtests/bench-string.h: Likewise.
8106 * benchtests/bench-strlen.c: Likewise.
8107 * benchtests/bench-strncat.c: Likewise.
8108 * benchtests/bench-strncmp.c: Likewise.
8109 * benchtests/bench-strncpy.c: Likewise.
8110 * benchtests/bench-strnlen.c: Likewise.
8111 * benchtests/bench-strpbrk.c: Likewise.
8112 * benchtests/bench-strrchr.c: Likewise.
8113 * benchtests/bench-strspn.c: Likewise.
8115 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8117 * stdlib/longlong.h: Update from GCC.
8120 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8121 * configure: Regenerated.
8122 * manual/install.texi (Tools for Compilation): Update minimum GCC
8124 * INSTALL: Regenerated.
8126 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8128 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8130 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8132 * malloc/malloc.c (mremap_chunk): Additional checks.
8134 2018-12-21 Mao Han <han_mao@c-sky.com>
8136 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8137 * scripts/build-many-glibcs.py: Add C-SKY targets.
8138 * sysdeps/csky/Implies: New file.
8139 * sysdeps/csky/Makefile: Likewise.
8140 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8141 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8142 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8143 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8144 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8145 * sysdeps/csky/abiv2/memmove.S: Likewise.
8146 * sysdeps/csky/abiv2/memset.S: Likewise.
8147 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8148 * sysdeps/csky/abiv2/start.S: Likewise.
8149 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8150 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8151 * sysdeps/csky/abiv2/strlen.S: Likewise.
8152 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8153 * sysdeps/csky/abort-instr.h: Likewise.
8154 * sysdeps/csky/atomic-machine.h: Likewise.
8155 * sysdeps/csky/bits/endian.h: Likewise.
8156 * sysdeps/csky/bits/fenv.h: Likewise.
8157 * sysdeps/csky/bits/link.h: Likewise.
8158 * sysdeps/csky/bits/setjmp.h: Likewise.
8159 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8160 * sysdeps/csky/bsd-setjmp.S: Likewise.
8161 * sysdeps/csky/configure: Likewise.
8162 * sysdeps/csky/configure.ac: Likewise.
8163 * sysdeps/csky/dl-machine.h: Likewise.
8164 * sysdeps/csky/dl-procinfo.c: Likewise.
8165 * sysdeps/csky/dl-procinfo.h: Likewise.
8166 * sysdeps/csky/dl-sysdep.h: Likewise.
8167 * sysdeps/csky/dl-tls.h: Likewise.
8168 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8169 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8170 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8171 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8172 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8173 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8174 * sysdeps/csky/fpu/fegetround.c: Likewise.
8175 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8176 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8177 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8178 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8179 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8180 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8181 * sysdeps/csky/fpu/fesetround.c: Likewise.
8182 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8183 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8184 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8185 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8186 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8187 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8188 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8189 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8190 * sysdeps/csky/fpu_control.h: Likewise.
8191 * sysdeps/csky/gccframe.h: Likewise.
8192 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8193 * sysdeps/csky/ldsodefs.h: Likewise.
8194 * sysdeps/csky/libc-tls.c: Likewise.
8195 * sysdeps/csky/linkmap.h: Likewise.
8196 * sysdeps/csky/machine-gmon.h: Likewise.
8197 * sysdeps/csky/memusage.h: Likewise.
8198 * sysdeps/csky/nofpu/Implies: Likewise.
8199 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8200 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8201 * sysdeps/csky/nptl/Makefile: Likewise.
8202 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8203 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8204 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8205 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8206 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8207 * sysdeps/csky/nptl/tls.h: Likewise.
8208 * sysdeps/csky/preconfigure: Likewise.
8209 * sysdeps/csky/sfp-machine.h: Likewise.
8210 * sysdeps/csky/sotruss-lib.c: Likewise.
8211 * sysdeps/csky/stackinfo.h: Likewise.
8212 * sysdeps/csky/sysdep.h: Likewise.
8213 * sysdeps/csky/tininess.h: Likewise.
8214 * sysdeps/csky/tst-audit.h: Likewise.
8215 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8216 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8217 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8218 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8219 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8220 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8221 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8222 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8223 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8224 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8225 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8226 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8227 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8228 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8229 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8230 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8231 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8232 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8233 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8234 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8235 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8236 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8237 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8238 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8239 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8240 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8241 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8242 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8243 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8244 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8245 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8246 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8247 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8248 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8249 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8250 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8251 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8252 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8253 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8254 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8255 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8256 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8257 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8258 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8260 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8262 * include/time.h (__difftime64): Add.
8263 * time/difftime.c (subtract): convert to 64-bit time.
8264 * time/difftime.c (__difftime64): Add.
8265 * time/difftime.c (__difftime): Wrap around __difftime64.
8267 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8269 * manual/examples/add.c: Remove redundant "if not".
8270 * manual/examples/argp-ex1.c: Likewise.
8271 * manual/examples/argp-ex2.c: Likewise.
8272 * manual/examples/argp-ex3.c: Likewise.
8273 * manual/examples/argp-ex4.c: Likewise.
8274 * manual/examples/atexit.c: Likewise.
8275 * manual/examples/db.c: Likewise.
8276 * manual/examples/dir.c: Likewise.
8277 * manual/examples/dir2.c: Likewise.
8278 * manual/examples/execinfo.c: Likewise.
8279 * manual/examples/filecli.c: Likewise.
8280 * manual/examples/filesrv.c: Likewise.
8281 * manual/examples/fmtmsgexpl.c: Likewise.
8282 * manual/examples/genpass.c: Likewise.
8283 * manual/examples/inetcli.c: Likewise.
8284 * manual/examples/inetsrv.c: Likewise.
8285 * manual/examples/isockad.c: Likewise.
8286 * manual/examples/longopt.c: Likewise.
8287 * manual/examples/memopen.c: Likewise.
8288 * manual/examples/memstrm.c: Likewise.
8289 * manual/examples/mkdirent.c: Likewise.
8290 * manual/examples/mkfsock.c: Likewise.
8291 * manual/examples/mkisock.c: Likewise.
8292 * manual/examples/mygetpass.c: Likewise.
8293 * manual/examples/pipe.c: Likewise.
8294 * manual/examples/popen.c: Likewise.
8295 * manual/examples/rprintf.c: Likewise.
8296 * manual/examples/search.c: Likewise.
8297 * manual/examples/select.c: Likewise.
8298 * manual/examples/setjmp.c: Likewise.
8299 * manual/examples/sigh1.c: Likewise.
8300 * manual/examples/sigusr.c: Likewise.
8301 * manual/examples/stpcpy.c: Likewise.
8302 * manual/examples/strdupa.c: Likewise.
8303 * manual/examples/strftim.c: Likewise.
8304 * manual/examples/subopt.c: Likewise.
8305 * manual/examples/swapcontext.c: Likewise.
8306 * manual/examples/termios.c: Likewise.
8307 * manual/examples/testopt.c: Likewise.
8308 * manual/examples/testpass.c: Likewise.
8309 * manual/examples/timeval_subtract.c: Likewise.
8311 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8313 * sysdeps/x86/fpu/math_private.h: New file.
8314 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8316 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8321 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8323 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8324 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8325 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8326 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8328 (_dl_show_auxv): Give a special treatment to
8329 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8330 and AT_L3_CACHEGEOMETRY.
8331 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8332 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8333 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8334 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8336 2018-12-19 Andreas Schwab <schwab@suse.de>
8338 * nscd/connections.c (check_use): Don't abort on invalid len.
8340 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8342 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8343 values in the 64bit value cases.
8345 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8351 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8357 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8360 (__gmtime64_r): Add.
8362 (__gmtime64_r): Add.
8363 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8369 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8372 (__localtime64_r): Add.
8374 (__localtime64_r): Add.
8375 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8377 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8379 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8380 kernel_sigction definition.
8382 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8384 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8386 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8387 __syscall_rt_sigaction.
8388 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8389 (kernel_sigaction): Use Linux generic defintion.
8391 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8392 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8393 (__syscall_rt_sigaction): Remove implementation.
8394 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8396 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8397 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8398 INTERNAL_SYSCALL): Remove definitions.
8399 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8400 action and signal set size.
8401 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8404 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8405 James Clarke <jrtc27@jrtc27.com>
8408 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8409 Define if SA_RESTORER is defined.
8410 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8411 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8413 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8414 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8416 (HAS_SA_RESTORER): Define.
8417 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8418 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8419 (HAS_SA_RESTORER): Define.
8420 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8421 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8422 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8423 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8426 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8428 * sysdeps/unix/sysv/linux/kernel-features.h
8429 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8430 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8431 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8432 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8433 (__ASSUME_ST_INO_64_BIT): Likewise.
8434 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8435 <kernel-features.h>.
8436 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8437 Remove conditional code.
8438 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8439 <kernel-features.h>.
8440 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8441 Remove conditional code.
8442 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8443 <kernel-features.h>.
8444 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8445 Remove conditional code.
8446 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8447 <kernel-features.h>.
8448 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8449 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8453 * sysdeps/s390/multiarch/ifunc-resolve.h
8454 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8455 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8456 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8457 Delete macro definition.
8458 (s390_libc_ifunc_init): Rename to
8459 s390_libc_ifunc_expr_stfle_init.
8460 * sysdeps/s390/bzero: Use
8461 s390_libc_ifunc_expr_stfle_init instead of
8462 s390_libc_ifunc_init.
8463 * sysdeps/s390/memcmp.c: Likewise.
8464 * sysdeps/s390/memcpy.c: Likewise.
8465 * sysdeps/s390/mempcpy.c: Likewise.
8466 * sysdeps/s390/memset.c: Likewise.
8468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8470 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8471 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8475 * sysdeps/s390/multiarch/Makefile
8476 (sysdep_routines): Remove wmemcmp variants.
8477 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8478 * sysdeps/s390/multiarch/ifunc-impl-list.c
8479 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8480 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8481 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8482 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8483 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8484 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8485 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8486 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8488 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8490 * sysdeps/s390/multiarch/Makefile
8491 (sysdep_routines): Remove wmemset variants.
8492 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8493 * sysdeps/s390/multiarch/ifunc-impl-list.c
8494 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8495 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8496 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8497 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8498 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8499 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8500 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8501 * sysdeps/s390/ifunc-wmemset.h: New file.
8503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8505 * sysdeps/s390/multiarch/Makefile
8506 (sysdep_routines): Remove wmemchr variants.
8507 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8508 * sysdeps/s390/multiarch/ifunc-impl-list.c
8509 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8510 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8511 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8512 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8513 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8514 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8515 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8516 * sysdeps/s390/ifunc-wmemchr.h: New file.
8518 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8520 * sysdeps/s390/multiarch/Makefile
8521 (sysdep_routines): Remove wcscspn variants.
8522 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8523 * sysdeps/s390/multiarch/ifunc-impl-list.c
8524 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8525 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8526 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8527 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8528 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8529 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8530 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8531 * sysdeps/s390/ifunc-wcscspn.h: New file.
8533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8535 * sysdeps/s390/multiarch/Makefile
8536 (sysdep_routines): Remove wcspbrk variants.
8537 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8538 * sysdeps/s390/multiarch/ifunc-impl-list.c
8539 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8540 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8541 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8542 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8543 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8544 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8545 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8546 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8550 * sysdeps/s390/multiarch/Makefile
8551 (sysdep_routines): Remove wcsspn variants.
8552 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8553 * sysdeps/s390/multiarch/ifunc-impl-list.c
8554 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8555 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8556 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8557 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8558 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8559 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8560 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8561 * sysdeps/s390/ifunc-wcsspn.h: New file.
8563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8565 * sysdeps/s390/multiarch/Makefile
8566 (sysdep_routines): Remove wcsrchr variants.
8567 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8568 * sysdeps/s390/multiarch/ifunc-impl-list.c
8569 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8570 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8571 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8572 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8573 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8574 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8575 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8576 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8580 * sysdeps/s390/multiarch/Makefile
8581 (sysdep_routines): Remove wcschrnul variants.
8582 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8583 * sysdeps/s390/multiarch/ifunc-impl-list.c
8584 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8585 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8586 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8587 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8588 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8589 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8590 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8591 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8595 * sysdeps/s390/multiarch/Makefile
8596 (sysdep_routines): Remove wcschr variants.
8597 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8598 * sysdeps/s390/multiarch/ifunc-impl-list.c
8599 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8600 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8601 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8602 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8603 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8604 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8605 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8606 * sysdeps/s390/ifunc-wcschr.h: New file.
8608 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8610 * sysdeps/s390/multiarch/Makefile
8611 (sysdep_routines): Remove wcsncmp variants.
8612 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8613 * sysdeps/s390/multiarch/ifunc-impl-list.c
8614 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8615 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8616 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8617 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8618 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8619 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8620 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8621 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8625 * sysdeps/s390/multiarch/Makefile
8626 (sysdep_routines): Remove wcscmp variants.
8627 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8628 * sysdeps/s390/multiarch/ifunc-impl-list.c
8629 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8630 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8631 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8632 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8633 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8634 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8635 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8636 * sysdeps/s390/ifunc-wcscmp.h: New file.
8638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8640 * sysdeps/s390/multiarch/Makefile
8641 (sysdep_routines): Remove wcsncat variants.
8642 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8643 * sysdeps/s390/multiarch/ifunc-impl-list.c
8644 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8645 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8646 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8647 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8648 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8649 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8650 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8651 * sysdeps/s390/ifunc-wcsncat.h: New file.
8653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8655 * sysdeps/s390/multiarch/Makefile
8656 (sysdep_routines): Remove wcscat variants.
8657 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8658 * sysdeps/s390/multiarch/ifunc-impl-list.c
8659 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8660 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8661 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8662 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8663 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8664 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8665 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8666 * sysdeps/s390/ifunc-wcscat.h: New file.
8668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8670 * sysdeps/s390/multiarch/Makefile
8671 (sysdep_routines): Remove wcpncpy variants.
8672 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8673 * sysdeps/s390/multiarch/ifunc-impl-list.c
8674 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8675 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8676 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8677 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8678 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8679 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8680 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8681 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8683 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8685 * sysdeps/s390/multiarch/Makefile
8686 (sysdep_routines): Remove wcsncpy variants.
8687 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8688 * sysdeps/s390/multiarch/ifunc-impl-list.c
8689 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8690 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8691 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8692 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8693 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8694 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8695 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8696 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8700 * sysdeps/s390/multiarch/Makefile
8701 (sysdep_routines): Remove wcpcpy variants.
8702 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8703 * sysdeps/s390/multiarch/ifunc-impl-list.c
8704 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8705 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8706 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8707 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8708 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8709 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8710 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8711 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8715 * sysdeps/s390/multiarch/Makefile
8716 (sysdep_routines): Remove wcscpy variants.
8717 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8718 * sysdeps/s390/multiarch/ifunc-impl-list.c
8719 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8720 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8721 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8722 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8723 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8724 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8725 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8726 * sysdeps/s390/ifunc-wcscpy.h: New file.
8728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8730 * sysdeps/s390/multiarch/Makefile
8731 (sysdep_routines): Remove wcsnlen variants.
8732 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8733 * sysdeps/s390/multiarch/ifunc-impl-list.c
8734 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8735 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8736 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8737 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8738 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8739 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8740 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8741 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8745 * sysdeps/s390/multiarch/Makefile
8746 (sysdep_routines): Remove wcslen variants.
8747 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8748 * sysdeps/s390/multiarch/ifunc-impl-list.c
8749 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8750 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8751 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8752 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8753 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8754 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8755 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8756 * sysdeps/s390/ifunc-wcslen.h: New file.
8758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8760 * sysdeps/s390/multiarch/Makefile
8761 (sysdep_routines): Remove memrchr variants.
8762 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8763 * sysdeps/s390/multiarch/ifunc-impl-list.c
8764 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8765 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8766 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8767 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8768 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8769 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8770 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8771 * sysdeps/s390/ifunc-memrchr.h: New file.
8773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8775 * sysdeps/s390/multiarch/Makefile
8776 (sysdep_routines): Remove memccpy variants.
8777 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8778 * sysdeps/s390/multiarch/ifunc-impl-list.c
8779 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8780 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8781 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8782 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8783 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8784 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8785 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8786 * sysdeps/s390/ifunc-memccpy.h: New file.
8788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8790 * sysdeps/s390/multiarch/Makefile
8791 (sysdep_routines): Remove rawmemchr variants.
8792 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8793 * sysdeps/s390/multiarch/ifunc-impl-list.c
8794 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8795 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8796 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8797 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8798 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8799 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8800 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8801 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8805 * sysdeps/s390/multiarch/Makefile
8806 (sysdep_routines): Remove memchr variants.
8807 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8808 * sysdeps/s390/multiarch/ifunc-impl-list.c
8809 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8810 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8811 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8812 * sysdeps/s390/multiarch/memchr.c: Move to ...
8813 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8814 * sysdeps/s390/ifunc-memchr.h: New file.
8815 * sysdeps/s390/s390-64/memchr.S: Move to ...
8816 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8817 for 31/64bit and ifunc handling.
8818 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8819 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8820 * sysdeps/s390/s390-32/memchr.S: Likewise.
8822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8824 * sysdeps/s390/multiarch/Makefile
8825 (sysdep_routines): Remove strcspn variants.
8826 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8827 * sysdeps/s390/multiarch/ifunc-impl-list.c
8828 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8829 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8830 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8831 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8832 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8833 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8834 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8835 * sysdeps/s390/ifunc-strcspn.h: New file.
8837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8839 * sysdeps/s390/multiarch/Makefile
8840 (sysdep_routines): Remove strpbrk variants.
8841 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8842 * sysdeps/s390/multiarch/ifunc-impl-list.c
8843 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8844 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8845 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8846 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8847 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8848 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8849 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8850 * sysdeps/s390/ifunc-strpbrk.h: New file.
8852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8854 * sysdeps/s390/multiarch/Makefile
8855 (sysdep_routines): Remove strspn variants.
8856 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8857 * sysdeps/s390/multiarch/ifunc-impl-list.c
8858 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8859 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8860 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8861 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8862 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8863 * sysdeps/s390/multiarch/strspn.c: Move to ...
8864 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8865 * sysdeps/s390/ifunc-strspn.h: New file.
8867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8869 * sysdeps/s390/multiarch/Makefile
8870 (sysdep_routines): Remove strrchr variants.
8871 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8872 * sysdeps/s390/multiarch/ifunc-impl-list.c
8873 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8874 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8875 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8876 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8877 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8878 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8879 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8880 * sysdeps/s390/ifunc-strrchr.h: New file.
8882 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8884 * sysdeps/s390/multiarch/Makefile
8885 (sysdep_routines): Remove strchrnul variants.
8886 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8887 * sysdeps/s390/multiarch/ifunc-impl-list.c
8888 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8889 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8890 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8891 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8892 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8893 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8894 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8895 * sysdeps/s390/ifunc-strchrnul.h: New file.
8897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8899 * sysdeps/s390/multiarch/Makefile
8900 (sysdep_routines): Remove strchr variants.
8901 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8902 * sysdeps/s390/multiarch/ifunc-impl-list.c
8903 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8904 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8905 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8906 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8907 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8908 * sysdeps/s390/multiarch/strchr.c: Move to ...
8909 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8910 * sysdeps/s390/ifunc-strchr.h: New file.
8912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8914 * sysdeps/s390/multiarch/Makefile
8915 (sysdep_routines): Remove strncmp variants.
8916 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8917 * sysdeps/s390/multiarch/ifunc-impl-list.c
8918 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8919 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8920 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8921 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8922 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8923 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8924 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8925 * sysdeps/s390/ifunc-strncmp.h: New file.
8927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8929 * sysdeps/s390/multiarch/Makefile
8930 (sysdep_routines): Remove strcmp variants.
8931 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8932 * sysdeps/s390/multiarch/ifunc-impl-list.c
8933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8934 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8935 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8936 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8937 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8938 * sysdeps/s390/ifunc-strcmp.h: New file.
8939 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8940 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8941 for 31/64bit and ifunc handling.
8942 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8943 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8944 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8946 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8948 * sysdeps/s390/multiarch/Makefile
8949 (sysdep_routines): Remove strncat variants.
8950 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8951 * sysdeps/s390/multiarch/ifunc-impl-list.c
8952 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8953 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8954 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8955 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8956 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8957 * sysdeps/s390/multiarch/strncat.c: Move to ...
8958 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8959 * sysdeps/s390/ifunc-strncat.h: New file.
8961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8963 * sysdeps/s390/multiarch/Makefile
8964 (sysdep_routines): Remove strcat variants.
8965 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8966 * sysdeps/s390/multiarch/ifunc-impl-list.c
8967 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8968 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8969 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8970 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8971 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8972 * sysdeps/s390/multiarch/strcat.c: Move to ...
8973 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8974 * sysdeps/s390/ifunc-strcat.h: New file.
8976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8978 * sysdeps/s390/multiarch/Makefile
8979 (sysdep_routines): Remove stpncpy variants.
8980 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8981 * sysdeps/s390/multiarch/ifunc-impl-list.c
8982 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8983 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8984 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8985 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8986 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8987 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8988 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8989 * sysdeps/s390/ifunc-stpncpy.h: New file.
8991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8993 * sysdeps/s390/multiarch/Makefile
8994 (sysdep_routines): Remove strncpy variants.
8995 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8996 * sysdeps/s390/multiarch/ifunc-impl-list.c
8997 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8998 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8999 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9000 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9001 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9002 * sysdeps/s390/ifunc-strncpy.h: New file.
9003 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9004 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9005 and adjust ifunc handling.
9006 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9007 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9008 and adjust ifunc handling.
9009 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9010 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9014 * sysdeps/s390/multiarch/Makefile
9015 (sysdep_routines): Remove stpcpy variants.
9016 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9017 * sysdeps/s390/multiarch/ifunc-impl-list.c
9018 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9019 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9020 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9021 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9022 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9023 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9024 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9025 * sysdeps/s390/ifunc-stpcpy.h: New file.
9027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9029 * sysdeps/s390/multiarch/Makefile
9030 (sysdep_routines): Remove strcpy variants.
9031 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9032 * sysdeps/s390/multiarch/ifunc-impl-list.c
9033 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9034 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9035 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9036 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9037 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9038 * sysdeps/s390/ifunc-strcpy.h: New file.
9039 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9040 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9041 for 31/64bit and ifunc handling.
9042 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9043 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9044 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9046 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9048 * sysdeps/s390/multiarch/Makefile
9049 (sysdep_routines): Remove strnlen variants.
9050 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9051 * sysdeps/s390/multiarch/ifunc-impl-list.c
9052 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9053 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9054 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9055 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9056 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9057 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9058 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9059 * sysdeps/s390/ifunc-strnlen.h: New file.
9061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9063 * sysdeps/s390/multiarch/Makefile
9064 (sysdep_routines): Remove strlen variants.
9065 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9066 * sysdeps/s390/multiarch/ifunc-impl-list.c
9067 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9068 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9069 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9070 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9071 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9072 * sysdeps/s390/multiarch/strlen.c: Move to ...
9073 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9074 * sysdeps/s390/ifunc-strlen.h: New file.
9076 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9078 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9079 * sysdeps/s390/multiarch/ifunc-impl-list.c
9080 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9081 * sysdeps/s390/ifunc-memmem.h: New file.
9082 * sysdeps/s390/memmem.c: Likewise.
9083 * sysdeps/s390/memmem-c.c: Likewise.
9084 * sysdeps/s390/memmem-vx.c: Likewise.
9086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9088 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9089 * sysdeps/s390/multiarch/ifunc-impl-list.c
9090 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9091 * sysdeps/s390/ifunc-strstr.h: New file.
9092 * sysdeps/s390/strstr.c: Likewise.
9093 * sysdeps/s390/strstr-c.c: Likewise.
9094 * sysdeps/s390/strstr-vx.c: Likewise.
9096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9098 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9099 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9100 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9101 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9103 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9104 * sysdeps/s390/memmove-c.c: New file.
9105 * sysdeps/s390/memmove.c: Likewise.
9106 * sysdeps/s390/multiarch/ifunc-impl-list.c
9107 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9111 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9112 * sysdeps/s390/configure.ac: Add check for z13 support.
9113 * sysdeps/s390/configure: Regenerated.
9115 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9117 * sysdeps/s390/memcopy.h: New file.
9119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9121 * sysdeps/s390/s390-32/bcopy.S: Remove.
9122 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9126 * sysdeps/s390/ifunc-memcpy.h: New File.
9127 * sysdeps/s390/memcpy.S: Move to ...
9128 * sysdeps/s390/memcpy-z900.S ... here.
9129 Move implementations from memcpy-s390x.s to here.
9130 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9131 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9132 Remove memcpy/mempcpy variants.
9133 * sysdeps/s390/Makefile (sysdep_routines):
9134 Add memcpy/mempcpy variants.
9135 * sysdeps/s390/multiarch/ifunc-impl-list.c
9136 (__libc_ifunc_impl_list): Adjust ifunc variants for
9138 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9140 * sysdeps/s390/memcpy.c: ... here.
9141 Adjust ifunc variants for memcpy.
9142 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9143 * sysdeps/s390/mempcpy.c: ... here.
9144 Adjust ifunc variants for mempcpy.
9145 * sysdeps/s390/mempcpy.S: Delete file.
9147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9149 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9150 * sysdeps/s390/memcpy.S: ... here.
9151 Adjust to be usable for 31/64bit.
9152 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9153 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9154 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9155 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9156 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9157 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9158 Adjust to be usable for 31/64bit.
9159 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9160 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9161 * sysdeps/s390/multiarch/memcpy.c: ... here.
9162 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9166 * sysdeps/s390/ifunc-memcmp.h: New File.
9167 * sysdeps/s390/memcmp.S: Move to ...
9168 * sysdeps/s390/memcmp-z900.S ... here.
9169 Move implementations from memcmp-s390x.s to here.
9170 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9171 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9172 Remove memcmp variants.
9173 * sysdeps/s390/Makefile (sysdep_routines):
9174 Add memcmp variants.
9175 * sysdeps/s390/multiarch/ifunc-impl-list.c
9176 (__libc_ifunc_impl_list): Adjust ifunc variants for
9178 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9180 * sysdeps/s390/memcmp.c: ... here.
9181 Adjust ifunc variants for memcmp.
9183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9185 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9186 * sysdeps/s390/memcmp.S: ... here.
9187 Adjust to be usable for 31/64bit.
9188 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9189 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9190 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9192 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9193 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9194 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9195 Adjust to be usable for 31/64bit.
9196 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9197 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9198 * sysdeps/s390/multiarch/memcmp.c: ... here.
9199 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9203 * sysdeps/s390/s390-32/bzero.S: Delete file.
9204 * sysdeps/s390/s390-64/bzero.S: Likewise.
9205 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9206 * sysdeps/s390/bzero.c: New file.
9207 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9208 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9209 * sysdeps/s390/multiarch/ifunc-impl-list.c
9210 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9212 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9214 * sysdeps/s390/ifunc-memset.h: New File.
9215 * sysdeps/s390/memset.S: Move to ...
9216 * sysdeps/s390/memset-z900.S ... here.
9217 Move implementations from memset-s390x.s to here.
9218 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9219 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9220 Remove memset variants.
9221 * sysdeps/s390/Makefile (sysdep_routines):
9222 Add memset variants.
9223 * sysdeps/s390/multiarch/ifunc-impl-list.c
9224 (__libc_ifunc_impl_list): Adjust ifunc variants for
9226 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9228 * sysdeps/s390/memset.c: ... here.
9229 Adjust ifunc variants for memset.
9231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9233 * sysdeps/s390/s390-64/memset.S: Move to ...
9234 * sysdeps/s390/memset.S: ... here.
9235 Adjust to be usable for 31/64bit.
9236 * sysdeps/s390/s390-32/memset.S: Delete File.
9237 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9238 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9240 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9241 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9242 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9243 Adjust to be usable for 31/64bit.
9244 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9245 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9246 * sysdeps/s390/multiarch/memset.c: ... here.
9247 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9251 * sysdeps/s390/multiarch/ifunc-resolve.h
9252 (s390_libc_ifunc_init, s390_libc_ifunc,
9253 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9257 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9258 * sysdeps/s390/configure.ac: Add check for z10 support.
9259 * sysdeps/s390/configure: Regenerated.
9261 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9263 * sysdeps/i386/atomic-machine.h: Merged with ...
9264 * sysdeps/x86_64/atomic-machine.h: To ...
9265 * sysdeps/x86/atomic-machine.h: This. New file.
9267 2018-12-18 Florian Weimer <fweimer@redhat.com>
9269 Rewrite locale/gen-translit.pl in Python.
9270 * locale/Makefile (generated): Add C-translit.h.
9271 (before-compile): Add $(objpfx)C-translit.h.
9272 (C-translit.h): Move to $(objpfx). Create target directory.
9273 Build using Python script.
9274 * locale/gen-translit.py: New file.
9275 * locale/gen-translit.pl: Remove file.
9276 * locale/C-translit.h.in: Change comment character to '#' for
9277 easier parsing without a C preprocessor.
9278 * locale/C-translit.h: Remove generated file.
9279 * manual/install.texi (Tools for Compilation): Do not mention
9281 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9282 Remove locale/C-translit.h.
9283 * scripts/update-copyrights: Likewise.
9284 * INSTALL: Regenerate.
9286 2018-12-18 Florian Weimer <fweimer@redhat.com>
9289 * localedata/locales/bi_VU: Remove executable bit from file.
9291 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9294 (__localtime64): Add.
9295 * manual/maint.texi: Document Y2038 symbol handling.
9297 (__localtime64): Add.
9298 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9300 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9302 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9305 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9306 to allow extra macros from first or second sources.
9307 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9308 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9309 (tests-special): Add $(objpfx)tst-mman-consts.out.
9310 ($(objpfx)tst-mman-consts.out): New makefile target.
9312 2018-12-17 Mao Han <han_mao@c-sky.com>
9314 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9315 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9316 without stat64 system call support.
9317 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9318 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9319 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9320 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9321 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9322 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9323 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9324 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9325 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9326 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9327 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9329 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9331 regex: fix storage-exhaustion error
9333 * posix/regexec.c (get_subexp):
9334 Do not continue if storage is exhausted.
9336 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9338 regex: fix heap-use-after-free error
9340 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9341 https://debbugs.gnu.org/32592
9342 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9343 call extend_buffers which reallocates the re_string_t internal buffer.
9344 Local variable 'buf' was not updated in such case, resulting in
9346 * posix/regexec.c (get_subexp): Update 'buf' after call to
9349 2018-12-15 Florian Weimer <fweimer@redhat.com>
9351 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9352 (minimum_stride_size): Use it.
9353 (support_blob_repeat_allocate): Likewise.
9355 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9357 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9362 2018-12-14 Florian Weimer <fweimer@redhat.com>
9364 * manual/process.texi (Process Creation Concepts): Remove
9365 documentation of process (ID) lifetime. List more process
9366 creation functions. Reference Process Identification section.
9367 (Process Identification): Add information about process ID
9368 lifetime. Describe Linux thread/task IDs.
9369 * manual/signal.texi (Signaling Another Process): Mention that the
9370 signal is always sent to the process.
9372 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9374 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9375 and tst-ldbl-efgcvt.
9376 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9377 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9378 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9379 (fcvt_tests, output_error, output_r_error, do_test): Use the
9380 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9381 select the type of floating-point variables and arguments; to
9382 produce extra tests for double and conversion specifiers for
9383 printf; and to set the names of called functions.
9384 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9385 in tst-efgcvt-template.c.
9386 * misc/tst-ldbl-efgcvt.c: Likewise.
9388 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9390 * nss/Makefile (tst-nss-test3.out): New rule.
9392 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9394 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9397 2018-12-13 fanjinke <fanjinke@hygon.cn>
9399 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9402 2018-12-13 Andreas Schwab <schwab@suse.de>
9405 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9406 (__pthread_rwlock_rdlock_full): Update expected value for
9407 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9408 * nptl/tst-rwlock-pwn.c: New file.
9409 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9411 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9413 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9416 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9418 * benchtests/scripts/compare_bench.py (do_compare): write to
9419 stderr in casestat is not present.
9420 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9421 stderr in case timings field is not present. Also string showing
9422 the output filename goes into the stderr.
9424 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9426 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9427 and ZeroDivisorError exceptions.
9428 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9429 argument to loop through user provided statistics.
9430 * benchtests/scripts/compare_bench.py (main): Include the --stats
9433 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9435 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9438 2018-12-12 Florian Weimer <fweimer@redhat.com>
9440 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9441 clause to copyright header.
9443 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9446 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9447 registers saved in the stack frame.
9448 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9449 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9451 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9453 * include/bits/monetary-ldbl.h: New file.
9454 * include/bits/printf-ldbl.h: Likewise.
9455 * include/bits/stdio-ldbl.h: Likewise.
9456 * include/bits/stdlib-ldbl.h: Likewise.
9457 * include/bits/syslog-ldbl.h: Likewise.
9458 * include/bits/wchar-ldbl.h: Likewise.
9460 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9462 * libio/libio.h: Remove redirection for _IO_vfprintf.
9464 2018-12-11 Andreas Schwab <schwab@suse.de>
9466 * Makerules: Remove all references to abilist-pattern.
9467 (update-all-abi): Simplify find expression.
9469 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9472 * math/auto-libm-test-in: Add new test case.
9473 * math/auto-libm-test-out-pow: Regenerated.
9474 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9476 2018-12-10 DJ Delorie <dj@redhat.com>
9479 * support/test-container.c: Move postclean step to before we
9482 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9484 * scripts/gen-as-const.py (main): Handle --python option.
9485 * scripts/gen-py-const.awk: Remove.
9486 * Makerules (py-const-script): Use gen-as-const.py.
9487 ($(py-const)): Likewise.
9488 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9489 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9490 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9491 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9492 ~PTHREAD_MUTEX_NO_ELISION_NP.
9493 * manual/README.pretty-printers: Update reference to
9496 * scripts/glibcextract.py: New file.
9497 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9498 or tempfile. Import glibcexctract.
9499 (compute_c_consts): Remove. Moved to glibcextract.py.
9500 (gen_test): Update reference to compute_c_consts.
9502 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9503 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9504 * sysdeps/unix/sysv/linux/Makefile
9505 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9506 Redirect stderr as well as stdout.
9508 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9511 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9512 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9513 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9514 ALWAYS_USE_VSYSCALL.
9515 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9516 ALWAYS_USE_VSYSCALL.
9517 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9518 ALWAYS_USE_VSYSCALL.
9520 2018-12-10 Florian Weimer <fweimer@redhat.com>
9523 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9524 offset instead of count for clarity. Fix typo in comment.
9525 (__old_getdents64): Keep track of previous offset. Use it to call
9527 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9528 that d_off is never zero.
9530 2018-12-10 Andreas Schwab <schwab@suse.de>
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9533 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9535 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9536 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9538 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9540 * timezone/private.h: Update from tzcode 2018g.
9541 * timezone/tzfile.h: Likewise.
9542 * timezone/tzselect.ksh: Likewise.
9543 * timezone/zdump.c: Likewise.
9544 * timezone/zic.c: Likewise.
9546 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9549 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9550 (do_test): Adjust buffer size and fix format.
9552 2018-12-07 DJ Delorie <dj@redhat.com>
9555 * malloc/tst-tcfree3.c: New.
9556 * malloc/Makefile: Add it.
9558 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9560 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9562 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9564 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9565 used as a mask for the mode argument of __vfscanf_internal and
9566 __vfwscanf_internal.
9567 * stdio-common/vfscanf-internal.c
9568 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9569 (__strtof128_internal): Define to __wcstof128_internal.
9570 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9571 __strtof128_internal or __wcstof128_internal when the format of
9572 long double is the same as _Float128.
9574 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9576 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9577 * posix/confstr.c (confstr): Rename to __confstr.
9578 (__confstr): Add hidden def.
9579 (confstr): Add weak alias for __confstr.
9580 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9583 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9585 * NEWS: Mention getcpu.
9586 * include/sched.h (__getcpu): New libc_hidden_proto.
9587 * manual/resource.texi: Document getcpu.
9588 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9590 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9591 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9592 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9593 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9594 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9595 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9596 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9597 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9598 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9599 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9600 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9604 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9613 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9614 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9615 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9616 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9621 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9622 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9623 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9626 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9628 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9630 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9632 2018-12-07 Florian Weimer <fweimer@redhat.com>
9635 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9636 * posix/Versions (GLIBC_2.29): Export
9637 posix_spawn_file_actions_addfchdir_np.
9638 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9639 * posix/spawn_faction_destroy.c
9640 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9641 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9642 and the field action.fchdir_action.
9643 * posix/tst-spawn-chdir.c (add_chdir): New function.
9644 (do_test): Add do_fchdir loop. Call add_chdir.
9645 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9646 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9647 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9648 posix_spawn_file_actions_addfchdir_np.
9649 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9651 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9653 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9654 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9656 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9658 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9662 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9664 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9666 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9667 (GLIBC_2.29): Likewise.
9668 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9669 (GLIBC_2.29): Likewise.
9670 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9671 (GLIBC_2.29): Likewise.
9672 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9673 (GLIBC_2.29): Likewise.
9674 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9677 (GLIBC_2.29): Likewise.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9679 (GLIBC_2.29): Likewise.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9681 (GLIBC_2.29): Likewise.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9683 (GLIBC_2.29): Likewise.
9684 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9686 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9690 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9691 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9695 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9697 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9700 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9702 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9703 trailing whitespace removed.
9704 * scripts/config.guess: Update to version 2018-11-28.
9705 * scripts/config.sub: Update to version 2018-11-28.
9706 * scripts/install-sh: Update to version 2018-03-11.20.
9707 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9708 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9710 2018-12-07 Florian Weimer <fweimer@redhat.com>
9714 * inet/tst-if_index-long.c: New file.
9715 * inet/Makefile (tests): Add tst-if_index-long.
9717 2018-12-07 Florian Weimer <fweimer@redhat.com>
9719 * support/check.h (support_record_failure_is_failed): Declare.
9720 * support/descriptors.h: New file.
9721 * support/support_descriptors.c: Likewise.
9722 * support/tst-support_descriptors.c: Likewise.
9723 * support/support_record_failure.c
9724 (support_record_failure_is_failed): New function.
9725 * support/Makefile (libsupport-routines): Add support_descriptors.
9726 (tests): Add tst-support_descriptors.
9728 2018-12-05 Zack Weinberg <zackw@panix.com>
9729 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9731 * stdio-common/vfprintf-internal.c
9732 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9733 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9735 and __no_long_double.
9736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9737 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9739 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9740 and __nldbl_*syslog* functions.
9741 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9742 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9743 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9744 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9745 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9746 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9747 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9748 (__nldbl_vwprintf, __nldbl_wprintf):
9749 Directly call the appropriate __v*printf_internal routine, passing
9750 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9752 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9753 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9754 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9755 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9756 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9757 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9758 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9759 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9760 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9761 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9762 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9763 (__nldbl_syslog, __nldbl_vsyslog):
9764 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9765 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9767 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9770 2018-12-05 Zack Weinberg <zackw@panix.com>
9771 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9774 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9775 Moved here from debug/vsprintf_chk.c.
9776 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9777 and completion logic for the strfile to match exactly what
9778 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9779 _IO_str_init_static_internal instead of maxlen-1.
9780 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9781 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9782 __vsprintf_internal.
9784 * debug/vsprintf_chk.c (__vsprintf_chk)
9785 * debug/sprintf_chk.c (__sprintf_chk):
9786 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9787 'flags' argument is positive, and slen as maxlen. No need to lock
9788 the FILE and/or construct a temporary FILE. Minimize and normalize
9789 header inclusions and variable names. Do not libc_hidden_def anything.
9791 * debug/asprintf_chk.c (__asprintf_chk)
9792 * debug/dprintf_chk.c (__dprintf_chk)
9793 * debug/fprintf_chk.c (__fprintf_chk)
9794 * debug/fwprintf_chk.c (__fwprintf_chk)
9795 * debug/printf_chk.c (__printf_chk)
9796 * debug/snprintf_chk.c (__snprintf_chk)
9797 * debug/swprintf_chk.c (__swprintf_chk)
9798 * debug/vasprintf_chk.c (__vasprintf_chk)
9799 * debug/vdprintf_chk.c (__vdprintf_chk)
9800 * debug/vfprintf_chk.c (__vfprintf_chk)
9801 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9802 * debug/vprintf_chk.c (__vprintf_chk)
9803 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9804 * debug/vswprintf_chk.c (__vswprintf_chk)
9805 * debug/vwprintf_chk.c (__vwprintf_chk)
9806 * debug/wprintf_chk.c (__wprintf_chk):
9807 Directly call the corresponding vxxprintf_internal function, passing
9808 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9809 the FILE and/or construct a temporary FILE. Minimize and normalize
9810 header inclusions and variable names. Do not libc_hidden_def anything.
9812 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9813 __obstack_vprintf_internal.
9814 (__obstack_vprintf_chk): Convert into a wrapper that calls
9815 __obstack_vprintf_internal (these two functions already had the
9816 same code) and move to new file...
9817 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9819 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9820 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9821 * debug/Makefile (routines): Add vobprintf_chk.
9823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9824 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9825 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9826 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9827 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9828 (__nldbl___obstack_vfprintf_chk):
9829 Directly call the corresponding vxxprintf_internal function,
9830 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9831 duplicate comparison of slen with 0 or maxlen from the corresponding
9832 non-__nldbl function.
9834 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9835 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9836 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9837 Remove libc_hidden_proto.
9839 * stdio-common/vfprintf-internal.c
9840 (__vfprintf_internal, __vfwprintf_internal):
9841 Do not check _IO_FLAGS2_FORTIFY.
9842 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9843 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9844 a comment explaining why it has the maxlen argument.
9845 (_IO_acquire_lock_clear_flags2_fct): Remove.
9846 (_IO_acquire_lock_clear_flags2): Remove.
9847 (_IO_release_lock): Remove conditional statement which will
9849 (_IO_acquire_lock): Remove variable which is now unused.
9850 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9851 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9853 * stdio-common/Makefile (tests): Add tst-bz11319 and
9854 tst-bz11319-fortify2.
9855 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9856 * stdio-common/tst-bz11319-fortify2.c: New file.
9857 * stdio-common/tst-bz11319.c: Likewise.
9859 2018-12-05 Zack Weinberg <zackw@panix.com>
9860 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9862 * misc/syslog.c: Include libioP.h, not iolibio.h.
9863 (__vsyslog_internal): New function with the former body of
9864 __vsyslog_chk; takes mode_flags argument same as
9865 __v*printf_internal. Call __vfprintf_internal directly.
9867 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9868 Remove libc_hidden_def.
9869 (__syslog, __syslog_chk): Use __vsyslog_internal.
9870 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9872 * include/sys/syslog.h: Add multiple inclusion guard.
9873 Add prototype for __vsyslog_internal.
9874 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9876 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9877 Use __vsyslog_internal.
9879 2018-12-05 Zack Weinberg <zackw@panix.com>
9880 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9882 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9883 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9884 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9886 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9887 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9889 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9890 Include wctype.h here if COMPILE_WPRINTF is defined.
9891 Define __vfprintf_internal or __vfwprintf_internal, depending
9893 Temporarily, on entry to this function, update mode_flags
9894 according to the environmental settings corresponding to
9895 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9896 Throughout, check mode_flags instead of __ldbl_is_dbl and
9897 _IO_FLAGS2_FORTIFY on the destination FILE.
9898 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9899 Include vfprintf-internal.c. Don't include wctype.h.
9900 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9901 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9903 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9904 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9906 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9908 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9909 and add mode_flags argument; use __vfprintf_internal.
9910 (__vdprintf): New function. Alias vdprintf to this.
9911 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9912 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9913 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9914 (__obstack_printf): Use __obstack_printf_internal.
9915 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9916 public aliases __vsnprintf and vsnprintf.
9917 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9919 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9920 public aliases _IO_vsprintf and vsprintf.
9921 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9922 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9923 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9924 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9925 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9927 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9928 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9929 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9930 * stdio-common/printf.c: Use __vfprintf_internal.
9932 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9933 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9934 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9936 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9937 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9938 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9939 __vfwprintf_internal.
9941 * libio/libio.h: Remove libc_hidden_proto and declaration for
9943 Remove declaration of _IO_vfwprintf.
9944 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9946 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9948 * include/stdio.h: Add prototype for __vasprintf.
9949 (__vsnprintf): Remove declaration, because there are no more
9951 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9952 declaration, because there are no more internal calls.
9954 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9955 __vsnprintf_internal, instead of _IO_vsnprintf.
9956 * argp/argp-help.c (__argp_error, __argp_failure): Use
9957 __vasprintf_internal, instead of _IO_vasprintf.
9958 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9959 redefine, because there are no more internal calls.
9961 2018-12-05 Zack Weinberg <zackw@panix.com>
9962 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9964 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9965 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9966 Include libio/strfile.h instead of libioP.h.
9967 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9968 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9969 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9970 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9971 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9972 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9973 necessary. Do not set __no_long_double. Normalize variable names.
9974 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9975 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9976 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9977 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9978 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9979 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9980 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9981 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9982 Do not set __no_long_double. Normalize variable names.
9984 2018-12-05 Zack Weinberg <zackw@panix.com>
9985 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9987 * stdio-common/isoc99_scanf.c
9988 * stdio-common/isoc99_fscanf.c
9989 * stdio-common/isoc99_sscanf.c
9990 * stdio-common/isoc99_vscanf.c
9991 * stdio-common/isoc99_vfscanf.c
9992 * stdio-common/isoc99_vsscanf.c
9993 * wcsmbs/isoc99_wscanf.c
9994 * wcsmbs/isoc99_fwscanf.c
9995 * wcsmbs/isoc99_swscanf.c
9996 * wcsmbs/isoc99_vwscanf.c
9997 * wcsmbs/isoc99_vfwscanf.c
9998 * wcsmbs/isoc99_vswscanf.c:
9999 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10000 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10001 No need to lock and unlock the FILE passed to that function.
10003 * stdio-common/vfscanf-internal.c
10004 (__vfscanf_internal, __vfwscanf_internal):
10005 Don't look at _IO_FLAGS2_SCANF_STD.
10006 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10007 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10008 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10010 2018-12-05 Zack Weinberg <zackw@panix.com>
10011 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10013 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10014 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10015 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10016 * libio/strfile.h: Add multiple inclusion guard.
10017 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10019 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10020 consistency with the other version of this file.
10021 (ldbl_compat_symbol): New macro.
10022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10025 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10026 Define __vfscanf_internal or __vfwscanf_internal, depending on
10027 COMPILE_WSCANF; don't define any other public symbols.
10028 Remove errval and code to set errp.
10029 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10030 as the mode_flags argument.
10031 (encode_error, conv_error, input_error): Don't set errval.
10032 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10033 Include vfscanf-internal.c.
10034 * stdio-common/vfscanf.c: New file defining the public entry
10035 point vfscanf, which calls __vfscanf_internal.
10036 * stdio-common/vfwscanf.c: New file defining the public entry
10037 point vfwscanf, which calls __vfwscanf_internal.
10039 * stdio-common/iovfscanf.c: New file.
10040 * stdio-common/iovfwscanf.c: Likewise.
10042 * stdio-common/Makefile (routines): Add vfscanf-internal,
10043 vfwscanf-internal, iovfscanf, iovfwscanf.
10044 * stdio-common/Versions: Mention GLIBC_2.29, so that
10045 it can be used in SHLIB_COMPAT expressions.
10046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10047 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10048 Call __vfscanf_internal, instead of _IO_vfscanf.
10049 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10051 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10054 * libio/iovsscanf.c: Clean up includes, when possible. Use
10055 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10056 __vfscanf_internal or __vfwscanf_internal directly.
10057 * libio/iovswscanf.c: Likewise.
10058 * libio/swscanf.c: Likewise.
10059 * libio/vscanf.c: Likewise.
10060 * libio/vwscanf.c: Likewise.
10061 * libio/wscanf.c: Likewise.
10062 * stdio-common/isoc99_fscanf.c: Likewise.
10063 * stdio-common/isoc99_scanf.c: Likewise.
10064 * stdio-common/isoc99_sscanf.c: Likewise.
10065 * stdio-common/isoc99_vfscanf.c: Likewise.
10066 * stdio-common/isoc99_vscanf.c: Likewise.
10067 * stdio-common/isoc99_vsscanf.c: Likewise.
10068 * stdio-common/scanf.c: Likewise.
10069 * stdio-common/sscanf.c: Likewise.
10070 * wcsmbs/isoc99_fwscanf.c: Likewise.
10071 * wcsmbs/isoc99_swscanf.c: Likewise.
10072 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10073 * wcsmbs/isoc99_vswscanf.c: Likewise.
10074 * wcsmbs/isoc99_vwscanf.c: Likewise.
10075 * wcsmbs/isoc99_wscanf.c: Likewise.
10077 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10080 (__tz_compute): Replace time_t with __time64_t.
10081 (__tz_convert): Replace time_t* with __time64_t.
10082 (__offtime): Replace time_t* with __time64_t.
10084 (__gmtime_r): Adjust call to __tz_convert.
10085 (gmtime): Likewise.
10087 (__localtime_r): Likewise.
10088 (localtime): Likewise.
10089 * time/offtime.c: Replace time_t with __time64_t.
10090 * time/tzset.c: Likewise.
10092 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10094 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10095 dynamic linker unless [$(run-built-tests) = yes].
10097 2018-12-03 DJ Delorie <dj@delorie.com>
10099 * support/test-container.c (check_for_unshare_hints): New.
10100 (main): Call it if unshare fails. Add support for "su" scriptlet
10103 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10105 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10106 'START' to indicate that start text should be output.
10107 (gen_test): Likewise.
10108 (main): Generate 'START' for first symbol or '--' line, or at end
10109 of input if not previously generated.
10111 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10114 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10115 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10116 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10117 ALWAYS_USE_VSYSCALL.
10119 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10122 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10125 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10128 * locale/programs/localedef.c: Declare boolean hard_links default true.
10129 (options): Add --no-hard-links option.
10130 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10131 * locale/programs/localedef.h: Declare prototype for hard_links.
10132 * locale/programs/locfile.c (write_locale_data): Don't use hard
10133 links if hard_links is false.
10135 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10137 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10138 cpu_features_basic.
10139 (__cache_sysconf): Likewise.
10140 (init_cacheinfo): Likewise.
10141 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10142 populate COMMON_CPUID_INDEX_80000007 and
10143 COMMON_CPUID_INDEX_80000008.
10144 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10145 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10146 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10147 (init_cpu_features): Use _Static_assert on
10148 index_arch_Fast_Unaligned_Load.
10149 __get_cpuid_registers and __get_arch_feature. Updated for
10150 cpu_features_basic. Set stepping in cpu_features.
10151 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10152 (FEATURE_INDEX_2): New.
10153 (FEATURE_INDEX_MAX): Changed to enum.
10154 (COMMON_CPUID_INDEX_D_ECX_1): New.
10155 (COMMON_CPUID_INDEX_80000007): Likewise.
10156 (COMMON_CPUID_INDEX_80000008): Likewise.
10157 (cpuid_registers): Likewise.
10158 (cpu_features_basic): Likewise.
10159 (CPU_FEATURE_USABLE): Likewise.
10160 (bit_arch_XXX_Usable): Likewise.
10161 (cpu_features): Use cpuid_registers and cpu_features_basic.
10162 (bit_arch_XXX): Reweritten.
10163 (bit_cpu_XXX): Likewise.
10164 (index_cpu_XXX): Likewise.
10165 (reg_XXX): Likewise.
10166 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10168 (CHECK_CPU_FEATURE): New.
10169 (CHECK_CPU_FEATURE_USABLE): Likewise.
10170 (cpu_kinds): Likewise.
10171 (do_test): Print vendor, family, model and stepping. Check
10172 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10173 (TEST_FUNCTION): Removed.
10174 Include <support/test-driver.c> instead of
10175 "../../test-skeleton.c".
10176 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10177 Check POPCNT instead of POPCOUNT.
10178 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10180 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10182 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10183 there is no element in `consts'.
10185 2018-12-01 Florian Weimer <fweimer@redhat.com>
10187 * support/support_capture_subprocess.c
10188 (support_capture_subprocess): Check that pipe descriptors have
10189 expected values. Close original pipe descriptors in subprocess.
10191 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10194 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10195 attr with __pthread_default_barrierattr.
10196 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10197 attr with __pthread_default_condattr.
10198 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10199 attr with __pthread_default_mutexattr.
10200 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10201 attr with __pthread_default_rwlockattr.
10203 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10205 * manual/tunables.texi (POSIX Thread Tunables): New node.
10206 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10207 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10208 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10209 __pthread_tunables_init.
10210 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10211 (max_adaptive_count): Define.
10212 * nptl/pthread_mutex_conf.c: New file.
10213 * nptl/pthread_mutex_conf.h: New file.
10214 * sysdeps/generic/adaptive_spin_count.h: New file.
10215 * sysdeps/nptl/dl-tunables.list: New file.
10216 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10217 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10218 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10221 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10224 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10225 * stdlib/on_exit.c (__on_exit): Likewise.
10226 * stdlib/Makefile (tests): Add tst-bz20544.
10227 * stdlib/tst-bz20544.c: New test.
10229 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10232 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10233 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10236 2018-11-30 Florian Weimer <fweimer@redhat.com>
10238 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10239 Extend error logging.
10240 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10243 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10245 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10246 __sigismember instead of sigismember.
10247 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10248 cancel_handler): New definitions.
10249 (do_system): Use posix_spawn instead of fork and execl and remove
10251 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10252 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10253 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10254 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10255 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10256 * sysdeps/unix/sysv/linux/system.c: Likewise.
10260 * NEWS: Add new semantic for atfork with popen and system.
10261 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10264 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10267 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10268 modification order when accessing reloc_result->addr.
10269 * include/link.h (reloc_result): Add field init.
10270 * nptl/Makefile (tests): Add tst-audit-threads.
10271 (modules-names): Add tst-audit-threads-mod1 and
10272 tst-audit-threads-mod2.
10273 Add rules to build tst-audit-threads.
10274 * nptl/tst-audit-threads-mod1.c: New file.
10275 * nptl/tst-audit-threads-mod2.c: Likewise.
10276 * nptl/tst-audit-threads.c: Likewise.
10277 * nptl/tst-audit-threads.h: Likewise.
10279 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10281 * scripts/gen-as-const.py: New file.
10282 * scripts/gen-as-const.awk: Remove.
10283 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10285 ($(objpfx)test-as-const-%.c): Likewise.
10287 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10289 * elf/dl-exception.c: Include <_itoa.h>.
10291 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10293 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10294 returned by __f_setlk.
10296 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10297 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10299 * elf/Makefile (tests-internal): Add tst-create_format1.
10300 * elf/dl-exception.c (_dl_exception_create_format): Support
10302 * elf/tst-create_format1.c: New file.
10304 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10306 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10307 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10309 * argp/argp-help.c (__argp_failure): Likewise.
10311 2018-11-29 Mao Han <han_mao@c-sky.com>
10313 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10314 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10315 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10316 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10317 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10318 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10319 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10320 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10321 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10322 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10323 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10324 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10325 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10326 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10327 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10328 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10329 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10330 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10331 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10332 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10333 (R_CKCORE_TLS_TPOFF32): New defines.
10335 2018-11-29 Florian Weimer <fweimer@redhat.com>
10337 * posix/Makefile (before-compile): Remove testcases.h and
10339 (generated): Add testcases.h and ptestcases.h.
10340 (testcases.h, ptestcases.h): Move to $(objpfx).
10341 (runtests.o): Add dependency on testcases.h.
10342 (runptests.o): Add dependency on ptestcases.h.
10343 * posix/testcases.h, posix/ptestcases.h: Remove files.
10344 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10345 not touch posix/testcases.h and posix/ptestcases.h.
10347 2018-11-28 Florian Weimer <fweimer@redhat.com>
10349 support: Add signal support to support_capture_subprocess_check.
10350 * support/capture_subprocess.h (support_capture_subprocess_check):
10351 Adjust comment and rename parameter.
10352 * support/support_capture_subprocess_check.c
10353 (print_actual_status): New function.
10354 (support_capture_subprocess_check): Support negative
10355 status_or_signal. Call print_actual_status.
10356 * support/tst-support_capture_subprocess.c (do_test): Call
10357 support_capture_subprocess_check.
10358 * libio/tst-vtables-common.c (termination_status)
10359 (init_termination_status): Remove.
10360 (check_for_termination): Adjust support_capture_subprocess_check
10362 (do_test): Remove call to init_termination_status.
10364 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10366 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10367 source directory instead of a copy.
10368 (CommandList.create_copy_dir): Remove.
10370 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10372 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10374 2018-11-28 Florian Weimer <fweimer@redhat.com>
10376 * support/support.h (support_quote_string): Do not use str
10379 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10382 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10384 2018-11-27 Florian Weimer <fweimer@redhat.com>
10386 * support/support.h (support_quote_string): Declare.
10387 * support/support_quote_string.c: New file.
10388 * support/tst-support_quote_string.c: Likewise.
10389 * support/Makefile (libsupport-routines): Add
10390 support_quote_string.
10391 (tests): Add tst-support_quote_string.
10393 2018-11-27 Florian Weimer <fweimer@redhat.com>
10397 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10398 descriptor leak in case of ENODEV error.
10400 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10403 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10404 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10407 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10409 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10410 Error for unknown lines.
10412 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10414 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10415 Touch additional files.
10417 2018-11-26 Florian Weimer <fweimer@redhat.com>
10420 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10423 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10426 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10427 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10428 SHARED. Include sysdep.h.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10430 ALWAYS_USE_VSYSCALL.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10432 ALWAYS_USE_VSYSCALL.
10434 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10437 * nptl/Makefile (tests-static): Add tst-cond11-static.
10439 * nptl/tst-cond11-static.c: New File.
10440 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10441 tst-affinity-static.
10443 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10445 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10446 (USE_VSYSCALL): Likewise.
10447 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10448 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10450 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10455 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10458 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10459 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10462 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10464 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10465 (tst-cet-legacy-1a-ARGS): New.
10466 ($(objpfx)tst-cet-legacy-1a): New target.
10467 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10469 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10471 * conform/conformtest.py (CompileSubTest.__init__): Set
10472 self.run_early to False.
10473 (ExecuteSubTest.__init__): Likewise.
10474 (HeaderTests.run): Try running all non-optional, non-XFAILed
10475 compilation tests in a single execution of the compiler.
10477 * conform/conformtest.py (CompileSubTest): New class.
10478 (ExecuteSubTest): Likewise.
10479 (ElementTest.run): Rename to gen_subtests. Append tests to
10480 self.subtests instead of running them.
10481 (ConstantTest.run): Likewise.
10482 (SymbolTest.run): Likewise.
10483 (TypeTest.run): Likewise.
10484 (TagTest.run): Likewise.
10485 (FunctionTest.run): Likewise.
10486 (VariableTest.run): Likewise.
10487 (MacroFunctionTest.run): Likewise.
10488 (MacroStrTest.run): Likewise.
10489 (HeaderTests.handle_test_line): Generate subtests for tests.
10490 (HeaderTests.run): Run subtests for tests.
10492 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10494 * math/Versions (GLIBC_2.29): Add pow.
10495 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10497 * math/w_pow.c: New file.
10498 * sysdeps/i386/fpu/w_pow.c: New file.
10499 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10501 and add necessary aliases.
10502 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10503 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10504 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10505 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10506 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10507 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10508 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10509 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10510 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10511 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10512 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10513 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10514 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10515 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10516 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10526 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10528 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10531 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10534 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10536 * math/Versions (GLIBC_2.29): Add log2.
10537 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10539 * math/w_log2.c: New file.
10540 * sysdeps/i386/fpu/w_log2.c: New file.
10541 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10542 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10543 and add necessary aliases.
10544 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10545 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10546 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10547 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10548 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10549 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10550 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10551 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10552 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10553 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10554 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10555 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10556 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10557 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10558 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10563 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10564 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10565 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10571 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10573 * math/Versions (GLIBC_2.29): Add log.
10574 * math/w_log_compat.c (__log_compat): Change to versioned compat
10576 * math/w_log.c: New file.
10577 * sysdeps/i386/fpu/w_log.c: New file.
10578 * sysdeps/ia64/fpu/e_log.S: Update.
10579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10580 and add necessary aliases.
10581 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10582 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10583 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10584 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10586 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10587 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10588 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10589 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10590 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10592 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10593 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10595 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10602 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10606 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10607 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10609 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10610 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10611 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10612 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10614 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10616 * math/Versions (GLIBC_2.29): Add exp and exp2.
10617 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10618 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10619 * math/w_exp_compat.c (__exp_compat): Likewise.
10620 * math/w_exp.c: New file.
10621 * math/w_exp2.c: New file.
10622 * sysdeps/i386/fpu/w_exp.c: New file.
10623 * sysdeps/i386/fpu/w_exp2.c: New file.
10624 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10625 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10626 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10627 and add necessary aliases.
10628 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10629 and add necessary aliases.
10630 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10631 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10632 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10633 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10634 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10636 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10637 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10640 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10641 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10642 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10644 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10645 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10653 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10658 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10659 (__ieee754_exp): Rename to __exp.
10660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10661 (__ieee754_exp): Rename to __exp.
10662 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10663 (__ieee754_exp): Rename to __exp.
10664 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10666 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10668 2018-11-20 DJ Delorie <dj@redhat.com>
10670 * malloc/malloc.c (tcache_entry): Add key field.
10671 (tcache_put): Set it.
10672 (tcache_get): Likewise.
10673 (_int_free): Check for double free in tcache.
10674 * malloc/tst-tcfree1.c: New.
10675 * malloc/tst-tcfree2.c: New.
10676 * malloc/Makefile: Run the new tests.
10677 * manual/probes.texi: Document memory_tcache_double_free probe.
10679 * dlfcn/dlerror.c (check_free): Prevent double frees.
10681 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10683 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10685 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10687 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10688 in tests. Use names for format arguments.
10689 (ConstantTest.run): Likewise.
10690 (SymbolTest.run): Likewise.
10691 (TypeTest.run): Likewise.
10692 (TagTest.run): Likewise.
10693 (FunctionTest.run): Likewise.
10694 (VariableTest.run): Likewise.
10695 (MacroFunctionTest.run): Likewise.
10696 (MacroStrTest.run): Likewise.
10697 (HeaderTests.__init__): Set self.num_tests.
10698 (HeaderTests.handle_test_line): Set test.num. Increment
10701 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10703 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10704 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10707 2018-11-19 Mao Han <han_mao@c-sky.com>
10709 * scripts/config.guess: Update to version 2018-08-29.
10710 * scripts/config.sub: Update to version 2018-08-29.
10712 2018-11-19 Florian Weimer <fweimer@redhat.com>
10714 support: Print timestamps in timeout handler.
10715 * support/support_test_main.c (print_timestamp): New function.
10716 (signal_handler): Use it to print the termination time and the
10717 time of the last write to standard output.
10719 2018-11-16 Zack Weinberg <zackw@panix.com>
10720 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10722 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10723 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10725 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10726 and add flags argument. Check flags instead of __ldbl_is_dbl when
10727 deciding whether to set is_long_double.
10728 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10729 passing zero for flags argument.
10730 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10733 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10734 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10735 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10736 variable names. Remove libc_hidden_def/libc_hidden_proto from
10737 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10738 longer called from within the library.
10739 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10740 for __nldbl___vstrfmon_l, declare it explicitly.
10742 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10744 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10746 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10748 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10749 F_SETLK64, F_SETLKW64, respectively.
10750 * sysdeps/mach/hurd/f_setlk.c: New file.
10751 * sysdeps/mach/hurd/f_setlk.h: New file.
10752 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10754 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10755 (__libc_fcntl): Move non-flock operations to...
10756 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10757 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10759 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10761 mktime: DEBUG_MKTIME cleanup
10762 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10763 And it’s no longer needed now that glibc and Gnulib both have
10764 their own testing mechanisms for mktime.
10765 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10767 mktime: fix non-EOVERFLOW errno handling
10769 mktime was not properly reporting failures when the underlying
10770 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10771 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10772 The problem could happen on non-glibc platforms, with Gnulib.
10773 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10774 (tm_diff): ... this simpler function, which does not change errno.
10775 All callers changed to deal with errno themselves.
10776 (ranged_convert, __mktime_internal): Return failure immediately if
10777 the underlying function reports any failure other than EOVERFLOW.
10778 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10781 mktime: fix bug with Y2038 DST transition
10783 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10784 mishandle a DST transition that jumps over the Y2038 boundary.
10785 No such DST transitions are known so this is only a theoretical
10786 bug, but we might as well do things right.
10788 mktime: make more room for overflow
10790 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10791 This is so that we can add tm_diff results to a previous guess,
10792 which will be useful in a later patch.
10794 mktime: simplify offset guess
10796 * time/mktime.c (__mktime_internal): Omit excess precision.
10798 mktime: new test for mktime failure
10800 Based on a test suggested by Albert Aribaud in:
10801 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10802 * time/Makefile (tests): Add bug-mktime4.
10803 * time/bug-mktime4.c: New file.
10805 mktime: fix EOVERFLOW bug
10807 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10808 Include libc-config.h, not config.h, for __set_errno.
10809 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10811 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10813 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10814 __attribute_copy__ to copy attributes from name. Drop static qualifier
10815 to avoid warnings about leaf attribute not having effect on static
10818 2018-11-13 Florian Weimer <fweimer@redhat.com>
10820 * malloc/malloc.c (fastbin_push_entry): New function.
10821 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10822 (REMOVE_FB): Remove macro.
10823 (_int_malloc): Use fastbin_pop_entry and reindent.
10824 (_int_free): Use fastbin_push_entry.
10825 (malloc_consolidate): Use atomic_exchange_acquire.
10827 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10829 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10830 alias attribute, not with strong_alias.
10832 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10833 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10834 with additional parameter thread.
10835 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10836 in terms of __hidden_ver2.
10837 (hidden_tls_def): New macro.
10838 (libc_hidden_tls_def): Likewise.
10839 (rtld_hidden_tls_def): Likewise.
10840 (libm_hidden_tls_def): Likewise.
10841 (libmvec_hidden_tls_def): Likewise.
10842 (libresolv_hidden_tls_def): Likewise.
10843 (librt_hidden_tls_def): Likewise.
10844 (libdl_hidden_tls_def): Likewise.
10845 (libnss_files_hidden_tls_def): Likewise.
10846 (libnsl_hidden_tls_def): Likewise.
10847 (libnss_nisplus_hidden_tls_def): Likewise.
10848 (libutil_hidden_tls_def): Likewise.
10849 (libutil_hidden_tls_def): Likweise.
10850 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10851 libc_hidden_tls_def.
10852 (__sim_disabled_exceptions_thread): Likewise.
10853 (__sim_round_mode_thread): Likewise.
10855 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10856 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10857 copy attributes from name.
10859 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10862 Use __attribute_copy__ to copy attributes from name.
10864 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10865 with __hidden_ver1 call.
10866 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10867 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10868 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10869 (__cosf): Do not declare here.
10870 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10871 (__sincosf): Do not declare here.
10872 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10873 (__sinf): Do not declare here.
10875 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10876 (__BIG_ENDIAN): Likewise.
10877 (__BYTE_ORDER): Likewise.
10878 (strong_alias): Likewise.
10879 (_strong_alias): Likewise.
10881 2018-11-12 Florian Weimer <fweimer@redhat.com>
10883 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10884 function. Move after the definition of in_smallbin_range. Do not
10885 use __builtin_expect for paths that lead to a noreturn function.
10886 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10887 because it is unclear whether this is in fact an unlikely
10889 (_int_malloc, _int_free): Adjust.
10890 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10892 * malloc/arena.c (heap_trim): Likewise.
10894 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10896 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10897 it, free it if needed.
10898 (reauthenticate): Test and use ccwdir.
10899 (child_init_port): In non-resetids case, test and use ccwdir.
10900 (child_chdir): New nested function to set ccwdir.
10901 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10902 * hurd/hurd/port.h (_hurd_port_move): New function.
10903 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10904 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10905 * hurd/Versions (_hurd_port_move): Export function.
10906 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10908 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10909 of dtablesize for allocating dtable_cloexec.
10911 2018-11-09 Martin Sebor <msebor@redhat.com>
10913 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10914 it's already defined.
10915 (_strong_alias): Use __attribute_copy__.
10916 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10917 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10918 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10919 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10920 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10921 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10922 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10923 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10924 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10925 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10926 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10927 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10928 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10929 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10930 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10931 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10932 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10933 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10934 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10936 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10938 * misc/tst-efgcvt.c: Include support/check.h and
10939 support/test-driver.c. Do not include test-skeleton.c.
10940 (error_count): Remove.
10941 (output_error): Replace increments to error_count with calls to
10942 support_record_failure.
10943 (output_r_error): Likewise.
10944 (special): Likewise.
10945 (do_test): Unconditionally return zero.
10946 (TEST_FUNCTION): Remove.
10948 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10950 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10952 ($(linknamespace-header-tests)): Likewise.
10954 * conform/conformtest.py: New file.
10955 * conform/conformtest.pl: Remove.
10956 * conform/GlibcConform.pm: Likewise.
10957 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10958 (KEYWORDS_C99): Likewise.
10959 (KEYWORDS): Likewise.
10960 * conform/Makefile ($(conformtest-header-tests)): Use
10961 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10962 option. Use --header instead of --headers.
10963 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10965 * conform/data/spawn.h-data: Likewise.
10966 * conform/data/fcntl.h-data (openat): Add space after function
10968 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10969 (wcscasecmp_l): Likewise.
10970 * conform/data/termios.h-data (c_cc): Add space after element
10973 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10975 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10976 instead of manually comparing and reporting mismatching strings.
10977 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10978 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10980 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10982 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10983 __ASSUME_SOCKETCALL.
10984 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10985 (__ASSUME_SOCKETCALL): Remove.
10986 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10987 (__ASSUME_SOCKETCALL): Likewise.
10988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10989 (__ASSUME_SOCKETCALL): Likewise.
10990 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10991 (__ASSUME_SOCKETCALL): Likewise.
10992 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10993 (__ASSUME_SOCKETCALL): Likewise.
10994 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10995 (__ASSUME_SOCKETCALL): Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10997 (__ASSUME_SOCKETCALL): Likewise.
10999 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11002 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11003 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11004 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11005 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11006 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11009 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11012 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11014 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11017 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11018 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11020 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11022 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11024 * support/support_test_compare_string.c
11025 (support_test_compare_string): Fix printf format.
11027 2018-11-07 Florian Weimer <fweimer@redhat.com>
11029 Implement TEST_COMPARE_STRING.
11030 * support/check.h (TEST_COMPARE_STRING): Define.
11031 (support_test_compare_string): Declare.
11032 * support/Makefile (libsupport-routines): Add
11033 support_test_compare_string.
11034 (tests): Add tst-test_compare_string.
11035 * support/support_test_compare_string.c: New file.
11036 * support/tst-test_compare_string.c: Likewise.
11038 2018-11-07 Andreas Schwab <schwab@suse.de>
11041 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11042 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11045 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11048 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11049 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11050 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11051 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11054 2018-11-06 Florian Weimer <fweimer@redhat.com>
11057 * posix/Makefile (routines): Add spawn_faction_addchdir.
11058 (tests): Add tst-spawn-chdir.
11059 * posix/Versions (GLIBC_2.29): Add
11060 posix_spawn_file_actions_addchdir_np.
11061 * posix/spawn_faction_addchdir.c: New file.
11062 * posix/spawn_faction_destroy.c
11063 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11064 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11065 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11067 * posix/tst-spawn-chdir.c: New file.
11068 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11069 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11070 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11071 posix_spawn_file_actions_addchdir_np.
11072 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11074 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11076 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11077 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11079 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11081 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11085 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11087 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11089 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11090 (GLIBC_2.29): Likewise.
11091 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11092 (GLIBC_2.29): Likewise.
11093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11094 (GLIBC_2.29): Likewise.
11095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11096 (GLIBC_2.29): Likewise.
11097 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11100 (GLIBC_2.29): Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11102 (GLIBC_2.29): Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11104 (GLIBC_2.29): Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11106 (GLIBC_2.29): Likewise.
11107 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11113 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11114 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11116 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11118 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11120 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11123 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11125 * misc/Makefile (tests): Add tst-ldbl-error.
11126 * misc/tst-ldbl-error.c: New file.
11128 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11130 * misc/Makefile (tests): Add tst-ldbl-warn.
11131 * misc/tst-ldbl-warn.c: New file.
11133 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11135 * argp/Makefile (tests): Add tst-ldbl-argp.
11136 * argp/tst-ldbl-argp.c: New file.
11138 2018-11-05 Arjun Shankar <arjun@redhat.com>
11140 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11141 __gconv_path_elem and call __gconv_get_path unconditionally.
11143 2018-11-05 Andreas Schwab <schwab@suse.de>
11146 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11147 creating the first helper thread failed.
11149 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11151 * sysdeps/mach/hurd/msync.c: New file.
11153 2018-11-02 Florian Weimer <fweimer@redhat.com>
11155 * support/shell-container.c (copy_func): Call
11156 support_copy_file_range instead of copy_file_range to support
11157 cross-device copies.
11159 2018-11-02 Florian Weimer <fweimer@redhat.com>
11161 * support/test-container.c: Include <libc-pointer-arith.h> for
11164 2018-11-01 Zong Li <zong@andestech.com>
11166 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11167 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11168 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11169 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11171 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11172 variable to avoid overlap arguments.
11174 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11176 * posix/bug-regex22.c (main): Use puts with distinct error
11177 messages for unexpected success of re_compile_pattern, not printf
11178 with NULL argument to %s.
11180 * stdio-common/bug22.c: Include <libc-diag.h>.
11181 (do_test): Disable -Wformat-overflow= warnings around fprintf
11182 calls outputting more than INT_MAX characters.
11183 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11184 around printf call with NULL %s argument.
11187 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11188 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11190 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11191 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11192 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11193 (__ASSUME_SENDTO_SYSCALL): Likewise.
11194 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11195 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11197 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11198 (__ASSUME_CONNECT_SYSCALL): Likewise.
11199 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11200 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11201 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11203 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11205 [__LINUX_KERNEL_VERSION >= 0x040400]
11206 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11207 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11209 (listen): Likewise.
11210 (setsockopt): Likewise.
11212 2018-11-01 Fredrik Noring <noring@nocrew.org>
11214 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11215 with the ISA override.
11217 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11219 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11222 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11224 * manual/errno.texi (EIEIO): Document how translators should
11225 translate the error message.
11226 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11227 printing trailing whitespaces refused by git.
11228 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11229 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11230 * hurd/Makefile (user-interfaces): Add pci.
11232 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11234 * conform/linknamespace.py: New file.
11235 * conform/linknamespace.pl: Remove file.
11236 * conform/Makefile ($(linknamespace-header-tests)): Use
11237 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11240 2018-10-30 Florian Weimer <fweimer@redhat.com>
11242 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11245 2018-10-30 Florian Weimer <fweimer@redhat.com>
11247 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11249 2018-10-30 Florian Weimer <fweimer@redhat.com>
11251 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11252 support_blob_repeat.
11254 2018-10-30 Florian Weimer <fweimer@redhat.com>
11256 Avoid spurious test failures in stdlib/test-bz22786.
11257 * support/Makefile (libsupport-routines): Add blob_repeat.
11258 (tests): Add tst-support_blob_repeat.
11259 * support/blob_repeat.h: New file.
11260 * support/blob_repeat.c: Likewise.
11261 * support/tst-support_blob_repeat.c: Likewise.
11262 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11263 support_blob_repeat_allocate.
11265 2018-10-30 Andreas Schwab <schwab@suse.de>
11268 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11269 Don't use tail call.
11270 * elf/tst-unwind-main.c: New file.
11271 * elf/Makefile (tests): Add tst-unwind-main.
11272 (CFLAGS-tst-unwind-main.c): Define.
11274 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11277 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11278 n_cs_precedes to 0.
11279 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11281 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11283 * conform/glibcconform.py: Do not import shutil.
11284 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11287 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11288 critic_missing for versions before 3.4.
11289 * configure: Regenerated.
11290 * manual/install.texi (Tools for Compilation): Document
11291 requirement for Python to build glibc.
11292 * INSTALL: Regenerated.
11293 * Rules [PYTHON]: Make code unconditional.
11294 * benchtests/Makefile [PYTHON]: Likewise.
11295 * conform/Makefile [PYTHON]: Likewise.
11296 * manual/Makefile [PYTHON]: Likewise.
11297 * math/Makefile [PYTHON]: Likewise.
11299 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11301 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11302 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11303 answer to interrupt_operation, return EIEIO instead of EINTR.
11304 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11305 _hurd_intr_rpc_msg_about_to global point to start of controlled
11306 assembly snippet. Make it check canceled flag.
11307 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11308 the _hurd_intr_rpc_msg_about_to point.
11309 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11310 issue, remove cancel flag check.
11312 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11314 * scripts/build-many-glibcs.py: Remove compatibility for missing
11315 os.cpu_count and re.fullmatch.
11317 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11320 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11321 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11322 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11324 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11326 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11329 2018-10-25 Florian Weimer <fweimer@redhat.com>
11333 XFAIL siginfo_t si_band conform test on sparc64.
11334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11335 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11336 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11337 (conformtest-xfail-conds): Add sparc64-linux.
11338 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11340 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11342 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11344 * elf/elf.h (NT_MIPS_DSP): New macro.
11345 (NT_MIPS_FP_MODE): Likewise.
11347 2018-10-25 Zong Li <zong@andestech.com>
11349 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11350 name by adding the file extension (.so).
11352 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11354 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11355 (test-xfail-ISO11/threads.h/linknamespace,
11356 test-xfail-ISO11/threads.h/conform): Add.
11358 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11360 * math/gen-libm-test.py: Import os.
11361 (ALL_FLOATS_MANUAL): New constant.
11362 (ALL_FLOATS_SUFFIX): Likewise.
11363 (Ulps.all_functions): New function.
11364 (real_all_ulps): Likewise.
11365 (generate_err_table_sub): Likewise.
11366 (generate_err_table): Likewise.
11367 (main): Handle -s and -m options.
11368 * manual/libm-err-tab.pl: Remove.
11369 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11370 instead of libm-err-tab.pl.
11371 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11373 * manual/install.texi (Tools for Compilation): Document
11374 requirement for Python to build manual.
11375 * INSTALL: Regenerated.
11377 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11379 * bits/time64.h: New file.
11380 * include/time.h: Replace internal_time_t with __time64_t.
11381 * posix/bits/types (__time64_t): Add.
11382 * stdlib/Makefile: Add bits/time64.h to includes.
11383 * time/tzfile.c: Replace internal_time_t with __time64_t.
11385 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11387 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11388 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11389 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11390 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11391 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11393 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11394 * posix/spawn_faction_addclose.c
11395 (__posix_spawn_file_actions_addclose): Add hidden definition.
11396 * posix/spawn_faction_adddup2.c
11397 (__posix_spawn_file_actions_adddup2): Likewise.
11398 * posix/spawn_faction_destroy.c
11399 (__posix_spawn_file_actions_destroy): Likewise.
11400 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11402 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11403 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11404 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11406 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11407 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11410 2018-10-24 Andreas Schwab <schwab@suse.de>
11413 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11415 * elf/cache.c (print_cache): Likewise.
11417 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11419 * bits/timesize.h: New file.
11420 * stdlib/Makefile (headers): Add bits/timesize.h.
11421 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11422 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11423 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11424 (__SEM_PAD_AFTER_TIME): Likewise.
11425 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11426 (__SHM_PAD_AFTER_TIME): Likewise.
11427 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11428 (__MSQ_PAD_BEFORE_TIME): Likewise.
11429 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11430 (__SEM_PAD_BEFORE_TIME): Likewise.
11431 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11432 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11433 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11434 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11436 (__MSQ_PAD_BEFORE_TIME): Likewise.
11437 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11438 (__SEM_PAD_BEFORE_TIME): Likewise.
11439 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11440 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11442 (__MSQ_PAD_BEFORE_TIME): Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11444 (__SEM_PAD_BEFORE_TIME): Likewise.
11445 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11446 (__SHM_PAD_BEFORE_TIME): Likewise.
11447 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11448 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11449 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11451 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11453 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11454 USE_RDTSCP is defined.
11455 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11456 USE_RDTSCP is defined.
11458 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11460 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11464 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11465 independently of other flags.
11467 2018-10-23 Florian Weimer <fweimer@redhat.com>
11469 * time/tst-mktime2.c (N_STRINGS): Remove.
11470 (set_timezone): New function.
11471 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11472 (mktime_test1): Report localtime failure and check errno value.
11474 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11475 (do_test): Remove alarm call. Use set_timezone and array_length.
11477 2018-10-23 Andreas Schwab <schwab@suse.de>
11479 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11480 (__start_context): Use END instead of PSEUDO_END.
11482 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11484 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11487 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11491 * wcsmbs/c32rtomb.c: New file.
11492 * wcsmbs/mbrtoc32.c: Likewise.
11493 * wcsmbs/tst-c32-state.c: Likewise.
11494 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11495 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11496 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11497 (tests): Add tst-c32-state.
11498 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11501 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11503 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11504 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11506 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11509 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11510 pair and return 0 in that case, and use saved character to
11511 interpret following character.
11512 * wcsmbs/tst-c16-surrogate.c: New file.
11513 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11514 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11515 Depend on $(gen-locales)
11517 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11520 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11521 (struct siginfo_t): Use correct type for si_band.
11523 2018-10-19 Florian Weimer <fweimer@redhat.com>
11526 * resource/bits/types/struct_rusage.h (struct rusage): Update
11527 comment on struct. Remove extraneous field comment.
11529 2018-10-18 David S. Miller <davem@davemloft.net>
11531 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11532 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11533 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11534 sysdep_routines in subdir elf.
11535 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11536 version for __vdso_clock_gettime.
11537 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11539 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11540 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11542 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11544 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11546 * sysdeps/i386/init-arch.h: Removed.
11547 * sysdeps/i386/i586/init-arch.h: Likewise.
11548 * sysdeps/i386/i686/init-arch.h: Likewise.
11549 * sysdeps/i386/i686/hp-timing.h: Likewise.
11550 * sysdeps/x86_64/hp-timing.h: Likewise.
11551 * sysdeps/i386/isa.h: New file.
11552 * sysdeps/i386/i586/isa.h: Likewise.
11553 * sysdeps/i386/i686/isa.h: Likewise.
11554 * sysdeps/x86_64/isa.h: Likewise.
11555 * sysdeps/x86/hp-timing.h: New file.
11556 * sysdeps/x86/init-arch.h: Include <isa.h>.
11558 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11560 * math/libm-test-pow.inc (pow_test_data): Do not allow
11561 divide-by-zero exception for pow(+/- 0, -Inf).
11563 2018-10-17 Zack Weinberg <zackw@panix.com>
11565 * manual/job.texi (Job Control is Optional): Remove node, as
11566 job control has not been optional in quite some time.
11567 (Job Control): Mention briefly that systems older than
11568 POSIX.1-2001 might not support job control.
11569 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11570 defined on systems conforming to POSIX.1-2001.
11572 2018-10-17 Arjun Shankar <arjun@redhat.com>
11575 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11577 * (__gconv_read_conf): Mark function static.
11578 * (once): New static variable.
11579 * (__gconv_load_conf): New function.
11580 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11581 * iconv/gconv_db.c (once): Remove static variable.
11582 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11584 * (__gconv_find_transform): Likewise.
11585 * iconv/tst-iconv-mt.c: New test.
11586 * iconv/Makefile: Add tst-iconv_mt.
11588 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11592 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11593 (shmatt_t): Define as __syscall_ulong_t.
11594 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11595 and [__SHM_PAD_AFTER_TIME].
11596 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11597 Define shm_segsz and associated padding based on
11598 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11599 Use __syscall_ulong_t instead of unsigned long int.
11600 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11602 [__USE_MISC] (struct shm_info): Likewise.
11603 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11604 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11605 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11607 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11608 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11609 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11610 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11613 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11617 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11618 (SHMLBA): Remove macro.
11619 (__getpagesize): Remove function declaration.
11620 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11622 (SHMLBA): Remove macro.
11623 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11625 (SHMLBA): Remove macro.
11626 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11628 (SHMLBA): Remove macro.
11629 (__getpagesize): Remove function declaration.
11630 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11632 (SHMLBA): Remove macro.
11633 (__getshmlba): Remove function declaration.
11634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11635 (SHMLBA): Remove macro.
11636 (__getpagesize): Remove function declaration.
11637 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11638 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11639 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11640 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11641 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11642 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11643 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11644 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11645 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11648 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11651 * nptl/tst-mutex10.c: New File.
11652 * nptl/Makefile (tests): Add tst-mutex10.
11653 (tst-mutex10-ENV): New variable.
11654 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11655 Ensure that elision path is used if elision is available.
11656 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11658 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11660 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11661 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11662 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11663 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11665 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11666 (__pthread_mutex_cond_lock_adjust): Likewise.
11667 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11669 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11670 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11671 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11672 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11674 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11675 Use atomic_load_relaxed and atomic_store_relaxed.
11676 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11677 Use atomic_store_relaxed.
11679 2018-10-17 Andreas Schwab <schwab@suse.de>
11681 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11682 * crypt/badsalttest.c (TIMEOUT): Likewise.
11683 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11684 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11685 * io/test-lfs.c (TIMEOUT): Likewise.
11686 * libio/tst-atime.c (TIMEOUT): Likewise.
11687 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11688 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11689 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11690 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11691 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11692 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11693 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11694 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11695 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11696 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11697 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11698 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11699 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11700 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11701 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11702 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11703 * nptl/tst-once2.c (TIMEOUT): Likewise.
11704 * nptl/tst-once3.c (TIMEOUT): Likewise.
11705 * nptl/tst-once4.c (TIMEOUT): Likewise.
11706 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11707 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11708 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11709 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11710 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11711 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11712 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11713 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11714 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11715 * posix/tst-chmod.c (TIMEOUT): Likewise.
11716 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11717 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11718 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11719 * posix/tst-regex2.c (TIMEOUT): Likewise.
11720 * posix/tst-waitid.c (TIMEOUT): Likewise.
11721 * rt/tst-aio.c (TIMEOUT): Likewise.
11722 * rt/tst-aio10.c (TIMEOUT): Likewise.
11723 * rt/tst-aio4.c (TIMEOUT): Likewise.
11724 * rt/tst-aio5.c (TIMEOUT): Likewise.
11725 * rt/tst-aio6.c (TIMEOUT): Likewise.
11726 * rt/tst-aio64.c (TIMEOUT): Likewise.
11727 * rt/tst-aio7.c (TIMEOUT): Likewise.
11728 * rt/tst-aio9.c (TIMEOUT): Likewise.
11729 * rt/tst-clock.c (TIMEOUT): Likewise.
11730 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11731 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11732 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11733 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11734 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11735 * rt/tst-timer4.c (TIMEOUT): Likewise.
11736 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11737 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11738 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11739 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11740 * time/tst-ftime.c (TIMEOUT): Likewise.
11741 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11743 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11745 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11746 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11749 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11753 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11754 instead of <bits/wordsize.h>.
11755 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11756 and [__SEM_PAD_AFTER_TIME].
11757 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11758 __syscall_ulong_t instead of unsigned long int.
11759 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11760 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11761 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11762 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11763 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11764 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11765 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11766 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11767 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11768 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11769 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11771 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11773 regex: simplify by using intprops.h
11775 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11776 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11777 intprops.h defines them.
11779 regex: __builtin_expect → __glibc_unlikely
11781 This refactoring was prompted by a problem when the regex code is
11782 used as part of Gnulib and when the builder’s compiler does not grok
11783 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11784 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11785 Although this refactoring does not fix the problem directly,
11786 we might as well have Gawk use the now-preferred glibc style for when
11787 __builtin_expect is unavailable.
11788 * posix/regex_internal.h (BE): Remove.
11789 All uses replaced by __glibc_unlikely or __glibc_likely.
11791 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11795 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11796 instead of <bits/wordsize.h>.
11797 (msgqnum_t): Define as __syscall_ulong_t.
11798 (msglen_t): Likewise.
11799 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11800 and [__MSQ_PAD_AFTER_TIME].
11801 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11802 __syscall_ulong_t instead of unsigned long int.
11803 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11804 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11805 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11806 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11807 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11808 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11809 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11810 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11811 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11813 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11815 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11818 (struct shmid_ds): Condition padding after time fields on
11819 [__WORDSIZE == 32].
11820 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11821 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11822 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11824 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11825 (struct semid_ds): Condition padding after time fields on
11826 [__WORDSIZE == 32].
11827 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11828 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11829 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11830 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11832 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11833 (struct msqid_ds): Condition padding after time fields on
11834 [__WORDSIZE == 32].
11835 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11836 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11837 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11838 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11840 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11842 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11844 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11846 * libio/tst-readline.c (TIMEOUT): Define.
11848 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11850 mktime fix for Gnulib + coreutils
11852 This fix affects only Gnulib. Problem discovered when
11853 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11855 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11856 Do not define since it is not used. Defining an unused static
11857 function prompts a warning from GCC when Coreutils is configured
11858 with --enable-gcc-warnings.
11860 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11862 * benchtests/scripts/compare_bench.py (main): set float type on
11863 threshold argument.
11865 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11868 * localedata/locales/kl_GL (mon): Update, the relative case.
11869 (alt_mon): Add, fill with month names in the nominative case.
11870 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11871 (d_fmt): Set to "%b %d %Y".
11873 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11875 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11876 <bits/mman-linux.h>.
11877 (PROT_READ): Don't define here.
11878 (PROT_WRITE): Likewise.
11879 (PROT_EXEC): Likewise.
11880 (PROT_NONE): Likewise.
11881 (PROT_GROWSDOWN): Likewise.
11882 (PROT_GROWSUP): Likewise.
11883 (MAP_SHARED): Likewise.
11884 (MAP_PRIVATE): Likewise.
11885 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11886 [__USE_MISC] (MAP_FILE): Likewise.
11887 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11888 [__USE_MISC] (MAP_ANON): Likewise.
11889 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11890 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11891 (MCL_CURRENT): Likewise.
11892 (MCL_FUTURE): Likewise.
11893 (MCL_ONFAULT): Likewise.
11894 [__USE_MISC] (MADV_NORMAL): Likewise.
11895 [__USE_MISC] (MADV_RANDOM): Likewise.
11896 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11897 [__USE_MISC] (MADV_WILLNEED): Likewise.
11898 [__USE_MISC] (MADV_DONTNEED): Likewise.
11899 [__USE_MISC] (MADV_FREE): Likewise.
11900 [__USE_MISC] (MADV_REMOVE): Likewise.
11901 [__USE_MISC] (MADV_DONTFORK): Likewise.
11902 [__USE_MISC] (MADV_DOFORK): Likewise.
11903 [__USE_MISC] (MADV_HWPOISON): Likewise.
11904 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11905 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11906 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11907 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11908 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11909 (__MAP_ANONYMOUS): New macro.
11910 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11911 <bits/mman-linux.h> inclusion.
11912 (MAP_FIXED): Likewise.
11913 (MS_SYNC): Likewise.
11914 (MS_ASYNC): Likewise.
11915 (MS_INVALIDATE): Likewise.
11916 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11917 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11918 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11919 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11920 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11921 [__USE_MISC] (MADV_DODUMP): Likewise.
11922 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11923 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11926 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11928 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11929 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11930 Add test-nldbl-redirect.
11931 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11932 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11933 $(objpfx)libnldbl_nonshared.a.
11935 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11937 * support/support.h (support_objdir_elf_ldso): New variable.
11938 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11939 * support/Makefile (CFLAGS-support_paths.c): Add definition
11940 for OBJDIR_ELF_LDSO_PATH.
11941 * support/test-container.c (main): Search for the ld.so
11942 which is also used by the testsuite.
11944 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11947 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11948 should be "sap" rather than "sab".
11949 (day): Fix spelling of Sunday, should be "sapaat" rather than
11952 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11954 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11956 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11959 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11960 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11961 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11963 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11965 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11967 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11969 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11971 (CFLAGS-elision-unlock.c): Likewise.
11972 (CFLAGS-elision-timed.c): Likewise.
11973 (CFLAGS-elision-trylock.c): Likewise.
11974 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11976 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11979 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11980 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11981 new fd_to_filename interface.
11982 * libio/freopen64.c (freopen64): Likewise.
11983 * libio/tst-memstream.h: New file.
11984 * libio/tst-memstream4.c: Likewise.
11985 * libio/tst-wmemstream4.c: Likewise.
11986 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11987 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11988 and remove internal dynamic allocation.
11990 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11993 (MREMAP_MAYMOVE): Do not define here.
11994 [__USE_GNU] (MREMAP_FIXED): Likewise.
11995 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11996 (MREMAP_MAYMOVE): Define here instead.
11997 [__USE_GNU] (MREMAP_FIXED): Likewise.
11998 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11999 (MREMAP_MAYMOVE): Remove.
12000 [__USE_GNU] (MREMAP_FIXED): Likewise.
12002 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12004 * math/fromfp.h: Do not include <math_private.h>.
12005 * math/s_cacosh_template.c: Likewise.
12006 * math/s_casin_template.c: Likewise.
12007 * math/s_casinh_template.c: Likewise.
12008 * math/s_ccos_template.c: Likewise.
12009 * math/s_cproj_template.c: Likewise.
12010 * math/s_fdim_template.c: Likewise.
12011 * math/s_fmaxmag_template.c: Likewise.
12012 * math/s_fminmag_template.c: Likewise.
12013 * math/s_iseqsig_template.c: Likewise.
12014 * math/s_ldexp_template.c: Likewise.
12015 * math/s_nextdown_template.c: Likewise.
12016 * math/w_log1p_template.c: Likewise.
12017 * math/w_scalbln_template.c: Likewise.
12018 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12019 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12020 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12021 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12022 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12023 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12024 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12025 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12026 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12027 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12028 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12029 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12030 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12031 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12032 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12033 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12034 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12039 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12040 * sysdeps/ieee754/k_standardf.c: Likewise.
12041 * sysdeps/ieee754/k_standardl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12044 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12046 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12050 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12051 * sysdeps/ieee754/s_signgam.c: Likewise.
12052 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12053 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12054 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12055 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12056 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12057 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12058 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12059 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12060 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12061 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12062 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12063 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12064 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12065 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12066 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12067 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12068 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12069 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12070 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12071 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12072 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12073 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12074 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12075 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12076 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12077 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12078 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12079 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12080 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12081 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12082 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12083 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12084 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12085 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12086 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12087 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12088 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12090 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12092 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12095 * sysdeps/i386/dl-cet.c: Removed.
12096 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12098 (_dl_runtime_profile_shstk): Likewise.
12099 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12100 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12102 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12105 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12106 do_test_with_invalid_iov): New tests.
12107 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12108 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12109 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12111 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12112 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12113 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12115 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12117 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12118 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12119 (MATH_REDIRECT_BINARY_ARGS): New macro.
12120 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12121 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12122 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12124 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12126 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12137 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12138 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12143 * sysdeps/generic/math_private_calls.h
12144 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12145 Do not declare and define as an inline function.
12146 * math/divtc3.c (__divtc3): Use copysign functions instead of
12147 __copysign variants.
12148 * math/multc3.c (__multc3): Likewise.
12149 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12150 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12151 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12152 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12154 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12155 (__ieee754_yn): Likewise.
12156 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12157 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12158 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12159 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12160 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12162 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12169 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12170 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12172 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12173 (__ieee754_ynf): Likewise.
12174 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12175 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12179 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12180 (__ieee754_ynl): Likewise.
12181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12182 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12186 (__ieee754_ynl): Likewise.
12187 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12192 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12194 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12195 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12196 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12197 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12198 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12200 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12201 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12202 using MATH_REDIRECT.
12203 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12205 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12208 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12216 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12217 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12219 (round): Redirect to __round.
12220 (__roundl): Call round instead of __round.
12221 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12223 [_ARCH_PWR5X] (__roundf): Likewise.
12224 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12225 functions instead of __round variants.
12226 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12227 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12231 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12233 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12236 (__ieee754_expl): Call roundl instead of __roundl.
12238 2018-09-27 Andreas Schwab <schwab@suse.de>
12241 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12242 (do_test): Make st1 static.
12244 2018-09-26 Andreas Schwab <schwab@suse.de>
12247 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12248 * elf/Makefile (tests): Add tst-unwind-ctor.
12249 (modules-names): Add tst-unwind-ctor-lib.
12250 ($(objpfx)tst-unwind-ctor): Depend on
12251 $(objpfx)tst-unwind-ctor-lib.so.
12253 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12255 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12256 file. Most contents moved from ....
12257 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12258 and include <bits/mman-map-flags-generic.h>.
12259 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12260 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12261 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12262 <bits/mman-map-flags-generic.h>.
12263 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12264 macros defined in <bits/mman-map-flags-generic.h>.
12265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12266 <bits/mman-map-flags-generic.h>.
12267 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12268 defined in <bits/mman-map-flags-generic.h>.
12270 2018-09-26 Andreas Schwab <schwab@suse.de>
12272 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12275 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12276 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12277 Fangrui Song <maskray@google.com>
12280 * config.make.in (have-textrel_ifunc): New define.
12281 * configure.ac: Add check if linker supports textrel relocation with
12283 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12285 (CFLAGS-tst-ifunc-textrel.c): New rule.
12286 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12287 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12288 * elf/tst-ifunc-textrel.c: New file.
12290 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12292 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12293 <bits/procfs-prregset.h>.
12294 (prgregset_t): Define using __prgregset_t.
12295 (prfpregset_t): Define using __prfpregset_t.
12296 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12297 (sysdep_headers): Add bits/procfs-prregset.h.
12298 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12299 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12300 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12301 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12303 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12304 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12305 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12307 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12308 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12309 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12310 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12311 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12312 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12313 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12314 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12315 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12316 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12317 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12318 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12319 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12320 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12321 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12322 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12323 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12324 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12325 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12326 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12327 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12328 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12329 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12332 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12333 AArch64 version. Include <bits/procfs.h>.
12334 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12335 (sysdep_headers): Add bits/procfs.h.
12336 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12337 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12338 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12339 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12340 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12341 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12342 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12343 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12344 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12345 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12346 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12347 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12348 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12349 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12350 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12351 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12352 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12354 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12356 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12359 2018-09-25 Arjun Shankar <arjun@redhat.com>
12361 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12362 (__gconv_max_path_elem_len): Likewise.
12363 (__gconv_nmodules): Likewise.
12364 (__gconv_get_path): Likewise.
12365 (path_elem): Move to ...
12366 * iconv/gconv_conf.c: ... here.
12367 (__gconv_get_path): Mark function static.
12368 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12369 * iconv/gconv_open.c: ... here.
12371 2018-09-24 Andreas Schwab <schwab@suse.de>
12373 * scripts/haveversions.awk: New file.
12374 * Makerules ($(common-objpfx)Versions.def)
12375 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12376 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12378 * Makeconfig ($(common-objpfx)Versions.def)
12379 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12380 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12382 ($(common-objpfx)Versions.mk): New rule. Include it.
12383 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12384 Emit error if build-obsolete-nsl = yes.
12385 * manual/install.texi (Configuring and compiling): Describe
12386 --enable-obsolete-nsl as unavaiable after version 2.28.
12387 * INSTALL: Regenerate.
12389 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12391 * NEWS: Add note about new TLE support on powerpc64le.
12392 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12393 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12395 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12396 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12397 * sysdeps/powerpc/powerpc32/sysdep.h,
12398 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12399 ABORT_TRANSACTION): Remove macros.
12400 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12402 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12404 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12405 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12407 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12409 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12412 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12413 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12414 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12415 which is the same as in it_IT.
12416 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12417 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12419 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12421 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12422 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12423 using MATH_REDIRECT.
12424 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12426 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12428 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12430 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12436 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12437 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12438 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12439 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12440 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12441 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12442 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12444 (ceil): Redirect to __ceil.
12445 (floor): Redirect to __floor.
12446 (trunc): Redirect to __trunc.
12447 (__truncl): Call trunc instead of __trunc.
12448 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12450 [_ARCH_PWR5X] (__truncf): Likewise.
12451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12452 trunc functions instead of __trunc variants.
12453 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12455 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12462 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12463 [__i586__ || __pentium__].
12464 [__i486__]: Handle explicitly.
12465 (HAS_CPUID): Define to 1 if above macros are undefined.
12466 (HAS_I586): Likewise.
12467 (HAS_I686): Likewise.
12469 2018-09-20 Florian Weimer <fweimer@redhat.com>
12471 * misc/tst-gethostid.c: New file.
12472 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12473 (tst-gethostid): Link with -ldl.
12475 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12477 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12478 value from gethostbyname_r.
12480 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12482 * stdlib/tst-setcontext9.c (f1): Rename to...
12484 (f1b): New function implementing lower half of f1 in alternate stack.
12486 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12488 Fix mktime localtime offset confusion
12490 * include/time.h (__mktime_internal): The localtime offset is now
12491 of type long int instead of time_t. This is the longstanding type
12492 in glibc, and it is more than enough to represent difference
12493 between localtime and gmtime even if it is 32 bits and time_t is
12494 64. Changing it now will let us avoid an unnecessary change when
12495 time_t is widened to 64 bits on 32-bit platforms.
12496 * time/mktime-internal.h (mktime_offset_t): Now long int.
12498 Merge mktime, timegm from upstream Gnulib
12499 [BZ #23603][BZ #16346]
12500 This fixes some obscure problems with integer overflow.
12501 Although it looks scary, it is almost all a byte-for-byte copy
12502 from Gnulib, and the Gnulib code has been tested reasonably well.
12503 * include/intprops.h: New file, copied from Gnulib.
12504 * include/verify.h, time/mktime-internal.h:
12505 New tiny files, simplified from Gnulib.
12506 * time/mktime.c: Copy from Gnulib. This has the following changes:
12507 Do not include config.h if DEBUG_MKTIME is nonzero.
12508 Include stdbool.h, intprops.h, verify.h.
12509 Include string.h only if needed.
12510 Include stdlib.h on MS-Windows.
12511 Include mktime-internal.h.
12512 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12513 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12514 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12515 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12516 simplify later conditionals; default the others to zero. Use
12517 these conditionals to express only the code needed on the current
12518 platform. In uses of these conditionals, explicitly spell out how
12519 _LIBC affects things, so it’s easier to review from a glibc
12521 (WRAPV): Remove; no longer needed now that we have
12522 systematic overflow checking.
12523 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12524 compartmentalize tzset issues. Move system-dependent tzsettish
12525 code here from mktime.
12526 (verify): Remove; now done by verify.h. All uses changed.
12527 (long_int): Use a more-conservative definition, to avoid
12529 (SHR): Remove, replacing with ...
12530 (shr): New function, which means we needn’t worry about side
12531 effects in args, and conversion analysis is simpler.
12532 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12533 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12534 (time_t_avg, time_t_add_ok): Remove.
12535 (mktime_min, mktime_max): New constants.
12536 (leapyear, isdst_differ): Use bool for booleans.
12537 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12538 Use long_int, not time_t, for mktime differences.
12539 (long_int_avg): New function, replacing time_t_avg.
12540 INT_ADD_WRAPV replaces time_t_add_ok.
12541 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12543 (convert_time): New function.
12544 (ranged_convert): Use it.
12545 (__mktime_internal): Last arg now points to mktime_offset_t, not
12546 time_t. All uses changed. This is a no-op on glibc, where
12547 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12548 offset guess. Directly check for integer overflow instead of
12549 using a heuristic that works only 99.9...% of the time.
12550 Access *OFFSET only once, to avoid an unlikely race if the
12551 compiler delays a load and if this cascades into a signed integer
12553 (mktime): Move tzsettish code to my_tzset, and move
12554 localtime_offset to within mktime so that it doesn’t
12555 need a separate ifdef.
12556 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12557 instead of localtime.
12558 * time/timegm.c: Copy from Gnulib. This has the following changes:
12559 Include mktime-internal.h.
12560 [!_LIBC]: Include config.h and time.h. Do not include
12561 timegm.h or time_r.h. Make __mktime_internal a macro,
12562 and include mktime-internal.h to get its declaration.
12563 (timegm): Temporary is now mktime_offset_t, not time_t.
12564 This affects only Gnulib.
12566 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12569 * string/test-strstr.c (pr23637): New function.
12570 (test_main): Add tests with longer needles.
12571 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12572 * string/strstr.c (AVAILABLE): Likewise.
12574 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12576 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12578 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12580 * NEWS: Mention pow improvements.
12581 * math/Makefile (type-double-routines): Add e_pow_log_data.
12582 * sysdeps/generic/math_private.h (__exp1): Remove.
12583 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12584 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12585 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12587 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12588 (exp_inline): Remove.
12589 (__ieee754_exp): Only single double input is handled.
12590 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12591 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12592 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12593 (__pow_log_data): Define.
12594 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12595 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12596 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12597 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12599 (CFLAGS-e_pow-fma4.c): Likewise.
12601 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12603 Simplify tzfile fstat failure code
12605 * time/tzfile.c (__tzfile_read): Simplify slightly.
12607 Fix tzfile low-memory assertion failure
12609 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12610 when registering time zone abbreviations.
12612 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12614 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12615 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12616 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12617 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12618 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12619 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12620 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12622 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12624 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12626 (__ceill): Call ceil instead of __ceil.
12627 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12629 (__floorl): Call floor instead of __floor.
12631 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12633 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12634 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12635 using MATH_REDIRECT.
12636 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12638 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12641 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12642 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12645 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12650 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12651 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12654 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12655 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12656 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12659 functions instead of __ceil variants.
12660 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12661 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12665 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12666 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12668 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12669 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12672 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12674 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12675 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12676 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12677 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12678 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12679 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12680 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12681 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12682 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12683 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12684 (ILL_BADIADDR): Remove constant.
12685 (TRAP_BRANCH): Likewise.
12686 (TRAP_HWBKPT): Likewise.
12688 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12691 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12692 Remove [_MIPS_SIM = _ABIN32] conditional case.
12693 (struct elf_prpsinfo): Likewise.
12696 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12697 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12698 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12700 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12701 elf_prpsinfo): Likewise.
12702 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12703 elf_prpsinfo): Likewise.
12704 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12707 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12708 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12709 using MATH_REDIRECT.
12710 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12712 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12713 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12714 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12715 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12718 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12722 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12723 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12724 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12725 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12726 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12727 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12728 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12729 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12730 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12735 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12736 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12737 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12738 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12740 * math/e_scalbf.c (invalid_fn): Likewise.
12741 * math/e_scalbl.c (invalid_fn): Likewise.
12742 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12744 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12747 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12752 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12754 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12757 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12758 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12760 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12761 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12762 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12763 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12764 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12765 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12766 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12767 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12768 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12769 && !NO_MATH_REDIRECT] (floor): Likewise.
12770 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12772 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12775 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12776 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12779 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12784 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12785 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12788 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12789 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12790 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12792 [_ARCH_PWR5X] (__floorf): Likewise.
12793 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12795 [__SSE4_1__] (__floorf): Likewise.
12796 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12797 instead of __floor variants.
12798 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12799 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12800 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12801 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12802 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12803 * math/w_tgamma_compat.c (__tgamma): Likewise.
12804 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12805 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12806 * math/w_tgammal_compat.c (__tgammal): Likewise.
12807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12810 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12811 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12812 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12815 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12816 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12818 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12824 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12826 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12827 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12828 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12829 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12831 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12833 * elf/Makefile (modules-names-tests): New variable.
12835 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12837 * NEWS: Mention log2 improvements.
12838 * math/Makefile (type-double-routines): Add e_log2_data.
12839 * sysdeps/i386/fpu/e_log2_data.c: New file.
12840 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12841 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12842 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12843 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12844 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12845 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12847 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12849 * NEWS: Mention log improvement.
12850 * math/Makefile (type-double-routines): Add e_log_data.
12851 * sysdeps/i386/fpu/e_log_data.c: New file.
12852 * sysdeps/ia64/fpu/e_log_data.c: New file.
12853 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12854 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12855 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12856 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12857 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12858 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12860 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12861 Xuepeng Guo <xuepeng.guo@intel.com>
12864 * sysdeps/i386/start.S: Include <sysdep.h>
12865 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12866 enabled. Add cfi_undefined (eip).
12868 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12870 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12872 (EXTRACT_WORDS64): Likewise.
12873 (INSERT_WORDS64): Likewise.
12874 (GET_FLOAT_WORD): Likewise.
12875 (SET_FLOAT_WORD): Likewise.
12877 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12879 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12880 build, but not for second build if --full-gcc. Use
12881 --enable-languages=all for second build if --full-gcc.
12882 (get_parser): Add --full-gcc option.
12883 (main): Update call to Context.
12885 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12888 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12889 Single Quotation Mark).
12890 (thousands_sep): Likewise.
12891 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12892 * localedata/locales/it_IT (thousands_sep): Use ".".
12893 (grouping): Use "3;3".
12895 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12897 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12898 x86_64 and i686 configs using --enable-obsolete-rpc
12899 --enable-obsolete-nsl.
12901 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12903 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12905 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12907 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12908 Increment size of new_argv by one.
12910 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12913 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12914 * localedata/locales/ar_IN (d_fmt): Likewise.
12915 * localedata/locales/bhb_IN (d_fmt): Likewise.
12916 * localedata/locales/bho_IN (d_fmt): Likewise.
12917 * localedata/locales/bn_BD (d_fmt): Likewise.
12918 * localedata/locales/bn_IN (d_fmt): Likewise.
12919 * localedata/locales/doi_IN (d_fmt): Likewise.
12920 * localedata/locales/gu_IN (d_fmt): Likewise.
12921 * localedata/locales/hi_IN (d_fmt): Likewise.
12922 * localedata/locales/hne_IN (d_fmt): Likewise.
12923 * localedata/locales/kn_IN (d_fmt): Likewise.
12924 * localedata/locales/mag_IN (d_fmt): Likewise.
12925 * localedata/locales/mai_IN (d_fmt): Likewise.
12926 * localedata/locales/mjw_IN (d_fmt): Likewise.
12927 * localedata/locales/ml_IN (d_fmt): Likewise.
12928 * localedata/locales/mni_IN (d_fmt): Likewise.
12929 * localedata/locales/mr_IN (d_fmt): Likewise.
12930 * localedata/locales/pa_IN (d_fmt): Likewise.
12931 * localedata/locales/raj_IN (d_fmt): Likewise.
12932 * localedata/locales/sat_IN (d_fmt): Likewise.
12933 * localedata/locales/sd_IN (d_fmt): Likewise.
12934 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12935 * localedata/locales/ta_IN (d_fmt): Likewise.
12936 * localedata/locales/ta_LK (d_fmt): Likewise.
12937 * localedata/locales/tcy_IN (d_fmt): Likewise.
12938 * localedata/locales/ur_IN (d_fmt): Likewise.
12940 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12941 * localedata/locales/ks_IN (d_fmt): Likewise.
12942 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12944 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12945 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12946 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12947 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12949 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12951 * NEWS: Mention exp and exp2 improvements.
12952 * math/Makefile (libm-support): Remove t_exp.
12953 (type-double-routines): Add math_err and e_exp_data.
12954 * sysdeps/aarch64/libm-test-ulps: Update.
12955 * sysdeps/arm/libm-test-ulps: Update.
12956 * sysdeps/i386/fpu/e_exp_data.c: New file.
12957 * sysdeps/i386/fpu/math_err.c: New file.
12958 * sysdeps/i386/fpu/t_exp.c: Remove.
12959 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12960 * sysdeps/ia64/fpu/math_err.c: New file.
12961 * sysdeps/ia64/fpu/t_exp.c: Remove.
12962 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12963 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12964 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12966 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12967 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12968 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12969 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12970 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12971 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12972 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12973 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12974 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12975 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12979 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12981 * sysdeps/alpha/fpu/math_private.h: Remove.
12983 * sysdeps/generic/math_private.h
12984 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12985 Move this inline function ....
12986 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12987 * include/math.h [!_ISOMAC]: To here....
12989 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12991 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12993 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12994 * include/fenv.h [!_ISOMAC]: ... to here.
12995 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12996 (feraiseexcept): Likewise.
12997 * math/fromfp.h: Do not include <fenv_private.h>.
12998 * math/s_cexp_template.c: Likewise.
12999 * math/s_csin_template.c: Likewise.
13000 * math/s_csinh_template.c: Likewise.
13001 * math/s_ctan_template.c: Likewise.
13002 * math/s_ctanh_template.c: Likewise.
13003 * math/s_iseqsig_template.c: Likewise.
13004 * math/w_acos_compat.c: Likewise.
13005 * math/w_acosf_compat.c: Likewise.
13006 * math/w_acosl_compat.c: Likewise.
13007 * math/w_asin_compat.c: Likewise.
13008 * math/w_asinf_compat.c: Likewise.
13009 * math/w_asinl_compat.c: Likewise.
13010 * math/w_j0_compat.c: Likewise.
13011 * math/w_j0f_compat.c: Likewise.
13012 * math/w_j0l_compat.c: Likewise.
13013 * math/w_j1_compat.c: Likewise.
13014 * math/w_j1f_compat.c: Likewise.
13015 * math/w_j1l_compat.c: Likewise.
13016 * math/w_jn_compat.c: Likewise.
13017 * math/w_jnf_compat.c: Likewise.
13018 * math/w_log10_compat.c: Likewise.
13019 * math/w_log10f_compat.c: Likewise.
13020 * math/w_log10l_compat.c: Likewise.
13021 * math/w_log2_compat.c: Likewise.
13022 * math/w_log2f_compat.c: Likewise.
13023 * math/w_log2l_compat.c: Likewise.
13024 * math/w_log_compat.c: Likewise.
13025 * math/w_logf_compat.c: Likewise.
13026 * math/w_logl_compat.c: Likewise.
13027 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13028 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13029 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13030 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13032 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13033 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13034 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13035 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13036 * sysdeps/ieee754/k_standardl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13049 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13050 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13054 * math/w_ilogb_template.c: Include <fenv.h> instead of
13056 * math/w_llogb_template.c: Likewise.
13057 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13058 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13060 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13062 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13063 * math/fromfp.h: Include <fenv_private.h>.
13064 * math/math-narrow.h: Likewise.
13065 * math/s_cexp_template.c: Likewise.
13066 * math/s_csin_template.c: Likewise.
13067 * math/s_csinh_template.c: Likewise.
13068 * math/s_ctan_template.c: Likewise.
13069 * math/s_ctanh_template.c: Likewise.
13070 * math/s_iseqsig_template.c: Likewise.
13071 * math/w_acos_compat.c: Likewise.
13072 * math/w_acosf_compat.c: Likewise.
13073 * math/w_acosl_compat.c: Likewise.
13074 * math/w_asin_compat.c: Likewise.
13075 * math/w_asinf_compat.c: Likewise.
13076 * math/w_asinl_compat.c: Likewise.
13077 * math/w_ilogb_template.c: Likewise.
13078 * math/w_j0_compat.c: Likewise.
13079 * math/w_j0f_compat.c: Likewise.
13080 * math/w_j0l_compat.c: Likewise.
13081 * math/w_j1_compat.c: Likewise.
13082 * math/w_j1f_compat.c: Likewise.
13083 * math/w_j1l_compat.c: Likewise.
13084 * math/w_jn_compat.c: Likewise.
13085 * math/w_jnf_compat.c: Likewise.
13086 * math/w_llogb_template.c: Likewise.
13087 * math/w_log10_compat.c: Likewise.
13088 * math/w_log10f_compat.c: Likewise.
13089 * math/w_log10l_compat.c: Likewise.
13090 * math/w_log2_compat.c: Likewise.
13091 * math/w_log2f_compat.c: Likewise.
13092 * math/w_log2l_compat.c: Likewise.
13093 * math/w_log_compat.c: Likewise.
13094 * math/w_logf_compat.c: Likewise.
13095 * math/w_logl_compat.c: Likewise.
13096 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13097 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13098 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13099 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13124 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13125 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13126 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13127 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13128 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13129 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13130 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13131 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13132 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13133 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13134 * sysdeps/ieee754/k_standardl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13171 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13173 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13174 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13175 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13176 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13177 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13178 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13179 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13180 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13181 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13182 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13183 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13184 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13185 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13186 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13187 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13188 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13189 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13190 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13191 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13192 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13193 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13194 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13195 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13196 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13197 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13198 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13199 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13200 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13201 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13202 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13203 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13204 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13205 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13207 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13210 * include/stdio.h (__libc_fatal): Mention newline in comment.
13211 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13212 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13214 * nss/nsswitch.c (__nss_next2): Likewise.
13215 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13216 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13217 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13218 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13219 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13221 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13222 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13223 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13224 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13225 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13226 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13227 (__netlink_assert_response): Likewise.
13229 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13231 * conform/glibcconform.py: New file.
13232 * conform/list-header-symbols.py: Likewise.
13233 * conform/list-header-symbols.pl: Remove.
13234 * conform/Makefile (tests-special): Only add linknamespace tests
13236 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13238 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13241 * support/Makefile (libsupport-routines): Add
13242 support_copy_file_range and xcopy_file_range.
13243 * support/support.h: Include <sys/types.h>.
13244 (support_copy_file_range): New prototype.
13245 * support/support_copy_file_range.c: New file. Copied and
13246 modified from io/copy_file_range-compat.c.
13247 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13248 instead of copy_file_range.
13249 * support/xcopy_file_range.c: New file.
13250 * support/xunistd.h (xcopy_file_range): New prototype.
13252 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13254 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13255 xpthread_create and xpthread_join.
13257 2018-08-30 Florian Weimer <fweimer@redhat.com>
13259 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13261 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13263 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13266 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13268 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13269 and minus_oflow as non-finite.
13271 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13273 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13274 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13275 moved to fenv_private.h except for ...
13276 (TOINT_INTRINSICS): Kept in math_private.h.
13277 (roundtoint): Likewise.
13278 (converttoint): Likewise.
13279 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13280 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13281 * sysdeps/arm/math_private.h: Remove.
13282 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13284 * sysdeps/generic/math_private.h: ... this file. Include
13285 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13286 Include <fenv_private.h>. Remove functions and macros moved to
13288 * sysdeps/i386/fpu/math_private.h: Remove.
13289 * sysdeps/mips/math_private.h: Move to ....
13290 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13291 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13292 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13293 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13294 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13295 * sysdeps/powerpc/fpu/math_private.h: Do not include
13297 * sysdeps/riscv/rvf/math_private.h: Move to ....
13298 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13299 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13301 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13302 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13303 * sysdeps/sparc/fpu/math_private.h: Remove.
13304 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13305 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13306 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13308 * sysdeps/x86_64/fpu/math_private.h: Do not include
13309 <sysdeps/i386/fpu/fenv_private.h>.
13311 2018-08-28 Florian Weimer <fweimer@redhat.com>
13314 * posix/tst-regcomp-truncated.c: New file.
13315 * posix/Makefile (tests): Add it.
13316 (tst-regcomp-truncated.out): Depend on generated locales.
13318 2018-08-28 Florian Weimer <fweimer@redhat.com>
13320 * support/test-container.c (main): Treat unshare failure with
13321 EPERM as an unsupported test.
13323 2018-08-28 Florian Weimer <fweimer@redhat.com>
13326 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13327 * nscd/netgroupcache.c
13328 (addgetnetgrentX): Add tofreep parameter. Do not free
13329 heap-allocated buffer.
13330 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13331 (addgetnetgrentX_ignore): New function.
13332 (addgetnetgrent): Call it.
13333 (readdgetnetgrent): Likewise.
13335 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13337 * string/memmem.c: Use memcmp for first match.
13339 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13342 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13344 2018-08-27 DJ Delorie <dj@redhat.com>
13346 * support/Makefile (others): Don't list programs explicitly as a
13347 dependency of "others".
13349 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13351 * sysdeps/generic/math-tests-trap-force.h: New file.
13352 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13353 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13354 * sysdeps/powerpc/math-tests.h: Remove file.
13355 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13357 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13358 Torvald Riegel <triegel@redhat.com>
13361 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13362 Update r to include the set wake-request flag if waiters are
13363 remaining after spinning.
13365 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13367 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13369 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13372 regex: fix uninitialized memory access
13373 I introduced this bug into gnulib in commit
13374 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13375 eventually it was merged into glibc. The bug was found by
13376 project-repo <bugs@feusi.co> and reported here:
13377 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13378 Diagnosis and draft fix reported by Assaf Gordon here:
13379 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13380 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13381 * posix/regex_internal.c (build_wcs_upper_buffer):
13382 Fix bug when mbrtowc returns 0.
13384 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13386 * po/be.po: Update translation.
13388 2018-08-24 DJ Delorie <dj@delorie.com>
13390 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13393 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13396 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13397 create temporary files in source tree.
13399 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13401 * sysdeps/generic/math-tests-trap.h: New file.
13402 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13403 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13404 * sysdeps/aarch64/math-tests.h: Remove file.
13405 * sysdeps/arm/math-tests.h: Likewise.
13406 * sysdeps/riscv/math-tests.h: Likewise.
13407 * sysdeps/aarch64/math-tests-trap.h: New file.
13408 * sysdeps/arm/math-tests-trap.h: Likewise.
13409 * sysdeps/riscv/math-tests-trap.h: Likewise.
13411 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13413 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13414 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13415 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13416 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13417 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13418 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13426 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13427 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13428 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13430 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13432 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13434 * sysdeps/generic/math-tests-exceptions.h: New file.
13435 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13436 (EXCEPTION_TESTS_float): Do not define here.
13437 (EXCEPTION_TESTS_double): Likewise.
13438 (EXCEPTION_TESTS_long_double): Likewise.
13439 (EXCEPTION_TESTS_float128): Likewise.
13440 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13442 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13443 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13444 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13445 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13446 * sysdeps/mips/math-tests.h: Likewise.
13447 * sysdeps/nios2/math-tests.h: Likewise.
13448 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13449 (EXCEPTION_TESTS_float): Do not define here.
13450 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13451 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13452 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13454 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13456 * NEWS: Move optimized sinf entry to 2.29.
13458 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13460 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13462 2018-08-22 DJ Delorie <dj@redhat.com>
13464 * Makefile (testroot.pristine): New rules to initialize the
13465 test-in-container "testroot".
13466 * Makerules (all-testsuite): Add tests-container.
13467 * Rules (tests-expected): Add tests-container.
13468 (binaries-all-tests): Likewise.
13469 (tests-container): New, run these tests in the testroot container.
13470 * support/Makefile (others): Add *-container, support_paths.c,
13471 xmkdirp, and links-dso-program.
13472 * support/links-dso-program-c.c: New.
13473 * support/links-dso-program.cc: New.
13474 * support/test-container.c: New.
13475 * support/shell-container.c: New.
13476 * support/echo-container.c: New.
13477 * support/true-container.c: New.
13478 * support/xmkdirp.c: New.
13479 * support/xsymlink.c: New.
13480 * support/support_paths.c: New.
13481 * support/support.h: Add support paths prototypes.
13482 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13484 * nss/tst-nss-test3.c: Convert to test-in-container.
13485 * nss/tst-nss-test3.root/: New.
13487 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13489 regex: port Gnulib code to z/OS POSIX environment
13490 Problem reported by Arnold Robbins in:
13491 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13492 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13495 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13497 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13498 (ROUNDING_TESTS_double): Remove.
13499 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13500 (ROUNDING_TESTS_double): Remove.
13501 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13502 (ROUNDING_TESTS_double): Remove.
13503 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13504 (ROUNDING_TESTS_float): Remove.
13505 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13506 (ROUNDING_TESTS_float): Remove.
13507 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13508 (ROUNDING_TESTS_float): Remove.
13509 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13510 !TEST_MATHVEC here.
13511 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13512 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13514 * sysdeps/generic/math-tests-rounding.h: New file.
13515 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13516 (ROUNDING_TESTS_float): Do not define here.
13517 (ROUNDING_TESTS_double): Likewise.
13518 (ROUNDING_TESTS_long_double): Likewise.
13519 (ROUNDING_TESTS_float128): Likewise.
13520 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13521 (ROUNDING_TESTS_double): Undefine before defining.
13522 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13523 (ROUNDING_TESTS_double): Undefine before defining.
13524 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13525 (ROUNDING_TESTS_double): Undefine before defining.
13526 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13527 (ROUNDING_TESTS_float): Undefine before defining.
13528 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13529 (ROUNDING_TESTS_float): Undefine before defining.
13530 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13531 (ROUNDING_TESTS_float): Undefine before defining.
13532 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13533 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13535 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13536 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13537 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13538 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13539 (ROUNDING_TESTS_float): Do not define here.
13540 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13541 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13542 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13543 (ROUNDING_TESTS_float): Likewise.
13544 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13545 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13546 * sysdeps/mips/math-tests.h [__mips_soft_float]
13547 (ROUNDING_TESTS_float): Likewise.
13548 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13549 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13550 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13551 (ROUNDING_TESTS_double): Likewise.
13552 (ROUNDING_TESTS_long_double): Likewise.
13554 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13556 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13557 (PF_XDP): New macro.
13558 (AF_XDP): New macro.
13559 (SOL_XDP): New macro.
13561 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13563 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13564 (TCP_INQ): Likewise.
13565 (TCP_CM_INQ): Likewise.
13566 (TCP_REPAIR_ON): Likewise.
13567 (TCP_REPAIR_OFF): Likewise.
13568 (TCP_REPAIR_OFF_NO_WP): Likewise.
13569 (struct tcp_zerocopy_receive): New type.
13571 2018-08-21 Florian Weimer <fweimer@redhat.com>
13573 * support/support.h (support_descriptor_supports_holes): Declare.
13574 * support/Makefile (libsupport-routines): Add
13575 support_descriptor_supports_holes.
13576 * support/support_descriptor_supports_holes.c: New file.
13577 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13578 and stop testing if holes are not supported.
13579 * io/test-lfs.c (do_prepare): Likewise.
13580 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13582 * timezone/tst-tzset.c (create_tz_file): Likewise.
13583 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13585 (do_prepare): Set it.
13586 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13588 2018-08-21 Florian Weimer <fweimer@redhat.com>
13591 * Makeconfig (+cflags): Do not sort (and deduplicate).
13593 2018-08-21 Florian Weimer <fweimer@redhat.com>
13595 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13596 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13598 2018-08-20 Florian Weimer <fweimer@redhat.com>
13600 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13601 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13603 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13605 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13606 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13607 and ssi_arch members.
13609 * elf/elf.c (NT_VMCOREDD): New macro.
13610 (AT_MINSIGSTKSZ): Likewise.
13612 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13615 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13616 s_cosf-ppc64 and s_cosf-power8.
13617 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13618 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13619 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13620 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13627 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13628 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13630 2018-08-17 Florian Weimer <fweimer@redhat.com>
13632 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13634 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13636 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13638 2018-08-16 Florian Weimer <fweimer@redhat.com>
13640 * configure.ac: Add --with-nonshared-cflags option.
13641 * config.make.in (extra-nonshared-cflags): Set variable.
13642 * Makeconfig (CFLAGS-.oS): Use it.
13643 * manual/install.texi (Configuring and compiling): Document
13644 --with-nonshared-cflags.
13645 * configure: Regenerate.
13646 * INSTALL: Likewise.
13648 2018-08-16 Florian Weimer <fweimer@redhat.com>
13650 * Makeconfig (ASFLAGS): Always append required assembler flags.
13652 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13654 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13655 (malloc_consolidate): Likewise.
13657 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13659 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13661 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13663 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13666 * benchtests/bench-strlen.c: Print performance numbers in json.
13668 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13670 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13671 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13672 only for little endian.
13673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13674 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13675 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13677 Add check for little endian.
13678 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13679 (__strcmp_power9): Add check for little endian.
13680 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13681 Add check for little endian.
13682 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13683 (__strncmp_power9): Add check for little endian.
13684 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13685 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13686 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13687 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13688 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13690 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13692 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13693 [!STRLEN](STRLEN): Set to __strlen.
13694 * sysdeps/aarch64/multiarch/strlen.c: New file.
13695 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13696 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13697 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13698 (__libc_ifunc_impl_list): Add strlen.
13699 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13700 strlen_generic and strlen_asimd.
13702 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13705 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13706 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13708 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13712 2018-08-14 Florian Weimer <fweimer@redhat.com>
13715 * include/stdio.h (__vfxprintf): Declare.
13716 * stdio-common/fxprintf.c (__vfxprintf): New function.
13717 (__fxprintf): Call it.
13718 * misc/err.c (convert_and_print): Remove function.
13719 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13720 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13721 * misc/Makefile (tests): Add tst-warn-wide.
13722 * misc/tst-warn-wide.c: New file.
13724 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13725 Szabolcs Nagy <szabolcs.nagy@arm.com>
13727 * NEWS: Mention sinf, cosf, sincosf.
13728 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13729 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13730 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13731 constants rather than including generic sincosf.h.
13732 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13733 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13734 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13735 (reduced_cos): Remove.
13736 (sinf_poly): New function.
13737 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13739 2018-08-14 Florian Weimer <fweimer@redhat.com>
13743 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13744 processing, bail out if no room, and close the stream before
13746 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13747 (tst-nss-files-alias-leak): Link with libdl.
13748 (tst-nss-files-alias-leak.out): Depend on nss_files.
13750 * nss/tst-nss-files-alias-leak.c: New file.
13752 2018-08-14 Florian Weimer <fweimer@redhat.com>
13754 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13755 server_user, stat_user.
13757 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13759 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13761 (io_pgetevents): New syscall.
13764 * manual/install.texi (Configuring and compiling): Do not list
13765 tools used for testing pretty printers here.
13766 (Tools for Compilation): List Python, PExpect and GDB here.
13767 Update descriptions of uses of Perl and Python.
13768 * INSTALL: Regenerate.
13770 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13773 2018-08-13 Florian Weimer <fweimer@redhat.com>
13775 * misc/error.c (error): Add missing va_end call.
13776 (error_at_line): Likewise.
13778 2018-08-13 Florian Weimer <fweimer@redhat.com>
13780 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13782 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13784 * benchtests/scripts/benchout.schema.json (properties): Add
13787 * benchtests/bench-skeleton.c (main): Add duration and
13788 iterations attributes.
13790 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13792 regex: Gnulib unibyte RRI uses bytes not chars
13793 Adjust the non-glibc code to agree with what Gawk needs for
13794 rational range interpretation (RRI) for regular expression ranges.
13795 In unibyte locales, Gawk wants ranges to use the underlying byte
13796 rather than the character code point. This change does not affect
13798 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13799 In unibyte locales, use the byte value rather than
13800 running it through btowc.
13802 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13804 * sysdeps/generic/math-tests-snan.h: New file.
13805 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13806 (SNAN_TESTS_float): Do not define here.
13807 (SNAN_TESTS_double): Likewise.
13808 (SNAN_TESTS_long_double): Likewise.
13809 (SNAN_TESTS_float128): Likewise.
13810 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13811 * sysdeps/i386/fpu/math-tests.h: Remove file.
13812 * sysdeps/ia64/math-tests-snan.h: New file.
13813 * sysdeps/ia64/math-tests.h: Remove file.
13814 * sysdeps/x86/math-tests.h: Likewise.
13815 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13817 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13818 Szabolcs Nagy <szabolcs.nagy@arm.com>
13820 * math/Makefile: Add s_sincosf_data.c.
13821 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13822 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13823 (sincosf_poly): Likewise.
13824 (reduce_small): Likewise.
13825 (reduce_large): Likewise.
13826 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13827 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13828 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13829 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13831 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13832 Szabolcs Nagy <szabolcs.nagy@arm.com>
13834 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13835 (converttoint): Use lround.
13836 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13837 document the semantics when TOINT_INTRINSICS is set.
13838 (converttoint): Likewise.
13839 (TOINT_RINT): Remove.
13840 (TOINT_SHIFT): Remove.
13841 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13844 2018-08-10 Florian Weimer <fweimer@redhat.com>
13847 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13849 (__old_getdents64): Use getdents64. Convert entries without
13851 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13852 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13853 tst-readdir64-compat.
13855 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13857 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13860 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13862 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13863 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13864 code to s390x-mcount.h and #include it.
13865 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13866 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13869 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13871 * stdlib/Versions: Remove __fentry__.
13872 * sysdeps/i386/Versions: Add __fentry__.
13873 * sysdeps/x86_64/Versions: Add __fentry__.
13875 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13877 * sysdeps/s390/Makefile: Register the new tests.
13878 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13879 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13880 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13881 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13882 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13883 * sysdeps/s390/tst-dl-runtime.c: New file.
13885 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13887 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13890 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13892 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13895 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13897 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13900 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13902 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13905 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13907 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13908 Use symbolic offsets for stack variables.
13910 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13912 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13913 Use symbolic offsets for stack variables.
13915 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13917 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13918 Use symbolic offsets for stack variables.
13920 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13922 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13923 Use symbolic offsets for stack variables.
13925 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13927 * math/gen-libm-test.py: New file.
13928 * math/gen-libm-test.pl: Remove.
13929 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13930 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13932 ($(libm-test-c-noauto-obj)): Likewise.
13933 ($(libm-test-c-auto-obj)): Likewise.
13934 ($(libm-test-c-narrow-obj)): Likewise.
13935 (regen-ulps): Likewise.
13936 * math/README.libm-test: Update references to gen-libm-test.pl.
13937 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13938 referencing gen-libm-test.pl.
13939 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13940 * math/libm-test-support.c: Likewise.
13941 * math/libm-test-support.h: Likewise.
13942 * sysdeps/generic/libm-test-ulps: Likewise.
13944 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13946 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13949 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13951 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13952 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13954 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13956 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13958 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13959 __pthread_setspecific): Add hidden proto.
13960 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13961 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13963 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13965 * benchtests/bench-string.h (buf1_size, buf2_size): New
13967 (init_sizes): New function.
13968 (test_init): Use it.
13969 (alloc_buf, exit_error): New functions.
13970 (alloc_bufs): Use ALLOC_BUF.
13971 (realloc_bufs): Remove.
13972 * benchtests/bench-memcmp.c (do_test): Adjust.
13973 * benchtests/bench-memset-large.c (do_test): Likewise.
13974 * benchtests/bench-memset-walk.c (do_test): Likewise.
13975 * benchtests/bench-memset.c (do_test): Likewise.
13976 * benchtests/bench-strncmp.c (do_test): Likewise.
13978 2018-08-06 Andreas Schwab <schwab@suse.de>
13980 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13981 of CONST_THREAD_AREA.
13983 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13985 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13986 (STATE_SAVE_MASK): Likewise.
13987 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13988 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13989 (STATE_SAVE_MASK): Likewise.
13990 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13991 instead of <cpu-features.h>.
13993 2018-08-03 DJ Delorie <dj@redhat.com>
13995 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13996 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13998 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14000 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14002 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14003 after TEST_* calls.
14004 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14005 * math/libm-test-logb.inc (logb_test_data): Likewise.
14007 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14009 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14010 * string/strstr.c (AVAILABLE): Likewise.
14012 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14016 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14017 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14018 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14020 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14022 * po/be.po: Update translation.
14024 * po/be.po: Update translation.
14026 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14028 * sysdeps/x86/cpu-features-offsets.sym
14029 (rtld_global_ro_offsetof): Removed.
14030 (CPU_FEATURES_SIZE): Likewise.
14031 (CPUID_OFFSET): Likewise.
14032 (CPUID_SIZE): Likewise.
14033 (CPUID_EAX_OFFSET): Likewise.
14034 (CPUID_EBX_OFFSET): Likewise.
14035 (CPUID_ECX_OFFSET): Likewise.
14036 (CPUID_EDX_OFFSET): Likewise.
14037 (FAMILY_OFFSET): Likewise.
14038 (MODEL_OFFSET): Likewise.
14039 (FEATURE_OFFSET): Likewise.
14040 (FEATURE_SIZ): Likewise.
14041 (COMMON_CPUID_INDEX_1): Likewise.
14042 (COMMON_CPUID_INDEX_7): Likewise.
14043 (FEATURE_INDEX_1): Likewise.
14044 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14046 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14048 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14049 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14050 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14051 (install-locales): Depend on install-locale-archive.
14052 (install-locale-archive): Define.
14053 (install-locale-files): Define.
14054 (build-one-locale): Define macro.
14055 * manual/install.texi (Running make install): Document.
14056 * manual/INSTALL: Regenerate.
14058 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14060 * benchtests/scripts/compare_strings.py: Import traceback.
14061 (parse_file): Pretty-print error.
14063 * NEWS: Mention the change.
14064 * elf/dl-tunables.list: Rename tune namespace to cpu.
14065 * sysdeps/powerpc/dl-tunables.list: Likewise.
14066 * sysdeps/x86/dl-tunables.list: Likewise.
14067 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14069 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14070 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14071 * manual/README.tunables: Likewise.
14072 * manual/tunables.texi: Likewise.
14073 * sysdeps/powerpc/cpu-features.c: Likewise.
14074 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14075 (init_cpu_features): Likewise.
14076 * sysdeps/x86/cpu-features.c: Likewise.
14077 * sysdeps/x86/cpu-features.h: Likewise.
14078 * sysdeps/x86/cpu-tunables.c: Likewise.
14079 * sysdeps/x86_64/Makefile: Likewise.
14080 * sysdeps/x86/dl-cet.c: Likewise.
14082 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14085 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14086 [__mips_hard_float].
14087 (FE_UNDERFLOW): Likewise.
14088 (FE_OVERFLOW): Likewise.
14089 (FE_DIVBYZERO): Likewise.
14090 (FE_INVALID): Likewise.
14091 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14092 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14093 (FE_UPWARD): Likewise.
14094 (FE_DOWNWARD): Likewise.
14095 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14096 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14097 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14098 [__mips_hard_float].
14099 (FP_ROUNDMODE): Likewise.
14100 (FP_RND_NEAREST): Likewise.
14101 (FP_RND_ZERO): Likewise.
14102 (FP_RND_PINF): Likewise.
14103 (FP_RND_MINF): Likewise.
14104 (FP_EX_INVALID): Likewise.
14105 (FP_EX_OVERFLOW): Likewise.
14106 (FP_EX_UNDERFLOW): Likewise.
14107 (FP_EX_DIVZERO): Likewise.
14108 (FP_EX_INEXACT): Likewise.
14109 (FP_INIT_ROUNDMODE): Likewise.
14110 * sysdeps/mips/nofpu/fesetenv.c: New file.
14111 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14113 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14115 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14116 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14117 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14118 conditional on [FE_UPWARD].
14120 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14122 regex: fix memory leak in Gnulib
14123 Problem and fix reported by Assaf Gordon in:
14124 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14125 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14126 range_ends members too, as they are defined in 'struct
14127 re_charset_t' even if not _LIBC. This affects only Gnulib.
14129 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14131 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14133 (get_common_indices): This.
14134 (init_cpu_features): Updated.
14136 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14138 * sysdeps/generic/math-tests-snan-payload.h: New file.
14139 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14140 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14141 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14142 * sysdeps/generic/math-tests.h: Include
14143 <math-tests-snan-payload.h>.
14144 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14145 * sysdeps/hppa/math-tests.h: Remove file.
14146 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14147 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14148 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14151 * sysdeps/generic/math-tests-snan-cast.h: New file.
14152 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14153 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14154 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14155 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14157 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14159 * version.h (RELEASE): Set to "development".
14160 (VERSION): Set to "2.28.9000".
14161 * NEWS (2.29): New section.
14163 * version.h (RELEASE): Set to "stable".
14164 (VERSION): Set to "2.28".
14165 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14166 * NEWS: Add the list of bugs fixed in 2.28.
14168 * po/ca.po: Update to latest version.
14169 * po/cs.po: Likewise
14170 * po/da.po: Likewise
14171 * po/el.po: Likewise
14172 * po/eo.po: Likewise
14173 * po/es.po: Likewise
14174 * po/fi.po: Likewise
14175 * po/fr.po: Likewise
14176 * po/gl.po: Likewise
14177 * po/hu.po: Likewise
14178 * po/ia.po: Likewise
14179 * po/id.po: Likewise
14180 * po/it.po: Likewise
14181 * po/ja.po: Likewise
14182 * po/ko.po: Likewise
14183 * po/lt.po: Likewise
14184 * po/nb.po: Likewise
14185 * po/nl.po: Likewise
14186 * po/pt_BR.po: Likewise
14187 * po/ru.po: Likewise
14188 * po/rw.po: Likewise
14189 * po/sk.po: Likewise
14190 * po/sl.po: Likewise
14191 * po/tr.po: Likewise
14192 * po/zh_CN.po: Likewise
14193 * po/zh_TW.po: Likewise
14195 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14197 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14199 (init): ... before initializing libpthread.
14201 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14202 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14203 (__mach_setup_tls): ... new function.
14204 (mach_setup_tls): New alias.
14205 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14206 __mach_setup_thread.
14207 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14208 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14209 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14210 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14212 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14214 * manual/install.texi: Update versions.
14215 * INSTALL: Regenerate.
14217 * manual/contrib.texi (Contributors): Update contributions.
14219 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14221 * po/be.po: Update translations.
14223 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14225 * sysdeps/sh/libm-test-ulps: Update.
14227 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14229 * po/bg.po: Update translations.
14230 * po/de.po: Likewise.
14231 * po/hr.po: Likewise.
14232 * po/pt_BR.po: Likewise.
14233 * po/sv.po: Likewise.
14234 * po/vi.po: Likewise.
14236 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14239 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14240 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14241 (CFLAGS-tst-cet-property-1.o): New.
14242 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14243 ($(objpfx)tst-cet-property-2): Likewise.
14244 ($(objpfx)tst-cet-property-2.out): Likewise.
14245 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14246 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14247 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14248 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14249 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14251 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14254 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14256 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14258 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14259 __sbrk): Do not set attribute_hidden.
14260 * sysdeps/mach/hurd/not-errno.h: New file.
14261 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14262 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14264 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14266 * po/uk.po: Update translations.
14267 * po/cs.po: Likewise.
14268 * po/pl.po: Likewise.
14270 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14272 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14273 parse beyond the note end.
14275 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14277 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14278 kernel does not support OFD locks.
14279 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14281 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14283 * sysdeps/mach/hurd/Versions (libc): Make __access and
14284 __access_noerrno external so they can override the ld symbols.
14285 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14286 __writev, __open64, __access_noerrno extern so they can be overrided.
14287 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14288 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14290 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14292 * po/libc.pot: Regenerate.
14294 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14296 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14298 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14301 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14303 (init_cpu_features): Call get_extended_indices for both Intel
14305 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14306 Remove "for AMD" comment.
14308 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14311 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14312 COMMON_CPUID_INDEX_80000001.
14314 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14316 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14317 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14319 2018-07-26 Florian Weimer <fweimer@redhat.com>
14321 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14322 aliases for symbols not in the implementation namespace.
14324 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14327 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14328 lowercase in LATIN script.
14329 * localedata/Makefile (test-input): Add en_US.UTF-8.
14330 * localedata/en_US.UTF-8.in: New file.
14331 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14332 and restore old tests.
14333 * posix/tst-regexloc.c (do_test): Add back range expression test.
14335 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14337 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14339 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14341 * nptl/threads.h: Move to ...
14342 * sysdeps/nptl/threads.h: ... here.
14343 * sysdeps/hurd/stdc-predef.h: New file.
14345 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14347 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14348 tst-cet-setcontext-1 if CET is enabled.
14349 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14350 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14352 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14354 * include/threads.h: Move to ...
14355 * sysdeps/nptl/threads.h: ... here.
14356 * sysdeps/htl/threads.h: New file.
14357 * conform/Makefile (linknamespace-libs-ISO11): Use
14358 static-thread-library instead of linking libpthread.
14359 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14361 2018-07-25 Florian Weimer <fweimer@redhat.com>
14363 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14364 nanoseconds into seconds.
14365 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14366 (do_test): Likewise.
14367 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14368 (do_test): Likewise. Avoid nanosecond overflow and spurious
14369 timeouts due to system load.
14370 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14371 (child_wait): Increment it.
14372 (do_test): Wait as long as necessary until all expected threads
14375 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14376 H.J. Lu <hongjiu.lu@intel.com>
14378 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14380 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14381 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14382 (__push___start_context): New.
14383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14385 (__getcontext): Record the current shadow stack base. Save the
14386 caller's shadow stack pointer and base.
14387 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14388 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14389 (__push___start_context): New prototype.
14390 (__makecontext): Call __push___start_context to allocate a new
14391 shadow stack, push __start_context onto the new stack as well
14392 as the new shadow stack.
14393 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14395 (__setcontext): Restore the target shadow stack.
14396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14398 (__swapcontext): Record the current shadow stack base. Save
14399 the caller's shadow stack pointer and base. Restore the target
14401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14402 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14403 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14405 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14407 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14408 tst-setcontext8 and tst-setcontext9.
14409 * stdlib/tst-setcontext6.c: New file.
14410 * stdlib/tst-setcontext7.c: Likewise.
14411 * stdlib/tst-setcontext8.c: Likewise.
14412 * stdlib/tst-setcontext9.c: Likewise.
14414 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14416 * stdlib/Makefile ((tests): Add tst-setcontext5.
14417 * stdlib/tst-setcontext5.c: New file.
14419 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14421 * stdlib/Makefile (tests): Add tst-setcontext4.
14422 * stdlib/tst-setcontext4.c: New file.
14424 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14426 * stdlib/Makefile (tests): Add tst-swapcontext1.
14427 * stdlib/tst-swapcontext1.c: New test.
14429 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14431 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14432 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14433 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14434 and tst-cet-legacy-4c.
14435 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14436 and tst-cet-legacy-mod-4.
14437 (CFLAGS-tst-cet-legacy-2.c): New.
14438 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14439 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14440 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14441 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14442 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14443 ($(objpfx)tst-cet-legacy-1): Likewise.
14444 ($(objpfx)tst-cet-legacy-2): Likewise.
14445 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14446 ($(objpfx)tst-cet-legacy-2a): Likewise.
14447 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14448 ($(objpfx)tst-cet-legacy-4): Likewise.
14449 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14450 ($(objpfx)tst-cet-legacy-4a): Likewise.
14451 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14452 (tst-cet-legacy-4a-ENV): Likewise.
14453 ($(objpfx)tst-cet-legacy-4b): Likewise.
14454 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14455 (tst-cet-legacy-4b-ENV): Likewise.
14456 ($(objpfx)tst-cet-legacy-4c): Likewise.
14457 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14458 (tst-cet-legacy-4c-ENV): Likewise.
14459 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14460 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14461 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14462 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14463 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14464 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14465 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14466 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14467 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14468 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14469 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14471 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14473 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14474 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14476 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14477 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14480 2018-07-25 Andreas Schwab <schwab@suse.de>
14483 * locale/weightwc.h (findidx): Handle the case where usrc is a
14484 prefix of cp but one character too short.
14486 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14488 * NEWS: Add ISO C threads addition.
14490 2018-07-24 Florian Weimer <fweimer@redhat.com>
14492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14493 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14494 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14497 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14499 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14500 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14501 <sys/prctl.h> and <asm/prctl.h>.
14502 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14503 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14505 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14506 ARCH_CET_LEGACY_BITMAP.
14507 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14508 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14509 * sysdeps/x86/libc-start.c: Include <startup.h>.
14511 2018-07-24 Florian Weimer <fweimer@redhat.com>
14513 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14514 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14516 2018-07-24 Rical Jasan <rj@2c3t.io>
14517 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14518 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14521 * manual/debug.texi: Update adjacent chapter name.
14522 * manual/probes.texi: Likewise.
14523 * manual/threads.texi (ISO C Threads): New section.
14524 (POSIX Threads): Convert to a section.
14526 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14527 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14530 * nptl/Makefile (tests): Add new test files.
14531 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14532 * nptl/tst-cnd-basic.c: Likewise.
14533 * nptl/tst-cnd-broadcast.c: Likewise.
14534 * nptl/tst-cnd-timedwait.c: Likewise.
14535 * nptl/tst-mtx-basic.c: Likewise.
14536 * nptl/tst-mtx-recursive.c: Likewise.
14537 * nptl/tst-mtx-timedlock.c: Likewise.
14538 * nptl/tst-mtx-trylock.c: Likewise.
14539 * nptl/tst-thrd-basic.c: Likewise.
14540 * nptl/tst-thrd-detach.c: Likewise.
14541 * nptl/tst-thrd-sleep.c: Likewise.
14542 * nptl/tst-tss-basic.c: Likewise.
14544 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14547 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14548 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14550 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14578 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14579 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14580 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14581 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14583 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14601 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14611 * conform/data/threads.h-data (thread_local): New macro.
14612 (TSS_DTOR_ITERATIONS): Likewise.
14614 (tss_dtor_t): Likewise.
14615 (tss_create): New function.
14616 (tss_get): Likewise.
14617 (tss_set): Likewise.
14618 (tss_delete): Likewise.
14619 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14620 tss_get, and tss_set objects.
14621 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14622 * nptl/tss_create.c: New file.
14623 * nptl/tss_delete.c: Likewise.
14624 * nptl/tss_get.c: Likewise.
14625 * nptl/tss_set.c: Likewise.
14626 * sysdeps/nptl/threads.h (thread_local): New define.
14627 (TSS_DTOR_ITERATIONS): Likewise.
14628 (tss_t): New typedef.
14629 (tss_dtor_t): Likewise.
14630 (tss_create): New prototype.
14631 (tss_get): Likewise.
14632 (tss_set): Likewise.
14633 (tss_delete): Likewise.
14636 * conform/data/threads.h-data (cnd_t): New type.
14637 (cnd_init): New function.
14638 (cnd_signal): Likewise.
14639 (cnd_broadcast): Likewise.
14640 (cnd_wait): Likewise.
14641 (cnd_timedwait): Likewise.
14642 (cnd_destroy): Likewise.
14643 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14644 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14646 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14647 * nptl/cnd_broadcast.c: New file.
14648 * nptl/cnd_destroy.c: Likewise.
14649 * nptl/cnd_init.c: Likewise.
14650 * nptl/cnd_signal.c: Likewise.
14651 * nptl/cnd_timedwait.c: Likewise.
14652 * nptl/cnd_wait.c: Likewise.
14653 * sysdeps/nptl/threads.h (cnd_t): New type.
14654 (cnd_init): New prototype.
14655 (cnd_signa): Likewise.
14656 (cnd_broadcast): Likewise.
14657 (cnd_wait): Likewise.
14658 (cnd_timedwait): Likewise.
14659 (cnd_destroy): Likewise.
14662 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14663 (once_flag): New type.
14664 (call_once): New function.
14665 * nptl/Makefile (libpthread-routines): Add call_once object.
14666 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14667 * nptl/call_once.c: New file.
14668 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14669 (once_flag): New type.
14670 (call_once): New prototype.
14673 * conform/data/threads.h-data (mtx_plain): New constant.
14674 (mtx_recursive): Likewise.
14675 (mtx_timed): Likewise.
14677 (mtx_init): New function.
14678 (mtx_lock): Likewise.
14679 (mtx_timedlock): Likewise.
14680 (mtx_trylock): Likewise.
14681 (mtx_unlock): Likewise.
14682 (mtx_destroy): Likewise.
14683 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14684 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14685 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14686 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14687 * nptl/mtx_destroy.c: New file.
14688 * nptl/mtx_init.c: Likewise.
14689 * nptl/mtx_lock.c: Likewise.
14690 * nptl/mtx_timedlock.c: Likewise.
14691 * nptl/mtx_trylock.c: Likewise.
14692 * nptl/mtx_unlock.c: Likewise.
14693 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14694 (mtx_recursive): Likewise.
14695 (mtx_timed): Likewise.
14697 (mtx_init): New prototype.
14698 (mtx_lock): Likewise.
14699 (mtx_timedlock): Likewise.
14700 (mtx_trylock): Likewise.
14701 (mtx_unlock): Likewise.
14702 (mtx_destroy): Likewise.
14705 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14706 (linknamespace-libs-ISO11): Add libpthread.a.
14707 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14709 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14710 * nptl/Makefile (headers): Add threads.h.
14711 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14712 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14714 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14715 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14716 thrd_join, thrd_sleep, and thrd_yield symbols.
14717 * nptl/descr.h (struct pthread): Add c11 field.
14718 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14719 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14720 routine with expected function prototype.
14721 (__pthread_create_2_1): Add C11 threads check based on attribute
14723 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14724 * nptl/thrd_create.c: New file.
14725 * nptl/thrd_current.c: Likewise.
14726 * nptl/thrd_detach.c: Likewise.
14727 * nptl/thrd_equal.c: Likewise.
14728 * nptl/thrd_exit.c: Likewise.
14729 * nptl/thrd_join.c: Likewise.
14730 * nptl/thrd_priv.h: Likewise.
14731 * nptl/thrd_sleep.c: Likewise.
14732 * nptl/thrd_yield.c: Likewise.
14733 * include/threads.h: Likewise.
14735 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14737 * bits/indirect-return.h: New file.
14738 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14739 * sysdeps/x86/bits/indirect-return.h: Likewise.
14740 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14741 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14742 (swapcontext): Add __INDIRECT_RETURN.
14743 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14744 (prepare_test_buffer): Use it.
14746 2018-07-24 Andreas Schwab <schwab@suse.de>
14749 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14750 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14752 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14754 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14755 Redefine if shadow stack is enabled.
14756 (SYSCALL_ERROR_LABEL): Likewise.
14757 (__vfork): Pop shadow stack and jump back to to caller directly
14758 when shadow stack is in use.
14759 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14760 Redefine if shadow stack is enabled.
14761 (SYSCALL_ERROR_LABEL): Likewise.
14762 (__vfork): Pop shadow stack and jump back to to caller directly
14763 when shadow stack is in use.
14765 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14767 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14770 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14773 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14775 * scripts/build-many-glibcs.py (Context.checkout): Default
14776 binutils version to 2.31 branch.
14778 2018-07-20 Zong Li <zong@andestech.com>
14780 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14781 URL of gcc's tarball.
14783 2018-07-20 Florian Weimer <fweimer@redhat.com>
14786 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14787 not compare an extra byte after the end of the weights.
14789 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14791 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14793 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14795 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14796 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14797 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14798 list of libraries whose stack executability is expected.
14799 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14800 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14802 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14803 libc.so libpthread.so.
14805 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14807 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14809 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14811 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14813 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14815 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14817 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14818 library to improve command line parsing.
14819 (__main__): make schema file as optional parameter (--schema),
14820 defaulting to benchtests/scripts/benchout.schema.json.
14821 (main): move out of the parsing stuff to __main_ and leave it
14822 only as caller of main comparison functions.
14824 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14826 * NEWS: Add a note for Intel CET status.
14827 * manual/install.texi: Likewise.
14828 * INSTALL: Regenerated.
14830 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14833 * localedata/locales/oc_FR (mon): Rename to...
14834 (alt_mon): This, then update October (typo fix).
14835 (mon): New content (genitive case, month names preceded by
14839 * localedata/locales/oc_FR (abday): Update all items.
14840 (day): Update Wednesday and Saturday (typo fixes).
14841 (abmon): Update all items, except May.
14842 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14843 (LC_IDENTIFICATION): Bump the revision number and date.
14844 Keep the "category" entries in alphabetic order.
14845 (LC_ADDRESS): Remove no longer needed comment.
14846 (LC_COLLATE): Use “copy "ca_ES"”.
14847 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14850 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14852 * grp/tst_fgetgrent.c: Include <unistd.h>.
14853 (main): Use mkstemp instead of tmpnam.
14854 * io/test-utime.c (main): Likewise.
14855 * posix/annexc.c (macrofile): Change to modifiable array.
14856 (main): Remove macrofile here.
14857 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14859 (check_header): Do not remove macrofile here.
14860 * posix/bug-getopt1.c: Include <stdlib.h>.
14861 (do_test): Use mkstemp instead of tmpnam.
14862 * posix/bug-getopt2.c: Include <stdlib.h>.
14863 (do_test): Use mkstemp instead of tmpnam.
14864 * posix/bug-getopt3.c: Include <stdlib.h>.
14865 (do_test): Use mkstemp instead of tmpnam.
14866 * posix/bug-getopt4.c: Include <stdlib.h>.
14867 (do_test): Use mkstemp instead of tmpnam.
14868 * posix/bug-getopt5.c: Include <stdlib.h>.
14869 (do_test): Use mkstemp instead of tmpnam.
14870 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14871 (main): Use mkstemp instead of tmpnam.
14872 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14873 (main): Use mkstemp instead of tmpnam.
14874 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14875 (main): use mkstemp instead of tmpnam.
14876 * stdlib/isomac.c (macrofile): Change to modifiable array.
14877 (main): Remove macrofile here.
14878 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14880 (check_header): Do not remove macrofile here.
14882 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14884 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14885 glibc.tune.x86_shstk.
14887 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14889 * NEWS: Mention --enable-cet.
14890 * manual/install.texi: Document --enable-cet.
14891 * INSTALL: Regenerated.
14893 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14895 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14896 Add _CET_NOTRACK before indirect jump to jump table.
14898 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14900 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14901 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14904 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14906 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14907 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14910 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14912 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14913 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14916 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14919 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14922 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14924 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14925 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14927 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14929 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14932 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14935 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14937 * sysdeps/i386/i686/multiarch/memset-sse2.S
14938 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14941 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14943 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14944 indirect jump to jump table.
14946 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14949 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14951 (MEMCPY): Likewise.
14953 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14956 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14958 (MEMCPY): Likewise.
14960 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14962 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14963 _CET_NOTRACK before indirect jump to jump table.
14965 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14968 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14971 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14973 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14974 indirect jump to jump table.
14976 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14979 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14980 (LOCALES): Likewise.
14981 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14982 * localedata/locales/sah_RU: New file.
14983 * localedata/sah_RU.UTF-8.in: New file.
14985 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14989 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14990 _CET_ENDBR to indirect jump targets and adjust jump destination
14992 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14994 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14995 _CET_ENDBR to indirect jump targets and adjust jump destination
14997 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14999 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15000 _CET_ENDBR to indirect jump targets and adjust jump destination
15003 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15005 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15008 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15010 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15012 (_dl_tlsdesc_undefweak): Likewise.
15013 (_dl_tlsdesc_dynamic): Likewise.
15014 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15015 (_dl_tlsdesc_resolve_rel): Likewise.
15016 (_dl_tlsdesc_resolve_rela): Likewise.
15017 (_dl_tlsdesc_resolve_hold): Likewise.
15018 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15019 (_dl_tlsdesc_undefweak): Likewise.
15020 (_dl_tlsdesc_dynamic): Likewise.
15021 (_dl_tlsdesc_resolve_rela): Likewise.
15022 (_dl_tlsdesc_resolve_hold): Likewise.
15024 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15026 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15028 * sysdeps/x86_64/crti.S (_init): Likewise.
15031 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15034 * localedata/locales/os_RU (mon): Rename to...
15036 (mon): Import from CLDR (genitive case).
15038 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15040 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15041 cet-tunables.h> when CET is enabled.
15043 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15046 * configure.ac: Add --enable-cet.
15047 * configure: Regenerated.
15048 * elf/Makefille (all-built-dso): Add a comment.
15049 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15050 Include <dl-prop.h>.
15051 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15053 * elf/dl-open.c: Include <dl-prop.h>.
15054 (dl_open_worker): Call _dl_open_check.
15055 * elf/rtld.c: Include <dl-prop.h>.
15056 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15058 * sysdeps/generic/dl-prop.h: New file.
15059 * sysdeps/i386/dl-cet.c: Likewise.
15060 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15061 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15062 * sysdeps/x86/cet-tunables.h: Likewise.
15063 * sysdeps/x86/check-cet.awk: Likewise.
15064 * sysdeps/x86/configure: Likewise.
15065 * sysdeps/x86/configure.ac: Likewise.
15066 * sysdeps/x86/dl-cet.c: Likewise.
15067 * sysdeps/x86/dl-procruntime.c: Likewise.
15068 * sysdeps/x86/dl-prop.h: Likewise.
15069 * sysdeps/x86/libc-start.h: Likewise.
15070 * sysdeps/x86/link_map.h: Likewise.
15071 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15073 (_dl_runtime_profile): Likewise.
15074 (_dl_runtime_resolve_shstk): New.
15075 (_dl_runtime_profile_shstk): Likewise.
15076 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15078 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15079 (CFLAGS-.os): Likewise.
15080 (CFLAGS-.op): Likewise.
15081 (CFLAGS-.oS): Likewise.
15082 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15084 (tests-special): Add $(objpfx)check-cet.out.
15085 (cet-built-dso): New.
15086 (+$(cet-built-dso:=.note)): Likewise.
15087 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15088 ($(objpfx)check-cet.out): New.
15089 (generated): Add check-cet.out.
15090 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15092 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15093 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15094 (init_cpu_features): Call get_cet_status to check CET status
15095 and update dl_x86_feature_1 with CET status. Call
15096 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15097 (set_x86_shstk). Disable and lock CET in libc.a.
15098 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15099 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15100 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15101 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15102 (_CET_ENDBR): Define if not defined.
15103 (ENTRY): Add _CET_ENDBR.
15104 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15106 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15108 (_dl_runtime_profile): Likewise.
15110 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15113 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15114 restore r2 on longjmp.
15115 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15117 Added rules to build test tst-setjmp-bug21895-static.
15118 Added module setjmp-bug21895 and rules to build a shared object from it.
15119 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15120 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15122 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15124 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15125 * benchtests/bench-strstr.c: Likewise.
15126 * string/memmem.c (FASTSEARCH): Define.
15127 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15128 Add support for FASTSEARCH.
15129 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15130 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15131 (FASTSEARCH): Define.
15132 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15133 * string/test-strstr.c: Likewise.
15135 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15138 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15140 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15141 H.J. Lu <hongjiu.lu@intel.com>
15143 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15144 (__longjmp): Restore shadow stack pointer if shadow stack is
15145 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15146 isn't defined for __longjmp_cancel.
15147 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15148 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15149 and SHADOW_STACK_POINTER_OFFSET is defined.
15150 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15151 (setjmp): Save shadow stack pointer if shadow stack is enabled
15152 and SHADOW_STACK_POINTER_OFFSET is defined.
15153 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15154 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15155 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15156 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15158 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15159 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15160 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15161 Remove jmp_buf-ssp.sym.
15162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15164 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15165 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15166 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15168 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15169 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15170 (__longjmp): Restore shadow stack pointer if shadow stack is
15171 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15172 isn't defined for __longjmp_cancel.
15173 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15174 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15175 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15177 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15180 * nptl/pthread_create.c: Include <tls-setup.h>.
15181 (__pthread_create_2_1): Call tls_setup_tcbhead.
15182 * sysdeps/generic/tls-setup.h: New file.
15183 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15184 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15185 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15187 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15189 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15190 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15191 (X86_FEATURE_1_SHSTK): Likewise.
15192 (CET_ENABLED): Likewise.
15193 (IBT_ENABLED): Likewise.
15194 (SHSTK_ENABLED): Likewise.
15196 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15199 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15200 (LOCALES): Likewise.
15201 * localedata/dsb_DE.UTF-8.in: New file.
15202 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15204 2018-07-12 Florian Weimer <fweimer@redhat.com>
15206 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15207 __mprotect, not mprotect.
15209 2018-07-11 Florian Weimer <fweimer@redhat.com>
15211 * io/Makefile (headers): Add bits/statx.h.
15213 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15215 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15216 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15218 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15219 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15222 2018-07-10 Florian Weimer <fweimer@redhat.com>
15224 * io/Makefile (routines): Add statx.
15225 (tests-internal): Add tst-statx.
15226 * io/Versions (GLIBC_2.28): Export statx.
15227 * io/bits/statx.h: New file.
15228 * io/sys/stat.h [__USE_GNU]: Include it.
15229 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15230 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15232 * io/statx.c: New file.
15233 * io/statx_generic.: Likewise.
15234 * io/tst-statx.: Likewise.
15235 * include/bits/statx.h: Likewise.
15236 * sysdeps/unix/sysv/linux/kernel-features.h
15237 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15238 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15239 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15240 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15242 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15243 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15244 * sysdeps/unix/sysv/linux/statx.c: New file.
15245 * manual/filesys.texi: Note that statx is undocumented.
15246 * sysdeps/**/libc*.abilist: Update.
15248 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15250 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15251 a kernel issue which lead to test failure in some cases.
15253 2018-07-10 Florian Weimer <fweimer@redhat.com>
15256 * posix/regexec.c (check_node_accept_bytes): When comparing
15257 weights, do not compare an extra byte after the end of the
15260 2018-07-10 Florian Weimer <fweimer@redhat.com>
15262 * libio/readline.c: Fix copyright year.
15263 * libio/tst-readline.c Likewise.
15264 * nss/tst-nss-files-hosts-getent.c: Likewise.
15266 2018-07-06 Florian Weimer <fweimer@redhat.com>
15269 * nss/nss_files/files-XXX.c (internal_getent): Use
15270 __libc_readline_unlocked. Seek back to the start of the line if
15271 parsing failes with ERANGE.
15272 (get_contents_ret, get_contents): Remove.
15273 * nss/tst-nss-files-hosts-getent.c: New file.
15274 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15275 (tst-nss-files-hosts-getent): Link with -ldl.
15277 2018-07-06 Florian Weimer <fweimer@redhat.com>
15279 * include/stdio.h (__libc_readline_unlocked): Declare.
15280 (__ftello64, __fseeko64): Declare aliases.
15281 * libio/readline.c: New file.
15282 * libio/tst-readline.c: Likewise.
15283 (routines): Add readline.
15284 (tests-internal): Add tst-readlime.
15285 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15286 __libc_readline_unlocked.
15287 * libio/fseeko.c (__fseeko): Rename from fseeko.
15288 (fseeko): Add alias.
15289 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15290 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15291 (fseeko64): Add alias.
15292 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15293 * libio/ftello64.c (__ftello64): Rename from ftello64.
15294 (ftello64): Add alias.
15296 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15298 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15301 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15303 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15304 Use dl_hwcap without masking.
15305 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15306 Remove HWCAP_CPUID.
15308 2018-07-06 Florian Weimer <fweimer@redhat.com>
15310 * conform/conformtest.pl (checknamespace): Escape literal braces
15311 in regular expressions.
15313 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15315 * sysdeps/x86/cpu-features.c (get_common_indeces):
15316 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15317 * sysdeps/x86/cpu-features.c (init_cpu_features):
15318 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15320 2018-07-05 Florian Weimer <fweimer@redhat.com>
15322 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15324 (CFLAGS-elf-init.oS): Likewise.
15326 2018-07-05 Florian Weimer <fweimer@redhat.com>
15327 Carlos O'Donell <carlos@redhat.com>
15329 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15330 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15331 with stack protector enabled because there is no risk of infinite
15334 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15338 * libc-abis (ABSOLUTE): New ABI.
15339 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15340 * NEWS: Mention the new ABI.
15342 2018-07-05 Florian Weimer <fweimer@redhat.com>
15345 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15346 (RENAME_WHITEOUT): Define.
15347 [__USE_GNU] (renameat2): Declare.
15348 * stdio-common/Makefile (routines): Add renameat2.
15349 (tests): Add tst-renameat2.
15350 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15351 * stdio-common/renameat2.c: New file.
15352 * stdio-common/tst-renameat2.c: Likewise.
15353 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15354 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15356 * sysdeps/unix/sysv/linux/kernel-features.h
15357 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15359 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15361 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15362 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15363 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15364 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15365 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15366 * include/stdio.h (__renameat): Add alias for renameat.
15367 * stdio-common/renameat.c (__renameat): Rename from renameat.
15368 Add hidden definition and alias.
15369 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15370 * sysdeps/mach/hurd/renameat.c: Likewise.
15371 * sysdeps/**/libc*.abilist: Add renameat2.
15373 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15375 * posix/bug-regex33.c: Fix build after regex sync.
15377 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15380 * localedata/tst-langinfo-setlocale.c: New file.
15381 * localedata/tst-langinfo-setlocale-static.c: New file.
15382 * localedata/tst-langinfo-newlocale.c: New file.
15383 * localedata/tst-langinfo-newlocale-static.c: New file.
15384 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15385 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15386 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15387 (tests-static): Remove tst-langinfo-static. Add
15388 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15389 (tests-special): Remove $(objpfx)tst-langinfo.out,
15390 $(objpfx)tst-langinfo-static.out. Add
15391 $(objpfx)tst-langinfo-setlocale.out,
15392 $(objpfx)tst-langinfo-newlocale.out,
15393 $(objpfx)tst-langinfo-setlocale-static.out,
15394 $(objpfx)tst-langinfo-newlocale-static.out.
15395 ($(objpfx)tst-langinfo.out): Remove.
15396 ($(objpfx)tst-langinfo-static.out): Remove.
15397 ($(objpfx)tst-langinfo-newlocale.out): New target.
15398 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15399 (test-xfail-tst-langinfo-newlocale-static): Add.
15400 ($(objpfx)tst-langinfo-setlocale.out): New target.
15401 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15402 * localedata/tst-langinfo.c: Call test_locale.
15403 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15406 2018-07-04 Florian Weimer <fweimer@redhat.com>
15408 testrun.sh: Implement --tool=strace, --tool=valgrind
15409 * Makefile (testrun-script): Define variable.
15410 (testrun.sh): Use variable.
15411 * manual/install.texi (Tools for Compilation): make 4.0 or later
15413 * configure.ac: Check for make 4.0 or later.
15414 * INSTALL: Regenerate.
15415 * configure: Likewise.
15417 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15423 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15424 * posix/PCRE.tests: Remove invalid test.
15425 * posix/bug-regex28.c: Fix expected values for used syntax.
15426 * posix/bug-regex37.c: New file.
15427 * posix/bug-regex38.c: Likewise.
15428 * posix/regcomp.c: Sync with gnulib.
15429 * posix/regex.c: Likewise.
15430 * posix/regex.h: Likewise.
15431 * posix/regex_internal.c: Likewise.
15432 * posix/regex_internal.h: Likewise.
15433 * posix/regexec.c: Likewise.
15435 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15438 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15439 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15440 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15441 * localedata/unicode-gen/PropList.txt: likewise.
15442 * localedata/unicode-gen/UnicodeData.txt: likewise.
15443 * localedata/charmaps/UTF-8: Regenerate.
15444 * localedata/locales/i18n_ctype: likewise.
15445 * localedata/locales/tr_TR: likewise.
15446 * localedata/locales/translit_circle: likewise.
15447 * localedata/locales/translit_cjk_compat: likewise.
15448 * localedata/locales/translit_combining: likewise.
15449 * localedata/locales/translit_compat: likewise.
15450 * localedata/locales/translit_font: likewise.
15451 * localedata/locales/translit_fraction: likewise.
15453 2018-07-03 Florian Weimer <fweimer@redhat.com>
15456 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15457 * stdio-common/tst-printf.sh: Adjust expected output.
15458 * LICENSES: Update.
15460 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15462 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15465 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15467 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15468 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15469 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15470 * stdio-common/tst-printfsz-islongdouble.c: New file.
15471 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15473 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15474 [subdir == stdio-common] (tests-internal): Add
15475 test-printf-size-ieee128, and test-printf-size-ibm128.
15476 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15477 (CFLAGS-test-printf-size-ibm128.c): New variables.
15478 [subdir == stdio-common] (tests-special): Add
15479 $(objpfx)test-printf-size-ieee128.out and
15480 $(objpfx)test-printf-size-ibm128.out.
15481 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15482 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15483 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15484 __printf_sizeieee128.
15485 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15487 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15489 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15492 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15494 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15495 (exp2f_inline): Likewise.
15496 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15497 (__math_uflowf): Likewise.
15498 (__math_may_uflowf): Likewise.
15499 (__math_divzerof): Likewise.
15500 (__math_invalidf): Likewise.
15501 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15502 (__math_oflowf): Likewise.
15503 (__math_uflowf): Likewise.
15504 (__math_may_uflowf): Likewise.
15505 (__math_divzerof): Likewise.
15506 (__math_invalidf): Likewise.
15508 2018-06-29 DJ Delorie <dj@redhat.com>
15509 Carlos O'Donell <carlos@redhat.com>
15512 * include/libc-symbols.h: Comment the freeres framework.
15513 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15514 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15515 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15516 * dlfcn/dlerror.c: Include libc-symbols.h
15517 (__dlerror_main_freeres): New function.
15518 * dlfcn/dlfreeres.c: New file.
15519 * dlfcn/sdlfreeres.c: New file.
15520 * include/dlfcn.h: Declare __dlerror_main_freeres.
15521 * malloc/set-freeres.c: Declare __libdl_freeres, and
15522 __libpthread_freeres.
15523 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15524 the releavant libraries are loaded.
15525 * malloc/thread-freeres.c: Add comments.
15526 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15527 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15528 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15529 (__free_stacks): Rename to...
15530 (free_stacks): ...this. Mark static.
15531 (queue_stack): Call free_stacks.
15532 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15533 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15534 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15535 ptr_freeres element from struct.
15536 (pthread_functions): Remove .ptr_freeres from struct initializer.
15537 [SHARED] (nptl_freeres): Remove.
15538 * nptl/nptlfreeres.c: New file.
15540 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15541 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15543 (__free_stacks): Rename to...
15544 (__nptl_stacks_freeres): ...this.
15545 (__shm_directory_freeres): Declare.
15546 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15547 (__nptl_unwind_freeres): ...this.
15548 * resolv/res-close.c: Add comment.
15549 * resolv/resolv_conf.c: Include libc-symbols.h.
15550 * string/strerror_l.c: Include libc-symbols.h.
15551 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15552 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15553 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15554 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15556 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15558 * stdlib/tst-strfmon_l.c: Add tests for long double.
15560 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15563 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15564 * localedata/locales/dsb_DE: New file.
15566 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15569 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15571 (alt_mon): New entry, import from CLDR (nominative case).
15573 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15576 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15578 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15580 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15581 Use vector registers.
15583 * sysdeps/aarch64/multiarch/memmove_falkor.S
15584 (__memcpy_falkor): Use vector registers.
15586 2018-06-29 Martin Sebor <msebor@redhat.com>
15588 * manual/stdio.texi (Customizing Printf): Mention interaction
15589 with GCC built-ins.
15591 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15594 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15595 `st_value' is 0 if `st_shndx' is SHN_ABS.
15596 * elf/tst-absolute-zero.c: New file.
15597 * elf/tst-absolute-zero-lib.c: New file.
15598 * elf/tst-absolute-zero-lib.lds: New file.
15599 * elf/Makefile (tests): Add `tst-absolute-zero'.
15600 (modules-names): Add `tst-absolute-zero-lib'.
15601 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15602 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15603 ($(objpfx)tst-absolute-zero: New dependency.
15605 2018-06-29 Zack Weinberg <zackw@panix.com>
15607 * configure.ac: New command-line option --disable-crypt.
15608 Force --disable-nss-crypt when --disable-crypt is given, with a
15609 warning if it was explicitly enabled.
15610 * configure: Regenerate.
15611 * config.make.in: New boolean substitution variable $(build-crypt).
15612 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15613 when $(build-crypt).
15614 * manual/install.texi: Document --disable-crypt.
15615 * INSTALL: Regenerate.
15617 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15618 which is never set.
15619 * conform/Makefile: Only include libcrypt.a in
15620 linknamespace-libs-xsi and linknamespace-libs-XPG4
15621 when $(build-crypt).
15622 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15623 USE_CRYPT to 1 when $(build-crypt).
15624 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15625 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15626 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15628 2018-06-29 Zack Weinberg <zackw@panix.com>
15630 * crypt/crypt.h, posix/unistd.h: Update comments and
15631 prototypes for crypt and crypt_r.
15633 * manual/crypt.texi (Cryptographic Functions): New initial
15635 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15636 (Unpredictable Bytes): Improve initial exposition. Clarify error
15637 behavior of getentropy and getrandom.
15638 * manual/examples/genpass.c: Generate a salt using getentropy
15639 instead of the current time. Use hash $5$ (SHA-2-256).
15640 * manual/examples/testpass.c: Demonstrate validation against
15641 hashes generated with three different one-way functions.
15643 * manual/intro.texi: crypt.texi does not need an overview
15646 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15647 * manual/terminal.texi: Consistently refer to "passphrases"
15648 * instead of "passwords", and to the "user database" instead
15649 * of the "password database".
15650 * manual/users.texi: Similarly. Add notes about how actual
15651 passphrase hashes are now stored in the shadow database.
15652 Remove 20-year-old junk todo note.
15654 2018-06-29 Zack Weinberg <zackw@panix.com>
15656 * manual/crypt.texi: Use a normal top-level @node declaration.
15657 Move most of the introductory text to the 'crypt' section.
15658 Move the example programs below the @deftypefun for 'crypt_r'.
15659 Move the 'getpass' section...
15660 * manual/terminal.texi: ...here.
15662 2018-06-29 Zack Weinberg <zackw@panix.com>
15663 Florian Weimer <fweimer@redhat.com>
15665 * posix/unistd.h: Do not declare encrypt.
15666 (_XOPEN_CRYPT): Remove macro definition.
15667 (crypt): Declare only for _USE_MISC.
15668 * stdlib/stdlib.h: Do not declare setkey.
15669 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15670 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15672 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15673 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15674 into compat symbols. Don't define initial_perm if it's not
15676 * crypt/cert.c: Link explicitly with the expected versions for
15677 setkey and encrypt. If they are not available at all, mark
15678 the test as unsupported.
15680 * sunrpc/des_crypt.c: Unconditionally block linkage with
15681 cbc_crypt and ecb_crypt for new binaries.
15682 * sunrpc/des_soft.c: Unconditionally block linkage with
15683 des_setparity for new binaries.
15685 * manual/crypt.texi: Remove the entire "DES Encryption"
15686 section. Also remove the paragraph talking about FIPS 140-2
15687 from the introduction.
15688 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15689 of libgcrypt for "real" encryption, not DES.
15690 * manual/conf.texi (Constants for Sysconf): Mention that
15691 _XOPEN_CRYPT is no longer impelemented.
15693 * conform/data/unistd.h-data: Remove crypt function declaration.
15695 2018-06-29 Florian Weimer <fweimer@redhat.com>
15698 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15699 (disallow_malloc_check): Remove variable.
15700 (__malloc_check_init): Adjust.
15701 (malloc_set_state): Update comment.
15702 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15705 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15708 * localedata/locales/ast_ES (mon): Rename to...
15710 (mon): Import from CLDR (genitive case).
15712 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15713 Jakub Sitnicki <jkbs@redhat.com>
15716 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15717 on NLM_F_DUMP_INTR.
15719 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15721 * manual/llio.texi: Remove spurious space.
15723 2018-06-28 Florian Weimer <fweimer@redhat.com>
15726 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15729 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15731 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15732 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15733 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15734 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15735 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15736 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15737 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15739 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15742 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15743 Copy and null-terminate entries that are not terminated, in
15744 addition to empty ones.
15746 2018-06-27 Florian Weimer <fweimer@redhat.com>
15749 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15750 (extend_alloca_account): Remove.
15751 * manual/stdio.texi (Variable Arguments Output): Update comment.
15753 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15755 * nptl/sockperf.c: Remove file.
15757 2018-06-27 Florian Weimer <fweimer@redhat.com>
15760 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15761 scratch_buffer instead of extend_alloca.
15763 2018-06-27 Florian Weimer <fweimer@redhat.com>
15766 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15767 scratch_buffer instead of extend_alloca. Update comments.
15769 2018-06-27 Florian Weimer <fweimer@redhat.com>
15772 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15773 instead of extend_alloca.
15775 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15778 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15779 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15781 * scripts/test-installation.pl: Put temporary files in build
15782 directory, not /tmp.
15783 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15784 (CFLAGS-bug4.c): Likewise.
15785 (CFLAGS-bug5.c): Likewise.
15786 (CFLAGS-test-fseek.c): Likewise.
15787 (CFLAGS-test-popen.c): Likewise.
15788 (CFLAGS-test_rdwr.c): Likewise.
15789 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15791 * stdio-common/bug4.c (main): Likewise.
15792 * stdio-common/bug5.c (main): Likewise.
15793 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15794 * stdio-common/test-popen.c (do_test): Likewise.
15795 * stdio-common/test_rdwr.c (main): Likewise.
15797 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15799 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15800 (sem_open): Set sem.newsem.pad to zero for valgrind.
15802 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15805 * NEWS: Mention fcntl64 addition.
15806 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15807 * login/utmp_file.c: Likewise.
15808 * sysdeps/posix/fdopendir.c: Likewise.
15809 * sysdeps/posix/opendir.c: Likewise.
15810 * sysdeps/unix/pt-fcntl.c: Likewise.
15811 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15812 __fcntl64_nocancel_adjusted): New prototype.
15813 (__fcntl_nocancel_adjusted): Remove prototype.
15814 * io/Makefile (routines): Add fcntl64.
15815 (CFLAGS-fcntl64.c): New rule.
15816 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15817 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15818 * io/fcntl.h (fcntl64): Add prototype and redirect if
15819 __USE_FILE_OFFSET64 is defined.
15820 * io/fcntl64.c: New file.
15821 * manual/llio.text: Add a note for which commands fcntl acts a
15822 cancellation point.
15823 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15824 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15825 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15827 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15828 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15830 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15831 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15832 to __fcntl64_nocancel.
15833 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15834 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15835 to __fcntl64_nocancel.
15836 * sysdeps/generic/not-cancel.h: Likewise.
15837 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15838 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15839 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15840 (fcntl64): New symbol.
15841 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15852 fcntl64): Likewise.
15853 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15855 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15866 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15870 2018-06-26 Florian Weimer <fweimer@redhat.com>
15872 Run thread shutdown functions in an explicit order.
15873 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15875 (__libc_thread_freeres): Call thread shutdown functions
15877 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15878 * include/string.h (__strerror_thread_freeres): Declare.
15879 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15880 arena_thread_freeres. No longer static. Remove thread shutdown
15882 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15884 * resolv/res-close.c (__res_thread_freeres): Renamed from
15885 res_thread_freeres. No longer static. Remove thread shutdown
15887 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15888 * resolv/resolv_conf.c (freeres): Remove incorrect section
15889 attribute and use libc_freeres_fn.
15890 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15891 strerror_thread_freeres. No longer static. Remove thread
15892 shutdown hook registration.
15893 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15894 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15895 shutdown hook registration.
15896 * Makerules (shlib.lds): Do not provide section boundary symbols
15897 for __libc_thread_subfreeres.
15898 * manual/memory.texi (Basic Allocation): Update comment.
15900 2018-06-26 Florian Weimer <fweimer@redhat.com>
15902 Remove always-defined _RPC_THREAD_SAFE_ macro.
15903 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15904 Do not define _RPC_THREAD_SAFE_.
15905 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15907 * sunrpc/clnt_perr.c: Likewise.
15908 * sunrpc/clnt_raw.c: Likewise.
15909 * sunrpc/clnt_simp.c: Likewise.
15910 * sunrpc/key_call.c: Likewise.
15911 * sunrpc/rpc_common.c: Likewise.
15912 * sunrpc/rpc_main.c: Likewise.
15913 * sunrpc/rpc_thread.c: Likewise.
15914 * sunrpc/svc.c: Likewise.
15915 * sunrpc/svc_raw.c: Likewise.
15916 * sunrpc/svc_simple.c: Likewise.
15917 * sumrpc/svcauth_des.c: Likewise.
15919 2018-06-26 Florian Weimer <fweimer@redhat.com>
15921 * libio/Makefile (tests-internal): Add tst-vtables,
15922 tst-vtables-interposed.
15923 * libio/tst-vtables.c: New file.
15924 * libio/tst-vtables-common.c: Likewise.
15925 * libio/tst-vtables-interposed.c: Likewise.
15927 2018-06-26 Florian Weimer <fweimer@redhat.com>
15929 * support/support_test_main.c (support_test_main): Only call
15930 setvbuf if not disables.
15931 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15932 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15934 2018-06-26 Florian Weimer <fweimer@redhat.com>
15937 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15939 2018-06-25 Florian Weimer <fweimer@redhat.com>
15942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15943 Use struct scratch_buffer instead of extend_alloca.
15945 2018-06-25 Florian Weimer <fweimer@redhat.com>
15948 * nss/getent.c (initgroups_keys): Use dynarray instead of
15951 2018-06-25 Florian Weimer <fweimer@redhat.com>
15954 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15955 Use struct scratch_buffer instead of extend_alloca.
15957 2018-06-25 Florian Weimer <fweimer@redhat.com>
15960 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15961 back to malloc directly, without stack allocations.
15963 2018-06-25 Florian Weimer <fweimer@redhat.com>
15966 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15969 2018-06-25 Florian Weimer <fweimer@redhat.com>
15972 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15974 * nscd/hstcache.c (addhstbyX): Likewise.
15975 * nscd/pwdcache.c (addpwbyX): Likewise.
15976 * nscd/servicescache.c (addservbyX): Likewise.
15978 2018-06-25 Florian Weimer <fweimer@redhat.com>
15981 * nscd/connections.c (read_cmdline): New function.
15982 (restart): Use it. Update comment.
15984 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15987 * localedata/locales/csb_PL (mon): Rename to...
15989 (abmon): Rename to...
15990 (ab_alt_mon): This.
15991 (mon): Add with proper genitive forms, copy from Wikipedia.
15994 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15997 * localedata/locales/csb_PL (mon): Fix typos:
15998 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15999 (yesstr): Add, value is "jo".
16000 (nostr): Add, value is "nié".
16002 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16004 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16005 all log1p and significand functions on m680x0.
16006 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16007 of s_significand.c..
16008 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16009 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16010 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16011 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16012 s_log1p.c and include it..
16014 2018-06-21 Vincent Chen <vincentc@andestech.com>
16016 * elf/elf.h (R_NDS32_NONE): New define.
16017 (R_NDS32_32_RELA): Likewise.
16018 (R_NDS32_COPY): Likewise.
16019 (R_NDS32_GLOB_DAT): Likewise.
16020 (R_NDS32_JUMP_SLOT): Likewise.
16021 (R_NDS32_RELATIVE): Likewise.
16022 (R_NDS32_TLS_TPOFF): Likewise.
16023 (R_NDS32_TLS_DESC): Likewise.
16025 2018-06-21 Mark Wielaard <mark@klomp.org>
16027 * elf/elf.h (R_BPF_MAP_FD): Removed.
16028 (R_BPF_64_64, R_BPF_64_32): New.
16030 2018-06-21 Florian Weimer <fweimer@redhat.com>
16033 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16034 Renamed from libc_feholdsetround_ctx.
16035 (default_libc_feresetround_ctx): Renamed from
16036 libc_feresetround_ctx.
16037 (default_libc_feholdsetround_noex_ctx): Renamed from
16038 libc_feholdsetround_noex_ctx.
16039 (default_libc_feresetround_noex_ctx): Renamed from
16040 libc_feresetround_noex_ctx.
16041 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16042 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16043 forwardning to the old implementations under the new names.
16044 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16045 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16046 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16047 (libc_feresetround_ctx): Forward to default implements for i386
16048 and MATH_SET_BOTH_ROUNDING_MODES.
16049 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16050 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16052 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16054 * string/tst-cmp.c: Include <libc-diag.h>.
16055 (strncmp_max): Disable -Wstringop-overflow= around call to
16057 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16060 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16061 (main): Disable -Wunused-value around call to strpbrk.
16062 * string/bug-strspn1.c: Include <libc-diag.h>.
16063 (main): Disable -Wunused-value around call to strspn.
16065 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16066 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16068 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16069 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16071 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16073 * math/Makefile (libm-calls): Move s_significandF to...
16074 (gen-libm-calls): ... here.
16075 * math/s_significand_template.c: New file.
16076 * math/s_significand.c: Removed.
16077 * math/s_significandf.c: Removed.
16078 * math/s_significandl.c: Removed.
16079 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16080 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16082 * math/e_exp2_template.c (declare_mgen_finite_alias,
16083 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16084 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16085 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16087 2018-06-20 Florian Weimer <fweimer@redhat.com>
16089 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16091 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16095 floating-point number to strtod functions rather than possibly
16096 negating result of those functions.
16097 * stdio-common/tst-scanf-round.c: New file.
16098 * stdio-common/Makefile (tests): Add tst-scanf-round.
16099 ($(objpfx)tst-scanf-round): Depend on $(libm).
16101 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16103 * sysdeps/mach/hurd/localplt.data: Move to...
16104 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16105 R_386_GLOB_DAT like on Linux i386.
16107 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16109 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16110 (SHM_STAT_ANY): New macro.
16111 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16112 (SHM_STAT_ANY): Likewise.
16113 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16114 (SHM_STAT_ANY): Likewise.
16115 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16116 (SHM_STAT_ANY): Likewise.
16117 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16118 (SHM_STAT_ANY): Likewise.
16119 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16120 (SHM_STAT_ANY): Likewise.
16121 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16122 (SHM_STAT_ANY): Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16124 (SHM_STAT_ANY): Likewise.
16125 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16126 (SHM_STAT_ANY): Likewise.
16127 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16128 (SHM_STAT_ANY): Likewise.
16129 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16130 (SHM_STAT_ANY): Likewise.
16131 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16132 (SHM_STAT_ANY): Likewise.
16134 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16135 (SEM_STAT_ANY): New macro.
16136 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16137 (SEM_STAT_ANY): Likewise.
16138 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16139 (SEM_STAT_ANY): Likewise.
16140 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16141 (SEM_STAT_ANY): Likewise.
16142 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16143 (SEM_STAT_ANY): Likewise.
16144 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16145 (SEM_STAT_ANY): Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16147 (SEM_STAT_ANY): Likewise.
16148 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16149 (SEM_STAT_ANY): Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16151 (SEM_STAT_ANY): Likewise.
16152 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16153 (SEM_STAT_ANY): Likewise.
16155 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16156 (MSG_STAT_ANY): New macro.
16157 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16158 (MSG_STAT_ANY): Likewise.
16159 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16160 (MSG_STAT_ANY): Likewise.
16161 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16162 (MSG_STAT_ANY): Likewise.
16163 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16164 (MSG_STAT_ANY): Likewise.
16165 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16166 (MSG_STAT_ANY): Likewise.
16167 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16168 (MSG_STAT_ANY): Likewise.
16169 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16170 (MSG_STAT_ANY): Likewise.
16171 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16172 (MSG_STAT_ANY): Likewise.
16173 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16174 (MSG_STAT_ANY): Likewise.
16176 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16177 (MAP_TYPE): Change value to 0x2b.
16179 2018-06-18 Florian Weimer <fweimer@redhat.com>
16182 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16183 socket with SOCK_CLOEXEC.
16185 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16188 * sysdeps/powerpc/powerpc64/le/Makefile
16189 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16190 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16191 (gnulib-tests): Also add $(f128-loader-link) for
16192 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16194 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16196 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16197 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16199 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16200 (sendfile64): New strong alias.
16201 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16202 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16203 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16204 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16206 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16207 ___pthread_get_cleanup_stack.
16208 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16209 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16210 * mach/shortcut.awk: Make syscall stubs include
16211 <mach-shortcuts-hidden.h> and add hidden definition.
16212 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16213 (__mach_msg): Add hidden prototype.
16214 * mach/msg.c: Include <mach.h>.
16215 (__mach_msg): Add hidden definition.
16216 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16217 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16218 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16219 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16220 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16221 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16222 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16223 prototype and definition.
16224 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16225 hidden target for _hurd_self_sigstate.
16227 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16230 * stdlib/tst-strtod-nan-sign-main.c: New file.
16231 * stdlib/tst-strtod-nan-sign.c: Likewise.
16232 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16233 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16234 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16235 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16236 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16238 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16241 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16244 2018-06-14 Florian Weimer <fweimer@redhat.com>
16247 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16248 that the result stays within the ISO-8859-1 range.
16249 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16250 characters are defined in IBM273.
16252 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16254 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16255 __mach_task_self): Remove attribute_hidden.
16257 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16259 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16260 ignore -Wrestrict for one test.
16262 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16263 Szabolcs Nagy <szabolcs.nagy@arm.com>
16265 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16267 2018-06-14 Florian Weimer <fweimer@redhat.com>
16269 * scripts/update-abilist.sh: Accept empty list of files to patch.
16271 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16273 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16274 test-xfail-check-abi-libmachuser): Add.
16275 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16276 __libc_read and __libc_write to __read and __write.
16277 * sysdeps/hurd/include/hurd/port.h: New file.
16278 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16279 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16280 __thread_switch, __evc_wait): Move declarations to...
16281 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16283 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16284 use PLT to call _hurd_self_sigstate.
16286 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16289 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16290 MAX_EXP as overflowing.
16291 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16293 (round_str): Output also whether result overflows in each rounding
16295 * stdlib/tst-strtod-round-data: Add more tests.
16296 * stdlib/tst-strtod-round-data.h: Regenerated.
16297 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16298 (TEST): Handle extra arguments for overflow flags.
16299 (struct test_overflow): New type.
16300 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16301 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16302 (test_in_one_mode): Take argument with overflow information.
16303 (do_test): Update calls to test_in_one_mode.
16305 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16307 * elf/dl-load (_dl_dst_substitute): Correct comment.
16308 (_dl_dst_count): Likewise.
16310 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16311 lll_futex_timed_wait.
16313 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16316 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16318 * math/test-nan-const.c: New file.
16319 * math/Makefile (tests): Add test-nan-const.
16320 (CFLAGS-test-nan-const.c): New variable.
16322 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16324 * benchtests/scripts/compare_strings.py (process_results): Add
16325 funcs argument. Compare only functions which are selected.
16326 (main): Check if base function is among selected functions.
16327 Pass selected functions to process_results.
16328 (__main__): Add -f/--functions argument.
16330 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16331 Hongbo Zhang <hongbo.zhang@linaro.org>
16333 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16334 __memcpy_falkor for phecda core.
16335 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16336 __memmove_falkor for phecda core.
16337 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16338 __memset_falkor for phecda core.
16339 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16341 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16342 macro to identify phecda core.
16344 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16345 Andreas Schwab <schwab@suse.de>
16346 Dmitry V. Levin <ldv@altlinux.org>
16347 Florian Weimer <fweimer@redhat.com>
16354 * elf/dl-dst.h: Remove DL_DST_COUNT.
16355 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16356 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16357 (is_dst): Comment. Support ELF gABI.
16358 (_dl_dst_count): Comment. Simplify and count DSTs.
16359 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16360 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16363 2018-06-12 Zack Weinberg <zackw@panix.com>
16365 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16366 * sysdeps/unix/sysv/linux/dl-sysdep.c
16367 Include not-cancel.h. Use __close_nocancel instead of __close,
16368 __open64_nocancel instead of __open, __read_nocancel instead of
16369 __libc_read, and __write_nocancel instead of __libc_write.
16371 * csu/check_fds.c (check_one_fd)
16372 * sysdeps/posix/fdopendir.c (__fdopendir)
16373 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16374 instead of __fcntl and/or __libc_fcntl.
16376 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16377 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16378 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16379 Use __open64_nocancel instead of __open_nocancel.
16381 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16382 hidden_proto declarations to the end and issue them if either
16383 IS_IN(libc) or IS_IN(rtld).
16384 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16385 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16386 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16387 read_nocancel, waitpid_nocancel, write_nocancel.
16389 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16390 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16391 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16393 * nptl/pt-fcntl.c: New file.
16394 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16395 (libpthread-routines): Add pt-fcntl.
16396 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16397 (__libc_fcntl): Remove attribute_hidden.
16398 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16399 __fcntl_nocancel_adjusted, not fcntl_common.
16400 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16401 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16402 to fcntl_nocancel.c.
16403 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16406 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16408 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16409 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16410 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16411 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16412 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16413 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16414 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16415 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16416 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16417 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16418 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16419 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16420 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16421 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16422 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16423 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16424 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16425 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16426 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16427 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16429 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16430 libpthread-routines.
16431 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16434 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16435 __libc_read, and __write instead of __libc_write. Define
16436 __open64 in addition to __open.
16438 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16442 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16443 to _private_tm[3] and add __glibc_reserved2.
16444 Add _Static_assert of offset of __private_ss == 0x30.
16445 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16446 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16448 2018-06-12 Florian Weimer <fweimer@redhat.com>
16450 x86: Make strncmp usable from rtld.
16451 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16452 __strncmp_ia32 if in libc (and not in rtld).
16453 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16454 strncmp if not in libc (and not to __strncmp_sse2).
16456 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16459 * localedata/locales/gd_GB (mon): Rename to...
16461 (mon): Import from CLDR (genitive case).
16462 * localedata/locales/hsb_DE (mon): Rename to...
16464 (mon): Import from CLDR (genitive case).
16465 * localedata/locales/wa_BE (mon): Rename to...
16467 (mon): Add, fill with the proper genitive forms, but CLDR data
16468 is incomplete; completed according to the comments in this file.
16469 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16471 * localedata/locales/wa_BE (country_name): Reword
16472 "Beljike" -> "Beldjike".
16474 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16477 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16478 cases of non-finite arguments.
16479 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16481 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16484 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16486 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16489 * include/unistd.h (__execvpex): New prototype.
16490 * posix/Makefile (tests): Add tst-spawn4.
16491 (tests-internal): Add tst-spawn4-compat.
16492 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16493 * posix/tst-spawn4-compat.c: New file.
16494 * posix/tst-spawn4.c: Likewise.
16495 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16496 binaries as shell scripts.
16497 * sysdeps/posix/spawni.c (__spawni): Likewise.
16499 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16502 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16503 ($(all-built-dso:=.dynsym): New target.
16504 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16505 ($(objpfx)check-initfini.out): New target.
16506 (generated): Add check-initfini.out.
16507 * scripts/check-initfini.awk: New file.
16508 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16510 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16512 * sysdeps/arm/crti.S (_init): Mark as hidden.
16514 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16516 * sysdeps/i386/crti.S (_init): Mark as hidden.
16518 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16520 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16522 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16524 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16526 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16528 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16530 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16532 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16534 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16536 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16538 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16540 * sysdeps/sh/crti.S (_init): Mark as hidden.
16542 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16544 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16547 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16549 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16550 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16551 and TF redirection to KFtype and KF only when the default
16552 long double type is not the IEEE 128-bit floating point type.
16554 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16558 (HWCAP_USCAT): Likewise.
16559 (HWCAP_ILRCPC): Likewise.
16560 (HWCAP_FLAGM): Likewise.
16561 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16563 (_dl_aarch64_cap_flags): Add new flag names.
16565 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16566 (MAP_FIXED_NOREPLACE): New macro.
16567 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16568 (MAP_FIXED_NOREPLACE): Likewise.
16569 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16570 (MAP_FIXED_NOREPLACE): Likewise.
16571 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16572 (MAP_FIXED_NOREPLACE): Likewise.
16573 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16574 (MAP_FIXED_NOREPLACE): Likewise.
16575 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16576 (MAP_FIXED_NOREPLACE): Likewise.
16577 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16578 (MAP_FIXED_NOREPLACE): Likewise.
16579 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16580 (MAP_FIXED_NOREPLACE): Likewise.
16581 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16582 (MAP_FIXED_NOREPLACE): Likewise.
16583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16584 (MAP_FIXED_NOREPLACE): Likewise.
16585 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16586 (MAP_FIXED_NOREPLACE): Likewise.
16587 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16588 (MAP_FIXED_NOREPLACE): Likewise.
16589 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16590 (MAP_FIXED_NOREPLACE): Likewise.
16591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16592 (MAP_FIXED_NOREPLACE): Likewise.
16593 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16594 (MAP_FIXED_NOREPLACE): Likewise.
16596 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16599 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16601 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16604 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16606 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16608 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16610 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16612 * benchtests/scripts/compare_string.py: (process_results) Catch
16613 exception in non-existent base_func and catch exception in
16614 non-existent attribute.
16615 (parse_file) Catch exception if input file does not exist.
16617 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16619 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16620 options to avoid diff calculation and omit header, respectively.
16621 (main): process --no-diff and --no-header
16623 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16624 H.J. Lu <hongjiu.lu@intel.com>
16626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16627 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16630 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16631 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16632 and __wcsncmp_sse2.
16633 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16634 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16635 AVX unaligned load is fast and vzeroupper is preferred.
16636 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16637 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16638 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16639 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16640 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16641 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16642 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16643 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16644 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16645 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16648 2018-06-01 Florian Weimer <fweimer@redhat.com>
16650 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16651 configuring with --disable-multi-arch, building with
16652 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16655 2018-06-01 Florian Weimer <fweimer@redhat.com>
16657 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16658 results from building with “-march=x86-64 -mtune=generic
16659 -mfpmath=sse” and running on a Haswell-era CPU.
16661 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16664 * soft-fp/sqrttf2.c: Remove file.
16665 * soft-fp/sqrtdf2.c: Move to ....
16666 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16668 (__sqrtdf2): Make conditional on
16669 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16671 * soft-fp/sqrtsf2.c: Move to ....
16672 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16674 (__sqrtsf2): Make conditional on
16675 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16677 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16678 (gcc-double-routines): Remove sqrtdf2.
16679 (gcc-quad-routines): Remove sqrttf2.
16680 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16681 Do not filter out sqrtsf2 and sqrtdf2.
16682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16683 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16685 2018-06-01 Florian Weimer <fweimer@redhat.com>
16687 * sysdeps/generic/libcidn.abilist: Remove file.
16689 2018-06-01 Florian Weimer <fweimer@redhat.com>
16692 * libio/strfile.h (struct _IO_str_fields): Rename members to
16693 discourage their use and add comment.
16694 (_IO_STR_DYNAMIC): Remove unused macro.
16695 * libio/strops.c (_IO_str_init_static_internal): Do not use
16696 callback pointers. Call malloc and free.
16697 (_IO_str_overflow): Do not use callback pointers. Call malloc
16699 (enlarge_userbuf): Likewise.
16700 (_IO_str_finish): Call free.
16701 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16702 _allocate_buffer_unused.
16703 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16705 (enlarge_userbuf): Likewise.
16706 (_IO_wstr_finish): Call free.
16707 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16708 _allocate_buffer_unused, _free_buffer_unused.
16709 * libio/memstream.c (__open_memstream): Likewise.
16710 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16711 * libio/wmemstream.c (open_wmemstream): Likewise.
16713 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16715 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16718 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16720 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16721 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16722 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16724 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16726 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16728 2018-05-29 Florian Weimer <fweimer@redhat.com>
16730 * support/Makefile (libsupport-routines): Add
16731 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16732 xpthread_barrierattr_setpshared.
16733 * support/xpthread_barrierattr_destroy.c: New file.
16734 * support/xpthread_barrierattr_init.c: Likewise.
16735 * support/xpthread_barrierattr_setpshared.c: Likewise.
16737 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16740 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16741 _r_debug and update DT_DEBUG for debugger.
16743 2018-05-29 Florian Weimer <fweimer@redhat.com>
16745 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16746 (tst-strtod5i.out): Likewise.
16748 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16750 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16751 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16752 (sparc64-quad-routines): New variable. Moved from ....
16753 [$(subdir) = soft-fp] (sysdep_routines): Add
16754 $(sparc64-quad-routines). Moved from ....
16755 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16756 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16757 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16759 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16760 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16761 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16762 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16763 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16764 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16765 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16766 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16767 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16768 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16769 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16770 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16771 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16772 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16773 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16774 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16775 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16776 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16777 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16778 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16779 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16780 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16781 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16782 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16783 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16784 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16785 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16786 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16787 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16788 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16789 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16790 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16791 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16792 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16793 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16794 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16795 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16796 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16798 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16799 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16800 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16801 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16802 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16803 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16804 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16805 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16806 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16807 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16808 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16809 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16810 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16811 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16812 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16813 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16814 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16816 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16818 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16819 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16820 (sparc32-quad-routines): New variable. Moved from ....
16821 [$(subdir) = soft-fp] (sysdep_routines): Add
16822 $(sparc32-quad-routines). Moved from ....
16823 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16824 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16826 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16827 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16828 * sysdeps/sparc/sparc32/q_add.c: ... here.
16829 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16830 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16831 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16832 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16833 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16834 * sysdeps/sparc/sparc32/q_div.c: ... here.
16835 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16836 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16837 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16838 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16839 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16840 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16841 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16842 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16843 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16844 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16845 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16846 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16847 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16848 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16849 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16850 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16851 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16852 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16853 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16854 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16855 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16856 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16857 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16858 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16859 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16860 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16861 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16862 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16863 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16864 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16865 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16866 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16867 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16868 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16869 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16870 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16871 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16872 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16873 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16874 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16875 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16876 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16877 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16878 * sysdeps/sparc/sparc32/q_util.c: ... here.
16879 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16880 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16881 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16882 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16884 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16885 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16887 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16888 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16889 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16890 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16892 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16898 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16899 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16901 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16904 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16907 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16909 * sysdeps/sh/Implies: Remove sh/soft-fp.
16910 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16911 * sysdeps/sh/sfp-machine.h: ... here.
16913 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16915 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16916 (__mempcpy_erms): Skip zero length.
16917 (__memmove_erms): Likewise.
16918 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16919 (__memset_erms): Likewise.
16921 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16924 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16925 Add functions moved from ....
16926 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16927 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16928 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16930 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16931 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16932 * sysdeps/alpha/e_sqrtl.c: ... here.
16933 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16934 * sysdeps/alpha/local-soft-fp.h: ... here.
16935 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16936 * sysdeps/alpha/ots_add.c: ... here.
16937 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16938 * sysdeps/alpha/ots_cmp.c: ... here.
16939 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16940 * sysdeps/alpha/ots_cmpe.c: ... here.
16941 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16942 * sysdeps/alpha/ots_cvtqux.c: ... here.
16943 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16944 * sysdeps/alpha/ots_cvtqx.c: ... here.
16945 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16946 * sysdeps/alpha/ots_cvttx.c: ... here.
16947 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16948 * sysdeps/alpha/ots_cvtxq.c: ... here.
16949 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16950 * sysdeps/alpha/ots_cvtxt.c: ... here.
16951 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16952 * sysdeps/alpha/ots_div.c: ... here.
16953 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16954 * sysdeps/alpha/ots_mul.c: ... here.
16955 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16956 * sysdeps/alpha/ots_nintxq.c: ... here.
16957 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16958 * sysdeps/alpha/ots_sub.c: ... here.
16959 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16960 * sysdeps/alpha/sfp-machine.h: ... here.
16962 2018-05-23 Florian Weimer <fweimer@redhat.com>
16970 Switch to extern IDNA implementation (libidn2).
16971 * libidn: Remove subdirectory.
16972 * LICENSES: Do not mention licensing conditions for the removed
16974 * config.h.in (HAVE_LIBIDN): Remove.
16975 * include/dlfcn.h (__libc_dlopen): Update comment.
16976 * include/idna.h: Remove file.
16977 * inet/Makefile (routines): Add idna.
16978 (tests-static, tests-internal): Add tst-idna_name_classify.
16979 (LOCALES): Generate locales for tests.
16980 (tst-idna_name_classify.out): Depend on generated locales.
16981 * inet/idna_name_classify.c: New file.
16982 * inet/tst-idna_name_classify.c: Likewise.
16983 * inet/net-internal.h (__idna_to_dns_encoding)
16984 (__idna_from_dns_encoding): Declare.
16985 * inet/net-internal.h (enum idna_name_classification): Define.
16986 (__idna_name_classify): Declare.
16987 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16988 __idna_from_dns_encoding.
16989 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16990 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16991 name as a fallback in case of encoding errors.
16992 (getnameinfo): Use DEPRECATED_NI_IDN.
16993 * inet/idna.c: New file.
16994 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16995 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16996 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16997 (modules-names): Add tst-no-libidn2.
16998 (extra-test-objs): Add tst-no-libidn2.os.
16999 (LDFLAGS-tst-no-libidn2.so): Set soname.
17000 (LOCALES): Set, and generate locales.
17001 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17002 (tst-resolv-ai_idn-latin1): Likewise.
17003 (tst-resolv-ai_idn-nolibidn2): Likewise.
17004 (tst-resolv-ai_idn.out): Depend on locales.
17005 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17006 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17008 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17009 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17010 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17011 * resolv/tst-resolv-ai_idn.c: New file.
17012 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17013 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17014 * resolv/tst-no-libidn2.c: Likewise.
17015 * support/support_format_addrinfo.c (format_ai_flags): Do not
17016 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17017 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17018 (gaih_inet): Call __idna_to_dns_encoding and
17019 __idna_from_dns_encoding, and use the original (punycode) name if
17020 __idna_from_dns_encoding fails due to an encoding error.
17021 (getaddrinfo): Use DEPRECATED_AI_IDN.
17022 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17023 * sysdeps/unix/inet/configure: Remove file.
17024 * sysdeps/unix/inet/configure.ac: Likewise.
17026 2018-05-23 Florian Weimer <fweimer@redhat.com>
17028 Implement allocate_once.
17029 * include/allocate_once.h: New file.
17030 * misc/allocate_once.c: Likewise.
17031 * misc/tst-allocate_once.c: Likewise.
17032 * misc/Makefile (routines): Add allocate_once.
17033 (tests-internal): Add tst-allocate_once.
17034 (generated): Add tst-allocate_once.mtrace,
17035 tst-allocate_once-mem.out.
17036 (tests-special): Add tst-allocate_once-mem.out.
17037 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17038 (tst-allocate_once-mem.out): Call mtrace.
17039 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17041 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17044 * string/test-memcpy.c (do_test1): New function.
17045 (test_main): Call it.
17047 2018-05-23 Andreas Schwab <schwab@suse.de>
17051 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17052 (L(preloop_large)): Save initial destination pointer in %r11 and
17053 use it instead of %rax after the loop.
17054 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17056 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17058 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17059 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17060 -I../soft-fp. Moved from ....
17061 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17062 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17063 * sysdeps/aarch64/e_sqrtl.c: ... here.
17064 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17065 * sysdeps/aarch64/sfp-machine.h: ... here.
17067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17068 -Wmaybe-uninitialized around access to fq[0].
17069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17073 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17074 aliases for non-libc case of versioned symbols.
17075 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17076 (llseek): Define as compat symbol if
17077 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17079 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17080 Make into a compat symbol, disabled for minimum symbol version
17081 GLIBC_2.28 and later.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17084 2018-05-22 Florian Weimer <fweimer@redhat.com>
17086 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17087 not add -mpreferred-stack-boundary=4.
17088 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17089 (stack-align-test-flags): Likewise.
17090 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17092 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17093 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17094 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17095 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17096 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17097 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17098 (CFLAGS-tst-align2.c): Likewise.
17100 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17102 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17103 (index_arch_Prefer_FSRM): Likewise.
17104 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17105 Also check Prefer_FSRM.
17106 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17107 Also return OPTIMIZE (erms) for Prefer_FSRM.
17109 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17111 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17112 (index_cpu_FSRM): Likewise.
17113 (reg_FSRM): Likewise.
17115 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17117 * math/gen-tgmath-tests.py: Import sys.
17118 (Tests.__init__): Initialize macros_seen.
17119 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17120 if requested to do so for this macro.
17121 (Tests.add_all_tests): Take argument for macro for which to
17123 (Tests.check_macro_list): New function.
17124 (main): Handle check-list argument and argument specifying macro
17125 for which to generate tests.
17126 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17127 [PYTHON] (tgmath3-macro-tests): Likewise.
17128 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17129 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17130 not test-tgmath3.c.
17131 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17132 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17134 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17135 [PYTHON] ($(foreach
17136 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17138 [PYTHON] (tests-special): Add
17139 $(objpfx)test-tgmath3-macro-list.out.
17140 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17142 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17143 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17147 * time/tzset.c (SECSPERDAY): Cast to time_t.
17148 * time/tst-y2039.c: New file.
17149 * time/Makefile (tests): Add tst-y2039.
17151 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17153 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17154 (PREFETCH_ONE_SET): Remove duplicate line.
17156 2018-05-17 Florian Weimer <fweimer@redhat.com>
17158 * sysdeps/generic/math-type-macros-double.h: Include
17159 <math-nan-payload-double.h> after <libm-alias-double.h>.
17160 * sysdeps/generic/math-type-macros-float.h: Include
17161 <math-nan-payload-float.h> after <libm-alias-float.h>.
17162 * sysdeps/generic/math-type-macros-float128.h: Include
17163 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17164 * sysdeps/generic/math-type-macros-ldouble.h: Include
17165 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17167 2018-05-17 Andreas Schwab <schwab@suse.de>
17169 * resolv/res_send.c (__res_context_send): Don't set errno when
17170 returing error after malloc failure.
17172 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17174 * nptl/allocatestack.c (allocate_stack): Remove the
17175 !__ASSUME_PRIVATE_FUTEX paths.
17176 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17177 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17179 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17180 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17181 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17182 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17183 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17184 !__ASSUME_PRIVATE_FUTEX path.
17185 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17186 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17187 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17188 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17189 !__ASSUME_PRIVATE_FUTEX macros.
17190 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17191 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17193 * sysdeps/unix/sysv/linux/kernel-features.h
17194 (__ASSUME_PRIVATE_FUTEX): Removed.
17196 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17198 * math/Makefile (libm-narrow-fns): Add div.
17199 (libm-test-funcs-narrow): Likewise.
17200 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17201 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17202 * math/gen-auto-libm-tests.c (test_functions): Add div.
17203 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17204 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17205 (NARROW_DIV_TRIVIAL): Likewise.
17206 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17208 (__ddivl): Likewise.
17209 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17211 (CFLAGS-nldbl-ddiv.c): New variable.
17212 (CFLAGS-nldbl-fdiv.c): Likewise.
17213 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17215 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17217 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17218 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17219 * math/auto-libm-test-in: Add tests of div.
17220 * math/auto-libm-test-out-narrow-div: New generated file.
17221 * math/libm-test-narrow-div.inc: New file.
17222 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17225 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17226 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17227 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17236 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17237 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17238 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17239 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17267 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17270 * nscd/nscd-client.h (sendfileall): Remove prototype.
17271 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17272 (handle_request): Use writeall instead of sendfileall.
17273 * nscd/aicache.c (addhstaiX): Likewise.
17274 * nscd/grpcache.c (cache_addgr): Likewise.
17275 * nscd/hstcache.c (cache_addhst): Likewise.
17276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17277 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17278 * nscd/pwdcache.c (cache_addpw): Likewise.
17279 * nscd/servicescache.c (cache_addserv): Likewise.
17280 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17281 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17285 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17287 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17288 Include <string/strncat.c>.
17289 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17291 (__GI___strncat): New hidden alias.
17293 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17295 * sysdeps/mips/mips32/libm-test-ulps: Update.
17296 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17298 2018-05-16 Florian Weimer <fweimer@redhat.com>
17300 * support/Makefile (libsupport-routines): Add support_quote_blob,
17301 support_test_compare_blob.
17302 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17303 * support/check.h (TEST_COMPARE_BLOB): Define.
17304 (support_test_compare_blob): Declare.
17305 * support/support.h (support_quote_blob): Declare.
17306 * support/support_quote_blob.c: New file.
17307 * support/support_test_compare_blob.c: Likewise.
17308 * support/tst-support_quote_blob.c: Likewise.
17309 * support/tst-test_compare_blob.c: Likewise.
17311 2018-05-16 Florian Weimer <fweimer@redhat.com>
17313 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17314 of <strtod_nan_double.h>.
17315 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17316 instead of SET_MANTISSA.
17317 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17318 of include <strtod_nan_float.h>.
17319 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17320 instead of <strtod_nan_ldouble.h>.
17321 * stdlib/strtod_nan_double.h: Move to ...
17322 * sysdeps/generic/math-nan-payload-double.h: ... here.
17323 (FLOAT): Remove definition.
17324 (SET_MANTISSA): Rename to ...
17325 (SET_NAN_PAYLOAD): ... this.
17326 * stdlib/strtod_nan_float.h: Move to ...
17327 * sysdeps/generic/math-nan-payload-float.h: ... here.
17328 (FLOAT): Remove definition.
17329 (SET_MANTISSA): Rename to ...
17330 (SET_NAN_PAYLOAD): ... this.
17331 * sysdeps/generic/math-type-macros-double.h: Include
17332 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17333 instead of <math-svid-compat.h>.
17334 * sysdeps/generic/math-type-macros-float.h: Include
17335 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17336 instead of <math-svid-compat.h>.
17337 * sysdeps/generic/math-type-macros-float128.h: Include
17338 <math-nan-payload-float128.h>.
17339 * sysdeps/generic/math-type-macros-ldouble.h: Include
17340 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17341 instead of <math-svid-compat.h>.
17342 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17343 check for definition.
17344 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17345 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17346 Include <ieee754_float128.h>.
17347 (FLOAT): Remove definition.
17348 (SET_MANTISSA): Rename to ...
17349 (SET_NAN_PAYLOAD): ... this.
17350 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17351 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17352 Do not include <float128_private.h>.
17353 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17355 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17356 (FLOAT): Remove definition.
17357 (SET_MANTISSA): Rename to ...
17358 (SET_NAN_PAYLOAD): ... this.
17359 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17360 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17361 (FLOAT): Remove definition.
17362 (SET_MANTISSA): Rename to ...
17363 (SET_NAN_PAYLOAD): ... this.
17364 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17365 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17366 (FLOAT): Remove definition.
17367 (SET_MANTISSA): Rename to ...
17368 (SET_NAN_PAYLOAD): ... this.
17369 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17370 of "../stdlib/strtod_nan_double.h".
17371 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17372 of "../stdlib/strtod_nan_float.h".
17373 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17374 instead of "../stdlib/strtod_nan_ldouble.h".
17375 * manual/arith.texi (Parsing of Floats): Adjust comment.
17377 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17379 * math/Makefile (libm-narrow-fns): Add mul.
17380 (libm-test-funcs-narrow): Likewise.
17381 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17382 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17383 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17384 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17385 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17386 (NARROW_MUL_TRIVIAL): Likewise.
17387 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17388 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17390 (__dmull): Likewise.
17391 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17393 (CFLAGS-nldbl-dmul.c): New variable.
17394 (CFLAGS-nldbl-fmul.c): Likewise.
17395 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17397 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17399 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17400 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17401 * math/auto-libm-test-in: Add tests of mul.
17402 * math/auto-libm-test-out-narrow-mul: New generated file.
17403 * math/libm-test-narrow-mul.inc: New file.
17404 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17407 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17408 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17409 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17416 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17417 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17418 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17419 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17420 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17421 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17423 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17443 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17449 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17451 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17452 with *%eax in call.
17454 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17456 * sysdeps/i386/ldsodefs.h: Removed.
17457 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17458 * sysdeps/x86/ldsodefs.h: This.
17459 (La_i86_regs): New.
17460 (La_i86_retval): Likewise.
17461 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17462 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17464 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17466 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17469 2018-05-13 Alan Modra <amodra@gmail.com>
17471 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17472 R_PARISC_TLS_DTPOFF32 reloc addend.
17474 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17476 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17477 * math/math.h: Restrict the prototype definition for the functions
17478 issignaling(_Float128) and iszero(_Float128); and template
17479 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17480 __HAVE_FLOAT128_UNLIKE_LDBL.
17481 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17482 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17483 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17484 __f128() constants; define the type _Float128 as long double;
17485 and reuse long double in __CFLOAT128.
17487 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17489 * sysdeps/generic/math_private.h: Do not include
17491 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17493 * math/fromfp.h: Include <math-barriers.h>.
17494 * math/math-narrow.h: Likewise.
17495 * math/s_nextafter.c: Likewise.
17496 * math/s_nexttowardf.c: Likewise.
17497 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17498 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17499 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17500 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17517 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17518 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17522 * sysdeps/ieee754/k_standardl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17543 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17544 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17546 2018-05-11 Florian Weimer <fweimer@redhat.com>
17548 Use 64-bit epoch values in the time zone file parser.
17549 * include/time.h (internal_time_t): Define.
17550 (__tzfile_compute): Use it.
17551 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17553 (transitions): Switch to internal_time_t.
17554 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17556 (__tzfile_compute): Use internal_time_t for timer argument. Check
17557 for truncation before calling __offtime.
17559 2018-05-11 Florian Weimer <fweimer@redhat.com>
17562 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17563 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17565 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17566 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17567 export without --enable-obsolete-rpc.
17568 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17569 symbol. This should not have been exported, ever.
17571 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17574 * localedata/locales/gd_GB (abmon): Fix typo in May:
17575 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17577 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17579 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17580 Use multiple registers to copy data in loop tail.
17582 * sysdeps/aarch64/multiarch/memmove_falkor.S
17583 (__memmove_falkor): Use multiple registers to move data in
17586 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17588 * math/math-underflow.h: New file.
17589 * sysdeps/generic/math_private.h: Do not include <float.h>.
17590 (fabs_tg): Remove macro. Moved to math-underflow.h.
17591 (min_of_type_f): Likewise.
17592 (min_of_type_): Likewise.
17593 (min_of_type_l): Likewise.
17594 (min_of_type_f128): Likewise.
17595 (min_of_type): Likewise.
17596 (math_check_force_underflow): Likewise.
17597 (math_check_force_underflow_nonneg): Likewise.
17598 (math_check_force_underflow_complex): Likewise.
17599 * math/e_exp2_template.c: Include <math-underflow.h>.
17600 * math/k_casinh_template.c: Likewise.
17601 * math/s_catan_template.c: Likewise.
17602 * math/s_catanh_template.c: Likewise.
17603 * math/s_ccosh_template.c: Likewise.
17604 * math/s_cexp_template.c: Likewise.
17605 * math/s_clog10_template.c: Likewise.
17606 * math/s_clog_template.c: Likewise.
17607 * math/s_csin_template.c: Likewise.
17608 * math/s_csinh_template.c: Likewise.
17609 * math/s_csqrt_template.c: Likewise.
17610 * math/s_ctan_template.c: Likewise.
17611 * math/s_ctanh_template.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17633 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17635 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17636 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17637 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17638 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17639 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17640 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17642 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17682 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17689 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17690 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17692 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17697 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/generic/math-barriers.h: New file.
17700 * sysdeps/generic/math_private.h [!math_opt_barrier]
17701 (math_opt_barrier): Move to math-barriers.h.
17702 [!math_opt_barrier] (math_force_eval): Likewise.
17703 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17704 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17706 (math_force_eval): Likewise.
17707 * sysdeps/alpha/fpu/math-barriers.h: New file.
17708 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17710 (math_force_eval): Likewise.
17711 * sysdeps/x86/fpu/math-barriers.h: New file.
17712 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17714 (math_force_eval): Likewise.
17715 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17716 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17717 multiple-include guard for rename.
17718 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17719 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17721 (math_force_eval): Likewise.
17723 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17727 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17729 * stdlib/Makefile (test-bz22786): New test.
17730 * stdlib/test-bz22786.c: New test.
17732 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17734 * include/math-narrow-eval.h: New file. Contents moved from ....
17735 * sysdeps/generic/math_private.h: ... here.
17736 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17737 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17738 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17739 * stdlib/strtod_l.c: Likewise.
17740 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17741 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17742 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17755 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17756 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17759 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17760 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17762 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17763 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17764 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17765 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17766 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17767 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17770 2018-05-08 Andreas Schwab <schwab@suse.de>
17772 * sysdeps/nptl/internaltypes.h: Fix comment.
17774 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17776 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17777 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17780 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17782 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17783 of I into loop header.
17784 * benchtests/bench-memmove-walk.c
17785 (test_main): Likewise.
17787 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17790 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17791 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17793 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17796 * elf/dl-load.c (open_verify): Fix stack overflow.
17797 * elf/Makefile (tst-big-note): New test.
17798 * elf/tst-big-note-lib.S: New.
17799 * elf/tst-big-note.c: New.
17801 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17803 * scripts/abilist.awk: Ignore absolute symbols.
17804 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17805 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17806 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17807 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17808 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17809 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17810 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17811 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17812 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17813 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17814 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17815 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17897 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17911 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17939 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17960 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18050 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18065 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18118 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18157 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18160 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18161 Use atomic_load_acquire to load __tid.
18163 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18165 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18166 Restore the pointer into %rdx, after syscall and use %rdx,
18167 instead of %rsi, to restore context.
18169 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18171 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18172 Pop the pointer into %rdx after syscall and use %rdx, instead
18173 of %rsi, to restore context.
18175 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18177 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18178 handlers after setjmp.
18179 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18181 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18182 <libc-pointer-arith.h>.
18183 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18184 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18185 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18186 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18187 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18188 * sysdeps/x86/__longjmp_cancel.S: New file.
18189 * sysdeps/x86/longjmp.c: Likewise.
18190 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18192 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18194 * NEWS: Add ustat.h deprecation entry.
18195 * bits/ustat.h: Remove file.
18196 * misc/sys/ustat.h: Likewise.
18197 * misc/ustat.h: Likewise.
18198 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18199 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18200 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18201 compatibility mode.
18202 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18203 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18204 generic Linux implementation.
18206 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18208 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18209 * math/w_expl_compat.c: Likewise.
18210 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18212 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18214 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18216 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18218 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18219 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18220 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18222 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18225 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18226 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18229 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18231 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18233 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18234 * math/w_asin_template.c: Likewise.
18235 * math/w_atanh_template.c: Likewise.
18237 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18239 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18240 to powerpc/powerpc64/be for big-endian.
18241 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18244 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18245 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18246 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18247 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18248 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18250 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18251 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18252 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18253 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18254 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18255 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18256 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18257 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18258 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18259 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18260 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18261 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18262 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18263 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18264 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18265 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18266 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18267 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18268 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18269 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18270 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18271 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18272 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18273 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18274 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18275 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18277 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18278 adjusted to imply powerpc64 and older processors on powerpc64/be.
18279 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18280 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18281 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18282 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18283 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18284 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18285 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18286 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18287 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18288 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18289 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18290 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18291 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18292 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18293 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18294 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18295 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18296 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18297 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18298 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18299 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18300 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18301 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18302 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18303 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18304 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18305 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18306 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18307 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18308 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18309 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18311 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18312 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18313 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18314 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18316 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18317 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18318 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18319 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18321 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18322 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18323 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18324 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18325 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18326 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18327 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18328 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18329 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18330 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18331 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18333 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18334 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18335 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18336 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18337 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18338 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18339 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18340 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18341 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18342 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18343 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18345 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18346 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18347 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18348 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18349 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18352 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18354 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18359 and adjusted to imply olders processors.
18360 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18389 powerpc64 and adjusted.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18395 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18397 * sysdeps/tile: Remove.
18398 * sysdeps/unix/sysv/linux/tile: Likewise.
18399 * README (tilegx-*-linux-gnu): Remove from list of supported
18401 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18402 contribution of support for generic Linux kernel syscall
18404 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18405 tilegx configurations.
18406 (Config.install_linux_headers): Do not handle tile.
18407 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18409 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18410 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18411 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18412 conditional undefine and redefine.
18413 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18415 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18416 conditional undefine and redefine.
18418 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18420 * signal/tst-sigaction.c: New file to test BZ #23069.
18421 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18423 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18426 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18427 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18428 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18429 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18431 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18433 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18434 _DIRENT_MATCHES_DIRENT64 is not defined.
18435 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18436 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18438 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18439 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18441 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18443 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18444 version to GCC 8 branch.
18446 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18448 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18449 (check_no_hidden): Use type of original function when declaring
18452 * sysdeps/unix/sysv/linux/sys/ptrace.h
18453 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18454 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18455 (struct __ptrace_seccomp_metadata): New type.
18456 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18457 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18458 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18459 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18460 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18461 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18463 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18465 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18466 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18467 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18468 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18469 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18470 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18471 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18473 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18475 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18477 * dirent/versionsort.c (versionsort): Likewise.
18478 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18479 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18480 * dirent/versionsort64.c (versionsort64): Likewise.
18481 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18482 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18483 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18484 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18485 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18486 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18488 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18489 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18490 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18493 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18494 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18496 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18498 * elf/elf.h (NT_PPC_PKEY): New macro.
18500 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18503 * localedata/locales/hr_HR: fix thousands_sep and
18506 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18508 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18509 (XTABS): Define to TAB3.
18511 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18513 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18515 * dirent/scandir-tail-common.c: New file.
18516 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18517 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18518 * dirent/scandir.c: Use scandir-tail-common.c.
18519 * dirent/scandirat.c: Likewise.
18520 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18521 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18522 if _DIRENT_MATCHES_DIRENT64 is defined.
18523 * dirent/scandirat64.c (scandirat64): Likewise.
18524 * include/dirent.h (__scandir_tail): Only define iff
18525 _DIRENT_MATCHES_DIRENT64 is not defined.
18526 (__scandir64_tail): Define regardless.
18527 (__scandirat, scandirat64): Remove libc_hidden_proto.
18528 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18529 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18531 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18532 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18533 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18534 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18536 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18538 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18540 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18542 (_dl_aarch64_cap_flags): Add asimdfhm.
18544 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18546 * sysdeps/nios2/libm-test-ulps: Update.
18548 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18550 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18551 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18553 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18555 (_DIRENT_MATCHES_DIRENT64): Undef
18556 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18558 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18559 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18560 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18561 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18562 use getdents64 syscalls as base.
18563 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18564 symbol if required.
18565 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18566 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18567 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18568 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18569 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18570 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18571 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18572 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18574 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18575 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18577 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18579 * scripts/test_printers_common.py (init_test): Disable lock elision.
18581 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18583 * math/test-tgmath.c (count_double, count_float,
18584 count_ldouble, count_cdouble, count_cfloat,
18585 count_cldouble): Use volatile int.
18587 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18589 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18590 (conformtest-xfail-conds): Add i386-gnu.
18591 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18593 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18594 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18595 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18596 msqid_ds.msg_lrpid): Likewise.
18597 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18599 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18600 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18601 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18602 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18604 (struct statvfs64): Likewise.
18605 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18607 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18608 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18609 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18610 instead of wait_queue.
18611 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18612 instead of vm_area_struct.
18613 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18614 struct sched_param definition to it.
18615 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18616 * bits/types/struct_sched_param.h: New file.
18617 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18618 <bits/types/struct_sched_param.h> instead of <sched.h>.
18619 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18620 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18621 generic version but include <bits/pthreadtypes.h> to make struct
18622 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18623 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18625 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18626 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18627 [__USE_XOPEN] (OFDEL): New macro.
18628 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18629 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18630 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18632 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18633 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18634 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18636 * sysdeps/i386/sys/ucontext.h: Likewise.
18637 * sysdeps/m68k/sys/ucontext.h: Likewise.
18638 * sysdeps/mips/sys/ucontext.h: Likewise.
18639 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18640 * sysdeps/mach/hurd/i386/Makefile
18641 (test-xfail-POSIX/fcntl.h/conform): Add.
18642 (test-xfail-POSIX/signal.h/conform): Add.
18643 (test-xfail-POSIX/semaphore.h/conform): Add.
18644 (test-xfail-POSIX/regex.h/conform): Add.
18645 (test-xfail-POSIX/aio.h/conform): Add.
18646 (test-xfail-POSIX/mqueue.h/conform): Add.
18647 (test-xfail-POSIX/sys/types.h/conform): Add.
18648 (test-xfail-UNIX98/fcntl.h/conform): Add.
18649 (test-xfail-UNIX98/netdb.h/conform): Add.
18650 (test-xfail-UNIX98/signal.h/conform): Add.
18651 (test-xfail-UNIX98/semaphore.h/conform): Add.
18652 (test-xfail-UNIX98/regex.h/conform): Add.
18653 (test-xfail-UNIX98/aio.h/conform): Add.
18654 (test-xfail-UNIX98/ftw.h/conform): Add.
18655 (test-xfail-UNIX98/mqueue.h/conform): Add.
18656 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18657 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18658 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18659 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18660 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18661 (test-xfail-UNIX98/sys/types.h/conform): Add.
18662 (test-xfail-UNIX98/stdlib.h/conform): Add.
18663 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18664 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18665 (test-xfail-POSIX2008/netdb.h/conform): Add.
18666 (test-xfail-POSIX2008/signal.h/conform): Add.
18667 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18668 (test-xfail-POSIX2008/regex.h/conform): Add.
18669 (test-xfail-POSIX2008/aio.h/conform): Add.
18670 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18671 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18672 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18673 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18674 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18675 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18676 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18677 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18678 (test-xfail-XOPEN2K/signal.h/conform): Add.
18679 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18680 (test-xfail-XOPEN2K/regex.h/conform): Add.
18681 (test-xfail-XOPEN2K/aio.h/conform): Add.
18682 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18683 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18684 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18685 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18686 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18687 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18688 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18689 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18690 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18691 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18692 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18693 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18694 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18695 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18696 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18697 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18698 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18699 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18700 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18701 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18702 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18703 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18704 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18705 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18706 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18707 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18708 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18710 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18711 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18713 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18715 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18716 --enable-obsolete for powerpc-linux-gnuspe.
18718 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18720 * conform/data/sys/un.h-data: Allow sun_ prefix.
18721 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18723 * sysdeps/mach/include/mach.h: Likewise.
18724 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18725 * sysdeps/mach/include/mach_error.h: Likewise.
18727 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18729 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18730 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18731 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18732 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18734 2018-04-16 Andreas Schwab <schwab@suse.de>
18737 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18739 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18741 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18742 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18744 2018-04-12 DJ Delorie <dj@redhat.com>
18746 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18749 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18751 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18752 (struct kernel_sigaction): Use the same definition on 31bit as is used
18755 2018-04-09 Florian Weimer <fweimer@redhat.com>
18758 * resolv/res_send.c (send_dg): Use designated initializers instead
18759 of assignment to zero-initialize other fields of struct mmsghdr.
18761 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18763 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18764 __READDIR_ALIAS): Undefine after usage.
18765 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18766 __READDIR_R_ALIAS): Likewise.
18767 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18768 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18769 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18770 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18772 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18773 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18774 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18775 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18776 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18778 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18779 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18780 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18781 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18782 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18783 * sysdeps/unix/sysv/linux/readdir.c: New file.
18784 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18785 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18786 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18788 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18790 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18792 * manual/charset.texi (Converting a Character): Fix typo.
18794 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18798 * sysdeps/arm/libm-test-ulps: Update.
18800 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18801 as base implementation.
18802 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18803 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18806 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18807 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18808 remove unrequired definitions and update comments.
18809 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18810 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18811 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18812 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18813 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18814 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18815 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18816 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18817 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18818 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18819 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18820 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18821 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18822 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18823 and RESET_SA_RESTORER hooks.
18825 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18827 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18829 2018-04-05 Florian Weimer <fweimer@redhat.com>
18831 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18832 integer overflow, memory leak on error, and indeterminate errno
18833 value. Add a null wide character to terminate the result string.
18834 * manual/charset.texi (Converting a Character): Mention embedded
18835 null bytes in the mbrtowc input string. Explain what happens in
18836 the -2 result case. Do not claim that mbrtowc is simple or
18837 obvious to use. Adjust the description of the code example. Use
18838 @code, not @var, for concrete variables.
18840 2018-04-05 Florian Weimer <fweimer@redhat.com>
18842 * manual/examples/mbstouwcs.c: New file.
18843 * manual/charset.texi (Converting a Character): Include it.
18845 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18847 * include/dirent.h (dirfd): Add hidden proto.
18848 * dirent/dirfd.c (dirfd): Add hidden def.
18849 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18850 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18852 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18854 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18855 sin, cos and sincos to 1 ULP.
18857 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18860 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18862 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18863 * elf/tst-absolute-sym.c: New file.
18864 * elf/tst-absolute-sym-lib.c: New file.
18865 * elf/tst-absolute-sym-lib.lds: New file.
18866 * elf/Makefile (tests): Add `tst-absolute-sym'.
18867 (modules-names): Add `tst-absolute-sym-lib'.
18868 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18869 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18870 ($(objpfx)tst-absolute-sym): New dependency.
18873 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18875 (SYMBOL_ADDRESS): New macro.
18876 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18877 SYMBOL_ADDRESS for symbol address calculation.
18878 * elf/dl-runtime.c (_dl_fixup): Likewise.
18879 (_dl_profile_fixup): Likewise.
18880 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18881 * elf/rtld.c (dl_main): Likewise.
18882 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18883 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18884 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18885 (elf_machine_rela): Likewise.
18886 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18887 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18888 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18889 (elf_machine_rela): Likewise.
18890 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18891 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18892 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18893 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18895 (elf_machine_reloc): Likewise.
18896 (elf_machine_got_rel): Likewise.
18897 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18898 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18903 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18904 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18908 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18913 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18914 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18916 2018-04-04 Zack Weinberg <zackw@panix.com>
18918 * sysdeps/generic/internal-signals.h: Include signal.h,
18919 sigsetops.h, and stdbool.h.
18920 (__libc_signal_block_all): Actually block all signals.
18921 (__libc_signal_block_app): Likewise.
18922 (__libc_signal_restore_set): Actually restore the signal mask.
18924 2018-04-04 Florian Weimer <fweimer@redhat.com>
18926 inet: Actually build and run tst-deadline.
18927 * inet/Makefile (tests-internal): Add tst-deadline and do not
18928 overwrite the variable.
18929 (tests-static-internal): Remove variable.
18931 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18934 * bits/uio-ext.h (RWF_APPEND): New.
18935 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18936 * manual/llio.texi: Document RWF_APPEND.
18937 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18938 (RWF_SUPPORTED): Add RWF_APPEND.
18940 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18943 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18944 check for internal nptl signals.
18945 * nptl/sigaction.c (__sigaction): Likewise.
18946 * signal/sigaddset.c (sigaddset): Likewise.
18947 * signal/sigdelset.c (sigdelset): Likewise.
18948 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18949 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18951 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18952 to filter out internal nptl signals.
18953 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18954 also check realtime signals using standard macros.
18955 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18956 __is_internal_signal, __libc_signal_block_all,
18957 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18958 * sysdeps/nptl/sigfillset.c: Remove file.
18959 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18960 Change return to bool.
18961 (__clear_internal_signals): Remove SIGTIMER clean since it is
18962 equal to SIGCANEL on Linux.
18963 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18964 signal set was constructed using standard functions.
18966 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18968 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18969 ifname is too long.
18970 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18971 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18972 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18974 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18975 * signal/sigaddset.c: Include <sigsetopts.h>.
18976 * signal/sigdelset.c: Likewise.
18978 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18982 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18983 logic as sin and cos.
18985 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18987 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18988 inputs. Return correct sign.
18989 (do_sincos): Remove small input check before do_sin, let do_sin set
18994 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18996 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18997 (do_cos_slow): Likewise.
18998 (do_sin_slow): Likewise.
18999 (reduce_and_compute): Likewise.
19004 (sloww1): Likewise.
19005 (sloww2): Likewise.
19007 (bslow1): Likewise.
19008 (bslow2): Likewise.
19009 (cslow2): Likewise.
19011 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19013 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19014 (do_cos): Remove corp parameter and calculations.
19015 (do_sin): Likewise.
19016 (do_sincos): Remove cor variable.
19017 (__sin): Use do_sincos for huge inputs.
19019 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19020 (reduce_and_compute_sincos): Remove unused function.
19022 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19024 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19025 reduce_sincos, improve accuracy to 136 bits.
19026 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19027 (__sin): Use improved reduction and simplified do_sincos calculation.
19029 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19031 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19033 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19034 (do_sincos_2): Likewise.
19035 (__sin): Remove middle range reduction case.
19037 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19040 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19042 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19046 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19048 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19050 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19053 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19055 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19056 Remove definitions.
19057 (opendir_oflags): Use O_DIRECTORY regardless.
19058 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19059 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19061 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19063 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19064 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19066 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19067 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19068 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19069 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19070 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19071 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19073 * htl/Makefile: Bump licence to LGPL 2.1+.
19074 * htl/alloca_cutoff.c: Likewise.
19075 * htl/cthreads-compat.c: Likewise.
19076 * htl/lockfile.c: Likewise.
19077 * htl/pt-alloc.c: Likewise.
19078 * htl/pt-cancel.c: Likewise.
19079 * htl/pt-cleanup.c: Likewise.
19080 * htl/pt-create.c: Likewise.
19081 * htl/pt-dealloc.c: Likewise.
19082 * htl/pt-detach.c: Likewise.
19083 * htl/pt-exit.c: Likewise.
19084 * htl/pt-getattr.c: Likewise.
19085 * htl/pt-initialize.c: Likewise.
19086 * htl/pt-internal.h: Likewise.
19087 * htl/pt-join.c: Likewise.
19088 * htl/pt-self.c: Likewise.
19089 * htl/pt-setcancelstate.c: Likewise.
19090 * htl/pt-setcanceltype.c: Likewise.
19091 * htl/pt-sigmask.c: Likewise.
19092 * htl/pt-spin-inlines.c: Likewise.
19093 * htl/pt-testcancel.c: Likewise.
19094 * htl/pt-yield.c: Likewise.
19095 * htl/tests/test-1.c: Likewise.
19096 * htl/tests/test-10.c: Likewise.
19097 * htl/tests/test-11.c: Likewise.
19098 * htl/tests/test-12.c: Likewise.
19099 * htl/tests/test-13.c: Likewise.
19100 * htl/tests/test-14.c: Likewise.
19101 * htl/tests/test-15.c: Likewise.
19102 * htl/tests/test-16.c: Likewise.
19103 * htl/tests/test-17.c: Likewise.
19104 * htl/tests/test-2.c: Likewise.
19105 * htl/tests/test-3.c: Likewise.
19106 * htl/tests/test-4.c: Likewise.
19107 * htl/tests/test-5.c: Likewise.
19108 * htl/tests/test-6.c: Likewise.
19109 * htl/tests/test-7.c: Likewise.
19110 * htl/tests/test-8.c: Likewise.
19111 * htl/tests/test-9.c: Likewise.
19112 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19113 * sysdeps/htl/bits/cancelation.h: Likewise.
19114 * sysdeps/htl/bits/pthread-np.h: Likewise.
19115 * sysdeps/htl/bits/pthread.h: Likewise.
19116 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19117 * sysdeps/htl/bits/semaphore.h: Likewise.
19118 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19119 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19120 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19121 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19122 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19123 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19124 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19125 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19126 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19127 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19128 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19129 * sysdeps/htl/old_pt-atfork.c: Likewise.
19130 * sysdeps/htl/pt-atfork.c: Likewise.
19131 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19132 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19133 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19134 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19135 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19136 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19137 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19138 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19139 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19140 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19141 * sysdeps/htl/pt-attr-init.c: Likewise.
19142 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19143 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19144 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19145 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19146 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19147 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19148 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19149 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19150 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19151 * sysdeps/htl/pt-attr.c: Likewise.
19152 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19153 * sysdeps/htl/pt-barrier-init.c: Likewise.
19154 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19155 * sysdeps/htl/pt-barrier.c: Likewise.
19156 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19157 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19158 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19159 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19160 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19161 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19162 * sysdeps/htl/pt-cond-init.c: Likewise.
19163 * sysdeps/htl/pt-cond-signal.c: Likewise.
19164 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19165 * sysdeps/htl/pt-cond-wait.c: Likewise.
19166 * sysdeps/htl/pt-cond.c: Likewise.
19167 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19168 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19169 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19170 * sysdeps/htl/pt-condattr-init.c: Likewise.
19171 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19172 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19173 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19174 * sysdeps/htl/pt-equal.c: Likewise.
19175 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19176 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19177 * sysdeps/htl/pt-getschedparam.c: Likewise.
19178 * sysdeps/htl/pt-getspecific.c: Likewise.
19179 * sysdeps/htl/pt-init-specific.c: Likewise.
19180 * sysdeps/htl/pt-key-create.c: Likewise.
19181 * sysdeps/htl/pt-key-delete.c: Likewise.
19182 * sysdeps/htl/pt-key.h: Likewise.
19183 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19184 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19185 * sysdeps/htl/pt-mutex-init.c: Likewise.
19186 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19187 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19188 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19189 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19190 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19191 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19192 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19193 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19194 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19195 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19196 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19197 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19198 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19199 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19200 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19201 * sysdeps/htl/pt-mutexattr.c: Likewise.
19202 * sysdeps/htl/pt-once.c: Likewise.
19203 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19204 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19205 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19206 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19207 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19208 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19209 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19210 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19211 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19212 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19213 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19214 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19215 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19216 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19217 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19218 * sysdeps/htl/pt-setschedparam.c: Likewise.
19219 * sysdeps/htl/pt-setschedprio.c: Likewise.
19220 * sysdeps/htl/pt-setspecific.c: Likewise.
19221 * sysdeps/htl/pt-spin.c: Likewise.
19222 * sysdeps/htl/pt-startup.c: Likewise.
19223 * sysdeps/htl/pthread.h: Likewise.
19224 * sysdeps/htl/sem-close.c: Likewise.
19225 * sysdeps/htl/sem-destroy.c: Likewise.
19226 * sysdeps/htl/sem-getvalue.c: Likewise.
19227 * sysdeps/htl/sem-init.c: Likewise.
19228 * sysdeps/htl/sem-open.c: Likewise.
19229 * sysdeps/htl/sem-post.c: Likewise.
19230 * sysdeps/htl/sem-timedwait.c: Likewise.
19231 * sysdeps/htl/sem-trywait.c: Likewise.
19232 * sysdeps/htl/sem-unlink.c: Likewise.
19233 * sysdeps/htl/sem-wait.c: Likewise.
19234 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19235 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19236 * sysdeps/mach/htl/pt-block.c: Likewise.
19237 * sysdeps/mach/htl/pt-spin.c: Likewise.
19238 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19239 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19240 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19241 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19242 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19243 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19244 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19245 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19246 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19247 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19248 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19249 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19250 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19251 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19252 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19253 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19254 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19255 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19256 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19257 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19258 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19259 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19260 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19261 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19262 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19263 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19264 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19265 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19266 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19267 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19268 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19269 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19270 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19271 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19272 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19273 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19274 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19275 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19276 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19277 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19278 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19279 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19280 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19282 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19283 * README: Remove the mention of out-of-tree patches needed for
19286 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19287 (UTIME_NOW, UTIME_OMIT): Define macros.
19289 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19290 instead of pthread_detach.
19291 (__cthread_fork): Call __pthread_create instead of pthread_create.
19292 (__cthread_keycreate): Call __pthread_key_create instead of
19293 pthread_key_create.
19294 (__cthread_getspecific): Call __pthread_getspecific instead of
19295 pthread_getspecific.
19296 (__cthread_setspecific): Call __pthread_setspecific instead of
19297 pthread_setspecific.
19298 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19299 __pthread_mutex_unlock instead of pthread_mutex_lock and
19300 pthread_mutex_unlock.
19301 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19302 ___pthread_get_cleanup_stack.
19303 (__pthread_get_cleanup_stack): New strong alias.
19304 * htl/pt-create.c: Include <pthreadP.h>.
19305 (entry_point): Call __pthread_exit instead of pthread_exit.
19306 (pthread_create): Rename to __pthread_create.
19307 (pthread_create): New strong alias.
19308 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19309 (pthread_detach): New strong alias.
19310 (__pthread_detach): Call __pthread_cond_broadcast instead of
19311 pthread_cond_broadcast.
19312 * htl/pt-exit.c: Include <pthreadP.h>.
19313 (__pthread_exit): Call __pthread_setcancelstate and
19314 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19315 __pthread_get_cleanup_stack.
19316 * htl/pt-testcancel.c: Include <pthreadP.h>.
19317 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19318 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19319 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19320 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19321 pthread_attr_getstacksize.
19322 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19323 Rename to __pthread_attr_getstackaddr.
19324 (pthread_attr_getstackaddr): New strong alias.
19325 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19326 Rename to __pthread_attr_getstacksize.
19327 (pthread_attr_getstacksize): New strong alias.
19328 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19329 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19330 (pthread_attr_setstack): New strong alias.
19331 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19332 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19333 pthread_attr_getstacksize, pthread_attr_setstacksize and
19334 pthread_attr_setstackaddr.
19335 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19336 Rename to __pthread_attr_setstackaddr.
19337 (pthread_attr_setstackaddr): New strong alias.
19338 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19339 Rename to __pthread_attr_setstacksize.
19340 (pthread_attr_setstacksize): New strong alias.
19341 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19342 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19344 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19345 (__pthread_key_create): New hidden def.
19346 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19347 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19348 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19349 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19350 __pthread_setspecific, __pthread_setcancelstate,
19351 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19352 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19353 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19355 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19356 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19357 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19358 (pthread_attr_setstackaddr): New strong alias.
19359 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19360 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19361 (pthread_attr_setstacksize): New strong alias.
19362 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19363 (call_exit): Call __pthread_exit instead of pthread_exit.
19364 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19365 (_pthread_mutex_init): New hidden definition.
19366 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19367 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19368 instead of pthread_attr_init and pthread_attr_setstack.
19370 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19371 __vm_deallocate instead of vm_allocate and vm_deallocate.
19372 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19374 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19376 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19378 * hurd/siginfo.c: Include <libioP.h>.
19379 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19380 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19382 * mach/devstream.c: Include <libioP.h>.
19383 (dealloc_ref): Call __mach_port_deallocate instead of
19384 mach_port_deallocate.
19385 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19386 Call __mach_port_deallocate instead of mach_port_deallocate.
19387 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19389 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19391 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19392 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19393 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19395 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19397 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19398 instead of sysconf.
19399 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19400 __clock_gettime instead of clock_gettime.
19401 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19402 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19403 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19404 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19405 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19407 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19408 __clock_gettime and __nanosleep instead of clock_gettime and
19410 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19411 __hurd_catch_signal.
19412 (hurd_catch_signal): New strong alias.
19413 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19414 __hurd_catch_signal instead of hurd_catch_signal.
19415 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19416 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19417 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19418 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19419 (_hurd_thread_sigstate): Add hidden def.
19420 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19422 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19423 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19424 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19425 __hurd_file_name_path_lookup.
19426 (hurd_file_name_path_lookup): New strong alias.
19427 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19428 hurd_file_name_path_lookup.
19429 * mach/errstring.c (mach_error_type): Add hidden def.
19430 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19431 * mach/mutex-init.c (__mutex_init): Add hidden def.
19432 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19433 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19434 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19435 * sysdeps/mach/hurd/getcwd.c
19436 (_hurd_canonicalize_directory_name_internal): Rename to
19437 __hurd_canonicalize_directory_name_internal.
19438 (_hurd_canonicalize_directory_name_internal): New strong alias.
19439 (__canonicalize_directory_name_internal, __getcwd): Call
19440 __hurd_canonicalize_directory_name_internal instead of
19441 _hurd_canonicalize_directory_name_internal.
19442 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19443 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19445 * sysdeps/hurd/include/hurd.h: New file.
19446 * sysdeps/hurd/include/hurd/fd.h: New file.
19447 * sysdeps/hurd/include/hurd/signal.h: New file.
19448 * sysdeps/mach/include/lock-intern.h: New file.
19449 * sysdeps/mach/include/mach.h: New file.
19450 * sysdeps/mach/include/mach/mig_support.h: New file.
19451 * sysdeps/mach/include/mach_error.h: New file.
19452 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19454 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19455 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19456 _HEADER_H_HIDDEN_DEF macro.
19457 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19458 _hurd_fd_error_signal): Add hidden prototype.
19459 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19461 * libio/iolibio.h (_IO_puts): New hidden prototype.
19462 * libio/ioputs.c (_IO_puts): New hidden def.
19463 * sysdeps/mach/hurd/localplt.data: New file.
19465 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19466 Amos Jeffries <squid3@treenet.co.nz>
19467 David Michael <fedora.dm0@gmail.com>
19468 Marco Gerards <marco@gnu.org>
19469 Marcus Brinkmann <marcus@gnu.org>
19470 Neal H. Walfield <neal@gnu.org>
19471 Pino Toscano <toscano.pino@tiscali.it>
19472 Richard Braun <rbraun@sceen.net>
19473 Roland McGrath <roland@gnu.org>
19474 Samuel Thibault <samuel.thibault@ens-lyon.org>
19475 Thomas DiModica <ricinwich@yahoo.com>
19476 Thomas Schwinge <tschwinge@gnu.org>
19478 * htl: New directory.
19479 * sysdeps/htl: New directory.
19480 * sysdeps/hurd/htl: New directory.
19481 * sysdeps/i386/htl: New directory.
19482 * sysdeps/mach/htl: New directory.
19483 * sysdeps/mach/hurd/htl: New directory.
19484 * sysdeps/mach/hurd/i386/htl: New directory.
19485 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19486 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19487 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19489 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19491 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19492 signals in thread created for runing timers.
19494 2018-04-01 Florian Weimer <fweimer@redhat.com>
19496 * support/support_format_addrinfo.c (support_format_addrinfo):
19497 Include unknown error number in formatted result.
19499 2018-03-29 Florian Weimer <fweimer@redhat.com>
19501 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19504 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19506 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19507 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19508 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19509 (__ASSUME_CLONE_BACKWARDS): Define.
19511 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19515 early when linux sentinel value is set.
19517 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19519 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19521 2018-03-27 Andreas Schwab <schwab@suse.de>
19524 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19525 allocation of private copy of nsaddr_list fails.
19527 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19530 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19531 * sysdeps/unix/sysv/linux/umount.c: ... here.
19532 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19533 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19534 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19535 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19537 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19538 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19540 2018-03-26 Andreas Schwab <schwab@suse.de>
19542 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19543 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19544 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19545 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19546 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19547 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19548 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19549 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19550 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19551 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19552 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19553 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19554 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19555 (R_RISCV_NUM): Define.
19557 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19559 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19560 TLS declaration of errno.
19561 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19563 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19564 (ARCH_SETUP_TLS): Likewise.
19565 * sysdeps/mach/hurd/libc-start.h: New file copied from
19566 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19567 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19568 instead of __libc_setup_tls.
19569 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19570 __libc_setup_tls before initializing libpthread and running _hurd_init
19571 which starts the signal thread.
19572 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19574 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19576 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19579 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19580 after it is defined.
19582 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19583 Max Horn <max@quendi.de>
19587 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19589 * string/test-memmove.c (do_test2): New testcase.
19591 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/generic/frame.h: Remove file.
19594 * sysdeps/arm/frame.h: Likewise.
19595 * sysdeps/hppa/frame.h: Likewise.
19596 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19598 (GET_FRAME): Likewise.
19599 (GET_STACK): Likewise.
19600 (CALL_SIGHANDLER): Likewise.
19601 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19603 (GET_FRAME): Likewise.
19604 (GET_STACK): Likewise.
19605 (CALL_SIGHANDLER): Likewise.
19606 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19607 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19608 (GET_FRAME): Likewise.
19609 (GET_STACK): Likewise.
19610 (CALL_SIGHANDLER): Likewise.
19611 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19612 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19613 (GET_FRAME): Likewise.
19614 (GET_STACK): Likewise.
19615 (ADVANCE_STACK_FRAME): Likewise.
19616 (CALL_SIGHANDLER): Likewise.
19617 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19618 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19619 (GET_FRAME): Likewise.
19620 (GET_STACK): Likewise.
19621 (CALL_SIGHANDLER): Likewise.
19622 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19623 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19624 (GET_FRAME): Likewise.
19625 (GET_STACK): Likewise.
19626 (CALL_SIGHANDLER): Likewise.
19627 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19628 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19629 (GET_FRAME): Likewise.
19630 (GET_STACK): Likewise.
19631 (CALL_SIGHANDLER): Likewise.
19632 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19633 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19634 (GET_FRAME): Likewise.
19635 (GET_STACK): Likewise.
19636 (CALL_SIGHANDLER): Likewise.
19637 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19638 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19639 (GET_FRAME): Likewise.
19640 (GET_STACK): Likewise.
19641 (CALL_SIGHANDLER): Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19643 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19644 (GET_FRAME): Likewise.
19645 (GET_STACK): Likewise.
19646 (CALL_SIGHANDLER): Likewise.
19647 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19648 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19649 (GET_FRAME): Likewise.
19650 (GET_STACK): Likewise.
19651 (CALL_SIGHANDLER): Likewise.
19652 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19653 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19654 (GET_FRAME): Likewise.
19655 (GET_STACK): Likewise.
19656 (CALL_SIGHANDLER): Likewise.
19657 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19659 (GET_FRAME): Likewise.
19660 (GET_STACK): Likewise.
19661 (CALL_SIGHANDLER): Likewise.
19662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19663 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19664 (FIRST_FRAME_POINTER): Likewise.
19665 (ADVANCE_STACK_FRAME): Likewise.
19666 (GET_STACK): Likewise.
19667 (GET_FRAME): Likewise.
19668 (CALL_SIGHANDLER): Likewise.
19669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19670 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19671 (ADVANCE_STACK_FRAME): Likewise.
19672 (GET_STACK): Likewise.
19673 (GET_FRAME): Likewise.
19674 (CALL_SIGHANDLER): Likewise.
19675 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19676 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19677 (GET_FRAME): Likewise.
19678 (GET_STACK): Likewise.
19679 (CALL_SIGHANDLER): Likewise.
19680 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19681 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19682 (GET_FRAME): Likewise.
19683 (GET_STACK): Likewise.
19684 (CALL_SIGHANDLER): Likewise.
19686 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19688 * sysdeps/x86_64/backtrace.c: Move to ....
19689 * debug/backtrace.c: ... here.
19690 * sysdeps/aarch64/backtrace.c: Remove file.
19691 * sysdeps/alpha/backtrace.c: Likewise.
19692 * sysdeps/hppa/backtrace.c: Likewise.
19693 * sysdeps/ia64/backtrace.c: Likewise.
19694 * sysdeps/mips/backtrace.c: Likewise.
19695 * sysdeps/nios2/backtrace.c: Likewise.
19696 * sysdeps/riscv/backtrace.c: Likewise.
19697 * sysdeps/sh/backtrace.c: Likewise.
19698 * sysdeps/tile/backtrace.c: Likewise.
19700 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19703 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19706 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19709 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19710 possibly overflowing computations.
19712 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19714 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19715 values from Linux-specific section now that it is in the GNU section.
19716 * sysdeps/gnu/errlist.c: Regenerate.
19718 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19720 * math/Makefile (libm-narrow-fns): Add sub.
19721 (libm-test-funcs-narrow): Likewise.
19722 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19723 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19724 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19725 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19726 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19727 (NARROW_SUB_TRIVIAL): Likewise.
19728 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19730 (__dsubl): Likewise.
19731 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19733 (CFLAGS-nldbl-dsub.c): New variable.
19734 (CFLAGS-nldbl-fsub.c): Likewise.
19735 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19737 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19739 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19740 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19741 * math/auto-libm-test-in: Add tests of sub.
19742 * math/auto-libm-test-out-narrow-sub: New generated file.
19743 * math/libm-test-narrow-sub.inc: New file.
19744 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19747 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19748 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19749 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19755 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19758 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19759 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19760 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19761 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19763 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19770 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19771 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19772 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19773 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19786 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19787 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19791 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19794 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19796 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19798 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19800 2018-03-18 Richard Braun <rbraun@sceen.net>
19802 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19805 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19807 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19808 (__libc_cleanup_fct): Define function.
19809 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19810 __libc_cleanup_end): Rewrite implementation using
19811 __attribute__ ((__cleanup__)).
19812 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19813 * hurd/Makefile (routines): Add hurdlock.
19814 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19816 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19817 * hurd/hurdpid.c: Include <lowlevellock.h>
19818 (_S_msg_proc_newids): Use lll_wait to synchronize.
19819 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19820 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19821 * mach/Makefile (lock-headers): Remove machine-lock.h.
19822 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19824 (__spin_lock_t): New type.
19825 (__SPIN_LOCK_INITIALIZER): New macro.
19826 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19827 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19828 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19829 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19830 (__mutex_init): Initialize with lll.
19831 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19832 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19834 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19835 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19836 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19837 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19838 (__setpgid): Use lll for synchronization.
19839 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19840 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19841 instead of <cthreads.h>.
19842 (_IO_lock_inexpensive): New macro
19843 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19844 (__libc_lock_self0): New declaration.
19845 (__libc_lock_owner_self): New macro.
19846 (__libc_key_t): Remove type.
19847 (_LIBC_LOCK_INITIALIZER): New macro.
19848 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19849 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19850 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19851 __libc_lock_define_initialized_recursive,
19852 __rtld_lock_define_initialized_recursive,
19853 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19854 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19855 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19856 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19857 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19858 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19859 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19861 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19862 * hurd/hurdlock.c: New file.
19863 * hurd/hurdlock.h: New file.
19864 * mach/lowlevellock.h: New file
19866 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19868 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19869 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19870 when opening a symlink with O_NOFOLLOW.
19871 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19872 path when flags contains O_NOFOLLOW.
19873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19874 if flags contains O_DIRECTORY and the result is a directory.
19875 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19876 oneself when the pointer given in D is nul (as set by ext2fs).
19877 * sysdeps/mach/hurd/mlockall.c: New file.
19878 * sysdeps/mach/hurd/munlockall.c: New file.
19880 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19882 * hurd/hurdsig.c: Include <pthread.h>.
19883 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19884 get the signal thread stack layout.
19885 * hurd/Makefile (headers): Remove threadvar.h.
19886 (inline-headers): Remove threadvar.h.
19887 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19888 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19889 __hurd_threadvar_max, __hurd_errno_location.
19890 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19891 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19892 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19893 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19894 unless TLS is not initialized yet, in which case we do not need a
19895 critical section yet anyway.
19896 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19898 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19900 (__hurd_threadvar_index): Remove enum.
19901 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19902 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19904 (__hurd_reply_port0): New variable declaration.
19905 (__hurd_local_reply_port): New macro.
19906 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19907 (interrupted_reply_port_location): Add thread_t parameter. Use it
19908 with THREAD_TCB to access thread-local variables.
19909 (_hurdsig_abort_rpcs): Pass ss->thread to
19910 interrupted_reply_port_location.
19911 (_hurd_internal_post_signal): Likewise.
19912 (_hurdsig_init): Use presence of cthread_fork instead of
19913 __hurd_threadvar_stack_mask to start signal thread by hand.
19914 Remove signal thread threadvar initialization.
19915 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19916 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19917 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19919 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19921 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19922 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19923 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19924 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19925 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19926 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19927 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19929 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19930 <hurd/threadvar.h>.
19931 [IS_IN(rtld)] (rtld_errno): New variable.
19932 [IS_IN(rtld)] (__errno_location): New weak function.
19933 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19934 * sysdeps/mach/hurd/errno.c: Remove file.
19935 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19936 (__fork): Remove THREADVAR_SPACE macro and its use.
19937 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19939 (init): Do not initialize threadvar.
19940 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19942 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19943 __hurd_local_reply_port instead of threadvar.
19944 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19945 _hurd_sigstate fields.
19946 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19947 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19948 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19949 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19950 instead of threadvar.
19951 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19952 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19953 (use_threadvar, global_reply_port): Remove variables.
19954 (__hurd_reply_port0): New variable.
19955 (__mig_get_reply_port): Use __hurd_local_reply_port and
19956 __hurd_reply_port0 instead of threadvar.
19957 (__mig_dealloc_reply_port): Likewise.
19958 (__mig_init): Do not initialize threadvar.
19959 * sysdeps/mach/hurd/profil.c: Fix comment.
19960 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19961 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19962 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19963 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19964 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19965 __cthread_setspecific.
19966 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19967 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19968 __cthread_t instead of cthread_fork, cthread_detach,
19969 pthread_getattr_np, pthread_attr_getstack.
19970 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19971 __cthread_keycreate.
19972 (cthread_getspecific): Rename to __cthread_getspecific.
19973 (cthread_setspecific): Rename to __cthread_setspecific.
19974 (__libc_getspecific): Use __cthread_getspecific instead of
19975 cthread_getspecific.
19976 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19977 __cthread_keycreate instead of cthread_keycreate.
19978 (__libc_setspecific): Use __cthread_setspecific instead of
19979 cthread_setspecific.
19980 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19983 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19984 testing whether it is defined.
19986 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19988 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19990 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19991 * sysdeps/mach/i386/thread_state.h
19992 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19994 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19996 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19998 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19999 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20001 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20003 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20004 descriptor instead of creating a new one.
20005 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20007 * mach/setup-thread.c: Include <ldsodefs.h>.
20008 (__mach_setup_thread): Call _dl_allocate_tls, pass
20009 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20010 MACHINE_THREAD_STATE_FLAVOR, before getting
20011 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20012 MACHINE_THREAD_STATE_FLAVOR with the result.
20013 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20014 MACHINE_THREAD_STATE_FIX_NEW.
20015 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20016 too. Add original thread parameter.
20018 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20020 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20021 Remove inline function.
20023 * sysdeps/i386/fpu/libm-test-ulps: Update.
20024 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20026 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20028 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20031 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20033 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20034 (__sincos_code): Remove define and undefine.
20035 [__FAST_MATH__] (__sincos): Remove inline function.
20036 [__FAST_MATH__] (__sincosf): Remove inline function.
20037 [__FAST_MATH__] (__sincosl): Remove inline function.
20038 (__atan2l): Remove inline functions.
20039 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20040 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20042 (floor): Remove inline function.
20044 [__FAST_MATH__] (__ldexp_code): Remove macro.
20045 [__FAST_MATH__] (ldexp): Remove inline function.
20046 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20047 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20048 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20049 [__USE_ISOC99] (__lrint_code): Remove macro.
20050 [__USE_ISOC99] (__llrint_code): Likewise.
20051 [__USE_ISOC99] (lrintf): Remove inline function.
20052 [__USE_ISOC99] (lrint): Likewise.
20053 [__USE_ISOC99] (lrintl): Likewise.
20054 [__USE_ISOC99] (llrint): Likewise.
20055 [__USE_ISOC99] (llrintf): Likewise.
20056 [__USE_ISOC99] (llrintl): Likewise.
20058 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20060 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20061 (__ieee754_sqrtf): Remove.
20062 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20063 (__ieee754_sqrtf): Remove.
20064 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20065 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20066 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20067 (__ieee754_sqrtf): Remove.
20068 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20069 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20072 (__ieee754_sqrt): Remove.
20073 (__ieee754_sqrtf): Remove.
20074 (__ieee754_sqrtl): Remove.
20075 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20076 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20077 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20078 (__ieee754_sqrtf): Remove.
20079 (__ieee754_sqrtl): Remove.
20081 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20083 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20084 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20085 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20086 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20087 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20088 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20089 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20090 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20092 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20093 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20094 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20095 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20096 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20097 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20098 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20099 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20100 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20101 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20102 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20103 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20105 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20106 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20107 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20108 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20109 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20110 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20116 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20117 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20121 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20122 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20123 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20125 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20128 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20129 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20130 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20131 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20133 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20135 * include/math.h (sqrt): Declare with asm redirect.
20138 (sqrtf128): Likewise.
20139 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20140 nonlib and libnldbl with -fmath-errno.
20141 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20142 * math/w_sqrt_template.c: Likewise.
20143 * math/w_sqrtf_compat.c: Likewise.
20144 * math/w_sqrtl_compat.c: Likewise.
20145 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20146 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20147 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20150 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20152 * benchtests/Makefile: Define _ISOMAC.
20153 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20154 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20155 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20156 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20157 * benchtests/bench-timing.h: Define attribute_hidden.
20159 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20161 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20164 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20167 * localedata/locales/cs_CZ (mon): Rename to...
20169 (mon): Import from CLDR (genitive case).
20171 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20174 * localedata/locales/el_CY (abmon): Rename to...
20175 (ab_alt_mon): This.
20176 (abmon): Import from CLDR (abbreviated genitive case).
20177 * localedata/locales/el_GR (abmon): Rename to...
20178 (ab_alt_mon): This.
20179 (abmon): Import from CLDR (abbreviated genitive case).
20181 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20184 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20186 2018-03-15 Robert Buj <robert.buj@gmail.com>
20189 * localedata/locales/ca_ES (abmon): Rename to...
20190 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20191 (mon): Rename to...
20193 (abmon): Import from CLDR (genitive case, month names preceded by
20196 (abday): Synchronize with CLDR.
20197 (d_t_fmt): Likewise.
20201 (LC_TIME): Improve indentation.
20202 (LC_TELEPHONE): Likewise.
20203 (LC_NAME): Likewise.
20204 (LC_ADDRESS): Likewise.
20206 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20208 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20209 (lrintf): Remove definitions used only with old GCC.
20210 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20211 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20212 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20213 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20214 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20215 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20216 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20217 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20218 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20219 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20220 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20221 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20222 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20223 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20224 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20225 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20226 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20227 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20228 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20229 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20230 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20231 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20232 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20233 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20234 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20235 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20236 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20237 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20239 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20241 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20242 instruction to unbreak builds with binutils 2.26 and older.
20244 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20246 * sysdeps/aarch64/strncmp.S (count): New macro.
20247 (strncmp): Store misaligned length in SRC1 in COUNT.
20248 (mutual_align): Adjust.
20249 (misaligned8): Load dword at a time when it is safe.
20251 2018-03-12 Zack Weinberg <zackw@panix.com>
20255 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20256 if the _IO_EOF_SEEN bit is already set; update commentary.
20257 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20258 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20260 * support/support_openpty.c, support/tty.h: New files.
20261 * support/Makefile (libsupport-routines): Add support_openpty.
20263 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20265 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20266 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20268 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20270 * po/pt_BR.po: Update translations.
20272 2018-03-12 David Michael <fedora.dm0@gmail.com>
20274 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20275 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20276 get a port to the startup server.
20278 2018-03-11 Zack Weinberg <zackw@panix.com>
20280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20281 before nldbl-compat.h.
20283 2018-03-10 Zack Weinberg <zackw@panix.com>
20285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20286 math.h or math_private.h.
20288 * sysdeps/alpha/fpu/s_isnan.c
20289 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20290 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20292 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20294 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20295 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20296 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20297 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20303 Include math_private.h.
20305 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20306 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20307 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20308 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20309 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20310 * sysdeps/powerpc/power7/fpu/s_logb.c:
20311 Include math.h and math_private.h.
20313 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20314 uses of $at in .set noat / .set at.
20316 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20318 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20319 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20320 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20321 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20324 2018-03-09 Florian Weimer <fweimer@redhat.com>
20326 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20329 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20332 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20333 Add nop before __startcontext, add explaining comments.
20335 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20338 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20340 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20341 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20342 Do not build hardware transactional code for __SPE__.
20343 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20344 (__lll_trylock_elision): Likewise.
20345 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20346 (__lll_unlock_elision): Likewise.
20348 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20349 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20350 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20351 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20352 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20353 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20354 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20355 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20356 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20357 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20358 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20359 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20360 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20361 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20362 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20363 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20364 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20365 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20366 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20367 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20368 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20370 (__ASSUME_CLONE_BACKWARDS): Define.
20371 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20372 __clone2 if __NR_clone2 is defined.
20373 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20374 (__ASSUME_CLONE_BACKWARDS): Likewise.
20375 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20376 (__ASSUME_CLONE_BACKWARDS): Likewise.
20377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20378 (__ASSUME_CLONE2): Likewise.
20379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20380 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20381 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20382 variants and the define architecture can use.
20383 (__ASSUME_CLONE_DEFAULT): Define as default.
20384 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20385 (__ASSUME_CLONE_BACKWARDS): Likewise.
20386 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20387 (__ASSUME_CLONE_BACKWARDS): Likewise.
20388 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20389 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20391 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20393 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20395 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20398 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20399 (do_test_limit): Likewise.
20401 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20402 for every implementation.
20403 (do_test): Likewise.
20405 * benchtests/bench-strncmp.c: Convert output to json.
20407 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20409 * io/futimens.c: Add missing start-of-file descriptive comment.
20410 * io/utime.c: Likewise.
20411 * misc/futimesat.c: Likewise.
20412 * misc/utimes.c: Likewise.
20413 * sysdeps/mach/hurd/futimesat.c: Likewise.
20414 * sysdeps/mach/hurd/utimes.c: Likewise.
20415 * sysdeps/posix/utime.c: Likewise.
20416 * sysdeps/posix/utimes.c: Likewise.
20417 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20418 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20419 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20420 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20422 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20424 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20426 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20427 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20428 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20429 (__futimens): Move implementation to...
20430 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20431 utime_tvalue_from_tspec): ... new helper functions.
20432 (hurd_futimens): New function.
20433 * sysdeps/mach/hurd/futimesat.c: New file.
20434 * sysdeps/mach/hurd/utimensat.c: New file.
20436 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20438 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20439 UTIME_OMIT): New macros.
20440 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20441 before reverting to converting time spec to time value and calling
20443 * sysdeps/mach/hurd/utime-helper.c: New file.
20444 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20445 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20446 reverting to utime_tvalue_from_tval and __file_utimes.
20447 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20448 (__lutimes): Just call hurd_futimens after lookup.
20449 * sysdeps/mach/hurd/utimes.c: Likewise.
20451 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20453 * bits/sigaction.h: Add include guard.
20454 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20455 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20456 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20457 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20458 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20459 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20460 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20461 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20462 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20464 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20466 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20467 -Wmaybe-uninitialized for -Os.
20468 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20471 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20473 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20474 __INO_T_MATCHES_INO64_T is defined.
20475 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20476 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20478 * dirent/alphasort64.c: Likewise.
20479 * dirent/scandir.c: Likewise.
20480 * dirent/scandir64-tail.c: Likewise.
20481 * dirent/scandir64.c: Likewise.
20482 * dirent/scandirat.c: Likewise.
20483 * dirent/scandirat64.c: Likewise.
20484 * dirent/versionsort.c: Likewise.
20485 * dirent/versionsort64.c: Likewise.
20486 * include/dirent.h: Likewise.
20488 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20489 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20490 for socketpair endpoint.
20491 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20492 WRITE_BUFFER_SIZE as buffer size for sending socket.
20493 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20494 issue on system where send is implemented with sendto syscall.
20495 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20496 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20497 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20498 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20501 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20502 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20503 sa_restorer for vDSO case.
20504 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20506 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20508 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20509 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20510 * hurd/hurd/ioctl.h: Include <mach/port.h>
20511 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20512 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20513 <mach/mach_types.h> and <mach/message.h>.
20514 (headers): Move mach/param.h to bits/mach/param.h.
20515 * sysdeps/mach/i386/mach/param.h: Move file to ...
20516 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20517 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20519 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20520 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20521 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20522 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20523 trivial, for C++ conformity.
20524 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20525 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20526 Process mig output through $(migheadersed).
20527 * hurd/Makefile (migheadersed): Define variable.
20528 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20529 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20531 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20532 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20533 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20534 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20535 <bits/types/sigset_t.h>.
20536 [!defined __USE_GNU]: Do not #error out.
20537 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20538 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20539 Include <stddef.h> and <bits/types/sigset_t.h>
20540 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20541 instead of sighandler_t.
20542 * stdlib/errno.h (error_t): Move definition to...
20543 * bits/types/error_t.h: ... new header.
20544 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20545 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20546 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20547 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20548 * hurd/hurd.h: Include <bits/types/error_t.h>
20549 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20550 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20551 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20552 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20553 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20554 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20555 * sysdeps/mach/hurd/futimens.c: New file.
20557 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20560 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20561 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20562 * nscd/gai.c (__nss_hosts_database): Readd definition.
20563 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20564 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20565 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20567 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20569 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20570 (ifunc_one): Likewise.
20572 2018-03-01 DJ Delorie <dj@delorie.com>
20575 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20578 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20580 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20581 `match_pid' parameter.
20582 (td_ta_thr_iter): Update accordingly.
20584 2018-03-01 Florian Weimer <fweimer@redhat.com>
20586 * nptl/Makefile (install-lib-ldscripts): Remove.
20587 (install): Remove rule.
20588 ($(inst_libdir)/libpthread.so): Likewise.
20590 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20593 * localedata/locales/an_ES: update month and day names,
20594 improve d_fmt, improve postal_fmt, add country_post,
20597 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20599 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20600 Ukrainian instead of Bulgarian.
20602 2018-03-01 Florian Weimer <fweimer@redhat.com>
20604 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20607 2018-03-01 Florian Weimer <fweimer@redhat.com>
20609 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20610 * nptl/Makefile (routines): Add pthread_atfork.
20611 (static-only-routines): Set to pthread_atfork.
20612 (libpthread-routines): Remove pthread_atfork.
20613 (libpthread-static-only-routines): Remove.
20614 (install): Update comment.
20615 (libpthread.so): Do not install libpthread_nonshared.a.
20616 (tests): Do not link with libpthread_nonshared.a.
20617 (generated): Remove libpthread_nonshared.a.
20618 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20619 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20620 with libpthread_nonshared.a.
20622 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20625 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20626 (libc_feholdexcept_setroundf128): New macro.
20627 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20630 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20632 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20633 * include/inttypes.h: New file.
20635 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20637 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20638 -Os in two more places.
20640 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20642 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20643 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20644 be sorted correctly at the moment because of a bug.
20646 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20648 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20649 treat ñ as a primary different character, sync the collation
20650 for Spanish with CLDR.
20651 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20652 * localedata/Makefile: Add new test files.
20653 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20654 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20656 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20657 * localedata/am_ET.UTF-8.in: New test file.
20658 * localedata/az_AZ.UTF-8.in: Likewise.
20659 * localedata/be_BY.UTF-8.in: Likewise.
20660 * localedata/ber_DZ.UTF-8.in: Likewise.
20661 * localedata/ber_MA.UTF-8.in: Likewise.
20662 * localedata/bg_BG.UTF-8.in: Likewise.
20663 * localedata/br_FR.UTF-8.in: Likewise.
20664 * localedata/cmn_TW.UTF-8.in: Likewise.
20665 * localedata/crh_UA.UTF-8.in: Likewise.
20666 * localedata/csb_PL.UTF-8.in: Likewise.
20667 * localedata/cv_RU.UTF-8.in: Likewise.
20668 * localedata/cy_GB.UTF-8.in: Likewise.
20669 * localedata/dz_BT.UTF-8.in: Likewise.
20670 * localedata/eo.UTF-8.in: Likewise.
20671 * localedata/es_ES.UTF-8.in: Likewise.
20672 * localedata/fa_IR.UTF-8.in: Likewise.
20673 * localedata/fi_FI.UTF-8.in: Likewise.
20674 * localedata/fil_PH.UTF-8.in: Likewise.
20675 * localedata/fur_IT.UTF-8.in: Likewise.
20676 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20677 * localedata/ha_NG.UTF-8.in: Likewise.
20678 * localedata/ig_NG.UTF-8.in: Likewise.
20679 * localedata/ik_CA.UTF-8.in: Likewise.
20680 * localedata/kk_KZ.UTF-8.in: Likewise.
20681 * localedata/ku_TR.UTF-8.in: Likewise.
20682 * localedata/ky_KG.UTF-8.in: Likewise.
20683 * localedata/ln_CD.UTF-8.in: Likewise.
20684 * localedata/mi_NZ.UTF-8.in: Likewise.
20685 * localedata/ml_IN.UTF-8.in: Likewise.
20686 * localedata/mn_MN.UTF-8.in: Likewise.
20687 * localedata/mr_IN.UTF-8.in: Likewise.
20688 * localedata/mt_MT.UTF-8.in: Likewise.
20689 * localedata/nb_NO.UTF-8.in: Likewise.
20690 * localedata/om_KE.UTF-8.in: Likewise.
20691 * localedata/os_RU.UTF-8.in: Likewise.
20692 * localedata/ps_AF.UTF-8.in: Likewise.
20693 * localedata/ro_RO.UTF-8.in: Likewise.
20694 * localedata/ru_RU.UTF-8.in: Likewise.
20695 * localedata/sc_IT.UTF-8.in: Likewise.
20696 * localedata/se_NO.UTF-8.in: Likewise.
20697 * localedata/sq_AL.UTF-8.in: Likewise.
20698 * localedata/sv_SE.UTF-8.in: Likewise.
20699 * localedata/szl_PL.UTF-8.in: Likewise.
20700 * localedata/tg_TJ.UTF-8.in: Likewise.
20701 * localedata/tk_TM.UTF-8.in: Likewise.
20702 * localedata/tt_RU.UTF-8.in: Likewise.
20703 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20704 * localedata/ug_CN.UTF-8.in: Likewise.
20705 * localedata/uz_UZ.UTF-8.in: Likewise.
20706 * localedata/vi_VN.UTF-8.in: Likewise.
20707 * localedata/yi_US.UTF-8.in: Likewise.
20708 * localedata/yo_NG.UTF-8.in: Likewise.
20709 * localedata/zh_CN.UTF-8.in: Likewise.
20710 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20711 file and fix bugs in the collation.
20712 * localedata/locales/az_AZ: Likewise.
20713 * localedata/locales/be_BY: Likewise.
20714 * localedata/locales/ber_DZ: Likewise.
20715 * localedata/locales/ber_MA: Likewise.
20716 * localedata/locales/bg_BG: Likewise.
20717 * localedata/locales/br_FR: Likewise.
20718 * localedata/locales/br_FR@euro: Likewise.
20719 * localedata/locales/ca_ES: Likewise.
20720 * localedata/locales/cns11643_stroke: Likewise.
20721 * localedata/locales/crh_UA: Likewise.
20722 * localedata/locales/cs_CZ: Likewise.
20723 * localedata/locales/csb_PL: Likewise.
20724 * localedata/locales/cv_RU: Likewise.
20725 * localedata/locales/cy_GB: Likewise.
20726 * localedata/locales/da_DK: Likewise.
20727 * localedata/locales/dz_BT: Likewise.
20728 * localedata/locales/en_CA: Likewise.
20729 * localedata/locales/eo: Likewise.
20730 * localedata/locales/es_CU: Likewise.
20731 * localedata/locales/es_EC: Likewise.
20732 * localedata/locales/es_ES: Likewise.
20733 * localedata/locales/es_US: Likewise.
20734 * localedata/locales/et_EE: Likewise.
20735 * localedata/locales/fa_IR: Likewise.
20736 * localedata/locales/fi_FI: Likewise.
20737 * localedata/locales/fil_PH: Likewise.
20738 * localedata/locales/fur_IT: Likewise.
20739 * localedata/locales/gez_ER@abegede: Likewise.
20740 * localedata/locales/ha_NG: Likewise.
20741 * localedata/locales/hr_HR: Likewise.
20742 * localedata/locales/hsb_DE: Likewise.
20743 * localedata/locales/hu_HU: Likewise.
20744 * localedata/locales/ig_NG: Likewise.
20745 * localedata/locales/ik_CA: Likewise.
20746 * localedata/locales/is_IS: Likewise.
20747 * localedata/locales/iso14651_t1_pinyin: Likewise.
20748 * localedata/locales/kk_KZ: Likewise.
20749 * localedata/locales/ku_TR: Likewise.
20750 * localedata/locales/ky_KG: Likewise.
20751 * localedata/locales/ln_CD: Likewise.
20752 * localedata/locales/lt_LT: Likewise.
20753 * localedata/locales/lv_LV: Likewise.
20754 * localedata/locales/mi_NZ: Likewise.
20755 * localedata/locales/ml_IN: Likewise.
20756 * localedata/locales/mn_MN: Likewise.
20757 * localedata/locales/mr_IN: Likewise.
20758 * localedata/locales/mt_MT: Likewise.
20759 * localedata/locales/nb_NO: Likewise.
20760 * localedata/locales/om_KE: Likewise.
20761 * localedata/locales/os_RU: Likewise.
20762 * localedata/locales/pl_PL: Likewise.
20763 * localedata/locales/ps_AF: Likewise.
20764 * localedata/locales/ro_RO: Likewise.
20765 * localedata/locales/ru_RU: Likewise.
20766 * localedata/locales/ru_UA: Likewise.
20767 * localedata/locales/sc_IT: Likewise.
20768 * localedata/locales/se_NO: Likewise.
20769 * localedata/locales/si_LK: Likewise.
20770 * localedata/locales/sq_AL: Likewise.
20771 * localedata/locales/sv_FI: Likewise.
20772 * localedata/locales/sv_FI@euro: Likewise.
20773 * localedata/locales/sv_SE: Likewise.
20774 * localedata/locales/szl_PL: Likewise.
20775 * localedata/locales/tg_TJ: Likewise.
20776 * localedata/locales/ti_ER: Likewise.
20777 * localedata/locales/tk_TM: Likewise.
20778 * localedata/locales/tl_PH: Likewise.
20779 * localedata/locales/tr_TR: Likewise.
20780 * localedata/locales/tt_RU: Likewise.
20781 * localedata/locales/tt_RU@iqtelif: Likewise.
20782 * localedata/locales/ug_CN: Likewise.
20783 * localedata/locales/uk_UA: Likewise.
20784 * localedata/locales/uz_UZ: Likewise.
20785 * localedata/locales/uz_UZ@cyrillic: Likewise.
20786 * localedata/locales/vi_VN: Likewise.
20787 * localedata/locales/yi_US: Likewise.
20788 * localedata/locales/yo_NG: Likewise.
20790 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20792 * gen-locales.mk: Make test files which contain @ modifiers in their
20794 * localedata/gen-locale.sh: Likewise.
20796 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20798 * posix/tst-fnmatch.input: Fix results for range expressions
20800 * posix/tst-regexloc.c: Do not use a range expression for
20801 de_DE.ISO-8859-1 locale.
20803 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20805 * posix/bug-regex5.c: Fix test case because with the new
20806 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20807 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20810 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20812 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20813 downloaded from ISO, the collation order of @-. and space has changed.
20814 Therefore, this test file needed to be adapted.
20815 * localedata/fr_CA.UTF-8.in: Likewise.
20816 * localedata/fr_FR.UTF-8.in: Likewise.
20817 * localedata/uk_UA.UTF-8.in: Likewise.
20819 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20821 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20822 order of ȥ in the new iso14651_t1_common file.
20823 * localedata/pl_PL.UTF-8.in: Likewise.
20825 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20827 * localedata/locales/iso14651_t1_common: Add sections for various
20828 scripts to the iso14651_t1_common file.
20830 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20832 * localedata/locales/iso14651_t1_common: Use the code point of a
20833 character in the fourth collation level instead of IGNORE for all
20834 entries which have IGNORE on all 4 levels.
20836 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20838 * localedata/locales/iso14651_t1_common: Add some convenient collation
20839 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20840 rules similar to those in CLDR.
20842 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20844 * localedata/locales/iso14651_t1_common: The new version of this
20845 file downloaded from ISO contained several syntax errors which
20846 are fixed by this patch.
20848 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20850 * localedata/locales/iso14651_t1_common: replace all <U.....>
20851 with <U000.....> because glibc understands only 4 digit or 8 digit
20853 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20855 * localedata/locales/iso14651_t1_common: Necessary changes
20856 to make the file downloaded from ISO usable by glibc.
20858 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20861 * localedata/locales/iso14651_t1_common: Update file to
20862 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20864 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20866 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20867 of <nptl/pthreadP.h>
20868 (thread_attr_compare): Move function to...
20869 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20870 * sysdeps/nptl/timer_routines.h: ... new header.
20871 * sysdeps/mach/hurd/gai_misc.h: New file.
20873 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20875 * string/strcoll_l.c: Include <libc-diag.h>.
20876 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20877 declarations of seq1 and seq2.
20880 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20881 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20883 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20888 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20889 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20890 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20891 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20892 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20894 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20896 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20897 macros used in __ptrace_request.
20899 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20902 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20905 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20906 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20909 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20912 * ctype/ctype.c (tolower): Use libc_hidden_def.
20913 (toupper): Likewise.
20914 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20915 [!_ISOMAC] (toupper): Likewise.
20917 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20919 * localedata/Makefile: Remove --quiet argument when
20922 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20925 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20927 * localedata/locales/pt_PT (LC_TIME): likewise
20929 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20932 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20933 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20934 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20936 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20940 * nptl/Makefile (routines): Remove unregister-atfork.
20941 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20942 (fork_handler_alloc): Remove function.
20943 (fork_handlers, fork_handler_init): New variables.
20944 (__fork_lock): Rename to atfork_lock.
20945 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20946 to use a dynamic array to add/remove atfork handlers.
20947 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20948 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20949 Remove declaration.
20950 (fork_handler): Remove next, refcntr, and need_signal member.
20951 (__run_fork_handler_type): New enum.
20952 (__run_fork_handlers): New prototype.
20953 * nptl/register-atfork.c: Remove file.
20954 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20956 * sysdeps/nptl/nptl-signals.h: Move to ...
20957 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20959 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20960 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20961 unnecessary check for SIGTIMER.
20962 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20963 remove unnecessary removal of SIGTIMER.
20964 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20965 include-signals.h rename.
20966 * nptl/pthreadP.h: Likewise.
20967 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20968 __is_internal_signal instead of __nptl_is_internal_signal.
20970 2018-02-22 Andrew Waterman <andrew@sifive.com>
20973 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20974 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20975 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20976 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20978 2018-02-22 DJ Delorie <dj@delorie.com>
20980 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20982 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20984 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20985 do_misaligned, not misaligned8.
20987 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20989 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20990 Add memcpy_thunderx2.
20991 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20993 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20994 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20995 and IS_THUNDERX2PA checks.
20996 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20997 Use macro to set name appropriately.
20998 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20999 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21000 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21002 (IS_THUNDERX2): New macro.
21004 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21006 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21008 2018-02-21 Zack Weinberg <zackw@panix.com>
21010 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21011 Define here, unconditionally.
21012 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21013 * libio/libioP.h: Remove #if 0 blocks.
21014 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21015 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21016 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21018 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21019 Assume weak_alias is always defined.
21021 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21022 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21023 Remove #if 0 and #ifdef TODO blocks.
21024 Assume text_set_element is always defined.
21026 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21027 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21028 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21030 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21031 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21032 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21033 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21034 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21035 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21036 Reformat bit flags for _flags field to make occupancy clearer.
21038 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21039 Keep definitions consistent with those in libio/libio.h.
21041 * libio/libio.h (_IO_file_flags): Remove macro.
21042 All uses changed to _flags.
21044 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21045 (__HAVE_COLUMN, _IO_BE): Don't define.
21046 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21047 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21048 * libio/libioP.h (EOF): Don't define.
21049 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21050 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21051 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21052 testing _IO_UNIFIED_JUMPTABLES.
21054 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21055 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21056 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21057 (_IO_size_t): Delete; all uses changed to size_t.
21058 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21059 (_IO_off_t): Delete; all uses changed to off_t.
21060 (_IO_off64_t): Delete; all uses changed to off64_t.
21061 (_IO_pid_t): Delete; all uses changed to pid_t.
21062 (_IO_uid_t): Delete; all uses changed to uid_t.
21063 (_IO_wint_t): Delete; all uses changed to wint_t.
21064 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21065 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21066 (_IO_cookie_io_functions_t): Delete; all uses changed to
21067 cookie_io_functions_t.
21068 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21069 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21070 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21071 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21073 * libio/iofopncook.c: Remove unnecessary forward declarations.
21074 * libio/iolibio.h: Correct outdated commentary.
21075 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21076 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21077 Remove unnecessary casts.
21078 * stdio-common/getline.c: Use _IO_getdelim directly.
21079 Don't redefine ssize_t.
21080 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21081 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21082 Remove outdated comments.
21083 * stdio-common/vfscanf.c: Don't redefine va_list.
21085 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21086 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21087 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21088 which are always true, and __cplusplus, which is always false.
21090 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21094 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21095 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21096 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21097 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21099 [!_ISOMAC] (putc_unlocked): Likewise.
21100 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21101 define inline if [__USE_EXTERN_INLINES].
21102 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21107 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21108 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21109 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21110 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21111 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21113 * time/tzfile.c (__tzfile_read): Likewise.
21115 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21118 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21120 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21122 * io/fcntl.h: Fix a typo in a comment.
21124 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21127 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21128 define _DEFAULT_SOURCE.
21129 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21131 2018-02-21 Florian Weimer <fweimer@redhat.com>
21134 * elf/cache.c (save_cache): Call fsync on temporary file before
21136 (save_aux_cache): Call fdatasync on temporary file before renaming
21139 2018-02-21 Florian Weimer <fweimer@redhat.com>
21142 * include/caller.h: Remove file.
21143 * elf/dl-caller.c: Likewise.
21144 * elf/Makefile (dl-routines): Remove dl-caller.
21145 (shared-only-routines): Do not add dl-caller.
21146 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21148 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21150 (dl_open_worker): Do not call __check_caller.
21151 (_dl_open): Do not set caller_dl_open member.
21152 * elf/rtld.c (_rtld_global_ro): Do not initialize
21153 _dl_check_caller member.
21154 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21155 _dl_check_caller member.
21156 (_dl_check_caller): Remove declaration.
21157 * sysdeps/unix/sysv/linux/dl-execstack.c
21158 (_dl_make_stack_executable): Do not call __check_caller.
21160 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21162 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21163 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21165 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21167 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21170 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21173 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21174 of 199606L, 200112L, and 200809L.
21175 (_XOPEN_SOURCE): Document special values of 600 and 700.
21176 (_ISOC11_SOURCE): Document macro.
21177 (_ATFILE_SOURCE): Likewise.
21178 (_FORTIFY_SOURCE): Likewise.
21180 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21184 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21185 and define as weak alias of __ferror_unlocked. Use
21187 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21189 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21190 function if [__USE_EXTERN_INLINES].
21191 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21194 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21197 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21199 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21202 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21203 the GLIBC_2.1 version.
21205 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21208 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21209 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21210 intl/tst-gettext-de.po from po/de.po by removing the
21211 POT-Creation-Date line.
21212 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21214 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21217 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21219 * mach/Makefile (headers): Add mach/param.h.
21220 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21221 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21222 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21223 (__ptsname_r): Move implementation to...
21224 (__ptsname_internal): ... new function. Add filling the STP
21227 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21229 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21232 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21234 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21237 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21239 * nptl/Makefile (tst-mutex8-ENV): Delete.
21240 * nptl/tst-mutex8.c (check_type):
21241 Add runtime check if mutex will be elided.
21243 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21247 * manual/install.texi (Configuring and compiling): Describe
21248 passing CC and CFLAGS on configure command line, not as
21249 environment variables. Use @code markup on those variables.
21250 Specify what options go in CC and what go in CFLAGS. Note the
21251 requirement to compile with optimization.
21252 * INSTALL: Regenerated.
21255 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21256 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21257 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21258 __sigprocmask instead of sigprocmask.
21259 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21261 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21262 __sigsetjmp and sigprocmask.
21265 * include/argz.h (argz_next): Use libc_hidden_proto.
21266 (__argz_next): Likewise.
21267 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21268 (argz_next): Use libc_hidden_weak.
21271 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21273 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21277 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21279 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21283 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21284 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21285 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21286 (__feof_unlocked): New declaration, and inline function if
21287 [__USE_EXTERN_INLINES].
21288 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21289 instead of feof_unlocked.
21290 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21291 * nss/nsswitch.c (nss_parse_file): Likewise.
21292 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21294 * time/getdate.c (__getdate_r): Likewise.
21295 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21296 Define as macro to call __feof_unlocked.
21298 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21300 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21302 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21304 * math/Makefile: Remove mpexp.c and mplog.c
21305 * sysdeps/i386/fpu/mpexp.c: Delete file.
21306 * sysdeps/i386/fpu/mplog.c: Likewise.
21307 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21308 * sysdeps/ia64/fpu/mplog.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21310 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21311 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21312 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21313 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21314 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21315 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21316 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21317 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21318 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21319 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21320 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21321 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21322 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21323 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21326 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21328 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21330 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21332 * sysdeps/sh/libm-test-ulps: Update.
21334 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21336 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21339 2018-02-12 Zack Weinberg <zackw@panix.com>
21342 * posix/sys/types.h: Don't include sys/sysmacros.h.
21343 * misc/sys/sysmacros.h: Remove the conditional deprecation
21344 warnings for the macros defined by this header.
21346 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21348 * manual/probes.texi: Remove slowexp probes.
21349 * math/Makefile: Remove slowexp.
21350 * sysdeps/generic/math_private.h (__slowexp): Remove.
21351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21352 document error bounds.
21353 * sysdeps/i386/fpu/slowexp.c: Remove.
21354 * sysdeps/ia64/fpu/slowexp.c: Remove.
21355 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21356 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21357 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21358 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21359 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21360 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21362 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21363 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21364 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21367 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21370 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21371 * benchtests/pow-inputs: Update comment for slow path cases.
21372 * manual/probes.texi (slowpow_p10): Delete removed probe.
21373 (slowpow_p10): Likewise.
21374 * math/Makefile: Remove halfulp.c and slowpow.c.
21375 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21376 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21377 (__halfulp): Remove.
21378 (__slowpow): Remove.
21379 * sysdeps/i386/fpu/halfulp.c: Delete file.
21380 * sysdeps/i386/fpu/slowpow.c: Likewise.
21381 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21382 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21384 improve comments and add error analysis.
21385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21386 (power1): Remove function:
21387 (log1): Remove error argument, add error analysis.
21388 (my_log2): Remove function.
21389 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21391 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21392 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21393 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21394 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21395 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21396 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21397 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21398 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21399 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21400 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21401 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21402 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21404 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21406 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21407 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21409 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21412 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21413 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21414 and PTRACE_SETHBPREGS.
21416 2018-02-10 Zack Weinberg <zackw@panix.com>
21419 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21421 * malloc/tst-malloc-stats-cancellation.c: New test case.
21422 * malloc/Makefile: Add new test case.
21424 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21426 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21428 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21430 * math/Makefile (libm-narrow-fns): Add add.
21431 (libm-test-funcs-narrow): Likewise.
21432 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21433 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21434 * math/gen-auto-libm-tests.c (test_functions): Add add.
21435 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21436 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21437 (NARROW_ADD_TRIVIAL): Likewise.
21438 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21440 (__daddl): Likewise.
21441 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21443 (CFLAGS-nldbl-dadd.c): New variable.
21444 (CFLAGS-nldbl-fadd.c): Likewise.
21445 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21447 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21449 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21450 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21451 * math/auto-libm-test-in: Add tests of add.
21452 * math/auto-libm-test-out-narrow-add: New generated file.
21453 * math/libm-test-narrow-add.inc: New file.
21454 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21457 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21458 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21459 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21460 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21461 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21462 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21465 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21466 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21467 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21468 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21469 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21470 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21471 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21473 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21474 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21475 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21476 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21477 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21478 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21479 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21480 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21481 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21482 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21483 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21484 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21485 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21490 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21491 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21496 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21497 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21501 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21502 (f128-pairs): New variable.
21503 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21504 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21506 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21507 Also make tests add $(f128-loader-link) to gnulib-tests.
21509 2018-02-09 DJ Delorie <dj@redhat.com>
21512 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21513 64-bit ELF type for 64-bit ELF objects.
21515 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21517 * math/libm-test-driver.c (snan_tests_arg): New variable.
21518 * math/libm-test-support.h (snan_tests_arg): New declaration.
21519 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21521 * math/Makefile (test-type-pairs): New variable.
21522 (test-type-pairs-f64xf128-yes): Likewise.
21523 (tests): Add test-narrow-macros.
21524 (libm-test-funcs-narrow): New variable.
21525 (libm-test-c-narrow): Likewise.
21526 (generated): Add $(libm-test-c-narrow).
21527 (libm-tests-base-narrow): New variable.
21528 (libm-tests-narrow): Likewise.
21529 (libm-tests): Add $(libm-tests-narrow).
21530 (libm-tests-for-type): Handle $(libm-tests-narrow).
21531 (libm-test-c-narrow-obj): New variable.
21532 ($(libm-test-c-narrow-obj)): New rule.
21533 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21534 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21535 $(o-iterator) to set dependencies and CFLAGS.
21536 * math/gen-auto-libm-tests.c: Document use for narrowing
21538 (output_for_one_input_case): Take argument NARROW.
21539 (generate_output): Likewise. Update call to
21540 output_for_one_input_case.
21541 (main): Take --narrow option. Update call to generate_output.
21542 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21543 (apply_lit): Update call to _apply_lit.
21544 (apply_arglit): New function.
21545 (parse_args): Handle "a" arguments.
21546 (parse_auto_input): Handle format names using ":".
21547 * math/README.libm-test: Document "a" parameter type.
21548 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21549 (ARG_TYPE_TRUE_MIN): Likewise.
21550 (ARG_TYPE_MAX): Likwise.
21551 (ARG_MIN_EXP): Likewise.
21552 (ARG_MAX_EXP): Likewise.
21553 (ARG_MANT_DIG): Likewise.
21554 (TEST_COND_arg_ibm128): Likewise.
21555 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21556 (TEST_COND_arg_fmt): New macro.
21557 (init_max_error): Update prototype.
21558 * math/libm-test-support.c (test_ibm128): New variable.
21559 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21560 instead of using [TEST_COND_ibm128] conditional.
21561 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21562 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21563 [TEST_NARROW] (TEST_MSG): New definition.
21564 (arg_plus_zero): New macro.
21565 (arg_minus_zero): Likewise.
21566 (arg_plus_infty): Likewise.
21567 (arg_minus_infty): Likewise.
21568 (arg_qnan_value_pl): Likewise.
21569 (arg_qnan_value): Likewise.
21570 (arg_snan_value_pl): Likewise.
21571 (arg_snan_value): Likewise.
21572 (arg_max_value): Likewise.
21573 (arg_min_value): Likewise.
21574 (arg_min_subnorm_value): Likewise.
21575 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21576 (RUN_TEST_LOOP_aa_f): New macro.
21577 (TEST_SUFF): New macro.
21578 (TEST_SUFF_STR): Likewise.
21579 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21580 (TEST_COND_any_ibm128): New macro.
21581 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21582 this_func. Update call to init_max_error.
21583 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21584 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21585 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21586 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21587 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21588 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21589 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21590 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21591 * math/test-math-vector.h (TEST_NARROW): Likewise.
21592 * math/test-arg-double.h: New file.
21593 * math/test-arg-float128.h: Likewise.
21594 * math/test-arg-float32x.h: Likewise.
21595 * math/test-arg-float64.h: Likewise.
21596 * math/test-arg-float64x.h: Likewise.
21597 * math/test-arg-ldouble.h: Likewise.
21598 * math/test-math-narrow.h: Likewise.
21599 * math/test-narrow-macros.c: Likewise.
21600 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21601 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21602 test-narrow-macros-ldbl-64.
21603 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21605 * math/bits/mathcalls-narrow.h: New file.
21606 * include/bits/mathcalls-narrow.h: Likewise.
21607 * math/math-narrow.h: Likewise.
21608 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21609 (__MATHCALL_NARROW_ARGS_2): Likewise.
21610 (__MATHCALL_NARROW_ARGS_3): Likewise.
21611 (__MATHCALL_NARROW_NORMAL): Likewise.
21612 (__MATHCALL_NARROW_REDIR): Likewise.
21613 (__MATHCALL_NARROW): Likewise.
21614 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21615 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21617 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21618 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21619 (libm-narrow-fns): New variable.
21620 (libm-narrow-types-basic): Likewise.
21621 (libm-narrow-types-ldouble-yes): Likewise.
21622 (libm-narrow-types-float128-yes): Likewise.
21623 (libm-narrow-types-float128-alias-yes): Likewise.
21624 (libm-narrow-types): Likewise.
21625 (libm-routines): Add narrowing functions.
21626 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21627 (libc_feholdexcept_setroundf128): New macro.
21628 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21629 * sysdeps/ieee754/float128/float128_private.h: Include
21630 <math/math-narrow.h>.
21631 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21632 Undefine and redefine.
21633 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21634 (libm_alias_float_ldouble): Undefine and redefine.
21635 (libm_alias_double_ldouble): Likewise.
21637 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21639 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21641 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21644 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21646 * manual/creature.texi: Convert references to gcc.info to gcc.
21647 * manual/stdio.texi: Likewise.
21648 * manual/string.texi: Likewise.
21650 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21653 * posix/bits/types.h (__int_least8_t): New typedef.
21654 (__uint_least8_t): Likewise.
21655 (__int_least16_t): Likewise.
21656 (__uint_least16_t): Likewise.
21657 (__int_least32_t): Likewise.
21658 (__uint_least32_t): Likewise.
21659 (__int_least64_t): Likewise.
21660 (__uint_least64_t): Likewise.
21661 * sysdeps/generic/stdint.h (int_least8_t): Define using
21663 (int_least16_t): Define using __int_least16_t.
21664 (int_least32_t): Define using __int_least32_t.
21665 (int_least64_t): Define using __int_least64_t.
21666 (uint_least8_t): Define using __uint_least8_t.
21667 (uint_least16_t): Define using __uint_least16_t.
21668 (uint_least32_t): Define using __uint_least32_t.
21669 (uint_least64_t): Define using __uint_least64_t.
21670 * wcsmbs/uchar.h: Include <bits/types.h>.
21671 (char16_t): Define using __uint_least16_t conditional only on
21673 (char32_t): Define using __uint_least32_t conditional only on
21675 * wcsmbs/test-char-types.c: New file.
21676 * wcsmbs/Makefile (tests): Add test-char-types.
21678 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21681 2018-02-07 Zack Weinberg <zackw@panix.com>
21683 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21684 Delete all contents except for definitions of _G_HAVE_MMAP and
21685 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21686 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21687 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21690 * libio/libio.h: Don't include bits/_G_config.h here.
21691 Include stddef.h with __need_wchar_t defined. Include
21692 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21693 Define _IO_iconv_t here, directly.
21694 Don't define _IO_HAVE_ST_BLKSIZE.
21695 * libio/libioP.h: Include _G_config.h here. Move include of
21696 shlib-compat.h up with rest of includes. Simplify conditionals
21697 controlling definition of _IO_JUMPS_OFFSET.
21699 * csu/init.c: Remove always-true #if around entire file.
21700 Don't include stdio.h. Set _IO_stdin_used to hardwired
21701 constant 0x20001, and update commentary.
21702 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21703 Replace all uses of _G_va_list with __gnuc_va_list.
21704 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21705 instead of #if _IO_HAVE_ST_BLKSIZE.
21706 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21707 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21710 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21711 multiple-include guard to match.
21712 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21714 Remove preprocessor conditionals that are always true and/or
21715 redundant to other preprocessor conditionals in the same nest.
21716 Include shlib-compat.h unconditionally.
21717 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21718 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21719 defined after including stdio.h.
21720 Use __BEGIN_DECLS/__END_DECLS.
21722 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21723 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21724 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21726 2018-02-07 Zack Weinberg <zackw@panix.com>
21728 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21729 New single-type headers split from _G_config.h.
21730 * libio/bits/types/cookie_io_functions_t.h
21731 * libio/bits/types/struct_FILE.h
21732 New single-type headers split from libio.h.
21734 * libio/Makefile: Install the above new headers. Don't install
21735 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21737 * libio/_G_config.h, libio/libio.h: Delete file.
21739 * libio/bits/libio.h: Remove improper-inclusion guard.
21740 Include stdio.h and don't repeat anything that it does.
21741 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21742 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21743 __io_read_fn as cookie_read_function_t,
21744 __io_write_fn as cookie_write_function_t,
21745 __io_seek_fn as cookie_seek_function_t,
21746 __io_close_fn as cookie_close_function_t,
21747 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21748 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21749 here, in the "compatibility defines" section. Remove an #if 0
21750 block. Use the "body" macros from bits/types/struct_FILE.h to
21751 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21752 and _IO_ferror_unlocked.
21753 Move prototypes of __uflow and __overflow...
21755 * libio/stdio.h: ...here. Don't include bits/libio.h.
21756 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21757 directly from stdarg.h. Include bits/types/__fpos_t.h,
21758 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21759 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21760 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21761 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21762 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21763 __ssize_t, not _IO_ssize_t. Unconditionally define
21764 BUFSIZ as 8192 and EOF as (-1).
21766 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21767 macros from bits/types/struct_FILE.h instead of _IO_* macros
21768 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21769 instead of _IO_ssize_t.
21770 * libio/bits/stdio2.h: Similarly.
21772 * libio/iolibio.h: Add multiple-include guard.
21773 Include bits/libio.h after stdio.h.
21774 * libio/libioP.h: Add multiple-include guard.
21775 Include stdio.h and bits/libio.h before iolibio.h.
21777 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21778 * include/bits/types/cookie_io_functions_t.h
21779 * include/bits/types/struct_FILE.h: New wrappers.
21781 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21782 Get definitions of _G_fpos_t and _G_fpos64_t from
21783 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21784 respectively. Remove improper-inclusion guards.
21786 * conform/data/stdio.h-data: Update expectations of va_list.
21787 * scripts/check-installed-headers.sh: Remove special case for
21788 libio.h and _G_config.h.
21790 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21794 * include/sys/sysmacros.h [!_ISOMAC]
21795 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21796 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21797 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21798 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21800 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21801 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21803 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21804 Undefine and redefine to add use __gnu_dev_ prefix.
21805 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21807 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21808 and define as hidden inline function.
21809 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21811 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21813 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21814 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21815 (gnu_dev_minor): Likewise.
21816 (gnu_dev_makedev): Likewise.
21817 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21819 * posix/wordexp.c (exec_comm_child): Likewise.
21820 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21821 instead of minor and __gnu_dev_major instead of major.
21822 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21823 __gnu_dev_major instead of major.
21824 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21825 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21826 instead of gnu_dev_minor.
21827 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21828 (SLAVE_P): Likewise.
21829 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21830 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21834 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21836 * locale/weightwc.h (findidx): Likewise.
21838 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21840 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21841 (slowlog_inexact): Likewise
21842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21843 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21845 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21848 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21849 missing second underscore to parameter name.
21851 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21857 * bits/byteswap.h: Update file comment. Do not include
21858 <bits/byteswap-16.h>.
21859 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21861 (__bswap_16): Define as inline function.
21862 (__bswap_constant_32): Reformat definition.
21863 (__bswap_32): Always define as inline function, not macro, using
21864 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21865 otherwise __bswap_constant_32.
21866 (__bswap_constant_64): Reformat definition. Do not use
21867 __extension__ here.
21868 (__bswap_64): Always define as inline function, not macro. Use
21869 __extension__ on function definition. Use __builtin_bswap64 if
21870 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21871 * string/test-endian-file-scope.c: New file.
21872 * string/test-endian-sign-conversion.c: Likewise.
21873 * string/Makefile (headers): Remove bits/byteswap-16.h.
21874 (tests): Add test-endian-file-scope and
21875 test-endian-sign-conversion.
21876 (CFLAGS-test-endian-sign-conversion.c): New variable.
21877 * bits/byteswap-16.h: Remove file.
21878 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21879 * sysdeps/ia64/bits/byteswap.h: Likewise.
21880 * sysdeps/m68k/bits/byteswap.h: Likewise.
21881 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21882 * sysdeps/s390/bits/byteswap.h: Likewise.
21883 * sysdeps/tile/bits/byteswap.h: Likewise.
21884 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21885 * sysdeps/x86/bits/byteswap.h: Likewise.
21888 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21889 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21890 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21891 199901L] (__restrict): Define to restrict.
21894 * string/testcopy.c: Include <support/support.h>. Do not include
21895 <malloc.h>. Use <support/test-driver.c>.
21896 (main): Rename to do_test. Make static. Use xmalloc instead of
21900 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21901 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21902 (SSIZE_MAX): Define to INT_MAX.
21903 * posix/test-ssize-max.c: New file.
21904 * posix/Makefile (tests): Add test-ssize-max.
21907 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21908 <support/support.h>. Do not include <malloc.h>.
21909 (query_auxv): Use xmalloc instead of malloc.
21912 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21913 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21916 2018-02-06 Florian Weimer <fweimer@redhat.com>
21919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21920 Use scratch_buffer instead of extend_alloca.
21922 2018-02-06 Zack Weinberg <zackw@panix.com>
21924 * libio/stdio.h: Don't define getc or putc as macros.
21925 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21926 not _IO_getc and _IO_putc.
21928 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21929 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21931 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21933 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21934 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21936 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21939 * elf/elf.h (NT_PRFPREG): New macro.
21940 (NT_S390_VXRS_LOW): Likewise.
21941 (NT_S390_VXRS_HIGH): Likewise.
21942 (NT_S390_GS_CB): Likewise.
21943 (NT_S390_GS_BC): Likewise.
21944 (NT_S390_RI_CB): Likewise.
21946 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21947 (MAP_SYNC): New macro.
21948 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21950 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21951 (MAP_SYNC): Likewise.
21952 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21953 (MAP_SYNC): Likewise.
21954 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21955 (MAP_SYNC): Likewise.
21956 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21957 (MAP_SYNC): Likewise.
21958 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21959 (MAP_SYNC): Likewise.
21960 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21961 (MAP_SYNC): Likewise.
21962 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21964 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21967 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21968 (MAP_SHARED_VALIDATE): New macro.
21969 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21970 (MAP_SHARED_VALIDATE): Likewise.
21972 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21974 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21975 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21978 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21980 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21981 (DT_NUM): Updated to 35.
21983 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21986 __builtin_expect with __glibc_likely and __glibc_unlikely.
21987 (elf_machine_rela): Likewise.
21988 (elf_machine_lazy_rel): Likewise.
21990 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21993 __builtin_expect with __glibc_likely and __glibc_unlikely.
21994 (elf_machine_lazy_rel): Likewise.
21996 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21999 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22001 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22003 2018-02-05 Andreas Schwab <schwab@suse.de>
22006 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22009 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22011 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22012 not check against PTHREAD_STACK_MIN.
22014 2018-02-02 Sean McKean <smckean83@gmail.com>
22017 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22019 2018-02-02 Florian Weimer <fweimer@redhat.com>
22022 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22023 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22024 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22025 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22026 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22027 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22028 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22029 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22030 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22031 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22032 * misc/tst-preadvwritev2.c (do_test): Call it.
22033 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22035 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22037 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22039 * benchtests/bench-memcmp.c: Print json instead of plain text.
22041 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22044 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22046 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22048 (s390_sthyi): New syscall.
22050 * sysdeps/generic/ldbl-classify-compat.h: New file.
22051 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22052 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22053 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22054 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22055 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22056 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22058 <ldbl-classify-compat.h>.
22059 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22060 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22061 <ldbl-classify-compat.h>.
22062 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22063 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22064 <ldbl-classify-compat.h>.
22065 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22067 <ldbl-classify-compat.h>.
22068 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22070 <ldbl-classify-compat.h>.
22071 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22073 <ldbl-classify-compat.h>.
22074 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22075 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22076 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22077 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22078 * sysdeps/microblaze/math_private.h: Likewise.
22079 * sysdeps/nios2/math_private.h: Likewise.
22080 * sysdeps/sh/math_private.h: Likewise.
22082 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22083 * sysdeps/m68k/coldfire/math_private.h: ... here.
22084 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22085 * sysdeps/tile/math_private.h: Likewise.
22086 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22088 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22091 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22093 (libc_fetestexcept): Likewise.
22094 (libc_feupdateenv_test): Likewise.
22095 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22096 (libc_fetestexcept): Likewise.
22097 (libc_feupdateenv_test): Likewise.
22098 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22099 (libc_fetestexcept): Likewise.
22100 (libc_feupdateenv_test): Likewise.
22101 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22102 (libc_fetestexcept): Likewise.
22103 (libc_feupdateenv_test): Likewise.
22105 * sysdeps/generic/math_private.h
22106 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22107 New inline function.
22108 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22111 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22112 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22113 * sysdeps/generic/math_private.h
22114 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22116 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22118 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22120 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22122 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22124 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22126 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22127 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22128 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22129 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22130 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22131 (__fegetenv): Likewise.
22132 (fesetenv): Likewise.
22133 (__fesetenv): Likewise.
22134 (feupdateenv): Likewise.
22135 (__feupdateenv): Likewise.
22136 (fegetround): Likewise.
22137 (__fegetround): Likewise.
22138 (fesetround): Likewise.
22139 (__fesetround): Likewise.
22141 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22142 (feraiseexcept): New macro.
22143 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22144 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22146 (__feraiseexcept): Likewise.
22147 (feclearexcept): Likewise.
22148 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22149 (__feraiseexcept): Likewise.
22150 (feclearexcept): Likewise.
22151 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22152 (__feraiseexcept): Likewise.
22153 (feclearexcept): Likewise.
22154 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22155 (__feraiseexcept): Likewise.
22156 (feclearexcept): Likewise.
22157 (fetestexcept): Likewise.
22159 * sysdeps/m68k/coldfire/math-tests.h: New file.
22161 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22162 * sysdeps/m68k/bits/fenv.h: ... here.
22163 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22165 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22167 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22169 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22171 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22173 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22175 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22176 (__FE_UNDEFINED): New enum constant.
22177 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22179 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22181 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22183 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22184 to match generic bits/fenv.h.
22185 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22188 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22190 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22191 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22192 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22193 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22195 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22196 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22197 Joseph Myers <joseph@codesourcery.com>
22200 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22201 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22202 computation using c.
22203 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22204 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22205 computation using c.
22207 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22209 * version.h (RELEASE): Set to "development".
22210 (VERSION): Set to "2.27.9000".
22211 * NEWS (2.28): New section.
22213 * version.h (RELEASE): Set to "stable".
22214 (VERSION): Set to "2.27".
22215 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22217 * NEWS: Add the list of bugs fixed in 2.27.
22219 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22221 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22222 against PTHREAD_STACK_MIN.
22224 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22226 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22228 (Rafał Lużyński, Andreas Schwab): Update.
22230 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22233 * NEWS: List the languages which actually use the alternative
22234 months feature in this release. Also explain that "alt_mon" and
22235 "ab_alt_mon" are optional.
22237 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22240 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22242 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22244 * manual/install.texi (Tools for Compilation): Update the newest
22245 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22246 * INSTALL: Regenerated.
22248 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22250 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22251 instead of __builtin_expect.
22253 2018-01-30 Florian Weimer <fweimer@redhat.com>
22255 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22257 * nss/tst-nss-getpwent.c (do_test): Likewise.
22259 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22262 * localedata/locales/hr_HR (mon): Rename to...
22264 (mon): Import from CLDR (genitive case).
22265 (d_t_fmt): Update the comment.
22267 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22269 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22270 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22271 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22273 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22275 * mach/Versions: Fix version when __mach_host_self_ was added.
22276 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22277 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22278 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22279 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22280 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22281 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22282 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22283 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22284 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22285 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22286 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22287 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22288 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22289 || to respect codestyle.
22290 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22291 (do_test_bz20181): Rename accordingly.
22292 * malloc/malloc.c: Include <assert.h>.
22293 (assert): Do not define.
22294 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22295 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22296 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22297 * sysdeps/mach/hurd/hp-timing.h: New file.
22298 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22300 2018-01-29 Darius Rad <darius@bluespec.com>
22302 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22304 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22306 * sysdeps/init_array/crti.S (.section .init_array): Add
22307 PREINIT_FUNCTION when defined.
22308 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22309 * config.h.in: Regenerate.
22310 * manual/platform.texi: Add RISC-V documenation for
22311 __riscv_flush_icache.
22312 * sysdeps/riscv/__longjmp.S: New file.
22313 * sysdeps/riscv/backtrace.c: Likewise.
22314 * sysdeps/riscv/bits/endian.h: Likewise.
22315 * sysdeps/riscv/bits/setjmp.h: Likewise.
22316 * sysdeps/riscv/bits/wordsize.h: Likewise.
22317 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22318 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22319 * sysdeps/riscv/dl-trampoline.S: Likewise.
22320 * sysdeps/riscv/gccframe.h: Likewise.
22321 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22322 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22323 * sysdeps/riscv/machine-gmon.h: Likewise.
22324 * sysdeps/riscv/memusage.h: Likewise.
22325 * sysdeps/riscv/setjmp.S: Likewise.
22326 * sysdeps/riscv/sys/asm.h: Likewise.
22327 * sysdeps/riscv/tls-macros.h: Likewise.
22328 * sysdeps/riscv/dl-tls.h: New file.
22329 * sysdeps/riscv/libc-tls.c: Likewise.
22330 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22331 * sysdeps/riscv/nptl/tls.h: Likewise.
22332 * sysdeps/riscv/stackinfo.h: Likewise.
22333 * sysdeps/riscv/bits/fenv.h: New file.
22334 * sysdeps/riscv/e_sqrtl.c: Likewise.
22335 * sysdeps/riscv/fpu_control.h: Likewise.
22336 * sysdeps/riscv/math-tests.h: Likewise.
22337 * sysdeps/riscv/nofpu/Implies: Likewise.
22338 * sysdeps/riscv/sfp-machine.h: Likewise.
22339 * sysdeps/riscv/tininess.h: Likewise.
22340 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22341 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22342 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22343 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22344 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22345 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22346 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22347 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22348 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22349 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22350 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22351 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22352 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22353 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22354 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22355 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22356 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22357 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22358 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22359 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22360 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22361 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22362 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22363 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22364 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22365 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22366 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22367 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22368 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22369 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22370 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22371 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22372 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22373 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22374 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22375 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22376 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22377 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22378 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22379 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22380 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22381 * sysdeps/riscv/rvf/math_private.h: Likewise.
22382 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22383 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22384 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22385 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22386 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22387 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22388 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22389 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22390 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22391 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22392 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22393 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22394 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22395 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22396 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22397 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22398 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22399 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22400 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22401 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22402 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22403 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22404 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22405 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22406 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22407 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22408 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22409 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22410 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22411 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22412 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22413 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22414 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22415 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22416 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22417 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22418 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22419 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22420 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22421 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22422 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22423 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22424 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22425 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22426 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22427 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22428 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22429 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22430 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22431 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22432 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22433 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22434 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22435 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22436 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22437 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22438 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22439 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22440 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22441 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22442 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22449 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22450 * sysdeps/riscv/Implies: New file.
22451 * sysdeps/riscv/Makefile: Likewise.
22452 * sysdeps/riscv/configure: Likewise.
22453 * sysdeps/riscv/configure.ac: Likewise.
22454 * sysdeps/riscv/nptl/Makefile: Likewise.
22455 * sysdeps/riscv/preconfigure: Likewise.
22456 * sysdeps/riscv/rv64/Implies-after: Likewise.
22457 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22458 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22459 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22460 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22461 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22462 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22463 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22464 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22465 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22466 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22467 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22468 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22469 (Config): Likewise.
22471 2018-01-29 Florian Weimer <fweimer@redhat.com>
22474 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22475 libnsl_hidden_proto.
22476 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22477 libnsl_hidden_proto.
22478 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22479 * nis/Makefile (libnsl-routines): Add nss-default only for
22480 build-obsolete-nsl.
22481 * nis/nis_defaults.c (__nis_default_ttl): Add
22482 libnsl_hidden_nolink_def.
22483 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22485 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22486 * nis/ypclnt.c (yp_maplist): Likewise.
22488 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22491 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22493 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22495 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22496 clean -dxfq for git updates when replacing sources.
22498 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22499 --disable-libcilkrts unconditionally, not just for the final GCC
22502 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22505 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22508 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22511 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22514 * localedata/locales/be_BY (mon): Rename to...
22515 (alt_mon): This, then synchronize with CLDR (nominative case).
22516 (abmon): Rename to...
22517 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22518 (mon): Import from CLDR (genitive case).
22520 * localedata/locales/be_BY@latin (mon): Rename to...
22522 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22524 * localedata/locales/be_BY@latin (lang_name): Reworded to
22525 "biełaruskaja mova".
22527 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22530 * localedata/locales/el_CY (mon): Renamed to...
22532 (mon): Import from CLDR (genitive case).
22533 * localedata/locales/el_GR: Likewise.
22535 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22538 * localedata/locales/ru_RU (mon): Rename to...
22540 (abmon): Rename to...
22541 (ab_alt_mon): This.
22542 (mon): Import from CLDR (genitive case).
22543 (abmon): Copy from the old content except the 5th month which is
22544 now in the genitive case, even when abbreviated.
22545 * localedata/locales/ru_UA: Likewise.
22546 * time/tst-strptime.c (day_tests): Add an actual example of
22547 a difference between %b and %Ob in Russian.
22549 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22551 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22552 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22554 * resolv/res-close.c: Include <stdlib.h>.
22555 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22556 <sys/wait.h>, <time.h>, <sys/uio.h>.
22557 (NOT_CANCEL_H): Add inclusion guard.
22558 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22559 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22560 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22562 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22563 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22564 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22566 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22567 timer_ptr2id to cast struct timer_node * to void *.
22568 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22569 --disable-libcilkrts to gcc configure.
22570 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22571 and make them the default for now.
22572 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22573 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22574 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22575 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22576 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22578 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22579 __task_terminate would ever return successfully.
22580 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22582 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22583 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22584 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22585 critical section to make code simpler and avoid warning.
22586 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22587 critical section to make code simpler and avoid warning.
22588 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22589 const char * instead of char *.
22590 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22591 __hurd_file_name_split, hurd_file_name_split,
22592 __hurd_directory_name_split, hurd_directory_name_split,
22593 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22594 hurd_file_name_path_lookup): Make lookup function parameter take a
22595 const char *name instead of char *name.
22596 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22597 __hurd_directory_name_split): Likewise.
22598 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22599 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22600 * sysdeps/mach/hurd/check_native.c: New file.
22601 * sysdeps/mach/hurd/check_pf.c: New file.
22602 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22603 (__freeifaddrs): Define macro to freeifaddrs.
22604 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22605 * sysdeps/mach/libmachuser.abilist: New file.
22606 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22607 (do_test_bz20181): Rename accordingly.
22608 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22609 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22611 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22612 version only if __USE_EXTERN_INLINES is defined.
22613 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22614 __hurd_sockfail): Likewise.
22615 (_hurd_fd_get): Always declare functions, and provide inline versions
22616 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22617 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22618 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22619 _hurd_port_set): Always declare functions, and provide inline versions
22620 only if __USE_EXTERN_INLINES and _LIBC are defined and
22622 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22623 _hurd_critical_section_unlock): Likewise.
22624 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22625 * __hurd_threadvar_location): Likewise.
22626 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22627 _hurd_userlink_clear): Likewise.
22628 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22629 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22630 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22631 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22632 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22633 __spin_lock_locked): Likewise.
22634 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22635 __spin_lock_locked): Likewise.
22636 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22637 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22638 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22639 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22640 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22641 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22642 _POSIX_NO_TRUNC): Define to 0.
22643 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22644 check size against PTHREAD_STACK_MIN.
22645 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22646 IS_IN(libpthread)]: Include <sigsetops.h>.
22647 * mach/Makefile (user-interfaces): Add mach/gnumach.
22648 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22649 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22650 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22651 instead of invalid -1.
22652 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22653 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22654 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22657 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22659 * hurd/fcntl-internal.h: New file.
22661 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22663 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22665 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22667 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22670 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22671 Build only shared objects.
22673 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22675 * README: Update for hppa.
22677 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22679 * sysdeps/sparc/fpu/libm-test-ulps: Update
22680 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22682 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22686 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22689 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22690 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22691 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22692 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22695 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22698 * bits/types/__cancel_jmp_buf_tag.h: New file.
22699 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22700 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22701 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22702 * nptl/Makefile (headers): Add
22703 bits/types/__cancel_jmp_buf_tag.h.
22704 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22705 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22706 * sysdeps/nptl/pthread.h: Include
22707 <bits/types/__cancel_jmp_buf_tag.h>.
22708 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22710 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22712 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22715 * localedata/locales/uk_UA (mon): Renamed to...
22717 (alt_digits): "0" removed and then renamed to...
22719 (date_fmt): Definition changed not to use the alternative
22722 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22724 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22725 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22726 * elf/elf.h (EF_RISCV_RVC): New define.
22727 (EF_RISCV_FLOAT_ABI): Likewise.
22728 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22729 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22730 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22731 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22732 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22734 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22736 2018-01-25 Andreas Schwab <schwab@suse.de>
22738 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22740 * sysdeps/gnu/configure: Regenerate.
22741 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22742 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22744 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22746 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22747 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22748 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22750 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22752 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22753 URL, and run autoconf, make it the default for now.
22755 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22757 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22758 soft-float ColdFire configuration.
22760 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22761 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22762 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22764 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22767 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22769 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22771 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22774 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22775 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22776 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22779 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22782 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22783 Rename to __reserved and add comment.
22784 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22785 Rename to __reserved.
22787 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22789 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22790 i686-gnu configurations.
22791 (Context.run_builds): Include mig, gnumach and hurd in components
22793 (Context.checkout): Add mig, gnumach and hurd to components.
22794 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22796 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22797 (Config.build): Install gnumach headers, build mig and install
22798 hurd headers for 'gnu' OS.
22799 (Config.install_gnumach_headers): New function.
22800 (Config.install_hurd_headers): Likewise.
22801 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22802 when building for 'gnu' OS.
22804 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22806 * manual/tunables.texi (Hardware Capability Tunables): Fix
22809 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22811 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22812 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22813 (ALTMON_11, ALTMON_12): Improve documentation.
22814 * manual/time.texi (strftime): Likewise.
22816 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22819 * localedata/locales/pl_PL: Alternative month names added,
22820 primary month names are genitive now.
22821 * time/tst-strptime.c (day_tests): Actually use a genitive case
22822 of a month name in Polish language.
22824 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22827 * manual/locale.texi: Document ALTMON_1..12 constants for
22828 nl_langinfo. Specify when to use ALTMON instead of MON.
22829 * manual/time.texi (strftime, strptime): Document GNU extension
22830 permitting O modifier with %B and %b. Specify when to use
22833 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22836 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22837 names, define them as the same as abbreviated month names explicitly.
22838 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22839 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22840 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22841 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22842 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22843 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22844 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22845 _NL_WABALTMON_12): New enum constants.
22846 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22847 wab_alt_mon, and ab_alt_mon_defined members.
22848 (time_output): Output ab_alt_mon and wab_alt_mon members.
22849 (time_read): Read them, initialize them as copies of abmon and wabmon
22850 respectively if they are missing, initialize ab_alt_mon_defined.
22851 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22852 * locale/programs/locfile-kw.h: Regenerate.
22853 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22854 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22856 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22857 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22858 (__strftime_internal): Handle %Ob and %Oh formats.
22859 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22860 (__strptime_internal): Handle %Ob and %Oh formats.
22861 * time/tst-strptime.c (day_tests): Add more tests to parse different
22862 forms of month names including the new %Ob format specifier.
22864 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22867 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22868 define them as the same as primary full month names explicitly.
22869 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22870 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22871 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22872 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22873 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22874 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22875 _NL_WALTMON_12): New enum constants.
22876 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22877 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22879 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22880 walt_mon, and alt_mon_defined members.
22881 (time_output): Output alt_mon and walt_mon members.
22882 (time_read): Read them, initialize them as copies of mon and wmon
22883 respectively if they are missing, initialize alt_mon_defined.
22884 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22885 * locale/programs/locfile-kw.h: Regenerate.
22886 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22887 * localedata/tst-langinfo.c (map): Add tests for the new constants
22888 ALTMON_1 .. ALTMON_12.
22889 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22891 * time/strftime_l.c (f_altmonth): New macro.
22892 (__strftime_internal): Handle %OB format.
22893 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22894 (__strptime_internal): Handle %OB format.
22895 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22896 of month names including the new %OB format specifier.
22898 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22901 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22902 from ABORT_TRANSACTION.
22903 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22904 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22905 ABORT_TRANSACTION_IMPL): Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22907 Linux code, but remove the code that aborts transactions.
22909 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22911 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22913 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22915 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22916 in date: "2004-14-09" should be "2004-09-14".
22917 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22918 "2003-15-09" should be "2003-09-15".
22920 2018-01-18 Arjun Shankar <arjun@redhat.com>
22926 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22928 (_int_memalign): check for integer overflow before calling
22930 * malloc/tst-malloc-too-large.c: New test.
22931 * malloc/Makefile: Add tst-malloc-too-large.
22933 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22935 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22936 in date: "2017-24-07" should be "2017-07-24".
22937 * localedata/locales/mai_IN: Likewise.
22938 * localedata/locales/mai_NP: Likewise.
22940 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22942 * po/ru.po: Update translations.
22944 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22947 * sysdeps/hppa/backtrace.c: New file.
22949 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22952 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22953 align La_x86_64_retval to VEC_SIZE.
22955 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22957 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22958 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22960 2018-01-16 Florian Weimer <fweimer@redhat.com>
22962 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22963 Move tst-thread-exit-clobber ...
22964 [$(CXX)] (tests-unsupported): ... to here.
22966 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22968 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22969 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22970 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22971 (_dl_aarch64_cap_flags): Update.
22972 (_DL_HWCAP_COUNT): Update.
22974 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22976 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22977 (_DL_HWCAP_LAST): Remove.
22978 (_DL_HWCAP_COUNT): Move to ...
22979 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22980 (_DL_HWCAP_COUNT): ... here.
22982 2018-01-16 Florian Weimer <fweimer@redhat.com>
22984 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22985 mode with GNU extensions.
22987 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22989 * elf/elf.h (NT_ARM_SVE): Define.
22991 2018-01-15 Florian Weimer <fweimer@redhat.com>
22994 * nptl/tst-minstack-throw.cc: New file.
22995 * nptl/Makefile (tests): Add tst-minstack-throw.
22996 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22997 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22999 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23001 * scripts/build-many-glibcs.py (Context.checkout): Default
23002 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23005 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23008 * elf/elf.h (DF_1_STUB): Define.
23009 (DF_1_PIE): Define.
23011 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23015 Do not add 0.5 to integer or out-of-range arguments.
23017 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23019 * po/bg.po: Update translations.
23020 * po/cs.po: Likewise.
23021 * po/de.po: Likewise.
23022 * po/ko.po: Likewise.
23023 * po/pl.po: Likewise.
23024 * po/sv.po: Likewise.
23025 * po/uk.po: Likewise.
23026 * po/vi.po: Likewise.
23028 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23030 * aarch64/start.S (_start): Use __wrap_main.
23031 (__wrap_main): New local symbol.
23033 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23037 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23038 generic_getcwd if the path returned by getcwd syscall is not absolute.
23039 * io/tst-getcwd-abspath.c: New test.
23040 * io/Makefile (tests): Add tst-getcwd-abspath.
23042 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23044 * malloc/malloc.c (malloc_consolidate): Add size check.
23046 2018-01-12 Florian Weimer <fweimer@redhat.com>
23048 * support/write_message.c (write_message): Preserve errno.
23049 * support/check.c (print_failure): Likewise.
23050 * support/support_test_verify_impl.c (support_test_verify_impl):
23052 * support/support_test_compare_failure.c
23053 (support_test_compare_failure): Likewise.
23055 2018-01-12 Florian Weimer <fweimer@redhat.com>
23058 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23059 Prevent installation of libnsl.so.
23060 (libnsl-inhibit-o): Do not build (or install) static libraries.
23062 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23065 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23066 before the day number which may produce a double space.
23067 (date_fmt): Likewise.
23069 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23071 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23072 instead of fegetenv.
23074 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23077 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23078 comment to say exceptions are discarded.
23079 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23081 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23084 2018-01-11 Florian Weimer <fweimer@redhat.com>
23086 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23089 2018-01-11 Florian Weimer <fweimer@redhat.com>
23092 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23093 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23095 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23098 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23099 negative arguments in test for NaN or infinity argument.
23101 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23103 * po/libc.pot: Regenerate.
23105 2018-01-10 Florian Weimer <fweimer@redhat.com>
23108 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23109 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23111 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23113 * hurd/hurd/fd.h: Include <fcntl.h>
23114 (__hurd_at_flags): New function.
23115 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23116 with call to __hurd_at_flags.
23117 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23118 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23120 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23121 (__access_noerrno): Use __faccessat_common instead of access_common.
23122 (__access): Likewise.
23123 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23124 with a call to __faccessat.
23125 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23126 (__faccessat_common): ... this. Move implementation of __access into it when
23127 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23128 reauthenticate_cwdir_at helper to implement AT mechanism.
23129 (__faccessat_noerrno): New function, just calls __faccessat_common.
23130 (__faccessat): New function, just calls __faccessat_common.
23131 (faccessat): Define weak alias.
23133 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23136 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23137 (CFLAGS-s_fmaxmagl.c): New variable.
23138 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23142 long int for arguments of possibly overflowing addition or
23144 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23146 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23150 (CFLAGS-e_remainderl.c): New variable.
23153 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23155 (CFLAGS-s_cacoshl.c): Likewise.
23156 (CFLAGS-s_casinhl.c): Likewise.
23157 (CFLAGS-s_catanl.c): Likewise.
23158 (CFLAGS-s_catanhl.c): Likewise.
23159 (CFLAGS-s_cexpl.c): Likewise.
23160 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23161 (CFLAGS-s_csinhl.c): Likewise.
23162 (CFLAGS-s_clogl.c): Likewise.
23163 (CFLAGS-s_clog10l.c): Likewise.
23164 (CFLAGS-s_csinl.c): Likewise.
23165 (CFLAGS-s_csqrtl.c): Likewise.
23167 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23168 2017-01-09 Svante Signell <svante.signell@gmail.com>
23170 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23171 (_hurd_exec_paths): New function.
23172 * hurd/hurd.h (_hurd_exec): Deprecate function.
23173 (_hurd_exec_paths): Declare function.
23174 * hurd/Versions: Export _hurd_exec_paths.
23175 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23176 (__execve): Use __getcwd to build absolute path, and use
23177 _hurd_exec_paths instead of _hurd_exec.
23178 * sysdeps/mach/hurd/spawni.c: Likewise.
23179 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23182 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23184 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23185 test instead of failing in case of ENOENT returned by posix_openpt.
23187 2018-01-08 Florian Weimer <fweimer@redhat.com>
23189 resolv: Support binary labels in test framework.
23190 * support/resolv_test.c (struct to_be_freed): Remove.
23191 (struct compressed_name): New.
23192 (allocate_compressed_name, ascii_tolower)
23193 (compare_compressed_name): New functions.
23194 (struct resolv_response_builder): Update type of
23195 compression_offsets for use with tsearch. Rempve to_be_freed.
23196 (response_push_pointer_to_free): Remove function.
23197 (resolv_response_add_name): Rewrite using struct compressed_name
23198 and tsearch instead of hsearch_r.
23199 (response_builder_allocate): Remove initialization of
23200 compression_offsets.
23201 (response_builder_free): Update for removal of to_be_freed. Use
23202 tdestroy instead of hdestroy_r.
23203 * resolv/Makefile (tests): Add tst-resolv-binary.
23204 (tst-resolv-binary): Link with -lresolv -lpthread.
23206 2018-01-08 Florian Weimer <fweimer@redhat.com>
23208 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23209 time. Pass positive flag instead of negative flag to
23210 support_test_compare_failure.
23211 (support_test_compare_failure): Change negative parameter to
23213 * support/support_test_compare_failure.c (report)
23214 (support_test_compare_failure): Likewise.
23215 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23216 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23218 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23221 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23222 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23223 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23225 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23227 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23229 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23230 Add s_sincosf-sse2 and s_sincosf-fma.
23231 (CFLAGS-s_sincosf-fma.c): New.
23232 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23233 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23235 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23236 __sincosf is defined.
23238 2018-01-08 Florian Weimer <fweimer@redhat.com>
23240 * nptl/tst-thread-exit-clobber.cc: New file.
23241 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23243 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23244 (tests): Add tst-thread-exit-clobber.
23245 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23247 2018-01-08 Florian Weimer <fweimer@redhat.com>
23249 * support/check.h (support_static_assert): Define.
23250 (TEST_COMPARE): Use it.
23252 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23254 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23255 [!__RLIM_T_MATCHES_RLIM64_T]
23256 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23257 __getrlimit64. Add libc_hidden_weak.
23259 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23261 * elf/elf.h (R_RISCV_NONE): New define.
23262 (R_RISCV_32): Likewise.
23263 (R_RISCV_64): Likewise.
23264 (R_RISCV_RELATIVE): Likewise.
23265 (R_RISCV_COPY): Likewise.
23266 (R_RISCV_JUMP_SLOT): Likewise.
23267 (R_RISCV_TLS_DTPMOD32): Likewise.
23268 (R_RISCV_TLS_DTPMOD64): Likewise.
23269 (R_RISCV_TLS_DTPREL32): Likewise.
23270 (R_RISCV_TLS_DTPREL64): Likewise.
23271 (R_RISCV_TLS_TPREL32): Likewise.
23272 (R_RISCV_TLS_TPREL64): Likewise.
23273 * Makerules (make-link-multidir): Make directories before linking into
23275 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23277 (VDSO_HASH_LINUX_4_15): Likewise.
23278 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23279 in subdirectories of lib.
23280 * nptl/Makefile (/librt.so): Always depend on
23281 "$(shared-thread-library)".
23283 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23285 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23286 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23287 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23289 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23290 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23292 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23293 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23294 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23295 * sysdeps/gnu/glob-lstat-compat.c: New file.
23296 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23297 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23299 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23301 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23302 Reserve 16 chars to reloc_addr before calling _itoa_word.
23304 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23307 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23308 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23310 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23311 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23313 * resource/tst-getrlimit.c: Add copyright header.
23315 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23316 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23318 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23319 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23320 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23321 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23323 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23324 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23325 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23326 RLIM64_INFINITY): Fix values to match the kernel ones.
23327 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23328 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23329 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23330 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23331 getrlimit64@@GLIBC_2_27.
23332 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23334 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23335 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23336 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23337 setrlimit, getrlimit64 and setrlimit64.
23339 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23342 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23343 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23345 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23347 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23348 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23349 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23351 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23355 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23356 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23360 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23361 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23362 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23363 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23365 2018-01-04 Florian Weimer <fweimer@redhat.com>
23368 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23369 Align the stack before calling exit.
23370 * stdlib/tst-makecontext-align.c: New file.
23371 * stdlib/Makefile (tests): Add tst-makecontext-align.
23373 2018-01-04 Florian Weimer <fweimer@redhat.com>
23375 Add support for calling dlvsym from libc.so.
23376 * include/dlfcn.h (__libc_dlvsym): Declare.
23377 * elf/Makefile (tests-static-internal): Add
23378 tst-libc_dlvsym-static.
23379 (tests-internal): Add tst-libc_dlvsym.
23380 (modules-names): Add tst-libc_dlvsym-dso.
23381 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23382 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23383 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23384 object tst-libc_dlvsym-dso.so needs to be built before running
23386 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23387 * elf/Versions: Export __libc_dlvsym.
23388 * elf/dl-libc.c (struct do_dlvsym_args): New.
23389 (do_dlvsym, __libc_dlvsym): New functions.
23390 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23391 (_dl_open_hook2): New variable.
23392 (__libc_register_dl_open_hook): Set it.
23393 * elf/tst-libc_dlvsym-dso.c: New file.
23394 * elf/tst-libc_dlvsym-static.c: Likewise.
23395 * elf/tst-libc_dlvsym.c: Likewise.
23396 * elf/tst-libc_dlvsym.h: Likewise.
23398 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23400 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23401 include <sys/mount.h>.
23403 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23405 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23406 Add __NO_MATH_ERRNO__ check.
23408 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23410 * sysdeps/mips/mips32/libm-test-ulps: Update.
23411 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23413 2018-01-02 Florian Weimer <fweimer@redhat.com>
23415 * misc/tst-pselect.c: Add copyright header.
23417 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23419 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23421 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23423 (settrlimit): Rename into setrlimit.
23424 (__sttrlimit): Rename into __setrlimit.
23426 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23427 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23428 never defined in that case.
23430 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23432 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23434 * sysdeps/arm/libm-test-ulps: Update.
23436 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23437 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23439 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23441 * NEWS: Add cosf and sincosf to list of optimized functions.
23443 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23446 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23447 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23448 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23449 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23451 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23454 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23456 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23457 making a copy of it.
23459 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23461 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23462 trailing whitespace removed.
23463 * scripts/config.guess: Update to version 2018-01-01.
23464 * scripts/config.sub: Update to version 2018-01-01.
23465 * scripts/move-if-change: Update from gnulib.
23467 * NEWS: Update copyright dates.
23468 * catgets/gencat.c (print_version): Likewise.
23469 * csu/version.c (banner): Likewise.
23470 * debug/catchsegv.sh: Likewise.
23471 * debug/pcprofiledump.c (print_version): Likewise.
23472 * debug/xtrace.sh (do_version): Likewise.
23473 * elf/ldconfig.c (print_version): Likewise.
23474 * elf/ldd.bash.in: Likewise.
23475 * elf/pldd.c (print_version): Likewise.
23476 * elf/sotruss.sh: Likewise.
23477 * elf/sprof.c (print_version): Likewise.
23478 * iconv/iconv_prog.c (print_version): Likewise.
23479 * iconv/iconvconfig.c (print_version): Likewise.
23480 * locale/programs/locale.c (print_version): Likewise.
23481 * locale/programs/localedef.c (print_version): Likewise.
23482 * login/programs/pt_chown.c (print_version): Likewise.
23483 * malloc/memusage.sh (do_version): Likewise.
23484 * malloc/memusagestat.c (print_version): Likewise.
23485 * malloc/mtrace.pl: Likewise.
23486 * manual/libc.texinfo: Likewise.
23487 * nptl/version.c (banner): Likewise.
23488 * nscd/nscd.c (print_version): Likewise.
23489 * nss/getent.c (print_version): Likewise.
23490 * nss/makedb.c (print_version): Likewise.
23491 * posix/getconf.c (main): Likewise.
23492 * scripts/test-installation.pl: Likewise.
23493 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23495 * All files with FSF copyright notices: Update copyright dates
23496 using scripts/update-copyrights.
23497 * locale/programs/charmap-kw.h: Regenerated.
23498 * locale/programs/locfile-kw.h: Likewise.
23500 2017-12-31 Zack Weinberg <zackw@panix.com>
23502 * libio/bits/libio-ldbl.h: Correct check for improper
23503 inclusion. Add own multiple include guard.
23505 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23506 Dmitry V. Levin <ldv@altlinux.org>
23510 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23511 string token expansion. Check for NULL pointer or empty string possibly
23512 returned by expand_dynamic_string_token.
23513 (decompose_rpath): Check for empty path after dynamic string
23516 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23519 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23521 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23522 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23523 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23524 and PTRACE_SYSCALL.
23525 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23530 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23533 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23534 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23535 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23537 bits/ptrace-shared.h.
23538 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23539 <bits/ptrace-shared.h>.
23540 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23541 __ptrace_peeksiginfo_flags, ptrace): Remove.
23542 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23543 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23546 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23548 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23551 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23552 end of the loop. Improve comments.
23554 2017-12-29 Zack Weinberg <zackw@panix.com>
23557 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23558 might be set on success.
23560 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23563 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23564 is unchanged on success.
23566 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23568 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23570 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23571 expand_dynamic_string_token): Likewise.
23572 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23575 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23578 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23579 is set and name contains ':', and all code depending on these checks.
23581 2017-12-24 Zack Weinberg <zackw@panix.com>
23583 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23584 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23586 * libio/libio.h: Rename the original version of this file to
23587 libio/bits/libio.h. Error out if not included by stdio.h or the
23589 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23590 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23591 if not included by bits/libio.h or the stub _G_config.h.
23592 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23593 sysdeps/unix/sysv/linux/bits. Error out if not included by
23594 bits/libio.h or the stub _G_config.h.
23595 * libio/stdio.h: Include bits/libio.h, not libio.h.
23596 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23597 well as libio.h and _G_config.h.
23599 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23600 * libio/strfile.h, stdio-common/vfscanf.c
23601 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23602 Include stdio.h, not _G_config.h nor libio.h.
23603 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23604 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23606 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23608 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23611 * stdlib/getrandom.c (getrandom): Fix comment.
23612 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23614 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23617 * manual/arith.texi (strtoul): Fix a typo.
23620 * manual/arith.texi (finite): Fix the description of the return
23623 2017-12-22 Eric Blake <ebb9@byu.net>
23625 Avoid gcc warnings on cygwin
23626 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23627 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23628 Avoid unused variable.
23630 2017-12-22 Florian Weimer <fweimer@redhat.com>
23632 * io/Makefile (routines): Add copy_file_range.
23633 (tests): Add tst-copy_file_range.
23634 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23635 * io/Versions (GLIBC_2.27): Export copy_file_range.
23636 * io/copy_file_range-compat.c: New file.
23637 * io/copy_file_range.c: Likewise.
23638 * io/tst-copy_file_range-compat.c: Likewise.
23639 * io/tst-copy_file_range.c: Likewise.
23640 * manual/llio.texi (Copying File Data): New section.
23641 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23642 * support/Makefile (libsupport-routines): Add support-xfstat,
23643 xftruncate, xlseek.
23644 * support/support-xfstat.c: New file.
23645 * support/xftruncate.c: Likewise.
23646 * support/xlseek.c: Likewise.
23647 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23648 * sysdeps/unix/sysv/linux/**.abilist: Update.
23649 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23651 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23653 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23654 disable-multi-arch variant to aarch64-linux-gnu.
23656 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23658 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23659 trailing whitespace removed.
23660 * scripts/config.guess: Update to version 2017-12-17.
23661 * scripts/config.sub: Update to version 2017-11-23.
23662 * scripts/install-sh: Update to version 2017-09-23.17.
23663 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23665 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23667 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23668 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23669 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23670 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23671 * sysdeps/tile/crtn.S: Likewise.
23672 * sysdeps/tile/dl-start.S (_start): Likewise.
23673 * sysdeps/tile/dl-trampoline.S: Likewise.
23674 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23675 * sysdeps/tile/start.S (_start): Likewise.
23676 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23677 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23678 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23679 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23680 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23681 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23682 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23684 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23686 * sysdeps/tile/preconfigure: Remove tilegx folder.
23687 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23688 * sysdeps/tile/Implies: ... here.
23689 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23690 * sysdeps/tile/Makefile: ... here.
23691 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23692 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23693 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23694 * sysdeps/tile/bits/wordsize.h: ... here.
23695 * sysdeps/tile/tilegx/*: Move to ...
23696 * sysdeps/tile/*: ... here.
23697 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23698 * sysdeps/tile/tilegx32/Implies: ... here.
23699 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23700 * sysdeps/tile/tilegx64/Implies: ... here.
23701 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23703 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23704 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23705 * sysdeps/unix/sysv/linux/tile/*: ... here.
23706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23707 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23709 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23711 * README: Remove tilepro-*-linux-gnu from supported architecture.
23712 * scripts/build-many-glibcs.py: Likewise.
23713 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23714 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23715 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23716 elf_machine_matches_host, elf_machine_dynamic,
23717 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23718 howto, elf_machine_rela): Likewise.
23719 * sysdeps/tile/dl-start.S (_start): Likewise.
23720 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23721 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23722 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23723 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23724 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23725 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23727 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23728 * sysdeps/tile/preconfigure: Likewise.
23729 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23730 POINTER_CHK_GUARD): Likewise.
23731 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23732 * sysdeps/tile/start.S (_start): Likewise.
23733 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23735 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23736 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23738 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23739 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23740 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23742 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23743 * sysdeps/tile/tilepro/Implies: Remove file.
23744 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23745 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23746 * sysdeps/tile/tilepro/memchr.c: Likewise.
23747 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23748 * sysdeps/tile/tilepro/memset.c: Likewise.
23749 * sysdeps/tile/tilepro/memusage.h: Likewise.
23750 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23751 * sysdeps/tile/tilepro/strchr.c: Likewise.
23752 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23753 * sysdeps/tile/tilepro/strlen.c: Likewise.
23754 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23755 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23756 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23757 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23758 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23760 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23762 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23766 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23767 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23768 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23769 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23770 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23771 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23772 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23773 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23774 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23775 tilepro mention in comment.
23777 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23778 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23779 * nptl/pthread_join_common.c: New file: common function used on
23780 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23781 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23782 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23783 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23784 (cleanup): Move definition to pthread_join_common.c.
23785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23786 Remove superflous checks.
23787 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23790 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23792 * sysdeps/aarch64/libm-test-ulps: Update.
23794 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23796 * sysdeps/aarch64/memset.S (MEMSET): Define.
23798 2017-12-20 Florian Weimer <fweimer@redhat.com>
23801 nptl: Provide full implementation of pthread_self in libc.so.
23802 * nptl/Makefile (routines): Add pthread_self.
23803 (libpthread-routines): Replace pthread_self with
23804 compat-pthread_self.
23805 * nptl/forward.c (pthread_self): Remove.
23806 * nptl/nptl-init.c (pthread_functions): Do not initialize
23808 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23809 * nptl/compat-pthread_self.c: New file.
23810 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23811 Remove ptr_pthread_self.
23813 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23815 * posix/regcomp.c: Fix spelling in comments.
23816 * posix/regex.h: Likewise.
23817 * posix/regex_internal.c: Likewise.
23818 * posix/regexec.c: Likewise.
23820 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23823 * math/Makefile [C++] (tests): Add test for iseqsig.
23824 * math/math.h [C++] (iseqsig): New implementation, which does
23825 not rely on __MATH_TG/__builtin_types_compatible_p.
23826 * math/test-math-iseqsig.cc: New file.
23827 * sysdeps/powerpc/powerpc64le/Makefile
23828 (CFLAGS-test-math-iseqsig.cc): New variable.
23830 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23832 * elf/dl-load.c (is_trusted_path): Remove.
23833 (fillin_rpath): Remove check_trusted argument and its use,
23834 all callers changed.
23836 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23839 * Makeconfig (link-pie-before-libc): Replace -pie with
23840 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23841 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23842 (tst-dlopen-aout-no-pie): New.
23843 (LDFLAGS-tst-prelink): Removed.
23844 (tst-prelink-no-pie): New.
23845 (LDFLAGS-tst-main1): Removed.
23846 (tst-main1-no-pie): New.
23847 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23848 (tst-gmon-no-pie): New.
23850 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23852 * manual/install.texi: Document that --enable-static-pie
23854 * INSTALL: Regenerated.
23856 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23859 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23862 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23866 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23870 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23872 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23873 <errno.h>. Include "eexp.tbl".
23874 (half): New constant.
23876 (__ieee754_exp): Rewrite.
23877 (__slowexp): Remove prototype.
23878 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23879 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23880 * sysdeps/i386/fpu/slowexp.c: Likewise.
23881 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23882 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23883 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23884 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23886 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23887 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23889 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23890 (CPPFLAGS-slowexp.c): Remove variable.
23891 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23892 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23893 (CFLAGS-slowexp-fma.c): Remove variable.
23894 (CFLAGS-slowexp-fma4.c): Likewise.
23895 (CFLAGS-slowexp-avx.c): Likewise.
23896 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23898 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23899 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23900 * math/Makefile (type-double-routines): Remove slowexp.
23901 * manual/probes.texi (slowexp_p6): Remove.
23902 (slowexp_p32): Likewise.
23904 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23906 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23909 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23911 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23915 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23917 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23918 <errno.h>. Include "eexp.tbl".
23919 (half): New constant.
23921 (__ieee754_exp): Rewrite.
23922 (__slowexp): Remove prototype.
23923 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23924 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23925 * sysdeps/i386/fpu/slowexp.c: Likewise.
23926 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23927 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23928 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23930 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23931 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23932 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23934 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23935 (CPPFLAGS-slowexp.c): Remove variable.
23936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23937 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23938 (CFLAGS-slowexp-fma.c): Remove variable.
23939 (CFLAGS-slowexp-fma4.c): Likewise.
23940 (CFLAGS-slowexp-avx.c): Likewise.
23941 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23943 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23944 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23945 * math/Makefile (type-double-routines): Remove slowexp.
23946 * manual/probes.texi (slowexp_p6): Remove.
23947 (slowexp_p32): Likewise.
23949 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23950 James Clarke <jrtc27@jrtc27.com>
23953 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23956 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23959 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23962 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23965 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23966 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23967 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23968 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23971 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23974 * bits/types/__cancel_jmp_buf_tag.h: New file.
23975 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23976 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23977 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23978 * nptl/Makefile (headers): Add
23979 bits/types/__cancel_jmp_buf_tag.h.
23980 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23981 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23982 * sysdeps/nptl/pthread.h: Include
23983 <bits/types/__cancel_jmp_buf_tag.h>.
23984 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23986 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23988 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23990 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23991 --enable-static-pie variants to x86_64, x32 and i686.
23993 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23996 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23997 argument for attrubutes. All callers changed.
23998 (__inline_mathop1): Likewise. All callers changed.
23999 (__inline_mathop): Likewise. All callers changed.
24000 [__USE_MISC] (scalbn): Use __inline_forward instead of
24001 __inline_forward_c.
24002 [__USE_ISOC99] (scalbln): Likewise.
24003 [__USE_ISOC99] (nearbyint): Likewise.
24004 [__USE_ISOC99] (lrint): Likewise.
24005 [__USE_MISC] (scalbnf): Likewise.
24006 [__USE_ISOC99] (scalblnf): Likewise.
24007 [__USE_ISOC99] (nearbyintf): Likewise.
24008 [__USE_ISOC99] (lrintf): Likewise.
24009 [__USE_MISC] (scalbnl): Likewise.
24010 [__USE_ISOC99] (scalblnl): Likewise.
24011 [__USE_ISOC99] (nearbyintl): Likewise.
24012 [__USE_ISOC99] (lrintl): Likewise.
24013 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24014 __inline_mathop and __m81_defun changed.
24016 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24017 CPU or FPU for ARM hard-float configurations.
24019 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24021 * nptl/tst-attr3.c: Include <libc-diag.h>.
24022 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24024 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24026 * string/tester.c (test_strncat): Also disable -Warray-bounds
24027 warnings for two tests.
24029 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24032 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24033 $(cc-pie-default) == yes.
24034 * config.make.in (cc-pie-default): New.
24035 * configure.ac (libc_cv_pie_default): Renamed to ...
24036 (libc_cv_cc_pie_default): This.
24037 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24038 * configure: Regenerated.
24040 2017-12-18 Florian Weimer <fweimer@redhat.com>
24043 ld.so: Harden dl-libc/libdl hooks.
24044 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24045 (rtld_active): New function.
24046 * dlfcn/dladdr.c (__dladdr): Call it.
24047 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24048 * dlfcn/dlclose.c (__dlcose): Likewise.
24049 * dlfcn/dlerror.c (__dlerror): Likewise.
24050 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24051 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24052 * dlfcn/dlopen.c (__dlopen): Likewise.
24053 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24054 * dlfcn/dlsym.c (__dlsym): Likewise.
24055 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24056 * libio/vtables.c (_IO_vtable_check): Likewise.
24057 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24058 (__libc_dlclose): Likewise.
24059 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24062 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24065 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24066 buffers for readlink input and output.
24068 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24071 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24072 inhibit_stack_protector.
24075 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24076 inhibit_stack_protector.
24078 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24081 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24082 code and invocation.
24084 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24086 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24088 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24091 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24093 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24095 * sysdeps/s390/fpu/libm-test-ulps: Update.
24097 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24101 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24103 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24104 constants to s_sincosf.h file.
24105 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24106 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24108 * sysdeps/ieee754/flt-32/s_sincosf.h:
24111 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24114 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24117 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24120 * INSTALL: Regenerated.
24121 * Makeconfig (real-static-start-installed-name): New.
24122 (pic-default): Updated for --enable-static-pie.
24123 (pie-default): New for --enable-static-pie.
24124 (default-pie-ldflag): Likewise.
24125 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24126 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24127 Replace $(static-start-installed-name) with
24128 $(real-static-start-installed-name).
24129 (+prectorT): Updated for --enable-static-pie.
24130 (+postctorT): Likewise.
24131 (CFLAGS-.o): Add $(pie-default).
24132 (CFLAGS-.op): Likewise.
24133 * NEWS: Mention --enable-static-pie.
24134 * config.h.in (ENABLE_STATIC_PIE): New.
24135 * configure.ac (--enable-static-pie): New configure option.
24136 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24137 (have-static-pie): Likewise.
24138 Enable static PIE if linker supports --no-dynamic-linker.
24139 (ENABLE_STATIC_PIE): New AC_DEFINE.
24140 (enable-static-pie): New LIBC_CONFIG_VAR.
24141 * configure: Regenerated.
24142 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24143 gr$(start-installed-name) for --enable-static-pie.
24144 (extra-objs): Likewise.
24145 (install-lib): Likewise.
24146 (extra-objs): Add static-reloc.o and static-reloc.os
24147 ($(objpfx)$(start-installed-name)): Also depend on
24148 $(objpfx)static-reloc.o.
24149 ($(objpfx)r$(start-installed-name)): New.
24150 ($(objpfx)g$(start-installed-name)): Also depend on
24151 $(objpfx)static-reloc.os.
24152 ($(objpfx)gr$(start-installed-name)): New.
24153 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24155 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24157 * csu/static-reloc.c: New file.
24158 * elf/Makefile (routines): Add dl-reloc-static-pie.
24159 (elide-routines.os): Likewise.
24160 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24161 (tst-tls1-static-non-pie-no-pie): New.
24162 * elf/dl-reloc-static-pie.c: New file.
24163 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24164 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24165 STATIC_PIE_BOOTSTRAP.
24166 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24167 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24168 (tests-static): Likewise.
24169 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24170 (tst-gmon-static-no-pie): New.
24171 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24172 (CRT-tst-gmon-static-pie): Likewise.
24173 (tst-gmon-static-pie-ENV): Likewise.
24174 (tests-special): Likewise.
24175 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24176 (clean-tst-gmon-static-pie-data): Likewise.
24177 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24178 * gmon/tst-gmon-static-pie.c: New file.
24179 * manual/install.texi: Document --enable-static-pie.
24180 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24181 (_dl_get_dl_main_map): Likewise.
24182 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24183 * sysdeps/x86_64/configure.ac: Likewise.
24184 * sysdeps/i386/configure: Regenerated.
24185 * sysdeps/x86_64/configure: Likewise.
24186 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24187 (ASFLAGS-.op): Likewise.
24189 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24191 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24192 * posix/tst-mmap-offset.c (fname): Use /tmp.
24193 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24195 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24197 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24199 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24201 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24204 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24206 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24207 --with-float=hard for arm-linux-gnueabihf configurations.
24210 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24211 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24212 ($(mo-installed)): Use $(objpfx)%.mo.
24213 (realclean): Remove rule.
24215 * po/Makefile (linguas): Remove rule and dependencies.
24216 (linguas.mo): Likewise.
24217 (.PHONY): Do not depend on linguas and linguas.mo.
24218 (podir): Remove variable.
24219 (pofiles): Likewise.
24220 [$(pofiles)] (%.po): Remove rule.
24222 * sysdeps/sparc/sparc32/Makefile
24223 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24224 start-of-line whitespace in argument of echo.
24225 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24226 with whitespace. Generate __wrap_.udiv alias.
24227 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24228 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24229 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24230 * sysdeps/sparc/sparc32/urem.S: Likewise.
24232 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24234 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24235 for aligned inputs.
24237 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24239 * benchtests/bench-strcmp.c: Print output in JSON format.
24241 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24243 2017-12-14 Florian Weimer <fweimer@redhat.com>
24247 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24248 the expanded path string.
24250 2017-12-14 Florian Weimer <fweimer@redhat.com>
24254 * elf/dl-load.c (system_dirs): Update comment.
24255 (nsystem_dirs_len): Use array_length.
24256 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24258 2017-12-14 Florian Weimer <fweimer@redhat.com>
24260 Simplify compiling most of support/ outside of glibc.
24261 * support/check_addrinfo.c: Include <string.h>.
24262 * support/check_dns_packet.c: Likewise.
24263 * support/check_hostent.c: Likewise.
24264 * support/support_can_chroot.c: Include <support/xunistd.h>.
24265 * support/support_format_addrinfo.c: Include <stdlib.h>
24266 * support/support_format_dns_packet.c: Include <stdbool.h>.
24267 * support/support_format_hostent.c: Include <stdlib.h>.
24268 * support/support_format_netent.c: Likewise.
24269 * support/support_write_string.c: Include <support/xunistd.h>.
24270 * support/xdlfcn.c: Include <stddef.h>.
24272 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24274 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24276 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24277 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24280 (sysdeps_routines): Add memset-niagara7.
24281 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24283 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24285 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24286 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24287 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24288 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24289 Add niagara7 option.
24290 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24294 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24295 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24297 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24299 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24301 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24302 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24303 and __memmove_niagara7.
24304 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24305 Add niagara7 option.
24306 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24307 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24308 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24309 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24310 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24312 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24314 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24315 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24316 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24317 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24319 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24320 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24321 _dl_sparc_cap_flags array.
24322 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24324 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24326 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24327 time whenever possible.
24329 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24331 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24332 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24334 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24336 * soft-fp/fmadf4.c: Move to ....
24337 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24338 * soft-fp/fmasf4.c: Move to ....
24339 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24340 * soft-fp/fmatf4.c: Move to ....
24341 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24342 * sysdeps/ieee754/soft-fp/Makefile: New file.
24343 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24344 * sysdeps/arm/preconfigure: Regenerated.
24345 * sysdeps/arm/nofpu/Implies: New file.
24346 * sysdeps/arm/s_fma.c: Remove file.
24347 * sysdeps/arm/s_fmaf.c: Likewise.
24348 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24349 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24350 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24351 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24352 * sysdeps/microblaze/s_fma.c: Remove file.
24353 * sysdeps/microblaze/s_fmaf.c: Likewise.
24354 * sysdeps/mips/mips32/nofpu/Implies: New file.
24355 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24356 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24357 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24358 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24359 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24360 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24361 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24363 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24364 * sysdeps/nios2/s_fma.c: Remove file.
24365 * sysdeps/nios2/s_fmaf.c: Likewise.
24366 * sysdeps/sh/nofpu/Implies: New file.
24367 * sysdeps/sh/s_fma.c: Remove file.
24368 * sysdeps/sh/s_fmaf.c: Likewise.
24369 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24370 * sysdeps/tile/s_fma.c: Remove file.
24371 * sysdeps/tile/s_fmaf.c: Likewise.
24373 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24375 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24376 Add s_cosf-sse2 and s_cosf-fma.
24377 (CFLAGS-s_cosf-fma.c): New.
24378 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24379 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24380 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24382 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24384 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24386 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24388 * libio/Makefile (tests): Add tst-bz22415.
24389 (tst-bz22415-ENV): New rule.
24390 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24391 (tests-special): Add tst-bz22415-mem.out.
24392 ($(objpfx)tst-bz22415-mem.out): New rule.
24393 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24394 in case of a successful seek operation.
24395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24396 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24397 buffer is required.
24398 * libio/tst-bz22415.c: New test.
24400 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24402 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24404 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24405 __IPC_64 to 0 to avoid IPC_64 being set.
24407 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24410 * math/bits/mathcalls.h (nextafter): Remove const.
24411 (nexttoward): Likewise.
24413 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24415 * configure.ac (--with-fp): Remove configure option.
24416 (with_fp_cond): New variable.
24417 (libc_cv_with_fp): New configure test. Use this variable instead
24419 * configure: Regenerated.
24420 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24421 * manual/install.texi (Configuring and compiling): Remove
24423 * INSTALL: Regenerated.
24424 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24425 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24426 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24427 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24428 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24429 use --without-fp to configure glibc.
24431 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24433 * manual/locale.texi (nl_langinfo): Fix a typo.
24435 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24438 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24440 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24442 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24443 (CFLAGS-argp-parse.c): Likewise.
24444 (CFLAGS-argp-fmtstream.c): Likewise.
24445 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24446 (CPPFLAGS-sha512-crypt.c): Likewise.
24447 (CPPFLAGS-md5-crypt.c): Likewise.
24448 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24449 (CFLAGS-stack_chk_fail_local.c): Likewise.
24450 (CFLAGS-backtrace.c): Likewise.
24451 (CFLAGS-sprintf_chk.c): Likewise.
24452 (CFLAGS-snprintf_chk.c): Likewise.
24453 (CFLAGS-vsprintf_chk.c): Likewise.
24454 (CFLAGS-vsnprintf_chk.c): Likewise.
24455 (CFLAGS-asprintf_chk.c): Likewise.
24456 (CFLAGS-vasprintf_chk.c): Likewise.
24457 (CFLAGS-obprintf_chk.c): Likewise.
24458 (CFLAGS-dprintf_chk.c): Likewise.
24459 (CFLAGS-vdprintf_chk.c): Likewise.
24460 (CFLAGS-printf_chk.c): Likewise.
24461 (CFLAGS-fprintf_chk.c): Likewise.
24462 (CFLAGS-vprintf_chk.c): Likewise.
24463 (CFLAGS-vfprintf_chk.c): Likewise.
24464 (CFLAGS-gets_chk.c): Likewise.
24465 (CFLAGS-fgets_chk.c): Likewise.
24466 (CFLAGS-fgets_u_chk.c): Likewise.
24467 (CFLAGS-fread_chk.c): Likewise.
24468 (CFLAGS-fread_u_chk.c): Likewise.
24469 (CFLAGS-swprintf_chk.c): Likewise.
24470 (CFLAGS-vswprintf_chk.c): Likewise.
24471 (CFLAGS-wprintf_chk.c): Likewise.
24472 (CFLAGS-fwprintf_chk.c): Likewise.
24473 (CFLAGS-vwprintf_chk.c): Likewise.
24474 (CFLAGS-vfwprintf_chk.c): Likewise.
24475 (CFLAGS-fgetws_chk.c): Likewise.
24476 (CFLAGS-fgetws_u_chk.c): Likewise.
24477 (CFLAGS-read_chk.c): Likewise.
24478 (CFLAGS-pread_chk.c): Likewise.
24479 (CFLAGS-pread64_chk.c): Likewise.
24480 (CFLAGS-recv_chk.c): Likewise.
24481 (CFLAGS-recvfrom_chk.c): Likewise.
24482 (CFLAGS-tst-longjmp_chk.c): Likewise.
24483 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24484 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24485 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24486 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24487 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24488 (CFLAGS-tst-chk1.c): Likewise.
24489 (CFLAGS-tst-chk2.c): Likewise.
24490 (CFLAGS-tst-chk3.c): Likewise.
24491 (CFLAGS-tst-chk4.cc): Likewise.
24492 (CFLAGS-tst-chk5.cc): Likewise.
24493 (CFLAGS-tst-chk6.cc): Likewise.
24494 (CFLAGS-tst-lfschk1.c): Likewise.
24495 (CFLAGS-tst-lfschk2.c): Likewise.
24496 (CFLAGS-tst-lfschk3.c): Likewise.
24497 (CFLAGS-tst-lfschk4.cc): Likewise.
24498 (CFLAGS-tst-lfschk5.cc): Likewise.
24499 (CFLAGS-tst-lfschk6.cc): Likewise.
24500 (CFLAGS-tst-ssp-1.c): Likewise.
24501 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24502 (CFLAGS-scandir64.c): Likewise.
24503 (CFLAGS-scandir-tail.c): Likewise.
24504 (CFLAGS-scandir64-tail.c): Likewise.
24505 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24506 (CFLAGS-dl-tunables.c): Likewise.
24507 (CFLAGS-dl-runtime.c): Likewise.
24508 (CFLAGS-dl-lookup.c): Likewise.
24509 (CFLAGS-dl-iterate-phdr.c): Likewise.
24510 (CFLAGS-vismain.c): Likewise.
24511 (CFLAGS-tst-linkall-static.c): Likewise.
24512 (CFLAGS-tst-linkall-static.c): Likewise.
24513 (CPPFLAGS-dl-load.c): Likewise.
24514 (CFLAGS-ldconfig.c): Likewise.
24515 (CFLAGS-dl-cache.c): Likewise.
24516 (CFLAGS-cache.c): Likewise.
24517 (CFLAGS-rtld.c): Likewise.
24518 (CFLAGS-multiload.c): Likewise.
24519 (CFLAGS-filtmod1.c): Likewise.
24520 (CFLAGS-tst-align.c): Likewise.
24521 (CFLAGS-tst-align2.c): Likewise.
24522 (CFLAGS-tst-alignmod.c): Likewise.
24523 (CFLAGS-tst-alignmod2.c): Likewise.
24524 (CPPFLAGS-tst-execstack.c): Likewise.
24525 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24526 (CFLAGS-tst-latepthreadmod.c): Likewise.
24527 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24528 (CFLAGS-getgrnam_r.c): Likewise.
24529 (CFLAGS-getgrent_r.c): Likewise.
24530 (CFLAGS-getgrent.c): Likewise.
24531 (CFLAGS-fgetgrent.c): Likewise.
24532 (CFLAGS-fgetgrent_r.c): Likewise.
24533 (CFLAGS-putgrent.c): Likewise.
24534 (CFLAGS-initgroups.c): Likewise.
24535 (CFLAGS-getgrgid.c): Likewise.
24536 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24537 (CFLAGS-getsgent.c): Likewise.
24538 (CFLAGS-fgetsgent.c): Likewise.
24539 (CFLAGS-fgetsgent_r.c): Likewise.
24540 (CFLAGS-putsgent.c): Likewise.
24541 (CFLAGS-getsgnam.c): Likewise.
24542 (CFLAGS-getsgnam_r.c): Likewise.
24543 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24544 (CFLAGS-iconv_charmap.c): Likewise.
24545 (CFLAGS-dummy-repertoire.c): Likewise.
24546 (CFLAGS-charmap.c): Likewise.
24547 (CFLAGS-linereader.c): Likewise.
24548 (CFLAGS-simple-hash.c): Likewise.
24549 (CFLAGS-gconv_conf.c): Likewise.
24550 (CFLAGS-iconvconfig.c): Likewise.
24551 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24552 (CFLAGS-gethstbyad.c): Likewise.
24553 (CFLAGS-gethstbynm_r.c): Likewise.
24554 (CFLAGS-gethstbynm.c): Likewise.
24555 (CFLAGS-gethstbynm2_r.c): Likewise.
24556 (CFLAGS-gethstbynm2.c): Likewise.
24557 (CFLAGS-gethstent_r.c): Likewise.
24558 (CFLAGS-gethstent.c): Likewise.
24559 (CFLAGS-rcmd.c): Likewise.
24560 (CFLAGS-getnetbynm_r.c): Likewise.
24561 (CFLAGS-getnetbynm.c): Likewise.
24562 (CFLAGS-getnetbyad_r.c): Likewise.
24563 (CFLAGS-getnetbyad.c): Likewise.
24564 (CFLAGS-getnetent_r.c): Likewise.
24565 (CFLAGS-getnetent.c): Likewise.
24566 (CFLAGS-getaliasent_r.c): Likewise.
24567 (CFLAGS-getaliasent.c): Likewise.
24568 (CFLAGS-getrpcent_r.c): Likewise.
24569 (CFLAGS-getrpcent.c): Likewise.
24570 (CFLAGS-getservent_r.c): Likewise.
24571 (CFLAGS-getservent.c): Likewise.
24572 (CFLAGS-getprtent_r.c): Likewise.
24573 (CFLAGS-getprtent.c): Likewise.
24574 (CFLAGS-either_ntoh.c): Likewise.
24575 (CFLAGS-either_hton.c): Likewise.
24576 (CFLAGS-getnetgrent.c): Likewise.
24577 (CFLAGS-getnetgrent_r.c): Likewise.
24578 (CFLAGS-tst-checks-posix.c): Likewise.
24579 (CFLAGS-tst-sockaddr.c): Likewise.
24580 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24581 (CFLAGS-tst-translit.c): Likewise.
24582 (CFLAGS-tst-gettext2.c): Likewise.
24583 (CFLAGS-tst-codeset.c): Likewise.
24584 (CFLAGS-tst-gettext3.c): Likewise.
24585 (CFLAGS-tst-gettext4.c): Likewise.
24586 (CFLAGS-tst-gettext5.c): Likewise.
24587 (CFLAGS-tst-gettext6.c): Likewise.
24588 * io/Makefile (CFLAGS-open.c): Likewise.
24589 (CFLAGS-open64.c): Likewise.
24590 (CFLAGS-creat.c): Likewise.
24591 (CFLAGS-creat64.c): Likewise.
24592 (CFLAGS-fcntl.c): Likewise.
24593 (CFLAGS-poll.c): Likewise.
24594 (CFLAGS-ppoll.c): Likewise.
24595 (CFLAGS-lockf.c): Likewise.
24596 (CFLAGS-statfs.c): Likewise.
24597 (CFLAGS-fstatfs.c): Likewise.
24598 (CFLAGS-statvfs.c): Likewise.
24599 (CFLAGS-fstatvfs.c): Likewise.
24600 (CFLAGS-fts.c): Likewise.
24601 (CFLAGS-fts64.c): Likewise.
24602 (CFLAGS-ftw.c): Likewise.
24603 (CFLAGS-ftw64.c): Likewise.
24604 (CFLAGS-lockf.c): Likewise.
24605 (CFLAGS-posix_fallocate.c): Likewise.
24606 (CFLAGS-posix_fallocate64.c): Likewise.
24607 (CFLAGS-fallocate.c): Likewise.
24608 (CFLAGS-fallocate64.c): Likewise.
24609 (CFLAGS-read.c): Likewise.
24610 (CFLAGS-write.c): Likewise.
24611 (CFLAGS-test-stat.c): Likewise.
24612 (CFLAGS-test-lfs.c): Likewise.
24613 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24614 (CFLAGS-fputc.c): Likewise.
24615 (CFLAGS-fputwc.c): Likewise.
24616 (CFLAGS-freopen64.c): Likewise.
24617 (CFLAGS-freopen.c): Likewise.
24618 (CFLAGS-fseek.c): Likewise.
24619 (CFLAGS-fseeko64.c): Likewise.
24620 (CFLAGS-fseeko.c): Likewise.
24621 (CFLAGS-ftello64.c): Likewise.
24622 (CFLAGS-ftello.c): Likewise.
24623 (CFLAGS-fwide.c): Likewise.
24624 (CFLAGS-genops.c): Likewise.
24625 (CFLAGS-getc.c): Likewise.
24626 (CFLAGS-getchar.c): Likewise.
24627 (CFLAGS-getwc.c): Likewise.
24628 (CFLAGS-getwchar.c): Likewise.
24629 (CFLAGS-iofclose.c): Likewise.
24630 (CFLAGS-iofflush.c): Likewise.
24631 (CFLAGS-iofgetpos64.c): Likewise.
24632 (CFLAGS-iofgetpos.c): Likewise.
24633 (CFLAGS-iofgets.c): Likewise.
24634 (CFLAGS-iofgetws.c): Likewise.
24635 (CFLAGS-iofputs.c): Likewise.
24636 (CFLAGS-iofputws.c): Likewise.
24637 (CFLAGS-iofread.c): Likewise.
24638 (CFLAGS-iofsetpos64.c): Likewise.
24639 (CFLAGS-iofsetpos.c): Likewise.
24640 (CFLAGS-ioftell.c): Likewise.
24641 (CFLAGS-iofwrite.c): Likewise.
24642 (CFLAGS-iogetdelim.c): Likewise.
24643 (CFLAGS-iogetline.c): Likewise.
24644 (CFLAGS-iogets.c): Likewise.
24645 (CFLAGS-iogetwline.c): Likewise.
24646 (CFLAGS-ioputs.c): Likewise.
24647 (CFLAGS-ioseekoff.c): Likewise.
24648 (CFLAGS-ioseekpos.c): Likewise.
24649 (CFLAGS-iosetbuffer.c): Likewise.
24650 (CFLAGS-iosetvbuf.c): Likewise.
24651 (CFLAGS-ioungetc.c): Likewise.
24652 (CFLAGS-ioungetwc.c): Likewise.
24653 (CFLAGS-oldfileops.c): Likewise.
24654 (CFLAGS-oldiofclose.c): Likewise.
24655 (CFLAGS-oldiofgetpos64.c): Likewise.
24656 (CFLAGS-oldiofgetpos.c): Likewise.
24657 (CFLAGS-oldiofsetpos64.c): Likewise.
24658 (CFLAGS-oldiofsetpos.c): Likewise.
24659 (CFLAGS-peekc.c): Likewise.
24660 (CFLAGS-putc.c): Likewise.
24661 (CFLAGS-putchar.c): Likewise.
24662 (CFLAGS-putwc.c): Likewise.
24663 (CFLAGS-putwchar.c): Likewise.
24664 (CFLAGS-rewind.c): Likewise.
24665 (CFLAGS-wfileops.c): Likewise.
24666 (CFLAGS-wgenops.c): Likewise.
24667 (CFLAGS-oldiofopen.c): Likewise.
24668 (CFLAGS-iofopen.c): Likewise.
24669 (CFLAGS-iofopen64.c): Likewise.
24670 (CFLAGS-oldtmpfile.c): Likewise.
24671 (CFLAGS-tst_putwc.c): Likewise.
24672 * locale/Makefile (CFLAGS-md5.c): Likewise.
24673 (CFLAGS-charmap.c): Likewise.
24674 (CFLAGS-locfile.c): Likewise.
24675 (CFLAGS-charmap-dir.c): Likewise.
24676 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24677 (CFLAGS-getpt.c): Likewise.
24678 (CFLAGS-pt_chown.c): Likewise.
24679 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24680 (CFLAGS-obstack.c): Likewise.
24681 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24682 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24683 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24684 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24685 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24686 (CFLAGS-test-tgmath.c): Likewise.
24687 (CFLAGS-test-tgmath2.c): Likewise.
24688 (CFLAGS-test-tgmath-ret.c): Likewise.
24689 (CFLAGS-test-powl.c): Likewise.
24690 (CFLAGS-test-snan.c): Likewise.
24691 (CFLAGS-test-signgam-finite.c): Likewise.
24692 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24693 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24694 (CFLAGS-test-signgam-uchar.c): Likewise.
24695 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24696 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24697 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24698 (CFLAGS-test-signgam-uint.c): Likewise.
24699 (CFLAGS-test-signgam-uint-init.c): Likewise.
24700 (CFLAGS-test-signgam-uint-static.c): Likewise.
24701 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24702 (CFLAGS-test-signgam-ullong.c): Likewise.
24703 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24704 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24705 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24706 (CFLAGS-test-math-cxx11.cc): Likewise.
24707 (CFLAGS-test-math-isinff.cc): Likewise.
24708 (CFLAGS-test-math-iszero.cc): Likewise.
24709 (CFLAGS-test-math-issignaling.cc): Likewise.
24710 (CFLAGS-test-math-iscanonical.cc): Likewise.
24711 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24712 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24713 (CFLAGS-test-flt-eval-method.c): Likewise.
24714 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24715 (CFLAGS-test-finite-macros.c): Likewise.
24716 * misc/Makefile (CFLAGS-select.c): Likewise.
24717 (CFLAGS-tsearch.c): Likewise.
24718 (CFLAGS-lsearch.c): Likewise.
24719 (CFLAGS-pselect.c): Likewise.
24720 (CFLAGS-readv.c): Likewise.
24721 (CFLAGS-writev.c): Likewise.
24722 (CFLAGS-preadv.c): Likewise.
24723 (CFLAGS-preadv64.c): Likewise.
24724 (CFLAGS-pwritev.c): Likewise.
24725 (CFLAGS-pwritev64.c): Likewise.
24726 (CFLAGS-preadv2.c): Likewise.
24727 (CFLAGS-preadv64v2.c): Likewise.
24728 (CFLAGS-pwritev2.c): Likewise.
24729 (CFLAGS-pwritev64v2.c): Likewise.
24730 (CFLAGS-usleep.c): Likewise.
24731 (CFLAGS-syslog.c): Likewise.
24732 (CFLAGS-error.c): Likewise.
24733 (CFLAGS-getpass.c): Likewise.
24734 (CFLAGS-mkstemp.c): Likewise.
24735 (CFLAGS-mkstemp64.c): Likewise.
24736 (CFLAGS-getsysstats.c): Likewise.
24737 (CFLAGS-getusershell.c): Likewise.
24738 (CFLAGS-err.c): Likewise.
24739 (CFLAGS-tst-tsearch.c): Likewise.
24740 (CFLAGS-msync.c): Likewise.
24741 (CFLAGS-fdatasync.c): Likewise.
24742 (CFLAGS-fsync.c): Likewise.
24743 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24744 (CFLAGS-unwind.c): Likewise.
24745 (CFLAGS-unwind-forcedunwind.c): Likewise.
24746 (CFLAGS-pthread_cancel.c): Likewise.
24747 (CFLAGS-pthread_setcancelstate.c): Likewise.
24748 (CFLAGS-pthread_setcanceltype.c): Likewise.
24749 (CFLAGS-cancellation.c): Likewise.
24750 (CFLAGS-libc-cancellation.c): Likewise.
24751 (CFLAGS-pthread_exit.c): Likewise.
24752 (CFLAGS-forward.c): Likewise.
24753 (CFLAGS-pthread_testcancel.c): Likewise.
24754 (CFLAGS-pthread_join.c): Likewise.
24755 (CFLAGS-pthread_timedjoin.c): Likewise.
24756 (CFLAGS-pthread_once.c): Likewise.
24757 (CFLAGS-pthread_cond_wait.c): Likewise.
24758 (CFLAGS-sem_wait.c): Likewise.
24759 (CFLAGS-sem_timedwait.c): Likewise.
24760 (CFLAGS-fcntl.c): Likewise.
24761 (CFLAGS-lockf.c): Likewise.
24762 (CFLAGS-pread.c): Likewise.
24763 (CFLAGS-pread64.c): Likewise.
24764 (CFLAGS-pwrite.c): Likewise.
24765 (CFLAGS-pwrite64.c): Likewise.
24766 (CFLAGS-wait.c): Likewise.
24767 (CFLAGS-waitpid.c): Likewise.
24768 (CFLAGS-sigwait.c): Likewise.
24769 (CFLAGS-msgrcv.c): Likewise.
24770 (CFLAGS-msgsnd.c): Likewise.
24771 (CFLAGS-tcdrain.c): Likewise.
24772 (CFLAGS-open.c): Likewise.
24773 (CFLAGS-open64.c): Likewise.
24774 (CFLAGS-pause.c): Likewise.
24775 (CFLAGS-recv.c): Likewise.
24776 (CFLAGS-send.c): Likewise.
24777 (CFLAGS-accept.c): Likewise.
24778 (CFLAGS-sendto.c): Likewise.
24779 (CFLAGS-connect.c): Likewise.
24780 (CFLAGS-recvfrom.c): Likewise.
24781 (CFLAGS-recvmsg.c): Likewise.
24782 (CFLAGS-sendmsg.c): Likewise.
24783 (CFLAGS-close.c): Likewise.
24784 (CFLAGS-read.c): Likewise.
24785 (CFLAGS-write.c): Likewise.
24786 (CFLAGS-nanosleep.c): Likewise.
24787 (CFLAGS-sigsuspend.c): Likewise.
24788 (CFLAGS-msync.c): Likewise.
24789 (CFLAGS-fdatasync.c): Likewise.
24790 (CFLAGS-fsync.c): Likewise.
24791 (CFLAGS-pt-system.c): Likewise.
24792 (CFLAGS-tst-cleanup2.c): Likewise.
24793 (CFLAGS-tst-cleanupx2.c): Likewise.
24794 (CFLAGS-flockfile.c): Likewise.
24795 (CFLAGS-ftrylockfile.c): Likewise.
24796 (CFLAGS-funlockfile.c): Likewise.
24797 (CFLAGS-tst-initializers1.c): Likewise.
24798 (CFLAGS-tst-initializers1-c89.c): Likewise.
24799 (CFLAGS-tst-initializers1-c99.c): Likewise.
24800 (CFLAGS-tst-initializers1-c11.c): Likewise.
24801 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24802 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24803 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24804 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24805 (CFLAGS-nscd_getgr_r.c): Likewise.
24806 (CFLAGS-nscd_gethst_r.c): Likewise.
24807 (CFLAGS-nscd_getai.c): Likewise.
24808 (CFLAGS-nscd_initgroups.c): Likewise.
24809 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24810 (CFLAGS-pause.c): Likewise.
24811 (CFLAGS-pread.c): Likewise.
24812 (CFLAGS-pread64.c): Likewise.
24813 (CFLAGS-pwrite.c): Likewise.
24814 (CFLAGS-pwrite64.c): Likewise.
24815 (CFLAGS-sleep.c): Likewise.
24816 (CFLAGS-wait.c): Likewise.
24817 (CFLAGS-waitid.c): Likewise.
24818 (CFLAGS-waitpid.c): Likewise.
24819 (CFLAGS-getopt.c): Likewise.
24820 (CFLAGS-wordexp.c): Likewise.
24821 (CFLAGS-sysconf.c): Likewise.
24822 (CFLAGS-pathconf.c): Likewise.
24823 (CFLAGS-fpathconf.c): Likewise.
24824 (CFLAGS-spawn.c): Likewise.
24825 (CFLAGS-spawnp.c): Likewise.
24826 (CFLAGS-spawni.c): Likewise.
24827 (CFLAGS-glob.c): Likewise.
24828 (CFLAGS-glob64.c): Likewise.
24829 (CFLAGS-getconf.c): Likewise.
24830 (CFLAGS-nanosleep.c): Likewise.
24831 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24832 (CFLAGS-getpwent.c): Likewise.
24833 (CFLAGS-getpw.c): Likewise.
24834 (CFLAGS-fgetpwent_r.c): Likewise.
24835 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24836 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24837 (CFLAGS-mq_timedreceive.c): Likewise.
24838 (CFLAGS-mq_timedsend.c): Likewise.
24839 (CFLAGS-clock_nanosleep.c): Likewise.
24840 (CFLAGS-librt-cancellation.c): Likewise.
24841 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24842 (CFLAGS-getspent.c): Likewise.
24843 (CFLAGS-fgetspent.c): Likewise.
24844 (CFLAGS-fgetspent_r.c): Likewise.
24845 (CFLAGS-putspent.c): Likewise.
24846 (CFLAGS-getspnam.c): Likewise.
24847 (CFLAGS-getspnam_r.c): Likewise.
24848 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24849 (CFLAGS-sigsuspend.c): Likewise.
24850 (CFLAGS-sigtimedwait.c): Likewise.
24851 (CFLAGS-sigwait.c): Likewise.
24852 (CFLAGS-sigwaitinfo.c): Likewise.
24853 (CFLAGS-sigreturn.c): Likewise.
24854 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24855 (CFLAGS-vfwprintf.c): Likewise.
24856 (CFLAGS-tmpfile.c): Likewise.
24857 (CFLAGS-tmpfile64.c): Likewise.
24858 (CFLAGS-tempname.c): Likewise.
24859 (CFLAGS-psignal.c): Likewise.
24860 (CFLAGS-vprintf.c): Likewise.
24861 (CFLAGS-cuserid.c): Likewise.
24862 (CFLAGS-errlist.c): Likewise.
24863 (CFLAGS-siglist.c): Likewise.
24864 (CFLAGS-scanf15.c): Likewise.
24865 (CFLAGS-scanf17.c): Likewise.
24866 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24867 (CFLAGS-msort.c): Likewise.
24868 (CFLAGS-qsort.c): Likewise.
24869 (CFLAGS-system.c): Likewise.
24870 (CFLAGS-fmtmsg.c): Likewise.
24871 (CFLAGS-strfmon.c): Likewise.
24872 (CFLAGS-strfmon_l.c): Likewise.
24873 (CFLAGS-strfromd.c): Likewise.
24874 (CFLAGS-strfromf.c): Likewise.
24875 (CFLAGS-strfroml.c): Likewise.
24876 (CFLAGS-tst-bsearch.c): Likewise.
24877 (CFLAGS-tst-qsort.c): Likewise.
24878 (CFLAGS-tst-makecontext2.c): Likewise.
24879 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24880 (CFLAGS-xnlm_prot.c): Likewise.
24881 (CFLAGS-xrstat.c): Likewise.
24882 (CFLAGS-xyppasswd.c): Likewise.
24883 (CFLAGS-xklm_prot.c): Likewise.
24884 (CFLAGS-xrex.c): Likewise.
24885 (CFLAGS-xsm_inter.c): Likewise.
24886 (CFLAGS-xmount.c): Likewise.
24887 (CFLAGS-xrusers.c): Likewise.
24888 (CFLAGS-xspray.c): Likewise.
24889 (CFLAGS-xnfs_prot.c): Likewise.
24890 (CFLAGS-xrquota.c): Likewise.
24891 (CFLAGS-xkey_prot.c): Likewise.
24892 (CFLAGS-auth_unix.c): Likewise.
24893 (CFLAGS-key_call.c): Likewise.
24894 (CFLAGS-pmap_rmt.c): Likewise.
24895 (CFLAGS-clnt_perr.c): Likewise.
24896 (CFLAGS-openchild.c): Likewise.
24897 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24898 (CFLAGS-msgsnd.c): Likewise.
24899 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24900 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24901 (CFLAGS-tzset.c): Likewise.
24902 (CFLAGS-getdate.c): Likewise.
24903 (CFLAGS-test_time.c): Likewise.
24904 (CPPFLAGS-tst-tzname.c): Likewise.
24905 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24906 (CFLAGS-zic.c): Likewise.
24907 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24908 (CFLAGS-wcswidth.c): Likewise.
24909 (CFLAGS-wcstol.c): Likewise.
24910 (CFLAGS-wcstoul.c): Likewise.
24911 (CFLAGS-wcstoll.c): Likewise.
24912 (CFLAGS-wcstoull.c): Likewise.
24913 (CFLAGS-wcstod.c): Likewise.
24914 (CFLAGS-wcstold.c): Likewise.
24915 (CFLAGS-wcstof128.c): Likewise.
24916 (CFLAGS-wcstof.c): Likewise.
24917 (CFLAGS-wcstol_l.c): Likewise.
24918 (CFLAGS-wcstoul_l.c): Likewise.
24919 (CFLAGS-wcstoll_l.c): Likewise.
24920 (CFLAGS-wcstoull_l.c): Likewise.
24921 (CFLAGS-wcstod_l.c): Likewise.
24922 (CFLAGS-wcstold_l.c): Likewise.
24923 (CFLAGS-wcstof128_l.c): Likewise.
24924 (CFLAGS-wcstof_l.c): Likewise.
24925 (CPPFLAGS-tst-wchar-h.c): Likewise.
24926 (CPPFLAGS-wcstold_l.c): Likewise.
24928 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24930 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24932 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24933 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24935 * manual/tunables.texi (Hardware Capability Tunables): Document
24936 glibc.tune.cached_memopt.
24937 * sysdeps/powerpc/cpu-features.c: New file.
24938 * sysdeps/powerpc/cpu-features.h: New file.
24939 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24940 _dl_powerpc_cpu_features.
24941 * sysdeps/powerpc/dl-tunables.list: New file.
24942 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24943 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24944 (INIT_ARCH): Initialize use_aligned_memopt.
24945 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24946 IS_IN(rtld))]: Restrict dl_platform_init availability and
24947 initialize CPU features used by tunables.
24948 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24949 Add memcpy-power8-cached.
24950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24951 __memcpy_power8_cached.
24952 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24956 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24958 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24959 (CFLAGS-noinl-tester.c): Likewise.
24960 (CFLAGS-tst-strlen.c): Likewise.
24961 (CFLAGS-stratcliff.c): Likewise.
24962 (CFLAGS-test-ffs.c): Likewise.
24963 (CFLAGS-tst-inlcall.c): Likewise.
24964 (CFLAGS-tst-xbzero-opt.c): Likewise.
24965 (CFLAGS-memcpy.c): Likewise.
24966 (CFLAGS-wordcopy.c): Likewise.
24968 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24970 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24971 Store r15 on stack and add cfi rule.
24972 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24975 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24978 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24981 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24983 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24984 Add s_sinf-sse2 and s_sinf-fma.
24985 (CFLAGS-s_sinf-fma.c): New.
24986 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24987 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24988 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24990 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24992 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24994 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24997 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24998 part of result to imaginary part of argument if it is zero and the
24999 real part of the argument is not finite.
25000 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25001 of result to real part of argument if it is zero and the imaginary
25002 part of the argument is not finite.
25004 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25007 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25008 and to the list of locales to be built for testing.
25009 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25010 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25011 and build the collation rules upon that.
25013 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25015 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25016 * manual/math.texi (Mathematics): Document support for _Float32.
25017 * math/Makefile (test-types): Add float32.
25018 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25019 * stdlib/Versions (GLIBC_2.27): Likewise.
25020 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25021 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25023 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25024 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25025 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25026 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25027 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25028 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25029 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25030 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25031 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25032 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25033 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25035 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25036 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25037 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25038 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25040 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25041 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25043 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25045 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25046 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25047 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25065 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25067 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25068 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25069 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25070 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25073 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25074 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25083 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25084 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25085 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25086 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25087 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25088 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25089 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25090 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25092 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25094 * stdlib/strtof.c: Include <bits/floatn.h>
25095 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25096 and later undefine as macro. Define as weak alias if
25098 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25099 and later undefine as macro. Define as weak alias if
25101 * stdlib/strtof_l.c: Include <bits/floatn.h>
25102 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25103 and later undefine as macro. Define as weak alias if
25105 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25106 and later undefine as macro. Define as weak alias if
25109 * stdlib/strfromf.c: Include <bits/floatn.h>.
25110 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25111 and later undefine as macro and define as weak alias.
25113 * math/test-float32.h: New file.
25115 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25116 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25117 (libm_alias_float_other_r): Create f32 alias.
25118 (libm_alias_float_r): Use semicolon before call to
25119 libm_alias_float_other_r.
25121 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25122 second argument to libm_alias_float_other.
25123 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25124 second argument to libm_alias_float_other.
25125 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25126 argument to libm_alias_float_other.
25129 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25130 real part of result for argument 0 + i * NaN.
25131 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25132 results for tests of 0 + i * NaN.
25134 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25136 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25138 2017-12-06 David S. Miller <davem@davemloft.net>
25140 * sysdeps/sparc/fpu/libm-test-ulps: Update
25141 exp_{downward,towardzero,upward} ulps.
25143 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25145 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25148 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25150 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25152 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25154 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25157 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25160 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25161 and to the list of locales to be built for testing.
25162 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25163 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25164 and build the collation rules upon that.
25166 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25168 * NEWS: Add sinf to list of optimized functions.
25170 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25172 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25173 (__HAVE_FLOAT32X): Likewise.
25174 * manual/math.texi (Mathematics): Document support for _Float64
25176 * math/Makefile (test-types): Add float64 and float32x.
25177 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25179 * stdlib/Versions (GLIBC_2.27): Likewise.
25180 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25181 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25184 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25187 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25196 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25197 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25198 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25199 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25203 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25205 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25225 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25227 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25228 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25229 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25232 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25233 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25242 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25243 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25245 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25246 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25247 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25248 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25249 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25251 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25253 * bits/floatn-common.h: Include <bits/long-double.h>.
25254 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25255 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25256 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25257 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25258 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25259 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25260 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25261 (__builtin_huge_valf64): Use __builtin_huge_vall.
25262 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25263 (__builtin_inff64): Use __builtin_infl.
25264 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25265 (__builtin_nanf64): Use __builtin_nanl.
25266 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25267 (__builtin_nansf64): Use __builtin_nansl.
25269 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25270 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25271 Carlos O'Donell <carlos@redhat.com>
25273 * elf/dl-tunables.list: Add elision parameters.
25274 * manual/tunables.texi: Add entries about elision tunable.
25275 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25276 Add callback functions to dynamically enable/disable elision.
25277 Add multiple callbacks functions to set elision parameters.
25278 Deleted __libc_enable_secure check.
25279 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25280 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25281 * configure: Regenerated.
25282 * configure.ac: Option enable_lock_elision was deleted.
25283 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25284 * config.make.in: Remove references to enable_lock_elision.
25285 * manual/install.texi: Elision configure option was removed.
25286 * INSTALL: Regenerated to remove enable_lock_elision.
25288 Disable elision so it can verify error case for destroying a mutex.
25289 * sysdeps/powerpc/nptl/elide.h:
25290 Cleanup ENABLE_LOCK_ELISION check.
25291 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25292 * sysdeps/s390/configure: Regenerated.
25293 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25294 * nptl/tst-mutex8.c:
25295 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25296 * sysdeps/powerpc/powerpc32/sysdep.h:
25297 Deleted all ENABLE_LOCK_ELISION checks.
25298 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25299 * sysdeps/powerpc/sysdep.h: Likewise.
25300 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25302 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25303 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25304 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25305 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25306 enable-lock-elision.
25308 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25310 * stdlib/strtod.c: Include <bits/floatn.h>.
25311 (BUILD_DOUBLE): New macro.
25312 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25313 (strtof64): Define and later undefine as macro. Define as weak
25314 alias if [!USE_WIDE_CHAR].
25315 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25316 (wcstof64): Define and later undefine as macro. Define as weak
25317 alias if [USE_WIDE_CHAR].
25318 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25319 (strtof32x): Define and later undefine as macro. Define as weak
25320 alias if [!USE_WIDE_CHAR].
25321 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25322 (wcstof32x): Define and later undefine as macro. Define as weak
25323 alias if [USE_WIDE_CHAR].
25324 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25325 (BUILD_DOUBLE): New macro.
25326 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25327 (strtof64_l): Define and later undefine as macro. Define as weak
25328 alias if [!USE_WIDE_CHAR].
25329 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25330 (wcstof64_l): Define and later undefine as macro. Define as weak
25331 alias if [USE_WIDE_CHAR].
25332 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25333 (strtof32x_l): Define and later undefine as macro. Define as weak
25334 alias if [!USE_WIDE_CHAR].
25335 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25336 (wcstof32x_l): Define and later undefine as macro. Define as weak
25337 alias if [USE_WIDE_CHAR].
25339 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25341 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25342 (reduced): Use ones as double instead of integer.
25344 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25346 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25348 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25350 * stdlib/strfromd.c: Include <bits/floatn.h>.
25351 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25352 and later undefine as macro and define as weak alias.
25353 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25356 * math/test-float32x.h: New file.
25357 * math/test-float64.h: Likewise.
25359 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25360 (libm_alias_double_other_r_f64): New macro.
25361 (libm_alias_double_other_r_f32x): Likewise.
25362 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25363 libm_alias_double_other_r_f32x.
25364 (libm_alias_double_r): Use semicolon before call to
25365 libm_alias_double_other_r.
25366 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25368 (libm_alias_double_other_r_f64): New macro.
25369 (libm_alias_double_other_r_f32x): Likewise.
25370 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25371 libm_alias_double_other_r_f32x.
25373 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25375 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25377 (SINF_FUNC): Likewise. Replace floor with simple casts.
25379 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25382 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25383 and to the list of locales to be built for testing.
25384 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25385 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25386 and build the collation rules upon that.
25388 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25390 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25391 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25392 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25393 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25394 instead of __insn__xxx.
25395 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25396 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25397 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25398 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25399 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25400 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25402 2017-12-05 Florian Weimer <fweimer@redhat.com>
25404 Linux: Implement interfaces for memory protection keys
25405 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25407 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25408 * support/xunistd.h (xsysconf): Declare.
25409 * support/xraise.c: New file.
25410 * support/xsigaction.c: Likewise.
25411 * support/xsignal.c: Likewise.
25412 * support/xsysconf.c: Likewise.
25413 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25414 pkey_set, pkey_get, pkey_mprotect.
25415 [misc] (tests): Add tst-pkey.
25416 (tst-pkey): Link with -lpthread.
25417 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25418 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25419 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25420 (PKEY_DISABLE_WRITE): Define.
25421 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25423 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25424 (SEGV_PKUERR): Add.
25425 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25426 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25427 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25428 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25430 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25431 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25432 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25433 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25434 * sysdeps/unix/sysv/linux/**.abilist: Update.
25436 2017-12-05 Florian Weimer <fweimer@redhat.com>
25438 * support/tst-test_compare.c (subprocess): Use long long instead
25439 of long argument for consistent type width across 32-bit and
25440 64-bit architectures.
25441 (do_test): Adjust expected output.
25443 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25445 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25446 (cosf): Define using libm_alias_float.
25447 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25448 (fabsf): Define using libm_alias_float.
25449 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25450 (fmaf): Define using libm_alias_float.
25451 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25452 (rintf): Define using libm_alias_float.
25453 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25454 (sinf): Define using libm_alias_float.
25455 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25456 <libm-alias-float.h>.
25457 (modff): Define using libm_alias_float.
25458 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25459 <libm-alias-float.h>.
25460 (logbf): Define using libm_alias_float.
25461 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25462 <libm-alias-float.h>.
25463 (ceilf): Define using libm_alias_float.
25464 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25465 <libm-alias-float.h>.
25466 (copysignf): Define using libm_alias_float.
25467 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25468 <libm-alias-float.h>.
25469 (floorf): Define using libm_alias_float.
25470 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25471 <libm-alias-float.h>.
25472 (llrintf): Define using libm_alias_float.
25473 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25474 <libm-alias-float.h>.
25475 (llroundf): Define using libm_alias_float.
25476 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25477 <libm-alias-float.h>.
25478 (lrintf): Define using libm_alias_float.
25479 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25480 <libm-alias-float.h>.
25481 (lroundf): Define using libm_alias_float.
25482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25483 <libm-alias-float.h>.
25484 (nearbyintf): Define using libm_alias_float.
25485 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25486 <libm-alias-float.h>.
25487 (rintf): Define using libm_alias_float.
25488 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25489 <libm-alias-float.h>.
25490 (roundf): Define using libm_alias_float.
25491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25492 <libm-alias-float.h>.
25493 (truncf): Define using libm_alias_float.
25494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25495 Include <libm-alias-float.h>.
25496 (ceilf): Define using libm_alias_float.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25498 Include <libm-alias-float.h>.
25499 (copysignf): Define using libm_alias_float.
25500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25501 Include <libm-alias-float.h>.
25502 (floorf): Define using libm_alias_float.
25503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25504 Include <libm-alias-float.h>.
25505 (llrintf): Define using libm_alias_float.
25506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25507 Include <libm-alias-float.h>.
25508 (llroundf): Define using libm_alias_float.
25509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25510 Include <libm-alias-float.h>.
25511 (logbf): Define using libm_alias_float.
25512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25513 Include <libm-alias-float.h>.
25514 (lrintf): Define using libm_alias_float.
25515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25516 Include <libm-alias-float.h>.
25517 (lroundf): Define using libm_alias_float.
25518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25519 Include <libm-alias-float.h>.
25520 (modff): Define using libm_alias_float.
25521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25522 Include <libm-alias-float.h>.
25523 (roundf): Define using libm_alias_float.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25525 Include <libm-alias-float.h>.
25526 (truncf): Define using libm_alias_float.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25528 <libm-alias-float.h>.
25529 (llrintf): Define using libm_alias_float.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25531 <libm-alias-float.h>.
25532 (llroundf): Define using libm_alias_float.
25533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25534 <libm-alias-float.h>.
25535 (ceilf): Define using libm_alias_float.
25536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25537 <libm-alias-float.h>.
25538 (floorf): Define using libm_alias_float.
25539 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25540 <libm-alias-float.h>.
25541 (llroundf): Define using libm_alias_float.
25542 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25543 <libm-alias-float.h>.
25544 (lroundf): Define using libm_alias_float.
25545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25546 <libm-alias-float.h>.
25547 (roundf): Define using libm_alias_float.
25548 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25549 <libm-alias-float.h>.
25550 (truncf): Define using libm_alias_float.
25551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25552 <libm-alias-float.h>.
25553 (copysignf): Define using libm_alias_float.
25554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25555 <libm-alias-float.h>.
25556 (llrintf): Define using libm_alias_float.
25557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25558 <libm-alias-float.h>.
25559 (llroundf): Define using libm_alias_float.
25560 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25561 <libm-alias-float.h>.
25562 (lrintf): Define using libm_alias_float.
25563 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25564 <libm-alias-float.h>.
25565 (lroundf): Define using libm_alias_float.
25566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25567 <libm-alias-float.h>.
25568 (ceilf): Define using libm_alias_float.
25569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25570 <libm-alias-float.h>.
25571 (copysignf): Define using libm_alias_float.
25572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25573 <libm-alias-float.h>.
25574 (cosf): Define using libm_alias_float.
25575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25576 <libm-alias-float.h>.
25577 (floorf): Define using libm_alias_float.
25578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25579 <libm-alias-float.h>.
25580 (llrintf): Define using libm_alias_float.
25581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25582 <libm-alias-float.h>.
25583 (llroundf): Define using libm_alias_float.
25584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25585 <libm-alias-float.h>.
25586 (logbf): Define using libm_alias_float.
25587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25588 <libm-alias-float.h>.
25589 (modff): Define using libm_alias_float.
25590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25591 <libm-alias-float.h>.
25592 (roundf): Define using libm_alias_float.
25593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25594 <libm-alias-float.h>.
25595 (sinf): Define using libm_alias_float.
25596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25597 <libm-alias-float.h>.
25598 (truncf): Define using libm_alias_float.
25599 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25600 <libm-alias-float.h>.
25601 (ceilf): Define using libm_alias_float.
25602 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25603 <libm-alias-float.h>.
25604 (copysignf): Define using libm_alias_float.
25605 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25606 <libm-alias-float.h>.
25607 (floorf): Define using libm_alias_float.
25608 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25609 <libm-alias-float.h>.
25610 (llrintf): Define using libm_alias_float.
25611 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25612 <libm-alias-float.h>.
25613 (llroundf): Define using libm_alias_float.
25614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25615 <libm-alias-float.h>.
25616 (nearbyintf): Define using libm_alias_float.
25617 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25618 <libm-alias-float.h>.
25619 (rintf): Define using libm_alias_float.
25620 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25621 <libm-alias-float.h>.
25622 (roundf): Define using libm_alias_float.
25623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25624 <libm-alias-float.h>.
25625 (truncf): Define using libm_alias_float.
25626 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25627 <libm-alias-float.h>.
25628 (ceilf): Define using libm_alias_float.
25629 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25630 <libm-alias-float.h>.
25631 (floorf): Define using libm_alias_float.
25632 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25633 <libm-alias-float.h>.
25634 (llroundf): Define using libm_alias_float.
25635 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25636 <libm-alias-float.h>.
25637 (roundf): Define using libm_alias_float.
25638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25639 <libm-alias-float.h>.
25640 (truncf): Define using libm_alias_float.
25641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25642 <libm-alias-float.h>.
25643 (copysignf): Define using libm_alias_float.
25644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25645 <libm-alias-float.h>.
25646 (llrintf): Define using libm_alias_float.
25647 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25648 <libm-alias-float.h>.
25649 (llroundf): Define using libm_alias_float.
25650 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25651 <libm-alias-float.h>.
25652 (cosf): Define using libm_alias_float.
25653 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25654 <libm-alias-float.h>.
25655 (llrintf): Define using libm_alias_float.
25656 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25657 <libm-alias-float.h>.
25658 (llroundf): Define using libm_alias_float.
25659 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25660 <libm-alias-float.h>.
25661 (sinf): Define using libm_alias_float.
25663 2017-12-04 Florian Weimer <fweimer@redhat.com>
25665 * support/check.h (TEST_COMPARE): Define.
25666 (support_test_compare_failure): Declare.
25667 * support/Makefile (libsupport-routines): Add
25668 support_test_compare_failure.
25669 (tests): Add tst-test_compare.
25670 * support /support_test_compare_failure.c: New file.
25671 * support/tst-test_compare.c: Likewise.
25673 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25676 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25677 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25678 available, this rewrite of the collation rules does reproduce
25679 the test file in the same order.
25681 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25684 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25685 digraphs in the month and day names. Using single code points for
25686 digraphs is deprecated. While there are dedicated Unicode
25687 codepoints, for the digraphs, these are included for backwards
25688 compatibility and modern texts use a sequence of Basic Latin
25689 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25690 This makes the month and day names agree exactly with CLDR now,
25691 CLDR does not use the single code points for the digraphs either.
25693 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25695 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25697 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25702 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25704 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25705 Define only for libc.so.
25707 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25710 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25711 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25712 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25715 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25718 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25720 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25723 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25724 PREINIT_FUNCTION_WEAK is nonzero.
25725 (gmon_initializer): New function. Put procedure label for it in
25726 .init_array section.
25727 (_init): Don't call PREINIT_FUNCTION.
25728 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25729 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25730 value when map argument is null.
25732 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25733 depi instruction from PIC pc-relative sequence.
25734 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25735 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25736 (elf_machine_load_address): Likewise.
25737 (elf_machine_runtime_setup): Likewise.
25739 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25741 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25742 <libm-alias-double.h>.
25743 (logb): Define using libm_alias_double.
25744 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25745 <libm-alias-double.h>.
25746 (copysign): Define using libm_alias_double.
25747 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25748 <libm-alias-double.h>.
25749 (llrint): Define using libm_alias_double.
25750 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25751 <libm-alias-double.h>.
25752 (llround): Define using libm_alias_double.
25753 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25754 <libm-alias-double.h>.
25755 (lrint): Define using libm_alias_double.
25756 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25757 <libm-alias-double.h>.
25758 (lround): Define using libm_alias_double.
25759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25760 Include <libm-alias-double.h>.
25761 (copysign): Define using libm_alias_double.
25762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25763 Include <libm-alias-double.h>.
25764 (llrint): Define using libm_alias_double.
25765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25766 Include <libm-alias-double.h>.
25767 (llround): Define using libm_alias_double.
25768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25769 <libm-alias-double.h>.
25770 (logb): Define using libm_alias_double.
25771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25772 Include <libm-alias-double.h>.
25773 (lrint): Define using libm_alias_double.
25774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25775 Include <libm-alias-double.h>.
25776 (lround): Define using libm_alias_double.
25777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25778 <libm-alias-double.h>.
25779 (llrint): Define using libm_alias_double.
25780 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25781 <libm-alias-double.h>.
25782 (llround): Define using libm_alias_double.
25783 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25784 <libm-alias-double.h>.
25785 (llround): Define using libm_alias_double.
25786 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25787 <libm-alias-double.h>.
25788 (lround): Define using libm_alias_double.
25789 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25790 <libm-alias-double.h>.
25791 (copysign): Define using libm_alias_double.
25792 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25793 <libm-alias-double.h>.
25794 (llrint): Define using libm_alias_double.
25795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25796 <libm-alias-double.h>.
25797 (llround): Define using libm_alias_double.
25798 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25799 <libm-alias-double.h>.
25800 (lrint): Define using libm_alias_double.
25801 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25802 <libm-alias-double.h>.
25803 (lround): Define using libm_alias_double.
25804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25805 <libm-alias-double.h>.
25806 (copysign): Define using libm_alias_double.
25807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25808 <libm-alias-double.h>.
25809 (llrint): Define using libm_alias_double.
25811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25812 <libm-alias-double.h>.
25813 (llround): Define using libm_alias_double.
25814 (lround): Likewise.
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25816 <libm-alias-double.h>.
25817 (logb): Define using libm_alias_double.
25818 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25819 <libm-alias-double.h>.
25820 (copysign): Define using libm_alias_double.
25821 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25822 <libm-alias-double.h>.
25823 (llrint): Define using libm_alias_double.
25825 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25826 <libm-alias-double.h>.
25827 (llround): Define using libm_alias_double.
25828 (lround): Likewise.
25829 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25830 <libm-alias-double.h>.
25831 (llround): Define using libm_alias_double.
25832 (lround): Likewise.
25833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25834 <libm-alias-double.h>.
25835 (copysign): Define using libm_alias_double.
25836 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25837 <libm-alias-double.h>.
25838 (llrint): Define using libm_alias_double.
25840 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25841 <libm-alias-double.h>.
25842 (llround): Define using libm_alias_double.
25843 (lround): Likewise.
25844 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25845 <libm-alias-double.h>.
25846 (llrint): Define using libm_alias_double.
25848 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25849 <libm-alias-double.h>.
25850 (llround): Define using libm_alias_double.
25851 (lround): Likewise.
25853 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25856 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25857 compat symbol based on llround.
25859 * sysdeps/powerpc/power7/fpu/s_logb.c
25860 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25861 symbol based on __logb, not on logb.
25862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25863 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25865 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25867 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25868 (rint): Define using libm_alias_double.
25869 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25870 <libm-alias-double.h>.
25871 (modf): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25873 <libm-alias-double.h>.
25874 (ceil): Define using libm_alias_double.
25875 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25876 <libm-alias-double.h>.
25877 (floor): Define using libm_alias_double.
25878 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25879 <libm-alias-double.h>.
25880 (nearbyint): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25882 <libm-alias-double.h>.
25883 (rint): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25885 <libm-alias-double.h>.
25886 (round): Define using libm_alias_double.
25887 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25888 <libm-alias-double.h>.
25889 (trunc): Define using libm_alias_double.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25891 <libm-alias-double.h>.
25892 (ceil): Define using libm_alias_double.
25893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25894 Include <libm-alias-double.h>.
25895 (floor): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25897 <libm-alias-double.h>.
25898 (modf): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25900 Include <libm-alias-double.h>.
25901 (round): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25903 Include <libm-alias-double.h>.
25904 (trunc): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25906 <libm-alias-double.h>.
25907 (ceil): Define using libm_alias_double.
25908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25909 <libm-alias-double.h>.
25910 (floor): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25912 <libm-alias-double.h>.
25913 (round): Define using libm_alias_double.
25914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25915 <libm-alias-double.h>.
25916 (trunc): Define using libm_alias_double.
25917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25918 <libm-alias-double.h>.
25919 (ceil): Define using libm_alias_double.
25920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25921 <libm-alias-double.h>.
25922 (floor): Define using libm_alias_double.
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25924 <libm-alias-double.h>.
25925 (modf): Define using libm_alias_double.
25926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25927 <libm-alias-double.h>.
25928 (round): Define using libm_alias_double.
25929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25930 <libm-alias-double.h>.
25931 (trunc): Define using libm_alias_double.
25932 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25933 <libm-alias-double.h>.
25934 (ceil): Define using libm_alias_double.
25935 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25936 <libm-alias-double.h>.
25937 (floor): Define using libm_alias_double.
25938 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25939 <libm-alias-double.h>.
25940 (nearbyint): Define using libm_alias_double.
25941 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25942 <libm-alias-double.h>.
25943 (rint): Define using libm_alias_double.
25944 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25945 <libm-alias-double.h>.
25946 (round): Define using libm_alias_double.
25947 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25948 <libm-alias-double.h>.
25949 (trunc): Define using libm_alias_double.
25950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25951 <libm-alias-double.h>.
25952 (ceil): Define using libm_alias_double.
25953 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25954 <libm-alias-double.h>.
25955 (floor): Define using libm_alias_double.
25956 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25957 <libm-alias-double.h>.
25958 (round): Define using libm_alias_double.
25959 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25960 <libm-alias-double.h>.
25961 (trunc): Define using libm_alias_double.
25963 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25964 (fabs): Define using libm_alias_double.
25965 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25966 (fma): Define using libm_alias_double.
25967 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25968 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25972 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25974 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25976 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25977 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25978 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25981 due redirect macro.
25983 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25985 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25987 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25989 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25990 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25991 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25992 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25995 (libm-sysdep_routines): Add s_nearbyintf-generic and
25996 s_nearbyint-generic.
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26010 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26021 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26032 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26043 (sysdep_calls): New rule.
26044 (sysdep_routines): Use sysdep_calls as base.
26045 (libm-sysdep_routines): Add generic rule for symbols shared with
26046 libc. Add s_copysign-generic and s_copysign-generic objects.
26047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26056 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26059 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26060 the list of locales to be built for testing.
26061 * localedata/is_IS.UTF-8.in: New file.
26062 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26065 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26067 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26068 <libm-alias-float.h>.
26069 (fabsf): Define using libm_alias_float.
26071 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26073 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26075 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26078 <libm-alias-float.h>.
26079 (fabsf): Define using libm_alias_float.
26080 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26081 <libm-alias-float.h>.
26082 (lrintf): Define using libm_alias_float.
26083 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26084 <libm-alias-float.h>.
26085 (rintf): Define using libm_alias_float.
26087 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26088 <libm-alias-double.h>.
26089 (fabs): Define using libm_alias_double.
26090 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26091 <libm-alias-double.h>.
26092 (lrint): Define using libm_alias_double.
26093 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26094 <libm-alias-double.h>.
26095 (rint): Define using libm_alias_double.
26097 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26098 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26099 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26100 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26101 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26102 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26103 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26104 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26105 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26106 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26107 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26108 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26109 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26110 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26111 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26112 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26113 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26114 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26116 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26117 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26118 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26120 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26121 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26122 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26124 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26125 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26126 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26127 s_expm1_template.c.
26128 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26129 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26130 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26132 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26133 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26134 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26135 s_floor_template.c.
26136 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26137 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26138 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26139 s_frexp_template.c.
26140 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26141 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26142 s_lrint_template.c.
26143 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26144 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26145 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26147 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26148 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26149 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26150 s_nearbyint_template.c.
26151 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26152 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26153 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26154 s_remquo_template.c.
26155 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26156 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26157 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26159 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26160 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26161 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26163 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26164 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26165 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26166 s_sincos_template.c.
26167 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26168 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26169 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26171 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26172 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26173 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26175 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26176 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26177 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26178 s_trunc_template.c.
26179 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26180 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26181 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26182 s_atan.c instead of including s_atan.c.
26183 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26184 s_atanf.c instead of including s_atanf.c.
26185 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26186 s_atanl.c instead of including s_atanl.c.
26187 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26188 instead of s_atan.c.
26189 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26190 instead of s_atanf.c.
26191 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26192 instead of s_atanl.c.
26194 * scripts/update-copyrights: Do not handle intl/plural.c
26197 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26200 * configure.ac (BISON): Require to be present.
26201 * configure: Regenerated.
26202 * intl/Makefile (generated): Add plural.c.
26203 [$(BISON) != no]: Make code unconditional.
26204 (plural.c): Change rule to $(objpfx)plural.c.
26205 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26206 * intl/plural.c: Remove.
26207 * manual/install.texi (Tools for Compilation): Document bison as
26209 * INSTALL: Regenerated.
26211 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26213 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26214 <libm-alias-double.h>.
26215 (llrint): Define using libm_alias_double.
26216 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26217 <libm-alias-float.h>.
26218 (llrintf): Define using libm_alias_float.
26219 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26220 <libm-alias-ldouble.h>.
26221 (llrintl): Define using libm_alias_ldouble.
26223 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26224 declare_mgen_alias instead of weak_alias.
26225 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26226 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26229 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26231 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26233 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26234 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26235 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26237 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26238 Add submul_1-generic.
26239 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26240 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26241 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26243 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26244 Add addmul_1-generic.
26245 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26246 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26247 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26249 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26251 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26252 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26253 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26255 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26257 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26258 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26259 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26261 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26263 According to CLDR, collation rules for Serbian and Bosnian
26264 should be the same as for Croatian.
26267 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26268 and to the list of locales to be built for testing.
26269 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26270 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26271 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26272 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26274 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26276 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26277 to make test case pass.
26278 * localedata/hr_HR.UTF-8.in: Add more test strings.
26280 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26282 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26284 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26286 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26287 the list of locales to built for testing.
26288 * localedata/hr_HR.UTF-8.in: New file.
26290 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26293 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26295 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26296 CLDR (except use ligatures for the digraphs, CLDR does not use
26297 the ligatures), add first_workday, some fixes in the date and time
26299 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26301 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26302 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26303 Add int_p_cs_precedes and int_n_cs_precedes.
26304 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26305 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26307 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26308 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26310 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26311 and lang_lib. Change postal_fmt.
26313 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26315 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26317 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26318 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26319 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26320 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26321 * sysdeps/generic/setjmpP.h: New file.
26322 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26323 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26324 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26325 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26326 Add jmp_buf-ssp.sym.
26327 (tests): Add tst-saved_mask-1.
26329 2017-11-30 Arjun Shankar <arjun@redhat.com>
26333 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26334 instead of request2size.
26336 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26339 (__lllrint): Remove alias.
26340 (lllrint): Likewise.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26342 (__lllrintf): Likewise.
26343 (lllrintf): Likewise.
26345 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26346 <libm-alias-float.h>.
26347 (copysignf): Define using libm_alias_float.
26348 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26349 <libm-alias-float.h>.
26350 (fabsf): Define using libm_alias_float.
26351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26352 Include <libm-alias-float.h>.
26353 (copysignf): Define using libm_alias_float.
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26355 <libm-alias-float.h>.
26356 (fabsf): Define using libm_alias_float.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26358 <libm-alias-float.h>.
26359 (fdimf): Define using libm_alias_float.
26360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26361 <libm-alias-float.h>.
26362 (fmaf): Define using libm_alias_float.
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26364 <libm-alias-float.h>.
26365 (llrintf): Define using libm_alias_float.
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26367 Include <libm-alias-float.h>.
26368 (nearbyintf): Define using libm_alias_float.
26369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26370 <libm-alias-float.h>.
26371 (rintf): Define using libm_alias_float.
26372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26373 <libm-alias-float.h>.
26374 (llrintf): Define using libm_alias_float.
26375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26376 <libm-alias-float.h>.
26377 (lrintf): Define using libm_alias_float.
26378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26379 <libm-alias-float.h>.
26380 (nearbyintf): Define using libm_alias_float.
26381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26382 <libm-alias-float.h>.
26383 (rintf): Define using libm_alias_float.
26384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26385 <libm-alias-float.h>.
26386 (ceilf): Define using libm_alias_float.
26387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26388 <libm-alias-float.h>.
26389 (floorf): Define using libm_alias_float.
26390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26391 <libm-alias-float.h>.
26392 (fmaf): Define using libm_alias_float.
26393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26394 <libm-alias-float.h>.
26395 (lrintf): Define using libm_alias_float.
26396 (llrintf): Likewise.
26397 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26398 <libm-alias-float.h>.
26399 (nearbyintf): Define using libm_alias_float.
26400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26401 <libm-alias-float.h>.
26402 (rintf): Define using libm_alias_float.
26403 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26404 <libm-alias-float.h>.
26405 (truncf): Define using libm_alias_float.
26406 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26407 <libm-alias-float.h>.
26408 (copysignf): Define using libm_alias_float.
26409 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26410 <libm-alias-float.h>.
26411 (fabsf): Define using libm_alias_float.
26412 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26413 <libm-alias-float.h>.
26414 (lrintf): Define using libm_alias_float.
26415 (llrintf): Likewise.
26416 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26417 <libm-alias-float.h>.
26418 (nearbyintf): Define using libm_alias_float.
26419 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26420 <libm-alias-float.h>.
26421 (rintf): Define using libm_alias_float.
26423 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26426 <libm-alias-double.h>.
26427 (copysign): Define using libm_alias_double.
26428 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26429 <libm-alias-double.h>.
26430 (fabs): Define using libm_alias_double.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26432 Include <libm-alias-double.h>.
26433 (copysign): Define using libm_alias_double.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26435 <libm-alias-double.h>.
26436 (fabs): Define using libm_alias_double.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26438 <libm-alias-double.h>.
26439 (fdim): Define using libm_alias_double.
26440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26441 <libm-alias-double.h>.
26442 (fma): Define using libm_alias_double.
26443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26444 <libm-alias-double.h>.
26445 (llrint): Define using libm_alias_double.
26446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26447 Include <libm-alias-double.h>.
26448 (nearbyint): Define using libm_alias_double.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26450 <libm-alias-double.h>.
26451 (rint): Define using libm_alias_double.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26453 <libm-alias-double.h>.
26454 (fabs): Define using libm_alias_double.
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26456 <libm-alias-double.h>.
26457 (llrint): Define using libm_alias_double.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26459 <libm-alias-double.h>.
26460 (nearbyint): Define using libm_alias_double.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26462 <libm-alias-double.h>.
26463 (rint): Define using libm_alias_double.
26464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26465 <libm-alias-double.h>.
26466 (ceil): Define using libm_alias_double.
26467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26468 <libm-alias-double.h>.
26469 (floor): Define using libm_alias_double.
26470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26471 <libm-alias-double.h>.
26472 (fma): Define using libm_alias_double.
26473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26474 <libm-alias-double.h>.
26475 (lrint): Define using libm_alias_double.
26476 (llrint): Likewise.
26477 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26478 <libm-alias-double.h>.
26479 (nearbyint): Define using libm_alias_double.
26480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26481 <libm-alias-double.h>.
26482 (rint): Define using libm_alias_double.
26483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26484 <libm-alias-double.h>.
26485 (trunc): Define using libm_alias_double.
26486 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26487 <libm-alias-double.h>.
26488 (copysign): Define using libm_alias_double.
26489 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26490 <libm-alias-double.h>.
26491 (fabs): Define using libm_alias_double.
26492 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26493 <libm-alias-double.h>.
26494 (lrint): Define using libm_alias_double.
26495 (llrint): Likewise.
26496 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26497 <libm-alias-double.h>.
26498 (nearbyint): Define using libm_alias_double.
26499 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26500 <libm-alias-double.h>.
26501 (rint): Define using libm_alias_double.
26504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26506 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26508 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26509 SPARC --disable-multi-arch glibc variants.
26511 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26512 <libm-alias-float.h>.
26513 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26515 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26516 <libm-alias-float.h>.
26517 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26519 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26520 <libm-alias-float.h>.
26521 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26523 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26524 <libm-alias-float.h>.
26525 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26527 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26528 <libm-alias-float.h>.
26529 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26531 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26532 <libm-alias-float.h>.
26533 (ceilf): Define using libm_alias_float.
26534 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26535 <libm-alias-float.h>.
26536 (floorf): Define using libm_alias_float.
26537 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26538 <libm-alias-float.h>.
26539 (fmaf): Define using libm_alias_float.
26540 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26541 <libm-alias-float.h>.
26542 (nearbyintf): Define using libm_alias_float.
26543 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26544 <libm-alias-float.h>.
26545 (rintf): Define using libm_alias_float.
26546 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26547 <libm-alias-float.h>.
26548 (truncf): Define using libm_alias_float.
26549 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26550 (copysignf): Define using libm_alias_float.
26551 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26552 (cosf): Define using libm_alias_float.
26553 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26554 (fabsf): Define using libm_alias_float.
26555 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26556 (fmaxf): Define using libm_alias_float.
26557 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26558 (fminf): Define using libm_alias_float.
26559 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26560 (llrintf): Define using libm_alias_float.
26561 [!__ILP32__] (lrintf): Likewise.
26562 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26563 (sincosf): Define using libm_alias_float.
26564 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26565 (sinf): Define using libm_alias_float.
26566 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26567 (lrintf): Define using libm_alias_float.
26569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26570 <libm-alias-double.h>.
26571 (atan): Define using libm_alias_double.
26572 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26573 <libm-alias-double.h>.
26574 (ceil): Define using libm_alias_double.
26575 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26576 <libm-alias-double.h>.
26577 (floor): Define using libm_alias_double.
26578 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26579 <libm-alias-double.h>.
26580 (fma): Define using libm_alias_double.
26581 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26582 <libm-alias-double.h>.
26583 (nearbyint): Define using libm_alias_double.
26584 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26585 <libm-alias-double.h>.
26586 (rint): Define using libm_alias_double.
26587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26588 <libm-alias-double.h>.
26589 (sin): Define using libm_alias_double.
26591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26592 <libm-alias-double.h>.
26593 (tan): Define using libm_alias_double.
26594 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26595 <libm-alias-double.h>.
26596 (trunc): Define using libm_alias_double.
26597 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26598 (copysign): Define using libm_alias_double.
26599 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26600 (fabs): Define using libm_alias_double.
26601 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26602 (fmax): Define using libm_alias_double.
26603 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26604 (fmin): Define using libm_alias_double.
26605 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26606 (llrint): Define using libm_alias_double.
26607 [!__ILP32__] (lrint): Likewise.
26608 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26609 (lrint): Define using libm_alias_double.
26611 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26614 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26624 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26634 (libm-sysdep_routines): Add s_nearbyint-generic and
26635 s_nearbyintf-generic objects.
26636 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26637 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26638 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26639 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26640 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26644 Add s_finitef-generic and s_finite-generic objects.
26645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26653 Add s_isinff-generic and s_isinf-generic objects.
26654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26662 Add s_isnanf-generic and s_isnan-generic objects.
26663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26670 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26674 (sysdep_routines): Use sysdep_calls as base.
26675 (libm-sysdep_routines): Add generic rule for symbols shared with
26676 libc. Add s_signbit-generic and s_signbitf-generic objects.
26677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26684 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26686 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26687 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26688 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26689 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26690 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26691 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26692 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26693 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26694 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26695 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26696 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26697 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26698 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26699 libm_alias_float_r.
26700 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26701 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26703 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26704 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26705 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26706 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26707 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26708 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26709 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26710 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26711 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26712 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26714 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26716 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26717 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26718 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26719 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26720 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26721 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26722 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26723 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26724 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26725 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26726 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26727 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26728 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26729 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26730 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26731 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26732 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26733 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26734 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26736 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26737 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26738 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26739 * sysdeps/ia64/fpu/w_lgammaf_main.c
26740 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26741 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26743 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26744 Alexandre Oliva <aoliva@redhat.com>
26747 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26748 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26750 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26752 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26753 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26754 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26755 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26756 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26757 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26758 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26759 instead of “ifdef DIACRIT_BACKWARD”.
26761 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26763 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26764 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26765 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26766 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26767 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26768 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26775 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26777 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26778 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26779 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26780 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26782 ($(have-as-vis3) == yes): Remove conditional.
26783 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26799 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26800 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26802 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26804 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26805 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26806 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26807 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26808 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26809 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26810 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26811 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26812 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26813 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26814 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26815 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26816 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26817 libm_alias_double_r.
26818 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26820 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26821 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26822 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26823 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26824 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26825 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26826 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26827 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26828 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26829 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26830 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26832 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26834 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26835 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26836 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26837 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26838 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26839 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26840 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26841 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26842 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26843 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26844 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26845 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26846 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26847 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26848 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26849 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26850 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26851 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26853 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26854 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26855 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26856 * sysdeps/ia64/fpu/w_lgamma_main.c
26857 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26858 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26860 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26862 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26863 address of $global$ into %dp register earlier. Use pc-relative
26864 instruction sequence for PIC case.
26866 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26868 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26869 (asinhf): Define using libm_alias_float.
26870 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26871 (atanf): Define using libm_alias_float.
26872 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26873 (cbrtf): Define using libm_alias_float.
26874 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26875 (ceilf): Define using libm_alias_float.
26876 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26877 (copysignf): Define using libm_alias_float.
26878 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26879 (expm1f): Define using libm_alias_float.
26880 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26881 (fabsf): Define using libm_alias_float.
26882 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26883 (floorf): Define using libm_alias_float.
26884 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26885 (fmaxf): Define using libm_alias_float.
26886 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26887 (fminf): Define using libm_alias_float.
26888 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26889 (frexpf): Define using libm_alias_float.
26890 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26891 (llrintf): Define using libm_alias_float.
26892 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26893 (logbf): Define using libm_alias_float.
26894 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26895 (lrintf): Define using libm_alias_float.
26896 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26897 (nearbyintf): Define using libm_alias_float.
26898 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26899 (remquof): Define using libm_alias_float.
26900 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26901 (rintf): Define using libm_alias_float.
26902 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26903 (truncf): Define using libm_alias_float.
26904 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26905 <libm-alias-float.h>.
26906 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26908 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26909 <libm-alias-float.h>.
26910 (expf): Define using libm_alias_float, or libm_alias_float_other
26912 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26913 <libm-alias-float.h>.
26914 (log2f): Define using libm_alias_float, or libm_alias_float_other
26916 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26917 <libm-alias-float.h>.
26918 (logf): Define using libm_alias_float, or libm_alias_float_other
26920 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26921 <libm-alias-float.h>.
26922 (powf): Define using libm_alias_float, or libm_alias_float_other
26924 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26925 <libm-alias-float.h>.
26926 (cosf): Define using libm_alias_float.
26927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26928 <libm-alias-float.h>.
26929 (sincosf): Define using libm_alias_float.
26930 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26931 <libm-alias-float.h>.
26932 (sinf): Define using libm_alias_float.
26933 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26934 (fmaxf): Define using libm_alias_float.
26935 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26936 (fminf): Define using libm_alias_float.
26937 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26938 <libm-alias-float.h>.
26939 (fmaf): Define using libm_alias_float.
26941 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26942 (asinh): Define using libm_alias_double.
26943 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26944 (atan): Define using libm_alias_double.
26945 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26946 (cbrt): Define using libm_alias_double.
26947 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26948 (ceil): Define using libm_alias_double.
26949 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26950 (copysign): Define using libm_alias_double.
26951 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26952 (expm1): Define using libm_alias_double.
26953 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26954 (fabs): Define using libm_alias_double.
26955 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26956 (fdim): Define using libm_alias_double.
26957 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26958 (floor): Define using libm_alias_double.
26959 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26960 (fmax): Define using libm_alias_double.
26961 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26962 (fmin): Define using libm_alias_double.
26963 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26964 (frexp): Define using libm_alias_double.
26965 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26966 (llrint): Define using libm_alias_double.
26967 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26968 (logb): Define using libm_alias_double.
26969 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26970 (lrint): Define using libm_alias_double.
26971 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26972 (nearbyint): Define using libm_alias_double.
26973 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26974 (remquo): Define using libm_alias_double.
26975 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26976 (rint): Define using libm_alias_double.
26977 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26978 (trunc): Define using libm_alias_double.
26979 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26980 (fmax): Define using libm_alias_double.
26981 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26982 (fmin): Define using libm_alias_double.
26983 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26984 (fma): Define using libm_alias_double.
26986 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26989 * elf/dl-hwcaps.c (ROUND): Removed.
26990 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26991 and ELF_NOTE_NEXT_OFFSET.
26992 * elf/dl-load.c (ROUND): Removed.
26993 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26994 * elf/readelflib.c (ROUND): Removed.
26995 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26996 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26997 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26998 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27000 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27002 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27003 [!__fmaf] (fmaf): Define using libm_alias_float.
27005 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27006 [!__fma] (fma): Define using libm_alias_double.
27007 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27009 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27012 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27013 and implement the collation rules for cs from CLDR on top of that.
27014 * Makefile: Add cs_CZ.UTF-8 to test-input.
27015 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27017 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27019 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27021 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27022 Icarus Sparry <icarus.w.sparry@intel.com>
27024 * benchtests/Makefile:Add BENCHSET to allow subsets of
27025 benchmarks to be run.
27026 * benchtests/README: Add documentation for: Running subsets of
27029 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27031 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27032 range of tests names.
27034 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27035 result from property and remove "max", min" and "mean" from
27036 required properties based on benchtests/bench-skeleton.c.
27038 2017-11-28 Florian Weimer <fweimer@redhat.com>
27041 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27042 due to Internet requirement.
27043 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27045 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27047 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27049 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27050 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27052 (sysdep_routines): Add memset-ultra1.
27053 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27055 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27057 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27058 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27059 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27060 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27061 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27064 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27066 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27067 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27068 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27069 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27070 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27071 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27072 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27075 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27076 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27077 (sysdep_routines): Add memcpy-ultra1.
27078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27079 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27081 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27083 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27084 (cfloat_versions): Take function argument without trailing 'f'.
27085 Call libm_alias_float_other.
27086 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27087 * sysdeps/alpha/fpu/cargf.c: Likewise.
27088 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27089 * sysdeps/alpha/fpu/conjf.c: Likewise.
27090 * sysdeps/alpha/fpu/crealf.c: Likewise.
27091 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27092 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27093 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27094 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27095 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27096 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27097 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27098 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27099 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27100 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27101 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27102 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27103 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27104 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27105 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27106 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27107 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27108 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27109 (clog10f): Use libm_alias_float_other.
27110 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27111 (ceilf): Define using libm_alias_float.
27112 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27113 (copysignf): Define using libm_alias_float.
27114 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27115 (fabsf): Define using libm_alias_float.
27116 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27117 (floorf): Define using libm_alias_float.
27118 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27119 (fmaxf): Define using libm_alias_float.
27120 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27121 (fminf): Define using libm_alias_float.
27122 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27123 (lrintf): Define using libm_alias_float.
27124 (llrintf): Likewise.
27125 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27126 (lroundf): Define using libm_alias_float.
27127 (llroundf): Likewise.
27128 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27129 (rintf): Define using libm_alias_float.
27130 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27131 (truncf): Define using libm_alias_float.
27133 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27134 (ceilf): Define using libm_alias_float.
27135 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27136 (floorf): Define using libm_alias_float.
27137 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27138 (fmaf): Define using libm_alias_float.
27139 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27140 (fmaxf): Define using libm_alias_float.
27141 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27142 (fminf): Define using libm_alias_float.
27143 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27144 (llrintf): Define using libm_alias_float.
27145 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27146 (llroundf): Define using libm_alias_float.
27147 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27148 (lrintf): Define using libm_alias_float.
27149 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27150 (lroundf): Define using libm_alias_float.
27151 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27152 <libm-alias-float.h>.
27153 (nearbyintf): Define using libm_alias_float.
27154 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27155 (rintf): Define using libm_alias_float.
27156 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27157 (roundf): Define using libm_alias_float.
27158 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27159 (truncf): Define using libm_alias_float.
27161 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27162 (ceil): Define using libm_alias_double.
27163 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27164 (copysign): Define using libm_alias_double.
27165 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27166 (fabs): Define using libm_alias_double.
27167 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27168 (floor): Define using libm_alias_double.
27169 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27170 (fmax): Define using libm_alias_double.
27171 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27172 (fmin): Define using libm_alias_double.
27173 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27174 (lrint): Define using libm_alias_double.
27175 (llrint): Likewise.
27176 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27177 (lround): Define using libm_alias_double.
27178 (llround): Likewise.
27179 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27180 (rint): Define using libm_alias_double.
27181 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27182 (trunc): Define using libm_alias_double.
27184 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27185 (libm_alias_double_r): Add semicolon after weak_alias call.
27187 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27189 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27190 (ceil): Define using libm_alias_double.
27191 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27192 (floor): Define using libm_alias_double.
27193 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27194 (fma): Define using libm_alias_double.
27195 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27196 (fmax): Define using libm_alias_double.
27197 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27198 (fmin): Define using libm_alias_double.
27199 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27200 (llrint): Define using libm_alias_double.
27201 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27202 (llround): Define using libm_alias_double.
27203 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27204 (lrint): Define using libm_alias_double.
27205 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27206 (lround): Define using libm_alias_double.
27207 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27208 (nearbyint): Define using libm_alias_double.
27209 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27210 (rint): Define using libm_alias_double.
27211 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27212 (round): Define using libm_alias_double.
27213 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27214 (trunc): Define using libm_alias_double.
27216 2017-11-27 Florian Weimer <fweimer@redhat.com>
27218 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27219 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27220 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27221 (tests): Add tst-mlock2.
27222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27224 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27225 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27226 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27227 for mlock. Document mlock2.
27229 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27231 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27232 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27234 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27236 * sysdeps/x86/Makeconfig: New file.
27237 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27238 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27239 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27240 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27241 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27242 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27243 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27245 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27246 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27247 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27248 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27249 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27250 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27251 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27252 * manual/math.texi (Mathematics): Document support for _Float64x.
27253 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27254 * stdlib/Versions (GLIBC_2.27): Likewise.
27255 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27256 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27257 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27258 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27259 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27260 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27261 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27262 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27264 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27265 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27266 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27272 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27273 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27274 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27275 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27276 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27278 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27279 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27282 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27283 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27286 2017-11-27 Andreas Schwab <schwab@suse.de>
27288 * elf/Makefile (dl-routines): Add dl-sort-maps.
27289 * elf/dl-sort-maps.c: New file.
27290 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27291 (_dl_sort_maps): Declare.
27292 * elf/dl-fini.c (_dl_sort_fini): Remove.
27293 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27294 * elf/dl-close.c (_dl_close_worker): Likewise.
27295 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27297 * elf/dl-open.c (dl_open_worker): Likewise.
27299 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27301 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27302 using libm_alias_float128.
27303 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27305 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27307 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27308 (setpayloadsigf128): Likewise.
27309 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27311 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27314 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27315 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27316 -mfloat128 to CFLAGS.
27318 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27320 (CFLAGS-libm-test-support-float64x.c): New variable.
27321 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27322 $(f128-loader-link) to gnulib-tests.
27324 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27325 (libm_alias_float128_other_r): If
27326 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27328 (libm_alias_float128_r): Add semicolon after weak_alias call.
27329 * sysdeps/generic/libm-alias-ldouble.h
27330 (libm_alias_ldouble_other_r_f128): New macro.
27331 (libm_alias_ldouble_other_r_f64x): Likewise.
27332 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27333 and libm_alias_ldouble_other_r_f64x.
27334 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27335 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27336 (libm_alias_ldouble_other_r_f128): New macro.
27337 (libm_alias_ldouble_other_r_f64x): Likewise.
27338 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27339 and libm_alias_ldouble_other_r_f64x.
27341 * stdlib/strfroml.c: Always include <stdlib.h>.
27342 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27343 undefine as macro and define as weak alias.
27344 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27345 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27347 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27348 Define and later undefine as macro and define as weak alias.
27350 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27351 Define and later undefine as macro. Define as weak alias if
27353 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27354 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27355 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27356 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27357 Define and later undefine as macro. Define as weak alias if
27359 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27360 Define and later undefine as macro. Define as weak alias if
27362 * sysdeps/ieee754/float128/strtof128_l.c
27363 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27364 Define and later undefine as macro. Define as weak alias if
27366 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27367 Define and later undefine as macro. Define as weak alias if
27369 * sysdeps/ieee754/ldbl-128/strtold_l.c
27370 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27371 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27372 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27373 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27374 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27375 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27376 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27377 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27378 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27379 * sysdeps/ieee754/ldbl-96/strtold_l.c
27380 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27381 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27382 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27383 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27385 * math/test-float64x.h: New file.
27386 * math/Makefile (type-float64x-yes): New variable.
27387 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27389 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27390 function-like macro.
27391 (min_of_type_): Likewise.
27392 (min_of_type_l): Likewise.
27393 (min_of_type_f128): Likewise.
27394 (min_of_type): Pass () as last argument of __MATH_TG.
27396 * stdlib/tst-strtod-round-skeleton.c
27397 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27400 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27401 for combinations of long double with _Float64 and _Float64x.
27403 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27404 (__DECL_SIMD_cosf32): Likewise.
27405 (__DECL_SIMD_cosf64): Likewise.
27406 (__DECL_SIMD_cosf32x): Likewise.
27407 (__DECL_SIMD_cosf64x): Likewise.
27408 (__DECL_SIMD_cosf128x): Likewise.
27409 (__DECL_SIMD_sinf16): Likewise.
27410 (__DECL_SIMD_sinf32): Likewise.
27411 (__DECL_SIMD_sinf64): Likewise.
27412 (__DECL_SIMD_sinf32x): Likewise.
27413 (__DECL_SIMD_sinf64x): Likewise.
27414 (__DECL_SIMD_sinf128x): Likewise.
27415 (__DECL_SIMD_sincosf16): Likewise.
27416 (__DECL_SIMD_sincosf32): Likewise.
27417 (__DECL_SIMD_sincosf64): Likewise.
27418 (__DECL_SIMD_sincosf32x): Likewise.
27419 (__DECL_SIMD_sincosf64x): Likewise.
27420 (__DECL_SIMD_sincosf128x): Likewise.
27421 (__DECL_SIMD_logf16): Likewise.
27422 (__DECL_SIMD_logf32): Likewise.
27423 (__DECL_SIMD_logf64): Likewise.
27424 (__DECL_SIMD_logf32x): Likewise.
27425 (__DECL_SIMD_logf64x): Likewise.
27426 (__DECL_SIMD_logf128x): Likewise.
27427 (__DECL_SIMD_expf16): Likewise.
27428 (__DECL_SIMD_expf32): Likewise.
27429 (__DECL_SIMD_expf64): Likewise.
27430 (__DECL_SIMD_expf32x): Likewise.
27431 (__DECL_SIMD_expf64x): Likewise.
27432 (__DECL_SIMD_expf128x): Likewise.
27433 (__DECL_SIMD_powf16): Likewise.
27434 (__DECL_SIMD_powf32): Likewise.
27435 (__DECL_SIMD_powf64): Likewise.
27436 (__DECL_SIMD_powf32x): Likewise.
27437 (__DECL_SIMD_powf64x): Likewise.
27438 (__DECL_SIMD_powf128x): Likewise.
27440 * stdlib/Versions (libc): Move entries for wcstof128 and
27441 wcstof128_l to ....
27442 * wcsmbs/Versions (libc): ... here.
27443 Include <float128-abi.h>.
27445 2017-11-24 Florian Weimer <fweimer@redhat.com>
27447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27448 bits/mman-shared.h.
27449 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27450 <bits/mman-shared.h>.
27451 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27453 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27454 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27455 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27456 <bits/mman-shared.h>.
27458 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27461 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27462 posix_memalign/free.
27463 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27465 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27468 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27469 and implement the collation rules for pl from CLDR on top of that.
27470 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27471 of locales to be built for testing.
27472 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27474 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27476 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27477 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27478 libm_alias_ldouble_other.
27479 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27480 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27481 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27482 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27483 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27484 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27485 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27486 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27487 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27488 libm_alias_ldouble_r.
27489 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27490 libm_alias_ldouble_other.
27491 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27492 (log10l): Likewise.
27493 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27494 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27495 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27496 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27497 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27498 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27499 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27500 (atan2l): Likewise.
27501 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27502 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27503 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27504 libm_alias_ldouble.
27505 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27507 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27508 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27509 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27511 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27512 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27513 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27514 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27515 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27516 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27517 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27518 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27519 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27520 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27521 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27522 libm_alias_ldouble.
27523 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27524 libm_alias_ldouble_other.
27525 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27526 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27527 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27528 libm_alias_ldouble.
27529 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27530 libm_alias_ldouble_other.
27531 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27532 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27533 * sysdeps/ia64/fpu/w_lgammal_main.c
27534 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27535 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27537 2017-11-23 Florian Weimer <fweimer@redhat.com>
27539 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27540 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27541 alike. Remove freeres marker.
27542 * malloc/arena.c (arena_thread_freeres): Call
27543 tcache_thread_shutdown.
27545 2017-11-23 Florian Weimer <fweimer@redhat.com>
27548 Export nscd hash function as __nss_hash.
27549 * include/nss.h (__nss_hash): Declare.
27550 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27552 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27553 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27555 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27556 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27557 * nss/Makefiles (routines): Add nss_hash.
27558 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27559 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27560 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27561 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27563 2017-11-23 Florian Weimer <fweimer@redhat.com>
27566 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27567 Return error code, not -1.
27568 * signal/tst-sigwait-eintr.c: New file.
27569 * signal/Makefile (tests): Add tst-sigwait-eintr.
27571 2017-11-23 Florian Weimer <fweimer@redhat.com>
27573 Linux: Add memfd_create system call wrapper
27574 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27576 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27577 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27578 [__USE_GNU] (memfd_create): Declare.
27579 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27580 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27581 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27582 * sysdeps/unix/sysv/linux/**.abilist: Update.
27583 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27585 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27587 * localedata/gen-locale.sh: Fix typo in variable name.
27589 * resolv/res_debug.c (p_secstodate): Condition definition on
27590 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27591 directly as __p_secstodate, and as a compat symbol. Do not use
27592 libresolv_hidden_def.
27593 * resolv/resolv.h (p_secstodate): Remove macro and function
27595 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27596 using p_secstodate.
27597 * include/resolv.h (__p_secstodate): Do not use
27598 libresolv_hidden_proto.
27599 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27600 (tests-internal): ... here.
27601 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27602 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27603 and declare and use __p_secstodate and use compat_symbol_reference
27605 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27606 implementation returning 77.
27609 * resolv/res_debug.c: Include <libc-diag.h>.
27610 (p_secstodate): Assert time_t at least as wide as u_long. On
27611 overflow, use integer seconds since the epoch as output, or use
27612 "<overflow>" as output and set errno to EOVERFLOW if integer
27613 seconds since the epoch would be 14 or more characters.
27614 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27616 * resolv/tst-p_secstodate.c: New file.
27617 * resolv/Makefile (tests): Add tst-p_secstodate.
27618 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27620 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27621 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27622 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27624 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27626 * posix/regcomp.c (init_word_char): Add comments.
27628 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27631 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27632 strlen to compute length of ut_user and set trailing NUL byte of
27635 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27638 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27639 using “copy "iso14651_t1"” and then implementing the
27640 collation rules for lv from CLDR on top of that.
27641 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27642 of locales to be built for testing.
27643 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27646 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27648 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27649 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27650 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27651 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27652 [__USE_MISC] (MADV_HWPOISON): New macro.
27653 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27655 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27657 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27658 -Wmissing-braces on GCC 4.9.
27660 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27662 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27663 * sysdeps/s390/s390-32/start.S (_start): Likewise
27664 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27665 (thread_start): Likewise.
27666 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27667 (thread_start): Likewise.
27668 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27669 (__makecontext_ret): Likewise.
27670 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27671 (__makecontext_ret): Likewise.
27673 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27675 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27676 __wcschrnul): Remove attribute_hidden.
27678 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27680 regex: don't assume uint64_t or uint32_t
27681 This avoids -Werror=overflow errors for 32-bit systems in
27682 the 64-bit case. Problem reported by Joseph Myers in:
27683 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27684 Also, when this code is used in Gnulib it ports to platforms
27685 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27686 them, and on some 32-bit compilers there is no uint64_t.
27687 Problem reported by Gianluigi Tiesi in:
27688 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27689 * posix/regcomp.c (init_word_char): Don't assume that the types
27690 uint64_t and uint32_t exist. Adapted from Gnulib patch
27691 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27692 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27694 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27696 * sysdeps/aarch64/memset-reg.h: New file.
27697 * sysdeps/aarch64/memset.S: Use it.
27698 (__memset): Rename to MEMSET macro.
27699 [ZVA_MACRO]: Use zva_macro.
27700 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27701 Add memset_generic and memset_falkor.
27702 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27703 (__libc_ifunc_impl_list): Add memset ifuncs.
27704 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27705 local variable zva_size.
27706 * sysdeps/aarch64/multiarch/memset.c: New file.
27707 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27708 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27709 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27710 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27711 (DCZID_DZP_MASK): New macro.
27712 (DCZID_BS_MASK): Likewise.
27713 (init_cpu_features): Read and set zva_size.
27714 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27715 (struct cpu_features): New member zva_size.
27717 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27718 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27719 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27721 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27722 backwards. Fix timing computation.
27723 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27724 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27725 on memset by N at a time. Fix timing computation.
27727 2017-11-20 Florian Weimer <fweimer@redhat.com>
27729 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27730 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27732 2017-11-19 Florian Weimer <fweimer@redhat.com>
27734 manual: Document mprotect
27735 * manual/memory.texi (Memory Protection): New section.
27736 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27737 documentation of PROT_* flags and reference the Memory Protection
27740 2017-11-19 Florian Weimer <fweimer@redhat.com>
27742 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27743 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27744 (Scatter-Gather): ... to here. Remove misleading comment.
27746 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27748 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27751 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27752 when /proc/<pid>/setgroups does not exist.
27754 2017-11-18 Florian Weimer <fweimer@redhat.com>
27756 * sysdeps/unix/sysv/linux/tst-ttyname.c
27757 (become_root_in_mount_ns): Remove.
27758 (do_in_chroot_1): Call support_enter_mount_namespace.
27759 (do_in_chroot_2): Likewise.
27760 (do_test): Call support_become_root early.
27762 2017-11-18 Florian Weimer <fweimer@redhat.com>
27764 * support/namespace.h (support_enter_mount_namespace): Declare.
27765 * support/support_enter_mount_namespace.c: New file.
27766 * support/Makefile (libsupport-routines): Add
27767 support_enter_mount_namespace.
27769 2017-11-18 Florian Weimer <fweimer@redhat.com>
27771 * support/temp_file.c (support_create_temp_directory): Use
27772 test_dir and do not rely on the presence of the XXXXXX suffix.
27773 * support/temp_file.h (support_create_temp_directory): Update
27775 * support/tst-xreadlink.c (do_test): Adjust.
27776 * support/support_chroot.c (support_chroot_create): Likewise.
27778 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27780 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27782 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27785 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27787 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27788 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27789 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27790 (ceill): Define using libm_alias_ldouble.
27791 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27792 <libm-alias-ldouble.h>.
27793 (copysignl): Define using libm_alias_ldouble.
27794 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27795 (fabsl): Define using libm_alias_ldouble.
27796 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27797 (floorl): Define using libm_alias_ldouble.
27798 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27799 (fmaxl): Define using libm_alias_ldouble.
27800 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27801 (fminl): Define using libm_alias_ldouble.
27802 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27803 (llrintl): Define using libm_alias_ldouble.
27804 (lrintl): Likewise.
27805 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27806 <libm-alias-ldouble.h>.
27807 (nearbyintl): Define using libm_alias_ldouble.
27808 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27809 (truncl): Define using libm_alias_ldouble.
27810 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27811 <libm-alias-ldouble.h>.
27812 (lrintl): Define using libm_alias_ldouble.
27814 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27815 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27816 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27817 (asinhl): Define using libm_alias_ldouble.
27818 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27819 (atanl): Define using libm_alias_ldouble.
27820 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27821 (cbrtl): Define using libm_alias_ldouble.
27822 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27823 (ceill): Define using libm_alias_ldouble.
27824 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27825 (copysignl): Define using libm_alias_ldouble.
27826 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27827 (fabsl): Define using libm_alias_ldouble.
27828 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27829 (floorl): Define using libm_alias_ldouble.
27830 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27831 (fmaxl): Define using libm_alias_ldouble.
27832 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27833 (fminl): Define using libm_alias_ldouble.
27834 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27835 (frexpl): Define using libm_alias_ldouble.
27836 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27837 (llrintl): Define using libm_alias_ldouble.
27838 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27839 (logbl): Define using libm_alias_ldouble.
27840 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27841 (lrintl): Define using libm_alias_ldouble.
27842 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27843 (nearbyintl): Define using libm_alias_ldouble.
27844 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27845 (nextafterl): Define using libm_alias_ldouble.
27846 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27847 (remquol): Define using libm_alias_ldouble.
27848 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27849 (rintl): Define using libm_alias_ldouble.
27850 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27851 (truncl): Define using libm_alias_ldouble.
27852 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27853 (fmaxl): Define using libm_alias_ldouble.
27854 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27855 (fminl): Define using libm_alias_ldouble.
27857 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27858 to C syntax instead of availability and properties of types.
27859 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27860 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27861 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27862 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27863 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27864 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27866 2017-11-17 Florian Weimer <fweimer@redhat.com>
27868 support_become_root: Enable file creation in namespaces.
27869 * support/support_become_root.c (setup_mapping): New function.
27870 (support_become_root): Call it.
27872 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27874 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27877 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27879 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27880 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27882 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27884 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27886 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27889 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27891 * INSTALL: Fix botched up regeneration.
27893 * NEWS: Update sourceare link to https.
27894 * configure.ac: Likewise.
27895 * crypt/md5test-giant.c: Likewise.
27896 * dlfcn/bug-atexit1.c: Likewise.
27897 * dlfcn/bug-atexit2.c: Likewise.
27898 * localedata/README: Likewise.
27899 * malloc/tst-mallocfork.c: Likewise.
27900 * manual/install.texi: Likewise.
27901 * nptl/tst-pthread-getattr.c: Likewise.
27902 * stdio-common/tst-fgets.c: Likewise.
27903 * stdio-common/tst-fwrite.c: Likewise.
27904 * sunrpc/Makefile: Likewise.
27905 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27906 * wcsmbs/tst-mbrtowc2.c: Likewise.
27907 * configure: Regenerate.
27908 * INSTALL: Regenerate.
27910 2017-11-15 Martin Sebor <msebor@redhat.com>
27912 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27913 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27914 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27916 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27919 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27920 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27923 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27924 Defer is_pty check until end of the function.
27925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27928 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27929 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27930 (ttyname): Likewise.
27931 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27932 (__ttyname_r): Likewise.
27934 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27937 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27939 * manual/terminal.texi (Is It a Terminal):
27940 Mention ENODEV for ttyname and ttyname_r.
27942 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27944 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27945 constant and macro.
27947 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27948 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27949 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27950 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27951 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27952 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27954 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27956 * signal/sigrelse.c (sigrelse): Optimize implementation.
27958 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27959 (__sigpause): Rely on __sigsuspend to implement single thread
27960 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27962 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27964 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27965 kernel version to 4.14.
27967 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27970 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27971 Check if ifname is too long.
27973 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27975 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27977 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27979 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27980 was accidentally lost.
27982 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27984 * localedata/locales/az_IR: Add standard copyright header.
27986 2017-11-15 Florian Weimer <fweimer@redhat.com>
27989 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27990 not just the top one. Output a new "subheaps" statistic.
27992 2017-11-15 Florian Weimer <fweimer@redhat.com>
27995 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27996 under the per-arena lock.
27997 * malloc/Makefile (tests): Add tst-malloc_info.
27998 (tst-malloc_info): Link with libpthread.
27999 * malloc/tst-malloc_info.c: New file.
28001 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28004 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28005 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28006 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28007 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28008 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28009 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28010 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28011 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28012 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28015 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28017 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28018 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28019 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28020 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28021 (__floating_type): Likewise.
28022 (__real_integer_type): Likewise.
28023 (__complex_integer_type): Likewise.
28024 (__expr_is_real): Likewise.
28025 (__tgmath_real_type_sub): Likewise.
28026 (__tgmath_real_type): Likewise.
28027 (__tgmath_complex_type_sub): Likewise.
28028 (__tgmath_complex_type): Likewise.
28029 (__TGMATH_F128): Likewise.
28030 (__TGMATH_CF128): Likewise.
28031 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28033 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28034 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28036 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28038 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28039 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28040 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28041 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28043 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28044 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28046 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28047 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28048 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28050 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28051 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28052 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28056 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28058 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28059 for stpncpy calls for GCC 8.
28060 (test_strncat): Disable -Wstringop-truncation warning for strncat
28061 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28062 strncat call for GCC 7.
28063 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28065 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28068 * string/bug-strncat1.c: Include <libc-diag.h>.
28069 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28071 2017-11-13 Claude Paroz <claude@2xlibre.net>
28074 * localedata/locales/aa_DJ: Improved readibility by replacing
28075 <Uxxxx> sequences in the ASCII printable range by their ASCII
28076 character equivalents.
28077 * localedata/locales/aa_ER: Likewise.
28078 * localedata/locales/aa_ER@saaho: Likewise.
28079 * localedata/locales/aa_ET: Likewise.
28080 * localedata/locales/af_ZA: Likewise.
28081 * localedata/locales/agr_PE: Likewise.
28082 * localedata/locales/ak_GH: Likewise.
28083 * localedata/locales/am_ET: Likewise.
28084 * localedata/locales/anp_IN: Likewise.
28085 * localedata/locales/ar_AE: Likewise.
28086 * localedata/locales/ar_BH: Likewise.
28087 * localedata/locales/ar_DZ: Likewise.
28088 * localedata/locales/ar_EG: Likewise.
28089 * localedata/locales/ar_IN: Likewise.
28090 * localedata/locales/ar_IQ: Likewise.
28091 * localedata/locales/ar_JO: Likewise.
28092 * localedata/locales/ar_KW: Likewise.
28093 * localedata/locales/ar_LB: Likewise.
28094 * localedata/locales/ar_LY: Likewise.
28095 * localedata/locales/ar_MA: Likewise.
28096 * localedata/locales/ar_OM: Likewise.
28097 * localedata/locales/ar_QA: Likewise.
28098 * localedata/locales/ar_SA: Likewise.
28099 * localedata/locales/ar_SD: Likewise.
28100 * localedata/locales/ar_SS: Likewise.
28101 * localedata/locales/ar_SY: Likewise.
28102 * localedata/locales/ar_TN: Likewise.
28103 * localedata/locales/ar_YE: Likewise.
28104 * localedata/locales/as_IN: Likewise.
28105 * localedata/locales/ast_ES: Likewise.
28106 * localedata/locales/ayc_PE: Likewise.
28107 * localedata/locales/az_AZ: Likewise.
28108 * localedata/locales/az_IR: Likewise.
28109 * localedata/locales/be_BY: Likewise.
28110 * localedata/locales/be_BY@latin: Likewise.
28111 * localedata/locales/bem_ZM: Likewise.
28112 * localedata/locales/ber_DZ: Likewise.
28113 * localedata/locales/ber_MA: Likewise.
28114 * localedata/locales/bg_BG: Likewise.
28115 * localedata/locales/bhb_IN: Likewise.
28116 * localedata/locales/bho_IN: Likewise.
28117 * localedata/locales/bi_VU: Likewise.
28118 * localedata/locales/bn_BD: Likewise.
28119 * localedata/locales/bn_IN: Likewise.
28120 * localedata/locales/bo_CN: Likewise.
28121 * localedata/locales/bo_IN: Likewise.
28122 * localedata/locales/br_FR: Likewise.
28123 * localedata/locales/brx_IN: Likewise.
28124 * localedata/locales/bs_BA: Likewise.
28125 * localedata/locales/byn_ER: Likewise.
28126 * localedata/locales/ca_AD: Likewise.
28127 * localedata/locales/ca_ES: Likewise.
28128 * localedata/locales/ca_FR: Likewise.
28129 * localedata/locales/ca_IT: Likewise.
28130 * localedata/locales/ce_RU: Likewise.
28131 * localedata/locales/chr_US: Likewise.
28132 * localedata/locales/cmn_TW: Likewise.
28133 * localedata/locales/crh_UA: Likewise.
28134 * localedata/locales/cs_CZ: Likewise.
28135 * localedata/locales/csb_PL: Likewise.
28136 * localedata/locales/cv_RU: Likewise.
28137 * localedata/locales/cy_GB: Likewise.
28138 * localedata/locales/da_DK: Likewise.
28139 * localedata/locales/de_AT: Likewise.
28140 * localedata/locales/de_BE: Likewise.
28141 * localedata/locales/de_CH: Likewise.
28142 * localedata/locales/de_DE: Likewise.
28143 * localedata/locales/de_IT: Likewise.
28144 * localedata/locales/de_LI: Likewise.
28145 * localedata/locales/de_LU: Likewise.
28146 * localedata/locales/doi_IN: Likewise.
28147 * localedata/locales/dv_MV: Likewise.
28148 * localedata/locales/dz_BT: Likewise.
28149 * localedata/locales/el_CY: Likewise.
28150 * localedata/locales/el_GR: Likewise.
28151 * localedata/locales/en_AG: Likewise.
28152 * localedata/locales/en_AU: Likewise.
28153 * localedata/locales/en_BW: Likewise.
28154 * localedata/locales/en_CA: Likewise.
28155 * localedata/locales/en_DK: Likewise.
28156 * localedata/locales/en_GB: Likewise.
28157 * localedata/locales/en_HK: Likewise.
28158 * localedata/locales/en_IE: Likewise.
28159 * localedata/locales/en_IL: Likewise.
28160 * localedata/locales/en_IN: Likewise.
28161 * localedata/locales/en_NG: Likewise.
28162 * localedata/locales/en_NZ: Likewise.
28163 * localedata/locales/en_PH: Likewise.
28164 * localedata/locales/en_SG: Likewise.
28165 * localedata/locales/en_US: Likewise.
28166 * localedata/locales/en_ZA: Likewise.
28167 * localedata/locales/en_ZM: Likewise.
28168 * localedata/locales/en_ZW: Likewise.
28169 * localedata/locales/eo: Likewise.
28170 * localedata/locales/es_AR: Likewise.
28171 * localedata/locales/es_BO: Likewise.
28172 * localedata/locales/es_CL: Likewise.
28173 * localedata/locales/es_CO: Likewise.
28174 * localedata/locales/es_CR: Likewise.
28175 * localedata/locales/es_CU: Likewise.
28176 * localedata/locales/es_DO: Likewise.
28177 * localedata/locales/es_EC: Likewise.
28178 * localedata/locales/es_ES: Likewise.
28179 * localedata/locales/es_GT: Likewise.
28180 * localedata/locales/es_HN: Likewise.
28181 * localedata/locales/es_MX: Likewise.
28182 * localedata/locales/es_NI: Likewise.
28183 * localedata/locales/es_PA: Likewise.
28184 * localedata/locales/es_PE: Likewise.
28185 * localedata/locales/es_PR: Likewise.
28186 * localedata/locales/es_PY: Likewise.
28187 * localedata/locales/es_SV: Likewise.
28188 * localedata/locales/es_US: Likewise.
28189 * localedata/locales/es_UY: Likewise.
28190 * localedata/locales/es_VE: Likewise.
28191 * localedata/locales/et_EE: Likewise.
28192 * localedata/locales/eu_ES: Likewise.
28193 * localedata/locales/eu_ES@euro: Likewise.
28194 * localedata/locales/fa_IR: Likewise.
28195 * localedata/locales/ff_SN: Likewise.
28196 * localedata/locales/fi_FI: Likewise.
28197 * localedata/locales/fil_PH: Likewise.
28198 * localedata/locales/fo_FO: Likewise.
28199 * localedata/locales/fr_BE: Likewise.
28200 * localedata/locales/fr_CA: Likewise.
28201 * localedata/locales/fr_CH: Likewise.
28202 * localedata/locales/fr_FR: Likewise.
28203 * localedata/locales/fr_LU: Likewise.
28204 * localedata/locales/fur_IT: Likewise.
28205 * localedata/locales/fy_DE: Likewise.
28206 * localedata/locales/fy_NL: Likewise.
28207 * localedata/locales/ga_IE: Likewise.
28208 * localedata/locales/gd_GB: Likewise.
28209 * localedata/locales/gez_ER: Likewise.
28210 * localedata/locales/gez_ET: Likewise.
28211 * localedata/locales/gl_ES: Likewise.
28212 * localedata/locales/gu_IN: Likewise.
28213 * localedata/locales/gv_GB: Likewise.
28214 * localedata/locales/ha_NG: Likewise.
28215 * localedata/locales/hak_TW: Likewise.
28216 * localedata/locales/he_IL: Likewise.
28217 * localedata/locales/hi_IN: Likewise.
28218 * localedata/locales/hif_FJ: Likewise.
28219 * localedata/locales/hne_IN: Likewise.
28220 * localedata/locales/hr_HR: Likewise.
28221 * localedata/locales/hsb_DE: Likewise.
28222 * localedata/locales/ht_HT: Likewise.
28223 * localedata/locales/hu_HU: Likewise.
28224 * localedata/locales/hy_AM: Likewise.
28225 * localedata/locales/i18n: Likewise.
28226 * localedata/locales/ia_FR: Likewise.
28227 * localedata/locales/id_ID: Likewise.
28228 * localedata/locales/ig_NG: Likewise.
28229 * localedata/locales/ik_CA: Likewise.
28230 * localedata/locales/is_IS: Likewise.
28231 * localedata/locales/it_CH: Likewise.
28232 * localedata/locales/it_IT: Likewise.
28233 * localedata/locales/iu_CA: Likewise.
28234 * localedata/locales/ja_JP: Likewise.
28235 * localedata/locales/ka_GE: Likewise.
28236 * localedata/locales/kk_KZ: Likewise.
28237 * localedata/locales/kl_GL: Likewise.
28238 * localedata/locales/kn_IN: Likewise.
28239 * localedata/locales/ko_KR: Likewise.
28240 * localedata/locales/kok_IN: Likewise.
28241 * localedata/locales/ks_IN: Likewise.
28242 * localedata/locales/ks_IN@devanagari: Likewise.
28243 * localedata/locales/ku_TR: Likewise.
28244 * localedata/locales/kw_GB: Likewise.
28245 * localedata/locales/ky_KG: Likewise.
28246 * localedata/locales/lb_LU: Likewise.
28247 * localedata/locales/lg_UG: Likewise.
28248 * localedata/locales/li_BE: Likewise.
28249 * localedata/locales/li_NL: Likewise.
28250 * localedata/locales/lij_IT: Likewise.
28251 * localedata/locales/ln_CD: Likewise.
28252 * localedata/locales/lo_LA: Likewise.
28253 * localedata/locales/lt_LT: Likewise.
28254 * localedata/locales/lv_LV: Likewise.
28255 * localedata/locales/lzh_TW: Likewise.
28256 * localedata/locales/mag_IN: Likewise.
28257 * localedata/locales/mai_IN: Likewise.
28258 * localedata/locales/mg_MG: Likewise.
28259 * localedata/locales/mhr_RU: Likewise.
28260 * localedata/locales/mi_NZ: Likewise.
28261 * localedata/locales/mk_MK: Likewise.
28262 * localedata/locales/ml_IN: Likewise.
28263 * localedata/locales/mn_MN: Likewise.
28264 * localedata/locales/mni_IN: Likewise.
28265 * localedata/locales/mr_IN: Likewise.
28266 * localedata/locales/ms_MY: Likewise.
28267 * localedata/locales/mt_MT: Likewise.
28268 * localedata/locales/my_MM: Likewise.
28269 * localedata/locales/nan_TW: Likewise.
28270 * localedata/locales/nan_TW@latin: Likewise.
28271 * localedata/locales/nb_NO: Likewise.
28272 * localedata/locales/nds_DE: Likewise.
28273 * localedata/locales/nds_NL: Likewise.
28274 * localedata/locales/ne_NP: Likewise.
28275 * localedata/locales/nhn_MX: Likewise.
28276 * localedata/locales/niu_NU: Likewise.
28277 * localedata/locales/niu_NZ: Likewise.
28278 * localedata/locales/nl_AW: Likewise.
28279 * localedata/locales/nl_BE: Likewise.
28280 * localedata/locales/nl_NL: Likewise.
28281 * localedata/locales/nn_NO: Likewise.
28282 * localedata/locales/nr_ZA: Likewise.
28283 * localedata/locales/nso_ZA: Likewise.
28284 * localedata/locales/oc_FR: Likewise.
28285 * localedata/locales/om_ET: Likewise.
28286 * localedata/locales/om_KE: Likewise.
28287 * localedata/locales/or_IN: Likewise.
28288 * localedata/locales/os_RU: Likewise.
28289 * localedata/locales/pa_IN: Likewise.
28290 * localedata/locales/pa_PK: Likewise.
28291 * localedata/locales/pap_AW: Likewise.
28292 * localedata/locales/pap_CW: Likewise.
28293 * localedata/locales/pl_PL: Likewise.
28294 * localedata/locales/ps_AF: Likewise.
28295 * localedata/locales/pt_BR: Likewise.
28296 * localedata/locales/pt_PT: Likewise.
28297 * localedata/locales/quz_PE: Likewise.
28298 * localedata/locales/raj_IN: Likewise.
28299 * localedata/locales/ro_RO: Likewise.
28300 * localedata/locales/ru_RU: Likewise.
28301 * localedata/locales/ru_UA: Likewise.
28302 * localedata/locales/rw_RW: Likewise.
28303 * localedata/locales/sa_IN: Likewise.
28304 * localedata/locales/sat_IN: Likewise.
28305 * localedata/locales/sc_IT: Likewise.
28306 * localedata/locales/sd_IN: Likewise.
28307 * localedata/locales/sd_IN@devanagari: Likewise.
28308 * localedata/locales/se_NO: Likewise.
28309 * localedata/locales/sgs_LT: Likewise.
28310 * localedata/locales/shs_CA: Likewise.
28311 * localedata/locales/si_LK: Likewise.
28312 * localedata/locales/sid_ET: Likewise.
28313 * localedata/locales/sk_SK: Likewise.
28314 * localedata/locales/sl_SI: Likewise.
28315 * localedata/locales/sm_WS: Likewise.
28316 * localedata/locales/so_DJ: Likewise.
28317 * localedata/locales/so_ET: Likewise.
28318 * localedata/locales/so_KE: Likewise.
28319 * localedata/locales/so_SO: Likewise.
28320 * localedata/locales/sq_AL: Likewise.
28321 * localedata/locales/sq_MK: Likewise.
28322 * localedata/locales/sr_ME: Likewise.
28323 * localedata/locales/sr_RS: Likewise.
28324 * localedata/locales/sr_RS@latin: Likewise.
28325 * localedata/locales/ss_ZA: Likewise.
28326 * localedata/locales/st_ZA: Likewise.
28327 * localedata/locales/sv_FI: Likewise.
28328 * localedata/locales/sv_SE: Likewise.
28329 * localedata/locales/sw_KE: Likewise.
28330 * localedata/locales/sw_TZ: Likewise.
28331 * localedata/locales/szl_PL: Likewise.
28332 * localedata/locales/ta_IN: Likewise.
28333 * localedata/locales/ta_LK: Likewise.
28334 * localedata/locales/tcy_IN: Likewise.
28335 * localedata/locales/te_IN: Likewise.
28336 * localedata/locales/tg_TJ: Likewise.
28337 * localedata/locales/th_TH: Likewise.
28338 * localedata/locales/the_NP: Likewise.
28339 * localedata/locales/ti_ER: Likewise.
28340 * localedata/locales/ti_ET: Likewise.
28341 * localedata/locales/tig_ER: Likewise.
28342 * localedata/locales/tk_TM: Likewise.
28343 * localedata/locales/tl_PH: Likewise.
28344 * localedata/locales/tn_ZA: Likewise.
28345 * localedata/locales/to_TO: Likewise.
28346 * localedata/locales/tpi_PG: Likewise.
28347 * localedata/locales/tr_CY: Likewise.
28348 * localedata/locales/tr_TR: Likewise.
28349 * localedata/locales/ts_ZA: Likewise.
28350 * localedata/locales/tt_RU: Likewise.
28351 * localedata/locales/tt_RU@iqtelif: Likewise.
28352 * localedata/locales/ug_CN: Likewise.
28353 * localedata/locales/uk_UA: Likewise.
28354 * localedata/locales/unm_US: Likewise.
28355 * localedata/locales/ur_IN: Likewise.
28356 * localedata/locales/ur_PK: Likewise.
28357 * localedata/locales/uz_UZ: Likewise.
28358 * localedata/locales/uz_UZ@cyrillic: Likewise.
28359 * localedata/locales/ve_ZA: Likewise.
28360 * localedata/locales/vi_VN: Likewise.
28361 * localedata/locales/wa_BE: Likewise.
28362 * localedata/locales/wae_CH: Likewise.
28363 * localedata/locales/wal_ET: Likewise.
28364 * localedata/locales/wo_SN: Likewise.
28365 * localedata/locales/xh_ZA: Likewise.
28366 * localedata/locales/yi_US: Likewise.
28367 * localedata/locales/yo_NG: Likewise.
28368 * localedata/locales/yue_HK: Likewise.
28369 * localedata/locales/yuw_PG: Likewise.
28370 * localedata/locales/zh_CN: Likewise.
28371 * localedata/locales/zh_HK: Likewise.
28372 * localedata/locales/zh_SG: Likewise.
28373 * localedata/locales/zh_TW: Likewise.
28374 * localedata/locales/zu_ZA: Likewise.
28376 2017-11-13 Florian Weimer <fweimer@redhat.com>
28378 * support/next_to_fault.h, support/next_to_fault.c: New files.
28379 * support/Makefile (libsupport-routines): Add next_to_fault.
28380 * resolv/tst-inet_pton.c (struct next_to_fault)
28381 (next_to_fault_allocate, next_to_fault_free): Remove.
28382 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28384 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28386 * elf/dl-support.c: Include <dl-procruntime.c>.
28387 * include/link.h: Include <link_map.h>.
28388 * sysdeps/generic/dl-procruntime.c: New file.
28389 * sysdeps/generic/link_map.h: Likewise.
28390 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28391 the writable ld.so namespace.
28393 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28395 timezone: pacify GCC -Wstringop-truncation
28396 Problem reported by Martin Sebor in:
28397 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28398 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28400 2017-11-12 Florian Weimer <fweimer@redhat.com>
28402 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28404 (tests): Add tst-xreadlink.
28405 * support/support.h (xstrndup): Declare.
28406 * support/xunistd.h (xunlink, xreadlink): Declare.
28407 * support/temp_file.h (support_create_temp_directory): Declare.
28408 * support/temp_file.c (support_create_temp_directory): New function.
28409 * support/support_chroot.c (support_chroot_create): Use it.
28410 * support/xreadlink.c: New file.
28411 * support/xstrndup.c: Likewise.
28412 * support/xunlink.c: Likewise.
28413 * support/tst-xreadlink.c: Likewise.
28415 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28417 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28419 2017-11-11 Florian Weimer <fweimer@redhat.com>
28423 * resolv/res_comp.c (printable_string, binary_hnok)
28424 (binary_leading_dash): New functions.
28425 (res_hnok): Reimplement using these functions and ns_name_pton.
28426 (res_ownok): Likewise.
28427 (res_mailok): Reimplement using printable_string, ns_name_pton and
28429 (res_dnok): Reimplement using printable_string and ns_name_pton.
28430 * resolv/tst-res_hnok.c (tests): Add additional tests.
28431 (LETTERDIGITS, PRINTABLE): Define.
28432 (do_test): Adjust one_char results.
28434 2017-11-11 Florian Weimer <fweimer@redhat.com>
28437 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28438 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28440 2017-11-11 Florian Weimer <fweimer@redhat.com>
28442 * resolv/tst-ns_name_pton.c: New file.
28443 * resolv/Makefile (tests): Add tst-ns_name_pton.
28444 (tst-ns_name_pton): Link against libresolv.
28446 2017-11-11 Florian Weimer <fweimer@redhat.com>
28448 * resolv/tst-res_hnok.c: New file.
28449 * resolv/Makefile (tests): Add tst-res_hnok.
28450 (tst-res_hnok): Link against libresolv.
28452 2017-11-11 Florian Weimer <fweimer@redhat.com>
28454 * resolv/tst-resolv-network.c: Use test framework instead explicit
28457 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28459 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28460 <jmp_buf-macros.h>.
28461 [!_ISOMAC] (STR_HELPER): New.
28462 [!_ISOMAC] (STR): Likewise.
28463 [!_ISOMAC] (TEST_SIZE): Likewise.
28464 [!_ISOMAC] (TEST_ALIGN): Likewise.
28465 [!_ISOMAC] (TEST_OFFSET): Likewise.
28466 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28467 field offsets of jmp_buf as well as sigjmp_buf.
28468 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28469 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28470 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28471 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28472 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28473 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28474 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28475 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28476 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28477 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28479 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28481 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28486 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28487 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28488 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28489 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28490 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28495 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28496 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28497 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28499 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28503 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28505 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28507 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28509 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28511 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28513 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28515 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28516 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28517 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28518 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28519 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28520 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28521 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28522 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28523 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28524 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28525 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28526 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28527 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28528 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28529 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28530 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28531 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28532 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28533 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28534 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28535 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28536 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28537 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28538 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28539 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28540 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28541 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28543 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28545 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28547 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28549 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28551 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28553 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28555 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28557 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28559 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28561 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28563 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28565 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28567 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28569 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28571 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28573 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28575 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28577 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28579 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28581 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28583 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28585 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28587 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28589 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28591 * stdlib/tst-strtod.h (F16): New macro.
28597 (IF_FLOAT16): Likewise.
28598 (IF_FLOAT32): Likewise.
28599 (IF_FLOAT64): Likewise.
28600 (IF_FLOAT32X): Likewise.
28601 (IF_FLOAT64X): Likewise.
28602 (IF_FLOAT128X): Likewise.
28603 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28604 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28605 (STRTOD_TEST_FOREACH): Likewise.
28606 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28607 (CHOOSE_f64): Likewise.
28608 (CHOOSE_f32x): Likewise.
28609 (CHOOSE_f64x): Likewise.
28611 2017-11-07 Andreas Schwab <schwab@suse.de>
28613 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28615 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28618 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28620 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28623 2017-11-07 Claude Paroz <claude@2xlibre.net>
28626 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28628 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28630 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28633 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28636 * nptl/allocatestack.c (allocate_stack): Check if
28637 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28638 __PTHREAD_MUTEX_HAVE_PREV is defined.
28639 * nptl/descr.h (pthread): Likewise.
28640 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28642 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28643 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28644 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28645 * sysdeps/nptl/bits/thread-shared-types.h
28646 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28648 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28649 of __WORDSIZE for internal layout.
28650 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28651 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28652 instead of __WORDSIZE whether to use an union for __spins and __list
28654 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28656 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28657 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28659 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28660 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28662 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28663 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28665 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28666 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28668 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28669 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28671 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28672 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28674 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28675 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28677 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28678 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28680 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28681 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28683 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28684 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28686 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28687 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28689 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28690 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28692 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28693 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28695 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28696 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28698 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28699 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28702 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28704 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28705 checks for expected input type size.
28706 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28707 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28709 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28710 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28711 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28712 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28713 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28714 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28715 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28716 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28717 superflous runtime assert check.
28718 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28720 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28722 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28724 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28726 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28728 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28730 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28731 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28732 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28734 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28736 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28738 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28740 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28742 * nptl/pthread_attr_setinheritsched.c
28743 (__pthread_attr_setinheritsched): Likewise.
28744 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28746 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28748 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28749 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28750 __old_pthread_attr_setstack): Likewise.
28751 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28753 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28755 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28757 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28758 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28760 * nptl/tst-typesizes.c: Remove file.
28762 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28763 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28764 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28765 checks for internal pthread_mutex_t offsets.
28766 * sysdeps/aarch64/nptl/pthread-offsets.h
28767 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28768 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28769 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28770 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28771 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28772 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28773 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28774 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28775 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28776 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28777 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28778 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28779 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28780 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28781 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28782 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28783 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28784 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28786 2017-11-07 Florian Weimer <fweimer@redhat.com>
28788 * bits/mman-linux.h: Move ...
28789 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28791 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28794 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28796 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28797 Redefine STRNLEN as __strnlen_power8.
28799 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28801 * signal/sighold.c (sighold): Optimize implementation.
28803 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28804 __NR_rt_sigqueueinfo.
28806 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28808 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28809 assume __NR_rt_sigtimedwait.
28810 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28811 and add LIBC_CANCEL_HANDLED for cancellation marking.
28812 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28814 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28815 (sysdeps_routines): Add memchr_noneon.
28816 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28817 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28818 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28819 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28820 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28821 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28822 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28824 * sysdeps/arm/arm-ifunc.h: New file.
28825 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28826 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28827 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28828 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28829 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28830 (__memcpy_neon): Avoid create hidden alias.
28831 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28832 (__memcpy_vfp): Likewise.
28833 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28834 (sysdep_routines): Add memcpy_arm.
28835 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28837 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28840 * Makerules (make-link-multidir): New.
28841 * config.make.in (multidir): New.
28842 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28843 * configure: Regenerated.
28844 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28845 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28846 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28849 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28852 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28853 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28855 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28857 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28860 2017-11-04 Florian Weimer <fweimer@redhat.com>
28862 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28864 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28866 * math/math.h [__HAVE_DISTINCT_FLOAT16
28867 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28868 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28869 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28870 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28871 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28872 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28873 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28874 (__MATH_TG_F32): New macro.
28875 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28876 (__MATH_TG_F64X): Likewise.
28877 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28878 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28880 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28882 * po/de.po: Update translations.
28883 * po/ru.po: Likewise.
28885 2017-11-03 Florian Weimer <fweimer@redhat.com>
28887 * manual/filesys.texi (Hard Links): Document linkat.
28889 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28891 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28892 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28893 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28894 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28895 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28896 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28897 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28898 the same as _Float128.
28899 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28900 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28901 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28904 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28906 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28908 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28910 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28911 (strtof32x): Likewise.
28912 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28913 (strtof64x): Likewise.
28914 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28915 (strtof128x): Likewise.
28916 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28917 (strfromf16): Likewise.
28918 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28919 (strfromf32): Likewise.
28920 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28921 (strfromf64): Likewise.
28922 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28923 (strfromf32x): Likewise.
28924 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28925 (strfromf64x): Likewise.
28926 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28927 (strfromf128x): Likewise.
28928 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28929 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28930 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28931 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28932 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28933 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28935 2017-11-03 Richard Henderson <rth@twiddle.net>
28937 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28939 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28941 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28943 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28945 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28946 DT_TLSDESC_GOT initialization.
28947 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28948 (_dl_tlsdesc_resolve_hold): Likewise.
28949 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28950 (_dl_tlsdesc_resolve_hold): Likewise.
28951 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28952 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28954 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28956 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28958 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28961 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28962 non-lazily for R_ARM_TLS_DESC.
28964 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28967 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28968 R_ARM_TLS_DESC case.
28969 (elf_machine_lazy_rel): Remove the prelink check.
28971 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28973 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28974 DT_TLSDESC_GOT initialization.
28975 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28976 (_dl_tlsdesc_resolve_rela): Likewise.
28977 (_dl_tlsdesc_resolve_hold): Likewise.
28978 (_dl_tlsdesc_undefweak): Remove ldar.
28979 (_dl_tlsdesc_dynamic): Likewise.
28980 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28981 (_dl_tlsdesc_resolve_rela): Likewise.
28982 (_dl_tlsdesc_resolve_hold): Likewise.
28983 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28984 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28985 (_dl_tlsdesc_resolve_rela): Likewise.
28986 (_dl_tlsdesc_resolve_hold): Likewise.
28988 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28990 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28991 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28993 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28995 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28996 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28998 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29000 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29002 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29003 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29004 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29005 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29006 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29007 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29008 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29009 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29010 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29011 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29012 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29014 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29017 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29018 * localedata/locales/tpi_PG: Add standard header.
29020 2017-11-02 Florian Weimer <fweimer@redhat.com>
29022 test-errno-linux: quotactl can fail with EPERM in containers.
29023 * sysdeps/unix/sysv/linux/test-errno-linux.c
29024 (LIST, LIST_FORWARD): New macros.
29025 (check_error_in_list): New function.
29026 (test_wrp_rv): Accept list of permitted error codes.
29027 (test_wrp_rv2): Remove.
29028 (test_wrp): Call test_wrp_rv with list of error codes.
29029 (test_wrp2): Accept list of error codes.
29030 (do_test): Adjust. Allow EPERM for quotactl.
29032 2017-11-02 Florian Weimer <fweimer@redhat.com>
29034 * stdio-common/bug16.c (do_test): Use array_length.
29035 * stdio-common/errlist.c (_sys_nerr): Likewise.
29036 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29037 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29038 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29039 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29040 (do_test): Use array_length.
29041 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29042 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29043 * stdio-common/tst-printf-round.c (do_test): Likewise.
29044 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29045 (CHECK): Use array_length.
29046 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29047 * stdio-common/tstscanf.c (main): Likewise.
29048 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29050 2017-11-02 Florian Weimer <fweimer@redhat.com>
29052 Add array_length and array_end macros.
29053 * include/array_length.h: New file.
29055 2017-11-02 Florian Weimer <fweimer@redhat.com>
29058 * posix/tst-glob-tilde.c (do_noescape): New variable.
29059 (one_test): Process it.
29060 (do_test): Set do_noescape. Add unescaping test case.
29062 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29065 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29066 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29067 with appropriate macros defined and undefined.
29068 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29069 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29070 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29071 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29072 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29073 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29074 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29075 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29076 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29077 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29080 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29081 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29082 that for long double. Do not condition define and undefine of
29083 _Mdouble_complex_ on [__CFLOAT128].
29085 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29088 of <sysdeps/generic/sysdep.h>.
29089 (ALIGNARG): Removed.
29090 (ASM_SIZE_DIRECTIVE): Likewise.
29093 (ENTRY_CHK): Likewise.
29094 (END_CHK): Likewise.
29095 (syscall_error): Likewise.
29096 (mcount): Likewise.
29097 (PSEUDO_END): Likewise.
29099 (atom_text_section): Likewise.
29100 * sysdeps/x86/sysdep.h: New file.
29101 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29102 of <sysdeps/generic/sysdep.h>.
29103 (ALIGNARG): Removed.
29104 (ASM_SIZE_DIRECTIVE): Likewise.
29107 (ENTRY_CHK): Likewise.
29108 (END_CHK): Likewise.
29109 (syscall_error): Likewise.
29110 (mcount): Likewise.
29111 (PSEUDO_END): Likewise.
29113 (atom_text_section): Likewise.
29115 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29117 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29118 category of LC_CTYPE set to "i18n:2012".
29119 * localedata/locales/i18n_ctype: Regenerate.
29121 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29123 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29124 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29125 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29126 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29128 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29129 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29130 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29131 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29133 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29136 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29138 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29140 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29142 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29143 (CMPLXF32X): Likewise.
29144 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29145 (CMPLXF64X): Likewise.
29146 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29147 (CMPLXF128X): Likewise.
29150 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29151 (__MATH_EVAL_FMT2): Define to add 0.0f.
29153 2017-10-31 Alan Modra <amodra@gmail.com>
29155 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29171 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29172 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29173 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29174 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29175 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29176 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29177 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29178 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29179 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29180 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29181 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29182 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29183 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29184 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29185 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29186 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29189 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29192 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29193 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29197 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29198 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29199 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29200 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29201 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29202 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29203 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29204 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29205 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29206 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29207 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29208 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29209 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29210 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29211 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29212 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29213 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29214 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29215 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29216 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29217 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29218 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29219 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29220 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29221 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29222 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29223 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29224 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29225 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29228 include sysdep.h and math_ldbl_opt.h.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29231 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29257 2017-10-31 Alan Modra <amodra@gmail.com>
29259 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29260 string/strncase_l.c, not string/strncase.c.
29261 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29262 (libc_hidden_def): Redefine.
29264 2017-10-31 Alan Modra <amodra@gmail.com>
29266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29267 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29268 (__strcasecmp): Don't define.
29270 2017-10-31 Alan Modra <amodra@gmail.com>
29272 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29274 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29278 2017-10-31 Alan Modra <amodra@gmail.com>
29280 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29283 2017-10-31 Alan Modra <amodra@gmail.com>
29285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29286 Redefine only when SHARED.
29288 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29290 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29291 Include <bits/math-finite.h> with appropriate macros defined and
29293 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29294 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29295 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29296 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29297 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29299 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29300 [!_Mlong_double_] (_Mlong_double_): Likewise.
29301 [!_Mfloat16_] (_Mfloat16_): Likewise.
29302 [!_Mfloat32_] (_Mfloat32_): Likewise.
29303 [!_Mfloat64_] (_Mfloat64_): Likewise.
29304 [!_Mfloat128_] (_Mfloat128_): Likewise.
29305 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29306 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29307 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29308 (_Mdouble_): Define without indirection through those macros.
29309 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29310 [!_Mfloat128_] (_Mfloat128_): Likewise.
29311 [_Mlong_double_] (_Mlong_double_): Likewise.
29312 (_Mdouble_): Define without indirection through those macros.
29313 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29314 not add -D_Mlong_double_=double.
29315 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29316 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29318 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29320 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29322 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/x86/libc-start.c: Reformat.
29326 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29329 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29330 (1): Renamed to ...
29333 (L(Src2)): Likewise.
29334 (L(1)): Renamed to ...
29337 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29339 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29340 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29341 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29342 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29343 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29344 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29345 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29346 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29347 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29348 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29349 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29350 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29351 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29352 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29353 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29354 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29355 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29356 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29357 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29358 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29359 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29360 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29361 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29362 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29363 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29364 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29365 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29366 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29367 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29368 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29369 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29370 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29371 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29372 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29373 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29374 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29375 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29376 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29377 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29378 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29379 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29380 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29381 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29382 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29383 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29384 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29385 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29386 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29387 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29388 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29389 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29390 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29391 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29392 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29393 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29394 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29395 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29396 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29397 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29398 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29399 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29400 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29401 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29402 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29403 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29404 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29406 2017-10-30 Florian Weimer <fweimer@redhat.com>
29408 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29410 * io/tst-mkdirat.c (do_test): Likewise.
29411 * io/tst-mkfifoat.c (do_test): Likewise.
29412 * io/tst-mknodat.c (do_test): Likewise.
29413 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29414 * locale/programs/locale.c (select_dirs): Likewise.
29415 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29416 * posix/bug-glob2.c (my_readdir): Likewise.
29417 * posix/tst-dir.c (main): Likewise.
29418 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29419 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29421 2017-10-30 Florian Weimer <fweimer@redhat.com>
29423 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29426 2017-10-30 Florian Weimer <fweimer@redhat.com>
29428 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29429 Convert to support/test-driver.c.
29430 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29431 New macro parameters.
29432 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29433 * posix/tst-gnuglob.c: New file.
29434 * posix/tst-gnuglob64.c: Likewise.
29435 * posix/Makefile (tests): Add tst-gnuglob64.
29437 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29440 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29441 and use a better translation for March in “mon”.
29442 * localedata/locales/csb_PL: Use more ASCII to improve the
29443 readability of the source.
29445 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29448 * localedata/locales/km_KH: Use ASCII as much
29449 as possible for better readability of the source and
29450 remove useless comments.
29451 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29452 was commented out and apparently wrong anyway because it was
29453 using Lao characters. If Buddhist era should be used
29454 for km_KH, a native speaker should write the correct formaat
29456 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29457 (According to CLDR, the first weekday for Cambodia is Sunday).
29458 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29459 (These were using Lao characters which must be wrong. If we get
29460 the correct data from a native speaker, we could add it back, until
29461 then it is better not to have name_mr and name_mrs at all than
29464 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29466 * locale/loadlocale.c: Correct size of
29467 _nl_value_type_LC_<category> arrays.
29469 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29471 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29472 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29473 with appropriate macros defined and undefined.
29474 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29475 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29476 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29477 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29478 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29480 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29485 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29487 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29488 with lowercase letters to make it agree with CLDR.
29490 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29493 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29494 first letters of yesstr and nostr in yesexpr and noexpr,
29495 not for the full words.
29496 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29497 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29498 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29499 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29500 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29501 first letters of yesstr and nostr in yesexpr and noexpr,
29502 until now only English was matched in yesexpr and noexpr.
29503 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29504 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29505 fil but not for tl. As tl and fil are very similar, using fil
29506 is probably better than using English.
29508 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29511 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29512 in yesstr and nostr.
29514 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29516 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29517 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29518 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29520 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29522 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29524 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29526 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29527 (SNANF128X): Likewise.
29529 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29530 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29531 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29532 (HUGE_VAL_F32): Likewise.
29533 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29534 (HUGE_VAL_F64): Likewise.
29535 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29536 (HUGE_VAL_F32X): Likewise.
29537 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29538 (HUGE_VAL_F64X): Likewise.
29539 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29540 (HUGE_VAL_F128X): Likewise.
29542 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29544 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29545 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29546 for the br_FR locale.
29548 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29551 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29553 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29555 * locale/programs/record-status.h: Define globals, and function
29556 prototypes. Move function bodies...
29557 * locale/programs/record-status.c: ... to here. New file.
29558 * iconv/Makefile (iconv_prog-modules): Add record-status.
29559 * locale/Makefile (lib-modules): Likewise.
29560 * iconv/iconv_prog.c: Remove verbose.
29561 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29562 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29563 record a warning about ASCII compatibility.
29564 * locale/programs/ld-monetary.c (monetary_finish): If
29565 warn_int_curr_symbol is true then record a warning about the symbol
29566 not being in our ISO 4217 list.
29567 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29568 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29569 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29570 (OPT_NO_WARN): Define.
29571 (OPT_WARN): Define.
29572 (options): Add entry for --no-warnings, and --warnings.
29573 (set_warnings): New function to enable/disable warnings.
29574 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29575 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29576 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29577 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29578 Pass flags to generate_locale.
29579 (generate_locale): Accept new flag argument and pass it to localedef
29581 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29582 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29584 * localedata/Makefile (test-input-data): Use full file name.
29585 * localedata/da_DK.in: Rename to...
29586 * localedata/da_DK.ISO-8859-1.in: ...this.
29587 * localedata/de_DE.in: Rename to...
29588 * localedata/de_DE.ISO-8859-1.in: ...this.
29589 * localedata/en_US.in: Rename to...
29590 * localedata/en_US.ISO-8859-1.in: ...this.
29591 * localedata/fr_FR.in: Rename to...
29592 * localedata/fr_FR.UTF-8.in: ... this.
29593 * localedata/hr_HR.in: Rename to...
29594 * localedata/hr_HR.ISO-8859-2.in: ...this.
29595 * localedata/hu_HU.in: Rename to...
29596 * localedata/hu_HU.UTF-8.in: ...this.
29597 * localedata/si_LK.in: Rename to...
29598 * localedata/si_LK.UTF-8.in: ...this.
29599 * localedata/sv_SE.in: Rename to...
29600 * localedata/sv_SE.ISO-8859-1.in: ...this.
29601 * localedata/tr_TR.in: Rename to...
29602 * localedata/tr_TR.UTF-8.in: ...this.
29603 * localedata/uk_UA.in: Rename to...
29604 * localedata/uk_UA.UTF-8.in: ...this.
29605 * localedata/sort-test.sh: Test file is locale name with the
29608 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29609 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29611 * localedata/locales/i18n_ctype: Regenerate.
29612 * localedata/locales/tr_TR: Likewise.
29613 * localedata/locales/translit_circle: Likewise.
29614 * localedata/locales/translit_cjk_compat: Likewise.
29615 * localedata/locales/translit_combining: Likewise.
29616 * localedata/locales/translit_compat: Likewise.
29617 * localedata/locales/translit_font: Likewise.
29618 * localedata/locales/translit_fraction: Likewise.
29620 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29623 lxvd2x/stxvd2x with lvx/stvx.
29624 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29626 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29628 * include/alloc_buffer.h: Replace "if if " with "if " in
29630 * sysdeps/mips/memcpy.S: Likkewise.
29631 * sysdeps/mips/memset.S: Likewise.
29632 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29634 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29636 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29642 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29643 yesexpr and noexpr.
29644 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29645 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29646 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29647 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29648 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29649 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29650 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29652 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29654 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29655 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29656 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29657 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29658 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29659 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29660 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29661 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29662 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29663 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29664 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29665 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29667 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29669 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29670 as possible for better readability of the source.
29671 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29672 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29673 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29674 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29675 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29676 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29677 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29678 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29679 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29680 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29681 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29682 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29683 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29684 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29685 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29686 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29687 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29688 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29689 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29690 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29691 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29692 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29693 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29694 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29695 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29696 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29697 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29698 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29699 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29700 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29701 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29702 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29703 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29704 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29705 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29706 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29707 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29708 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29709 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29710 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29711 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29712 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29713 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29714 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29715 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29716 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29717 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29718 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29719 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29720 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29721 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29722 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29723 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29724 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29725 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29726 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29727 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29728 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29729 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29730 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29731 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29732 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29733 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29734 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29735 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29736 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29737 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29738 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29739 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29740 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29741 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29742 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29743 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29744 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29745 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29746 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29747 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29748 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29749 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29750 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29751 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29752 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29753 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29754 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29755 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29756 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29757 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29758 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29759 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29760 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29761 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29762 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29763 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29764 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29765 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29766 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29767 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29768 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29769 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29770 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29771 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29772 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29773 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29774 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29775 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29776 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29777 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29778 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29779 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29780 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29781 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29782 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29783 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29784 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29785 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29786 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29787 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29788 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29789 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29790 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29791 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29792 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29793 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29794 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29795 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29796 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29797 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29798 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29799 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29800 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29801 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29802 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29803 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29804 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29805 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29806 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29807 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29808 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29809 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29810 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29811 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29812 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29813 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29814 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29815 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29816 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29817 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29818 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29819 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29820 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29821 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29822 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29823 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29824 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29825 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29826 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29827 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29828 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29829 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29830 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29831 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29832 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29833 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29834 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29835 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29836 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29837 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29838 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29839 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29840 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29841 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29842 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29843 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29844 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29846 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29848 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29849 (Use first letters of yesstr and nostr correctly instead of using
29852 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29854 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29855 (Use first letters of yesstr and nostr correctly).
29857 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29859 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29860 also check for the first characters of yesstr and nostr.
29861 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29862 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29864 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29866 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29867 also check for Chinese characters.
29869 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29871 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29872 match also for the contents of yesstr and nostr. As the first letter
29873 of yesstr and nostr is equal, checking only for the first letter
29876 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29878 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29879 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29881 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29883 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29884 of main contributor.
29886 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29888 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29889 instead of using English.
29891 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29893 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29894 by including the first letters of nostr and yesexpr in the regexp.
29895 Also make it more readable by using ASCII where possible.
29897 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29899 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29900 the first letter of nostr in the regexp. It agrees with CLDR now.
29901 Also make it more readable by using ASCII where possible.
29903 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29905 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29906 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29907 these strings contain a U+17D6 (which somewhat looks like a colon)
29908 instead of a real colon to separate the full words for “yes”
29909 and “no” from the single letter responses.
29911 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29913 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29914 it agree with CLDR (include the first letter of yesstr).
29915 Also make it more readable by using ASCII where possible.
29917 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29919 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29920 and improve yesexpr and noexpr. The yesstr and nostr apparently
29921 came from CLDR. And CLDR has a bug there: these strings contain
29922 a U+0903 (which looks like a colon) instead of a real colon
29923 to separate the full words for “yes” and “no” from the single
29926 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29928 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29929 letters of the full yesstr and nostr in yesexpr and noexpr.
29931 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29933 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29934 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29935 * localedata/locales/an_ES: Make source more readable by using ASCII
29938 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29941 * localedata/locales/yuw_PG: New file.
29942 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29943 * locale/iso-639.def: Add Yau (Uruwa).
29945 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29947 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29949 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29951 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29952 (__libc_realloc): Likewise.
29953 (_mid_memalign): Likewise.
29954 (__libc_calloc): Likewise.
29956 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29958 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29959 by adding the generic +1 and -0 as in all other locales.
29960 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29961 day names and make it more readable by using ASCII where possible.
29963 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29965 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29966 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29968 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29970 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29971 WNOHANG in waitpid call.
29973 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29975 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29976 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29978 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29979 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29980 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29981 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29982 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29983 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29984 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29985 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29988 2017-10-23 Michael Collison <michael.collison@arm.com>
29990 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29991 with __builtin_sqrt.
29992 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29993 with __builtin_sqrtf.
29994 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29995 with __builtin_ceil.
29996 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29997 with __builtin_ceilf.
29998 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29999 with __builtin_floor.
30000 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30001 with __builtin_floorf.
30002 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30003 with __builtin_fma.
30004 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30005 with __builtin_fmaf.
30006 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30007 with __builtin_fmax.
30008 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30009 with __builtin_fmaxf.
30010 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30011 with __builtin_fmin.
30012 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30013 with __builtin_fminf.
30014 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30015 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30016 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30017 with builtin_rint and conversion to int.
30018 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30019 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30020 with builtin_llround.
30021 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30022 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30023 with builtin_rint and conversion to long int.
30024 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30025 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30026 with builtin_lround.
30027 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30028 with builtin_lroundf.
30029 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30030 statements with __builtin_nearbyint.
30031 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30032 statements with __builtin_nearbyintf.
30033 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30034 with __builtin_rint.
30035 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30036 with __builtin_rintf.
30037 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30038 with __builtin_round.
30039 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30040 with __builtin_roundf.
30041 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30042 with __builtin_trunc.
30043 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30044 with __builtin_truncf.
30045 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30046 and s_l[l]round[f].c too.
30048 2017-10-23 Alan Modra <amodra@gmail.com>
30050 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30051 Adjust stack after restoring regs. Add missing LR cfi_restore.
30053 2017-10-23 Alan Modra <amodra@gmail.com>
30055 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30056 Move LR save and frame setup/teardown and LR restore to
30057 immediately around memset call. Provide cfi.
30059 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30061 * sysdeps/i386/fpu/e_powf.S: Removed.
30062 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30063 * sysdeps/i386/fpu/w_powf.c: Likewise.
30064 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30065 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30066 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30068 (CFLAGS-e_powf-sse2.c): New.
30069 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30070 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30072 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30074 * sysdeps/i386/fpu/e_log2f.S: Removed.
30075 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30076 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30077 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30078 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30079 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30081 (CFLAGS-e_log2f-sse2.c): New.
30082 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30083 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30085 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30089 (CFLAGS-e_powf-fma.c): New.
30090 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30091 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30093 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30095 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30097 (CFLAGS-e_log2f-fma.c): New.
30098 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30099 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30101 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30103 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30105 (CFLAGS-e_logf-fma.c): New.
30106 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30107 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30109 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30111 * sysdeps/i386/fpu/e_logf.S: Removed.
30112 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30113 * sysdeps/i386/fpu/w_logf.c: Likewise.
30114 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30115 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30116 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30117 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30119 (CFLAGS-e_logf-sse2.c): New.
30120 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30121 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30123 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30125 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30126 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30127 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30128 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30129 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30131 (CFLAGS-e_exp2f-sse2.c): New.
30132 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30133 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30135 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30137 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30139 (CFLAGS-e_exp2f-fma.c): New.
30140 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30141 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30143 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30145 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30146 * sysdeps/i386/fpu/e_expf.S: Likewise.
30147 * sysdeps/i386/fpu/math_errf.c: Likewise.
30148 * sysdeps/i386/fpu/w_expf.c: Likewise.
30149 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30151 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30152 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30153 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30154 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30155 Remove e_expf-ia32.
30156 (CFLAGS-e_expf-sse2.c): New.
30157 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30158 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30160 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30162 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30163 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30164 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30165 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30167 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30169 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30170 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30172 (__redirect_expf): This.
30173 (SYMBOL_NAME): Changed to expf.
30174 (__ieee754_expf): Renamed to ...
30176 (__GI___expf): This.
30177 (__ieee754_expf): Add strong_alias.
30178 (__expf_finite): Likewise.
30180 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30182 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30185 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30188 2017-10-21 Florian Weimer <fweimer@redhat.com>
30190 * posix/Makefile (tests): Add tst-glob-tilde.
30191 (tests-special): Add tst-glob-tilde-mem.out
30192 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30193 (tst-glob-tilde-mem.out): Add mtrace check.
30194 * posix/tst-glob-tilde.c: New file.
30196 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30198 * bits/floatn-common.h: New file.
30199 * math/Makefile (headers): Add bits/floatn-common.h.
30200 * bits/floatn.h: Include <bits/floatn-common.h>.
30201 * sysdeps/ia64/bits/floatn.h: Likewise.
30202 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30203 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30204 * sysdeps/powerpc/bits/floatn.h: Likewise.
30205 * sysdeps/x86/bits/floatn.h: Likewise.
30207 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30209 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30210 indicates whether compiler emits an warning for alias for
30211 functions with incompatible types.
30214 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30215 the auxiliary process is terminated by a signal before calling _exit
30218 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30221 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30223 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30224 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30225 and bit_arch_XSAVEC_Usable if needed.
30226 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30227 and bit_arch_Use_dl_runtime_resolve_opt.
30228 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30230 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30231 (bit_arch_Prefer_No_AVX512): Updated.
30232 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30233 (bit_arch_XSAVEC_Usable): New.
30234 (STATE_SAVE_OFFSET): Likewise.
30235 (STATE_SAVE_MASK): Likewise.
30236 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30237 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30238 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30239 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30240 (index_arch_XSAVEC_Usable): New.
30241 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30242 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30243 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30245 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30246 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30247 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30248 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30249 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30250 _dl_runtime_resolve_xsavec.
30251 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30253 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30254 instead of VEC_SIZE.
30255 (REGISTER_SAVE_BND0): Removed.
30256 (REGISTER_SAVE_BND1): Likewise.
30257 (REGISTER_SAVE_BND3): Likewise.
30258 (REGISTER_SAVE_RAX): Always defined to 0.
30260 (_dl_runtime_resolve_avx): Likewise.
30261 (_dl_runtime_resolve_avx_slow): Likewise.
30262 (_dl_runtime_resolve_avx_opt): Likewise.
30263 (_dl_runtime_resolve_avx512): Likewise.
30264 (_dl_runtime_resolve_avx512_opt): Likewise.
30265 (_dl_runtime_resolve_sse): Likewise.
30266 (_dl_runtime_resolve_sse_vex): Likewise.
30268 (_dl_runtime_resolve_fxsave): Likewise.
30269 (USE_XSAVE): Likewise.
30270 (_dl_runtime_resolve_xsave): Likewise.
30271 (USE_XSAVEC): Likewise.
30272 (_dl_runtime_resolve_xsavec): Likewise.
30273 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30275 (_dl_runtime_resolve_avx512_opt): Likewise.
30276 (_dl_runtime_resolve_avx): Likewise.
30277 (_dl_runtime_resolve_avx_opt): Likewise.
30278 (_dl_runtime_resolve_sse): Likewise.
30279 (_dl_runtime_resolve_sse_vex): Likewise.
30280 (_dl_runtime_resolve_fxsave): New.
30281 (_dl_runtime_resolve_xsave): Likewise.
30282 (_dl_runtime_resolve_xsavec): Likewise.
30284 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30288 * posix/glob.c (__glob): Fix one-byte overflow.
30290 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30292 * malloc/malloc.c (sysdep-cancel.h): Add include.
30294 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30296 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30298 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30300 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30301 (tests): Remove $(objpfx)ga_test depdendency.
30302 * resolv/ga_test.c: Remove file.
30304 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30307 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30308 * localedata/locales/kab_DZ: New file.
30310 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30312 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30313 _dl_relocate_static_pie instead of _dl_start to compute load
30314 address in static PIE.
30316 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30318 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30320 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30323 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30324 * localedata/locales/shn_MM: New file.
30326 2017-10-20 Florian Weimer <fweimer@redhat.com>
30329 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30330 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30331 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30332 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30333 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30334 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30336 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30338 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30340 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30342 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30345 * sysdeps/mips/bits/long-double.h: Move to ....
30346 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30348 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30350 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30352 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30353 H.J. Lu <hongjiu.lu@intel.com>
30356 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30357 GLRO(dl_platform) to NULL.
30358 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30359 (modules-names): Add tst-platformmod-1 and
30360 x86_64/tst-platformmod-2.
30361 (CFLAGS-tst-platform-1.c): New.
30362 (CFLAGS-tst-platformmod-1.c): Likewise.
30363 (CFLAGS-tst-platformmod-2.c): Likewise.
30364 (LDFLAGS-tst-platformmod-2.so): Likewise.
30365 ($(objpfx)tst-platform-1): Likewise.
30366 ($(objpfx)tst-platform-1.out): Likewise.
30367 (tst-platform-1-ENV): Likewise.
30368 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30369 * sysdeps/x86_64/tst-platform-1.c: New file.
30370 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30371 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30373 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30376 * locale/iso-639.def: Add Karbi.
30377 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30378 * localedata/locales/mjw_IN: New file.
30380 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30382 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30383 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30384 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30385 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30386 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30387 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30388 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30390 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30391 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30392 * manual/math.texi (Mathematics): Document additional architecture
30393 support for _Float128.
30394 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30396 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30397 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30398 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30402 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30403 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30404 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30405 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30407 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30410 2017-10-18 Renlin Li <renlin.li@arm.com>
30412 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30413 _DYNAMIC symbol to calculate load address.
30415 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30417 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30418 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30420 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30421 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30423 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30426 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30427 and improve readability by using more ASCII.
30428 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30429 and improve readability by using more ASCII.
30431 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30433 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30434 not all targets support atomics on bool.
30436 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30438 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30439 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30441 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30442 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30443 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30444 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30445 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30446 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30448 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30450 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30453 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30456 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30457 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30458 (do_check_remalloced_chunk): Fix build bug.
30459 (do_check_malloc_state): Add assert that checks arena->top.
30460 (malloc_consolidate): Remove initialization.
30461 (int_mallinfo): Remove call to malloc_consolidate.
30462 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30464 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30466 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30467 (have_fastchunks): Remove.
30468 (clear_fastchunks): Remove.
30469 (set_fastchunks): Remove.
30470 (malloc_state): Add have_fastchunks.
30471 (malloc_init_state): Use have_fastchunks.
30472 (do_check_malloc_state): Remove incorrect invariant checks.
30473 (_int_malloc): Use have_fastchunks.
30474 (_int_free): Likewise.
30475 (malloc_consolidate): Likewise.
30477 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30479 * malloc/malloc.c (tcache_put): Inline.
30480 (tcache_get): Inline.
30482 2017-10-17 Jordi Mallach <jordi@gnu.org>
30484 Aurelien Jarno <aurelien@aurel32.net>
30486 * localedata/locales/ca_ES@valencia: New file.
30487 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30489 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30492 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30495 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30497 * scripts/build-many-glibcs.py (Context.add_all_configs):
30498 Add arm-linux-gnueabihf multiarch extra_glibcs.
30500 * sysdeps/generic/ifunc-init.h: New file.
30501 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30503 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30506 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30507 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30508 * stdlib/tst-strfmon_l.c: adapt test case.
30510 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30512 * sysdeps/generic/float128-abi.h: New file.
30513 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30514 non-__prefixed symbols to ....
30515 * math/Versions: ... here. Include <float128-abi.h>.
30516 * stdlib/Versions ... and here. Include <float128-abi.h>
30518 2017-10-16 Florian Weimer <fweimer@redhat.com>
30520 * version.h (VERSION): Switch to ".9000" as the development
30523 2017-10-16 Florian Weimer <fweimer@redhat.com>
30526 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30527 compat_symbol_reference to access non-default version.
30529 2017-10-16 Florian Weimer <fweimer@redhat.com>
30531 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30533 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30535 * include/shlib-compat.h (compat_symbol_reference): Update
30538 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30540 * math/Makefile (test-types): Add
30541 $(type-float128-$(float128-alias-fcts)).
30542 * math/test-float128.h (TYPE_STR): Define conditional on
30543 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30544 (ULP_IDX): Likewise.
30545 (ULP_I_IDX): Likewise.
30547 * stdlib/strtold.c: Include <bits/floatn.h>
30548 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30549 and later undefine as macro. Define as weak alias if
30551 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30552 and later undefine as macro. Define as weak alias if
30554 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30555 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30556 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30557 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30558 Define and later undefine as macro. Define as weak alias if
30560 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30562 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30563 Define and later undefine as macro. Define as weak alias if
30565 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30566 Define and later undefine as macro. Define as weak alias if
30569 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30571 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30572 record_verbose messages.
30574 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30577 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30578 to silence -O3 -Wall warning with GCC 7.
30580 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30582 * Makeconfig (+link-static-before-libc): Use the first of
30583 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30584 * gmon/Makefile (tests): Add tst-gmon-static.
30585 (tests-static): Likewise.
30586 (CFLAGS-tst-gmon-static.c): New.
30587 (CRT-tst-gmon-static): Likewise.
30588 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30589 (tst-gmon-static-ENV): Likewise.
30590 (tests-special): Likewise.
30591 ($(objpfx)tst-gmon-static.out): Likewise.
30592 (clean-tst-gmon-static-data): Likewise.
30593 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30594 * gmon/tst-gmon-static-gprof.sh: New file.
30595 * gmon/tst-gmon-static.c: Likewise.
30597 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30600 * locale/programs/linereader.c (get_string): Don't warn on
30601 non-symbolic character.
30604 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30608 * locale/programs/record-status.h: New file
30609 * locale/programs/locale.c: Add comment.
30610 * locale/programs/charmap-dir.c: Don't include error.h.
30611 (charmap_opendir): Use record_error.
30612 * locale/programs/charmap.c: Don't include error.h.
30613 (charmap_read): Use record_error, and record_warning.
30614 (parse_charmap): Likewise.
30615 * locale/programs/ld-address.c: Don't include error.h.
30616 (address_finish): Use record_error, and record_warning.
30617 * locale/programs/ld-collate.c: Don't include error.h.
30618 (collate_finish): Use record_error, and record_error_at_line.
30619 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30620 (ctype_class_new): Likewise.
30621 (ctype_map_new): Likewise.
30622 (set_one_default): Likewise.
30623 (set_class_defaults): Likewise.
30624 (translit_flatten): Likewise.
30625 (allocate_arrays): Use record_error, and record_verbose.
30626 * locale/programs/ld-identification.c: Don't include error.h.
30627 (indentation_finish): Use record_error and record_warning.
30628 * locale/programs/ld-measurement.c: Don't include error.h.
30629 (measurement_finish): Use record_error.
30630 * locale/programs/ld-messages.c
30631 (message_finish): Likewise.
30632 * locale/programs/ld-monetary.c
30633 (monetary_finish): Likewise.
30634 * locale/programs/ld-name.c (name_finish): Use record_error
30635 and record_warning.
30636 * locale/programs/ld-numeric.c
30637 (numeric_finish): Use record_error.
30638 * locale/programs/ld-paper.c: Don't include error.h.
30639 (paper_finish): Use record_error.
30640 * locale/programs/ld-telephone.c: Don't include error.h.
30641 (telephone_finish): Use record_error.
30642 * locale/programs/ld-time.c (time_finish): Likewise.
30643 * locale/programs/linereader.h (lr_error): Make inline func.
30644 * locale/programs/localedef.c: Define recorded_warning_count,
30645 and recorded_error_count.
30646 (main): Use record_error. Use recorded_error_count and
30647 recorded_warning_count to issue correct error returns.
30648 (add_to_readlist): Use record_error.
30649 (find_locale): Likewise.
30650 (load_locale): Likewise.
30651 * locale/programs/localedef.h: Remove be_quiet
30652 and WITH_CUR_LOCALE.
30653 * locale/programs/locarchive.c (compare_from_file): Use
30655 * locale/programs/locfile.c (write_locale_data): Use
30657 * locale/programs/repertoire.c: Dont include error.h.
30658 (repertoire_complain): Use record_error.
30659 * localedata/tst-fmon.sh: Expect failures from localedef.
30660 * localedata/tst-locale.sh: Likewise.
30661 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30663 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30664 (REPORTS): Likewise.
30666 (i18n): Rename to...
30667 (i18n_ctype): ...this.
30668 (i18n-report): Rename to...
30669 (i18n_ctype-report): ...this.
30670 * localedata/locales/i18n_ctype: Regenerate.
30671 * localedata/locales/i18n: copy i18n_ctype.
30673 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30675 * stdlib/strfroml.c: Include <bits/floatn.h>.
30676 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30677 Define before include of <stdlib.h> and undefine afterwards, then
30678 define as weak alias.
30680 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30681 Undefine and restore default definition. Use
30682 libm_alias_ldouble_other.
30684 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30687 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30690 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30692 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30693 Assign sym_map to be map for local symbols, as TLS relocations
30694 use sym_map to determine whether the symbol is defined and to
30695 extract the TLS information.
30696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30699 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30702 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30703 (math_force_eval): Add powerpc version.
30706 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30708 (do_test): Likewise.
30709 * stdio-common/tst-printf.sh: Likewise.
30710 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30711 ifdef clause in order to set the carry bit right. Replace r0 by
30712 0 without changing the behavior.
30714 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30716 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30717 <libm-alias-ldouble.h>.
30718 (fabsl): Define using libm_alias_ldouble.
30719 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30720 <libm-alias-ldouble.h>.
30721 (fabsl): Define using libm_alias_ldouble.
30723 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30724 Remove conditional code.
30726 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30727 Rename to __clog10_internal_l.
30728 (__clog10_internal_l): Define aliases using
30729 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30732 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30734 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30735 * benchtests/sincosf-inputs: New file.
30736 * benchtests/cosf-inputs: New file.
30737 * benchtests/sinf-inputs: New file.
30739 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30741 * posix/tst-spawn.c (do_test): Wait for both children.
30743 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30746 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30747 tests-pie): Add tst-gmon-pie.
30748 (CFLAGS-tst-gmon-pie.c): New.
30749 (CRT-tst-gmon-pie): Likewise.
30750 (tst-gmon-pie-ENV): Likewise.
30751 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30752 ($(objpfx)tst-gmon-pie.out): Likewise.
30753 (clean-tst-gmon-pie-data): Likewise.
30754 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30755 * gmon/gmon.c [PIC]: Include <link.h>.
30756 [PIC] (callback): New function.
30757 (write_hist): Add an argument for load address. Subtract load
30759 (write_call_graph): Likewise.
30760 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30761 it to write_hist and write_call_graph.
30762 * gmon/tst-gmon-pie.c: New file.
30764 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30766 * math/Makefile (test-types-basic): New variable.
30767 (test-types): Likewise.
30768 (libm-test-support): Use $(test-types) instead of $(types).
30769 (libm-tests-base-normal): Likewise.
30770 (libm-tests-base-finite): Likewise.
30771 (libm-tests-base-inline): Likewise.
30772 (generated): Likewise.
30773 ($(objpfx)libm-test-support-$(t).c): Likewise.
30774 (libm-tests-for-type iterator): Likewise.
30775 (libm-test-support iterator): Likewise.
30776 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30777 (ulp_idx): Use ULP_IDX.
30778 * math/test-ldouble.h: Include <float.h>.
30779 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30780 (ULP_IDX): New macro.
30781 (ULP_I_IDX): Likewise.
30782 * math/test-double.h (ULP_IDX): Likewise.
30783 (ULP_I_IDX): Likewise.
30784 * math/test-float.h (ULP_IDX): Likewise.
30785 (ULP_I_IDX): Likewise.
30786 * math/test-float128.h (ULP_IDX): Likewise.
30787 (ULP_I_IDX): Likewise.
30789 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30791 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30792 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30793 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30794 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30795 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30796 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30797 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30801 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30802 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30803 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30804 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30805 (SINGLE_THREAD_BY_GLOBAL): Define.
30806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30808 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30810 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30812 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30814 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30815 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30819 2017-10-11 Andreas Schwab <schwab@suse.de>
30821 * nis/Makefile (aux): Remove.
30822 * nscd/Makefile (aux): Add nscd_hash.
30823 (nscd-modules): Likewise.
30824 ($(objpfx)nscd): Don't depend on libnsl.
30825 * nscd/nscd_hash.c: New file.
30826 * nscd/nscd_hash.h: Likewise.
30827 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30828 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30829 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30830 instead of <nis/rpcsvc/nis.h>.
30831 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30833 2017-10-11 Florian Weimer <fweimer@redhat.com>
30836 Avoid large NSS buffers with many addresses, aliases.
30837 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30838 using dynarrays and struct alloc_buffer.
30839 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30840 (tst-nss-files-hosts-multi): Link with -ldl.
30841 * nss/tst-nss-files-hosts-multi.c: New file.
30843 2017-10-11 Florian Weimer <fweimer@redhat.com>
30846 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30847 scratch_buffer. Eliminate gotos.
30849 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30851 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30852 libm_alias_ldouble_other.
30853 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30854 undefine and redefine.
30855 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30856 (exp10l): Do not define here.
30857 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30858 (weak_alias): Undefine and redefine.
30859 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30860 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30861 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30862 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30864 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30865 [!__fma] (fma): Define using libm_alias_double.
30866 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30867 [!__fmaf] (fmaf): Define using libm_alias_float.
30868 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30869 (fmal): Define using libm_alias_ldouble.
30871 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30873 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30875 (libm_alias_double_other): Likewise.
30876 (libm_alias_double_r): Use libm_alias_double_other_r.
30877 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30879 (libm_alias_float_other): Likewise.
30880 (libm_alias_float_r): Use libm_alias_float_other_r.
30881 * sysdeps/generic/libm-alias-float128.h
30882 (libm_alias_float128_other_r): New macro.
30883 (libm_alias_float128_other): Likewise.
30884 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30885 * sysdeps/generic/libm-alias-ldouble.h
30886 (libm_alias_ldouble_other_r): New macro.
30887 (libm_alias_ldouble_other): Likewise.
30888 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30889 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30890 (libm_alias_double_other_r): New macro.
30891 (libm_alias_double_other): Likewise.
30892 (libm_alias_double_r): Use libm_alias_double_other_r.
30893 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30894 (libm_alias_ldouble_other_r): New macro.
30895 (libm_alias_ldouble_other): Likewise.
30896 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30897 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30898 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30899 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30900 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30901 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30902 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30903 * math/w_exp2f.c: Use libm_alias_float_other.
30904 * math/w_expf.c: Likewise.
30905 * math/w_log2f.c: Likewise.
30906 * math/w_logf.c: Likewise.
30907 * math/w_powf.c: Likewise.
30908 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30909 [!__exp2f]: Use libm_alias_float_other.
30910 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30911 [!__expf]: Use libm_alias_float_other.
30912 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30913 [!__log2f]: Use libm_alias_float_other.
30914 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30915 [!__logf]: Use libm_alias_float_other.
30916 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30917 [!__powf]: Use libm_alias_float_other.
30919 2017-10-10 Florian Weimer <fweimer@redhat.com>
30921 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30923 (_nss_files_gethostbyname3_r): Call it.
30925 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30927 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30928 error. Remove default definition of declare_mgen_alias.
30929 [!declare_mgen_alias_r]: Likewise.
30930 * sysdeps/generic/math-type-macros-double.h
30931 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30932 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30933 (declare_mgen_alias_r): Likewise.
30934 * sysdeps/generic/math-type-macros-float128.h
30935 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30936 * sysdeps/generic/math-type-macros-ldouble.h
30937 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30938 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30940 (declare_mgen_alias_r_s): Likewise.
30941 (declare_mgen_alias_r): Likewise.
30942 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30943 (lgamma_r): Define using libm_alias_double_r.
30944 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30945 (lgammaf_r): Define using libm_alias_float_r.
30946 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30947 (lgammal_r): Define using libm_alias_ldouble_r.
30948 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30949 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30951 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30953 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30954 extern declaration.
30956 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30958 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30960 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30963 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30964 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30965 * math/Makefile (test-math-cxx11): New test.
30966 * math/test-math-cxx11.cc: New file.
30968 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30970 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30972 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30973 call to allocate the slave pty file descriptor.
30975 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30977 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30978 [!__fma] (fma): Define using libm_alias_double.
30979 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30980 [!__fma] (fma): Define using libm_alias_double.
30982 * sysdeps/ieee754/float128/float128_private.h: Include
30983 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30984 (libm_alias_ldouble_r): Undefine and redefine.
30985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30986 <libm-alias-ldouble.h>.
30987 (asinhl): Define using libm_alias_ldouble.
30988 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30989 <libm-alias-ldouble.h>.
30990 (atanl): Define using libm_alias_ldouble.
30991 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30992 <libm-alias-ldouble.h>.
30993 (cbrtl): Define using libm_alias_ldouble.
30994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30995 <libm-alias-ldouble.h>.
30996 (ceill): Define using libm_alias_ldouble.
30997 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30998 <libm-alias-ldouble.h>.
30999 (copysignl): Define using libm_alias_ldouble.
31000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31001 <libm-alias-ldouble.h>.
31002 (cosl): Define using libm_alias_ldouble.
31003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31004 <libm-alias-ldouble.h>.
31005 (erfl): Define using libm_alias_ldouble.
31007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31008 <libm-alias-ldouble.h>.
31009 (expm1l): Define using libm_alias_ldouble.
31010 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31011 <libm-alias-ldouble.h>.
31012 (fabsl): Define using libm_alias_ldouble.
31013 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31014 <libm-alias-ldouble.h>.
31015 (floorl): Define using libm_alias_ldouble.
31016 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31017 <libm-alias-ldouble.h>.
31018 (fmal): Define using libm_alias_ldouble.
31019 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31020 <libm-alias-ldouble.h>.
31021 (frexpl): Define using libm_alias_ldouble.
31022 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31023 libm_alias_ldouble.
31024 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31025 <libm-alias-ldouble.h>.
31026 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31027 libm_alias_ldouble.
31028 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31029 <libm-alias-ldouble.h>.
31030 (getpayloadl): Define using libm_alias_ldouble.
31031 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31032 <libm-alias-ldouble.h>.
31033 (llrintl): Define using libm_alias_ldouble.
31034 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31035 <libm-alias-ldouble.h>.
31036 (llroundl): Define using libm_alias_ldouble.
31037 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31038 <libm-alias-ldouble.h>.
31039 (logbl): Define using libm_alias_ldouble.
31040 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31041 <libm-alias-ldouble.h>.
31042 (lrintl): Define using libm_alias_ldouble.
31043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31044 <libm-alias-ldouble.h>.
31045 (lroundl): Define using libm_alias_ldouble.
31046 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31047 <libm-alias-ldouble.h>.
31048 (modfl): Define using libm_alias_ldouble.
31049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31050 <libm-alias-ldouble.h>.
31051 (nearbyintl): Define using libm_alias_ldouble.
31052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31053 <libm-alias-ldouble.h>.
31054 (nextafterl): Define using libm_alias_ldouble.
31055 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31056 <libm-alias-ldouble.h>.
31057 (nextupl): Define using libm_alias_ldouble.
31058 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31059 <libm-alias-ldouble.h>.
31060 (remquol): Define using libm_alias_ldouble.
31061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31062 <libm-alias-ldouble.h>.
31063 (rintl): Define using libm_alias_ldouble.
31064 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31065 <libm-alias-ldouble.h>.
31066 (roundevenl): Define using libm_alias_ldouble.
31067 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31068 <libm-alias-ldouble.h>.
31069 (roundl): Define using libm_alias_ldouble.
31070 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31071 using libm_alias_ldouble.
31072 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31073 <libm-alias-ldouble.h>.
31074 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31075 Define using libm_alias_ldouble.
31076 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31077 <libm-alias-ldouble.h>.
31078 (sincosl): Define using libm_alias_ldouble.
31079 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31080 <libm-alias-ldouble.h>.
31081 (sinl): Define using libm_alias_ldouble.
31082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31083 <libm-alias-ldouble.h>.
31084 (tanhl): Define using libm_alias_ldouble.
31085 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31086 <libm-alias-ldouble.h>.
31087 (tanl): Define using libm_alias_ldouble.
31088 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31089 <libm-alias-ldouble.h>.
31090 (totalorderl): Define using libm_alias_ldouble.
31091 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31092 <libm-alias-ldouble.h>.
31093 (totalordermagl): Define using libm_alias_ldouble.
31094 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31095 <libm-alias-ldouble.h>.
31096 (truncl): Define using libm_alias_ldouble.
31097 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31098 libm_alias_ldouble.
31099 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31100 libm_alias_ldouble.
31101 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31102 <libm-alias-ldouble.h>.
31103 (weak_alias): Do not undefine and redefine.
31104 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31105 (copysignl): Define with long_double_symbol only if [IS_IN
31107 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31108 <libm-alias-ldouble.h>.
31109 (weak_alias): Do not undefine and redefine.
31110 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31111 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31112 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31113 <libm-alias-ldouble.h>.
31114 (weak_alias): Do not undefine and redefine.
31115 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31116 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31117 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31118 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31121 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31124 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31127 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31134 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31142 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31145 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31146 (tcache_thread_freeres): Set tcache_shutting_down before
31147 freeing the tcache.
31148 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31149 * malloc/tst-malloc-tcache-leak.c: New file.
31151 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31153 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31154 back to powerpc32 file.
31155 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31156 (memrchr): Add __memrchr_power8 to ifunc list.
31157 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31158 extra bytes for unaligned inputs.
31160 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31163 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31166 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31168 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31170 * sysdeps/arm/libm-test-ulps: Update.
31172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31173 <libm-alias-ldouble.h>.
31174 (asinhl): Define using libm_alias_ldouble.
31175 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31176 <libm-alias-ldouble.h>.
31177 (cbrtl): Define using libm_alias_ldouble.
31178 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31179 <libm-alias-ldouble.h>.
31180 (copysignl): Define using libm_alias_ldouble.
31181 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31182 <libm-alias-ldouble.h>.
31183 (cosl): Define using libm_alias_ldouble.
31184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31185 <libm-alias-ldouble.h>.
31186 (erfl): Define using libm_alias_ldouble.
31188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31189 <libm-alias-ldouble.h>.
31190 (fmal): Define using libm_alias_ldouble.
31191 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31192 <libm-alias-ldouble.h>.
31193 (frexpl): Define using libm_alias_ldouble.
31194 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31195 libm_alias_ldouble.
31196 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31197 <libm-alias-ldouble.h>.
31198 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31199 libm_alias_ldouble.
31200 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31201 <libm-alias-ldouble.h>.
31202 (getpayloadl): Define using libm_alias_ldouble.
31203 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31204 <libm-alias-ldouble.h>.
31205 (llrintl): Define using libm_alias_ldouble.
31206 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31207 <libm-alias-ldouble.h>.
31208 (llroundl): Define using libm_alias_ldouble.
31209 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31210 <libm-alias-ldouble.h>.
31211 (lrintl): Define using libm_alias_ldouble.
31212 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31213 <libm-alias-ldouble.h>.
31214 (lroundl): Define using libm_alias_ldouble.
31215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31216 <libm-alias-ldouble.h>.
31217 (modfl): Define using libm_alias_ldouble.
31218 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31219 <libm-alias-ldouble.h>.
31220 (nextupl): Define using libm_alias_ldouble.
31221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31222 <libm-alias-ldouble.h>.
31223 (remquol): Define using libm_alias_ldouble.
31224 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31225 <libm-alias-ldouble.h>.
31226 (roundevenl): Define using libm_alias_ldouble.
31227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31228 <libm-alias-ldouble.h>.
31229 (roundl): Define using libm_alias_ldouble.
31230 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31231 using libm_alias_ldouble.
31232 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31233 <libm-alias-ldouble.h>.
31234 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31235 <libm-alias-ldouble.h>.
31236 (setpayloadsigl): Define using libm_alias_ldouble.
31237 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31238 <libm-alias-ldouble.h>.
31239 (sincosl): Define using libm_alias_ldouble.
31240 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31241 <libm-alias-ldouble.h>.
31242 (sinl): Define using libm_alias_ldouble.
31243 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31244 <libm-alias-ldouble.h>.
31245 (tanhl): Define using libm_alias_ldouble.
31246 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31247 <libm-alias-ldouble.h>.
31248 (tanl): Define using libm_alias_ldouble.
31249 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31250 <libm-alias-ldouble.h>.
31251 (totalorderl): Define using libm_alias_ldouble.
31252 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31253 <libm-alias-ldouble.h>.
31254 (totalordermagl): Define using libm_alias_ldouble.
31255 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31256 libm_alias_ldouble.
31257 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31258 libm_alias_ldouble.
31260 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31262 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31264 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31265 (__libc_ifunc_impl_list): Likewise.
31266 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31267 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31269 * benchtests/bench-memmove-walk.c: New file.
31270 * benchtests/Makefile (string-benchset): Add it.
31272 * benchtests/bench-memset-walk.c: New file.
31273 * benchtests/Makefile (string-benchset): Add it.
31275 * benchtests/bench-memcpy-walk.c: New file.
31276 * benchtests/Makefile (string-benchset): Add it.
31278 2017-10-05 Florian Weimer <fweimer@redhat.com>
31280 nscd: Eliminate compilation time dependency in the build output.
31281 * nscd/nscd_stat.c (STATDATA_VERSION)
31282 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31283 (STATDATA_VERSION_FULL): New macro definitions.
31284 (compilation): Remove.
31285 (struct statdata): Adjust version member.
31286 (send_stats): Set version from STATDATA_VERSION_FULL.
31287 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31289 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31291 * configure.ac (--enable-add-ons): Remove option.
31292 (machine): Do not mention add-ons in comment.
31293 (LIBC_PRECONFIGURE): Likewise.
31294 (add_ons): Remove variable and sanity checks and logic to locate
31296 (add_ons_automatic): Remove variable.
31297 (configured_add_ons): Likewise.
31298 (add_ons_sfx): Likewise.
31299 (add_ons_pfx): Likewise.
31300 (add_on_subdirs): Likewise.
31301 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31302 consideration of add-ons in Implies handling.
31303 (sysdeps_add_ons): Likewise.
31304 * configure: Regenerated.
31305 * libidn/configure.ac: Remove.
31306 * libidn/configure: Likewise.
31307 * sysdeps/unix/inet/configure.ac: New file.
31308 * sysdeps/unix/inet/configure: New generated file.
31309 * sysdeps/unix/inet/Subdirs: Add libidn.
31310 * Makeconfig (sysdeps-srcdirs): Remove variable.
31311 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31312 ($(common-objpfx)config.status): Do not depend on add-on files.
31313 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31315 (all-subdirs): Do not include $(add-on-subdirs).
31316 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31317 * config.make.in (add-ons): Remove variable.
31318 (add-on-subdirs): Likewise.
31319 (sysdeps-add-ons): Likewise.
31320 * manual/Makefile (add-chapters): Remove.
31321 ($(objpfx)texis): Do not depend on $(add-chapters).
31322 (nonexamples): Do not handle $(add-chapters).
31323 (examples): Do not handle $(add-ons).
31324 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31326 * manual/install.texi (Installation): Do not mention add-ons.
31327 (--enable-add-ons): Do not document configure option.
31328 * INSTALL: Regenerated.
31329 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31330 * manual/maint.texi (Hierarchy Conventions): Do not mention
31332 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31334 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31336 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31337 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31339 2017-10-05 Andreas Schwab <schwab@suse.de>
31342 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31343 (_IO_flush_all_lockp): Always lock list_all_lock.
31344 (_IO_flush_all_linebuffered): Likewise.
31345 (_IO_unbuffer_all): Likewise.
31347 2017-10-05 Florian Weimer <fweimer@redhat.com>
31350 Do not flush stdio streams on abort.
31351 * stdlib/abort.c (fflush): Remove macro definition.
31352 (abort): Remove stages related to stdio flushing.
31354 2017-10-05 Florian Weimer <fweimer@redhat.com>
31356 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31358 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31360 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31362 2017-10-05 Florian Weimer <fweimer@redhat.com>
31364 * support/support_format_hostent.c (support_format_hostent): Add
31365 more error information for NETDB_INTERNAL.
31367 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31369 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31370 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31371 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31372 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31373 AC_DEFINE if multi-arch is enabled.
31374 * sysdeps/i386/configure: Regenerated.
31376 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31378 * Makeconfig (+link-static-before-libc): Use
31379 $(DEFAULT-LDFLAGS-$(@F)).
31380 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31381 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31382 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31384 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31386 * elf/Makefile (tests): Add tst-main1.
31387 (modules-names): Add tst-main1mod.
31388 ($(objpfx)tst-main1): New.
31389 (CRT-tst-main1): Likewise.
31390 (LDFLAGS-tst-main1): Likewise.
31391 (LDLIBS-tst-main1): Likewise.
31392 (tst-main1mod.so-no-z-defs): Likewise.
31393 * elf/tst-main1.c: New file.
31394 * elf/tst-main1mod.c: Likewise.
31396 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31398 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31400 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31402 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31403 (fma): Define using libm_alias_double.
31404 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31405 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31407 (fmal): Do not define as compat symbol here.
31408 * sysdeps/alpha/fpu/s_fma.c: New file.
31410 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31412 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31414 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31417 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31419 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31421 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31422 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31423 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31424 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31426 Include <math_ldbl_opt.h>
31427 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31429 (compat_symbol): Undefine and redefine.
31430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31432 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31433 (compat_symbol): Undefine and redefine.
31434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31435 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31436 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31437 GLIBC_2_1 for libm.
31438 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31439 GLIBC_2.0 copysignl symbol.
31440 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31441 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31443 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31445 2017-10-04 Florian Weimer <fweimer@redhat.com>
31447 * scripts/check-local-headers.sh: Ignore nspr4 header file
31448 directory in addition to nspr.
31450 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31453 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31454 * configure: Regenerate.
31455 * crypt/Makefile (nss-cpp-flags): New variable.
31456 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31457 (CPPFLAGS-md5-crypt.c): Use it.
31458 * scripts/check-local-headers.sh: Ignore nspr header file
31461 2017-10-04 Andreas Schwab <schwab@suse.de>
31463 * nis/Makefile (services): Remove compat.
31464 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31465 ($(objpfx)libnss_compat.so): Remove rule.
31466 * nis/Versions (libnss_compat): Remove.
31467 * nss/Makefile (services): Add compat.
31468 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31469 * nss/Versions (libnss_compat): Define.
31470 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31471 Don't include <rpc/types.h>. Replace bool_t by bool.
31472 * nss/nss_compat/compat-initgroups.c: Likewise.
31473 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31474 instead of <rpcsrv/ypclnt.h>.
31475 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31476 yp_get_default_domain.
31477 * nss/nss_compat/compat-pwd.c: Likewise.
31478 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31479 yp_get_default_domain.
31480 * nss/nss_compat/nisdomain.c: New file.
31481 * nss/nss_compat/nisdomain.h: Likewise.
31483 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31486 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31489 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31495 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31497 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31498 "movl main@GOTOFF(%ebx), %eax".
31500 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31502 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31503 allow undefined _DYNAMIC in PIE libc.a.
31504 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31507 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31509 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31512 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31514 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31517 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31519 * math/test-math-iscanonical.cc (error): Replace bool with int.
31521 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31523 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31524 (modf): Define using libm_alias_double, only if [!__modf].
31525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31526 <libm-alias-double.h>.
31527 (modf): Define using libm_alias_double, only if [!__modf].
31528 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31529 compat symbol here.
31530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31531 (weak_alias): Do not undefine and redefine.
31532 (strong_alias): Likewise.
31533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31534 (weak_alias): Likewise.
31535 (strong_alias): Likewise.
31537 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31538 (logb): Define using libm_alias_double, only if [!__logb].
31539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31540 <libm-alias-double.h>.
31541 (logb): Define using libm_alias_double, only if [!__logb].
31542 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31544 (weak_alias): Do not undefine and redefine.
31545 (strong_alias): Likewise.
31546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31547 (weak_alias): Likewise.
31548 (strong_alias): Likewise.
31550 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31552 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31553 Check SHARED instead PIC.
31555 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31557 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31558 [!__fmaf] (fmaf): Define using libm_alias_float.
31560 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31561 (frexp): Define using libm_alias_double.
31562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31563 <libm-alias-double.h>.
31564 (frexp): Define using libm_alias_double.
31565 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31566 compat symbol here.
31568 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31571 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31572 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31573 (CFLAGS-test-math-iscanonical.cc): New variable.
31574 * math/test-math-iscanonical.cc: New file.
31575 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31576 Provide a C++ implementation based on function overloading,
31577 rather than using __MATH_TG, which uses C-only builtins.
31578 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31580 * sysdeps/powerpc/powerpc64le/Makefile
31581 (CFLAGS-test-math-iscanonical.cc): New variable.
31583 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31585 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31586 (ceil): Define using libm_alias_double.
31587 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31588 (floor): Define using libm_alias_double.
31589 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31590 <libm-alias-double.h>.
31591 (llround): Define using libm_alias_double.
31592 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31593 <libm-alias-double.h>.
31594 (lround): Define using libm_alias_double.
31595 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31596 <libm-alias-double.h>.
31597 (nearbyint): Define using libm_alias_double.
31598 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31599 <libm-alias-double.h>.
31600 (remquo): Define using libm_alias_double.
31601 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31602 (rint): Define using libm_alias_double.
31603 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31604 (round): Define using libm_alias_double.
31605 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31606 (trunc): Define using libm_alias_double.
31607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31608 <libm-alias-double.h>.
31609 (ceil): Define using libm_alias_double.
31610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31611 <libm-alias-double.h>.
31612 (floor): Define using libm_alias_double.
31613 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31614 <libm-alias-double.h>.
31615 (llround): Define using libm_alias_double.
31616 [_LP64] (lround): Likewise.
31617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31618 <libm-alias-double.h>.
31619 [!_LP64] (lround): Define using libm_alias_double.
31620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31621 <libm-alias-double.h>.
31622 (nearbyint): Define using libm_alias_double.
31623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31624 <libm-alias-double.h>.
31625 (remquo): Define using libm_alias_double.
31626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31627 <libm-alias-double.h>.
31628 (rint): Define using libm_alias_double.
31629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31630 <libm-alias-double.h>.
31631 (round): Define using libm_alias_double.
31632 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31633 <libm-alias-double.h>.
31634 (trunc): Define using libm_alias_double.
31635 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31636 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31637 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31638 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31639 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31640 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31641 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31642 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31643 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31645 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31647 * math/w_remainder.c: New file.
31648 * math/w_remainderf.c: New file.
31649 * math/w_remainderl.c: New file.
31651 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31653 * elf/rtld.c (BOOTSTRAP_MAP): New.
31654 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31655 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31657 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31659 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31662 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31664 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31665 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31666 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31667 rtld_hidden_data_ver): Define to empty.
31668 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31669 __assert_perror_fail): Likewise.
31670 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31671 (__rewinddir): Likewise.
31672 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31673 (__profile_frequency): Likewise.
31674 * include/setjmp.h (__sigsetjmp): Likewise.
31675 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31676 __libc_sigaction): Likewise.
31677 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31678 not set hidden attribute.
31679 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31680 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31681 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31682 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31683 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31684 __fxstatat64): Likewise.
31685 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31686 (__uname): Likewise.
31687 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31688 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31689 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31690 (NO_RTLD_HIDDEN): Set.
31691 * sysdeps/mach/hurd/configure: Refresh.
31692 * config.h.in: Refresh.
31694 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31696 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31697 (atan): Define using libm_alias_double.
31698 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31699 (tan): Define using libm_alias_double.
31700 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31701 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31703 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31704 define as weak alias of __atan. Do not define any aliases if
31706 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31707 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31709 as weak alias of __tan. Do not define any aliases if [__tan].
31710 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31711 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31714 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31715 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31716 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31717 and define as weak alias of __atan.
31718 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31720 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31721 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31722 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31723 define as weak alias of __tan.
31725 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31727 * math/w_lgamma.c: New file.
31728 * math/w_lgammaf.c: New file.
31729 * math/w_lgammal.c: New file.
31731 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31733 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31734 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31735 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31736 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31737 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31738 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31739 * sysdeps/i386/fpu/w_log2f.c: New file.
31740 * sysdeps/i386/fpu/w_logf.c: New file.
31741 * sysdeps/i386/fpu/w_powf.c: New file.
31742 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31743 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31744 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31746 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31747 H.J. Lu <hongjiu.lu@intel.com>
31749 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31750 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31751 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31752 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31755 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31756 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31757 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31758 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31759 * sysdeps/i386/fpu/w_exp2f.c: New file.
31760 * sysdeps/i386/fpu/w_expf.c: New file.
31761 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31762 * sysdeps/x86_64/fpu/w_expf.c: New file.
31764 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31766 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31769 * math/w_log2f.c: New file.
31770 * math/w_logf.c: New file.
31771 * math/w_powf.c: New file.
31772 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31773 * math/w_logf_compat.c (__logf_compat): Likewise.
31774 * math/w_powf_compat.c (__powf_compat): Likewise.
31775 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31776 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31777 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31778 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31780 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31781 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31782 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31783 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31784 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31785 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31786 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31787 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31788 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31800 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31807 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31811 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31813 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31814 (sysdep_routines): Add memrchr_power8.
31815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31816 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31817 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31819 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31820 (memrchr): Add __memrchr_power8 to ifunc list.
31821 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31826 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31827 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31829 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31830 (__posix_fallocate64_l64): Likewise.
31832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31835 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31836 (__sched_setaffinity_new): Add libc_hidden_proto and
31839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31842 * include/glob.h (__glob64): Add libc_hidden_proto.
31843 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31846 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31849 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31855 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31860 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31866 * csu/version.c (__libc_print_version): Add attribute_hidden.
31868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31871 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31876 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31881 * nscd/nscd_helper.c (__nis_hash): New prototype.
31883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31886 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31887 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31889 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31890 * termios/tcgetattr.c (__tcgetattr): Likewise.
31892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31895 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31896 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31897 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31898 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31899 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31904 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31906 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31909 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31910 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31915 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31920 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31921 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31926 * include/ifreq.h: New file.
31927 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31928 (__ifreq): Likewise.
31929 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31930 (__ifreq): Likewise.
31932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31935 * include/idna.h: New file.
31936 * inet/getnameinfo.c: Include <idna.h> instead of
31938 (__idna_to_unicode_lzlz): Removed.
31939 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31941 (__idna_to_ascii_lz): Removed.
31942 (__idna_to_unicode_lzlz): Likewise.
31944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31947 * include/plural-exp.h: New file.
31948 * intl/plural-exp.c: Include <plural-exp.h> instead of
31951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31954 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31955 "getsourcefilter.h".
31956 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31957 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31958 "getsourcefilter.h".
31959 (__get_sol): Removed.
31961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31964 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31966 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31977 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31982 * include/search.h (__tdestroy): Add libc_hidden_proto.
31983 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31993 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31999 * include/signal.h (__kill): Add libc_hidden_proto.
32000 (__sigblock): Likewise.
32001 (__sigprocmask): Likewise.
32002 (__sigaltstack): Likewise.
32003 * signal/kill.c (__kill): Add libc_hidden_def.
32004 * signal/sigblock.c (__sigblock): Likewise.
32005 * signal/sigprocmask.c (__sigprocmask): Likewise.
32006 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32007 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32008 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32009 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32010 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32012 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32014 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32015 (__sigprocmask): Likewise.
32016 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32018 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32019 (__sigprocmask): Likewise.
32020 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32026 * include/string.h (__strsep): Add libc_hidden_proto.
32027 * string/strsep.c (__strsep): Add libc_hidden_def.
32029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32032 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32034 (__spawni): Likewise.
32036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32039 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32040 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32046 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32051 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32052 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32053 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32054 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32055 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32057 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32058 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32063 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32064 (__dcigettext): Likewise.
32066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32069 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32071 (__get_nprocs): Likewise.
32072 (__get_phys_pages): Likewise.
32073 (__get_avphys_pages): Likewise.
32074 (__get_child_max): Add attribute_hidden.
32075 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32076 (__get_nprocs): Likewise.
32077 (__get_phys_pages): Likewise.
32078 (__get_avphys_pages): Likewise.
32079 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32081 (__get_nprocs): Likewise.
32082 (__get_phys_pages): Likewise.
32083 (__get_avphys_pages): Likewise.
32084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32086 (__get_nprocs_conf): Likewise.
32087 (__get_phys_pages): Likewise.
32088 (__get_avphys_pages): Likewise.
32090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32093 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32095 (__netlink_close): Likewise.
32096 (__netlink_free_handle): Likewise.
32097 (__netlink_request): Likewise.
32099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32102 * include/rpc/rpc.h (__rpc_thread_variables): Add
32104 (__rpc_thread_svc_cleanup): Likewise.
32105 (__rpc_thread_clnt_cleanup): Likewise.
32106 (__rpc_thread_key_cleanup): Likewise.
32108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32111 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32112 (__writev): Likewise.
32113 * misc/readv.c (__readv): Add libc_hidden_def.
32114 * misc/writev.c (__writev): Likewise.
32115 * sysdeps/posix/readv.c (__readv): Likewise.
32116 * sysdeps/posix/writev.c (__writev): Likewise.
32117 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32118 (__readv): Likewise.
32119 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32120 (__writev): Likewise.
32122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32125 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32126 (__regcomp): Add libc_hidden_proto.
32127 (__regexec): Likewise.
32128 (__regfree): Likewise.
32129 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32130 (__regfree): Likewise.
32131 * posix/regexec.c (__regexec): Likewise.
32133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32136 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32137 (__getutent): Likewise.
32138 (__getutid): Likewise.
32139 (__getutline): Likewise.
32140 (__pututline): Likewise.
32141 (__getutent_r): Likewise.
32142 (__getutid_r): Likewise.
32143 (__getutline_r): Likewise.
32144 (__utmpname): Add attribute_hidden.
32145 (__setutent): Likewise.
32146 (__endutent): Likewise.
32147 * login/getutent.c (__getutent): Add libc_hidden_def.
32148 * login/getutent_r.c (__getutent_r): Likewise.
32149 (__pututline): Likewise.
32150 * login/getutid.c (__getutid): Likewise.
32151 * login/getutid_r.c (__getutid_r): Likewise.
32152 * login/getutline.c (__getutline): Likewise.
32153 * login/getutline_r.c (__getutline_r): Likewise.
32154 * login/updwtmp.c (__updwtmp): Likewise.
32156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32159 * include/dirent.h (__opendir): Always add attribute_hidden.
32160 (__fdopendir): Likewise.
32161 (__closedir): Likewise.
32162 (__readdir): Likewise.
32163 (__readdir64): Add libc_hidden_proto.
32164 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32165 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32166 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32167 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32173 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32174 * include/netdb.h (__gethostbyaddr_r): Likewise.
32175 (__gethostbyname_r): Likewise.
32176 (__gethostbyname2_r): Likewise.
32177 (__getnetbyaddr_r): Likewise.
32178 (__getnetbyname_r): Likewise.
32179 (__getservbyname_r): Likewise.
32180 (__getservbyport_r): Likewise.
32181 (__getprotobyname_r): Likewise.
32182 (__getprotobynumber_r): Likewise.
32183 (__getnetgrent_r): Likewise.
32184 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32185 (__getrpcbynumber_r): Likewise.
32186 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32191 * include/stdio.h (__fcloseall): Add attribute_hidden.
32192 (__getline): Likewise.
32193 (__path_search): Likewise.
32194 (__gen_tempname): Likewise.
32195 (__libc_message): Likewise.
32196 (__flockfile): Likewise.
32197 (__funlockfile): Likewise.
32198 (__fxprintf): Likewise.
32199 (__fxprintf_nocancel): Likewise.
32201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32204 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32205 (__sgetsgent_r): Likewise.
32207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32210 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32211 (__statfs64): Likewise.
32212 (__fstatfs64): Likewise.
32213 * include/sys/statvfs.h (__statvfs64): Likewise.
32214 (__fstatvfs64): Likewise.
32215 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32216 (__statfs_filesize_max): Likewise.
32217 (__statfs_symlinks): Likewise.
32218 (__statfs_chown_restricted): Likewise.
32220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32223 * include/time.h (__tzstring): Add attribute_hidden.
32224 (__tzfile_read): Likewise.
32225 (__tzfile_compute): Likewise.
32226 (__tzfile_default): Likewise.
32227 (__tzset_parse_tz): Likewise.
32228 (__offtime): Likewise.
32229 (__asctime_r): Likewise.
32230 (__tzset): Likewise.
32231 (__tz_convert): Likewise.
32232 (__getdate_r): Likewise.
32233 (__getclktck): Likewise.
32235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32238 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32239 (__nscd_unmap): Likewise.
32240 (__nscd_cache_search): Likewise.
32241 (__nscd_get_nl_timestamp): Likewise.
32242 (__nscd_getpwnam_r): Likewise.
32243 (__nscd_getpwuid_r): Likewise.
32244 (__nscd_getgrnam_r): Likewise.
32245 (__nscd_getgrgid_r): Likewise.
32246 (__nscd_gethostbyname_r): Likewise.
32247 (__nscd_gethostbyname2_r): Likewise.
32248 (__nscd_gethostbyaddr_r): Likewise.
32249 (__nscd_getai): Likewise.
32250 (__nscd_getgrouplist): Likewise.
32251 (__nscd_getservbyname_r): Likewise.
32252 (__nscd_getservbyport_r): Likewise.
32253 (__nscd_innetgr): Likewise.
32254 (__nscd_setnetgrent): Likewise.
32256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32259 * include/gmp.h: Declare internal functions only if _ISOMAC is
32261 (__mpn_extract_double): Add attribute_hidden.
32262 (__mpn_extract_long_double): Likewise.
32263 (__mpn_extract_float128): Likewise.
32264 (__mpn_construct_float): Likewise.
32265 (__mpn_construct_double): Likewise.
32266 (__mpn_construct_long_double): Likewise.
32267 (__mpn_construct_float128): Likewise.
32268 (mpn_add_1): Likewise.
32269 (mpn_addmul_1): Likewise.
32270 (mpn_add_n): Likewise.
32271 (mpn_cmp): Likewise.
32272 (mpn_divrem): Likewise.
32273 (mpn_lshift): Likewise.
32274 (mpn_mul): Likewise.
32275 (mpn_mul_1): Likewise.
32276 (mpn_rshift): Likewise.
32277 (mpn_sub_1): Likewise.
32278 (mpn_submul_1): Likewise.
32279 (mpn_sub_n): Likewise.
32281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32284 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32285 (__wcscat): Likewise.
32286 (__btowc): Likewise.
32287 (__wcrtomb): Likewise.
32288 (__mbsrtowcs): Likewise.
32289 (__wcsrtombs): Likewise.
32290 (__mbsnrtowcs): Likewise.
32291 (__wcsnrtombs): Likewise.
32292 (__wcsncpy): Likewise.
32293 (__wcpncpy): Likewise.
32294 (__wmemcpy): Likewise.
32295 (__wmempcpy): Likewise.
32296 (__wmemmove): Likewise.
32297 (__wcschrnul): Likewise.
32298 (__vfwscanf): Likewise.
32299 (__vswprintf): Likewise.
32300 (__fwprintf): Likewise.
32301 (__vfwprintf): Likewise.
32303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32306 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32307 (__getgrgid_r): Likewise.
32308 (__getgrnam_r): Likewise.
32309 * include/pwd.h (__getpwuid_r): Likewise.
32310 (__getpwnam_r): Likewise.
32311 (__fgetpwent_r): Likewise.
32312 * include/shadow.h (__getspnam_r): Likewise.
32313 (__sgetspent_r): Likewise.
32314 (__fgetspent_r): Likewise.
32316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32319 * include/unistd.h (__access): Add attribute_hidden.
32320 (__lseek64): Likewise.
32321 (__libc_pread64): Likewise.
32322 (__pipe2): Likewise.
32323 (__sleep): Likewise.
32324 (__chdir): Likewise.
32325 (__fchdir): Likewise.
32326 (__getcwd): Likewise.
32327 (__rmdir): Likewise.
32328 (__execvpe): Likewise.
32329 (__execve): Likewise.
32330 (__setsid): Likewise.
32331 (__getuid): Likewise.
32332 (__geteuid): Likewise.
32333 (__getgid): Likewise.
32334 (__getegid): Likewise.
32335 (__getgroups): Likewise.
32336 (__group_member): Likewise.
32337 (__ttyname_r): Likewise.
32338 (__isatty): Likewise.
32339 (__readlink): Likewise.
32340 (__unlink): Likewise.
32341 (__gethostname): Likewise.
32342 (__profil): Likewise.
32343 (__getdtablesize): Likewise.
32345 (__ftruncate): Likewise.
32346 (__ftruncate64): Likewise.
32348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32351 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32352 * argp/argp-fs-xinl.c: Likewise.
32353 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32354 * argp/argp-parse.c: Include <argp.h>.
32355 * argp/argp-xinl.c: Likewise.
32356 * include/argp-fmtstream.h: New file.
32357 * include/argp.h (__argp_error): Add attribute_hidden.
32358 (__argp_failure): Likewise.
32359 (__argp_input): Likewise.
32360 (__argp_state_help): Likewise.
32362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32365 * include/wchar.h (____wcstof_l_internal): New prototype.
32366 (____wcstod_l_internal): Likewise.
32367 (____wcstold_l_internal): Likewise.
32368 (____wcstol_l_internal): Likewise.
32369 (____wcstoul_l_internal): Likewise.
32370 (____wcstoll_l_internal): Likewise.
32371 (____wcstoull_l_internal): Likewise.
32372 (____wcstof128_l_internal): Likewise.
32373 * sysdeps/ieee754/float128/wcstof128.c
32374 (____wcstof128_l_internal): Removed.
32375 * sysdeps/ieee754/float128/wcstof128_l.c
32376 (____wcstof128_l_internal): Likewise.
32377 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32378 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32379 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32380 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32381 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32382 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32383 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32384 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32385 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32386 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32392 instead of <sys/statvfs.h>.
32393 (__internal_statvfs): Removed.
32394 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32395 instead of <sys/statvfs.h>.
32396 (__internal_statvfs64): Removed.
32397 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32398 "internal_statvfs.h" instead of <sys/statvfs.h>.
32399 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32400 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32401 instead of <sys/statvfs.h>.
32402 (__internal_statvfs): Removed.
32403 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32404 instead of <sys/statvfs.h>.
32405 (__internal_statvfs64): Removed.
32407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32410 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32411 (__gconv_close): Likewise.
32412 (__gconv): Likewise.
32413 (__gconv_find_transform): Likewise.
32414 (__gconv_lookup_cache): Likewise.
32415 (__gconv_compare_alias_cache): Likewise.
32416 (__gconv_load_cache): Likewise.
32417 (__gconv_get_path): Likewise.
32418 (__gconv_close_transform): Likewise.
32419 (__gconv_release_cache): Likewise.
32420 (__gconv_find_shlib): Likewise.
32421 (__gconv_release_shlib): Likewise.
32422 (__gconv_get_builtin_trans): Likewise.
32423 (__gconv_compare_alias): Likewise.
32424 * include/dlfcn.h (_dlerror_run): Likewise.
32425 * include/stdio.h (__fortify_fail_abort): Likewise.
32426 * include/time.h (__tz_compute): Likewise.
32427 (__strptime_internal): Likewise.
32428 * intl/gettextP.h (_nl_find_domain): Likewise.
32429 (_nl_load_domain): Likewise.
32430 (_nl_find_msg): Likewise.
32431 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32432 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32433 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32434 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32435 (__gai_find_request): Likewise.
32436 (__gai_remove_request): Likewise.
32437 (__gai_notify): Likewise.
32438 (__gai_notify_only): Likewise.
32439 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32440 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32441 (_dl_non_dynamic_init): Likewise.
32442 (_dl_aux_init): Likewise.
32443 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32444 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32446 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32447 (__wcsmbs_clone_conv): Likewise.
32448 (__wcsmbs_named_conv): Likewise.
32450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32453 * include/stdlib.h (__random): Add attribute_hidden.
32454 (__random_r): Likewise.
32455 (__srandom_r): Likewise.
32456 (__initstate_r): Likewise.
32457 (__setstate_r): Likewise.
32458 (__erand48_r): Likewise.
32459 (__nrand48_r): Likewise.
32460 (__jrand48_r): Likewise.
32461 (__srand48_r): Likewise.
32462 (__seed48_r): Likewise.
32463 (__lcong48_r): Likewise.
32464 (__drand48_iterate): Likewise.
32465 (__setenv): Likewise.
32466 (__unsetenv): Likewise.
32467 (__clearenv): Likewise.
32468 (__ptsname_r): Likewise.
32469 (__posix_openpt): Likewise.
32470 (__add_to_environ): Likewise.
32471 (__realpath): Add libc_hidden_proto.
32472 (__ecvt_r): Likewise.
32473 (__fcvt_r): Likewise.
32474 (__qecvt_r): Likewise.
32475 (__qfcvt_r): Likewise.
32476 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32477 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32482 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32483 * include/time.h (__mktime_internal): Likewise.
32484 * libio/iolibio.h (__fopen_internal): Likewise.
32486 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32488 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32490 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32491 Correct offset used to restore PIC register.
32493 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32496 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32497 code to load address of __getcontext_ret when generating PIC code.
32499 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32501 * elf/Makefile (tests-static-internal): Add
32502 tst-tls1-static-non-pie.
32503 (LDFLAGS-tst-tls1-static-non-pie): New.
32504 * elf/tst-tls1-static-non-pie.c: New file.
32506 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32508 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32509 (asinh): Define using libm_alias_double.
32510 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32511 (cbrt): Define using libm_alias_double.
32512 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32513 <libm-alias-double.h>.
32514 (copysign): Define using libm_alias_double.
32515 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32516 (erf): Define using libm_alias_double.
32518 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32519 (expm1): Define using libm_alias_double.
32520 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32521 (fabs): Define using libm_alias_double.
32522 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32524 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32525 <libm-alias-double.h>.
32526 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32528 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32529 <libm-alias-double.h>.
32530 (getpayload): Define using libm_alias_double.
32531 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32532 <libm-alias-double.h>.
32533 (llrint): Define using libm_alias_double.
32534 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32535 (lrint): Define using libm_alias_double.
32536 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32537 <libm-alias-double.h>.
32538 (nextup): Define using libm_alias_double.
32539 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32540 <libm-alias-double.h>.
32541 (roundeven): Define using libm_alias_double.
32542 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32544 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32545 <libm-alias-double.h>.
32546 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32547 using libm_alias_double.
32548 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32549 (cos): Define using libm_alias_double.
32551 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32552 <libm-alias-double.h>.
32553 (sincos): Define using libm_alias_double.
32554 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32555 (tanh): Define using libm_alias_double.
32556 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32557 <libm-alias-double.h>.
32558 (totalorder): Define using libm_alias_double.
32559 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32560 <libm-alias-double.h>.
32561 (totalordermag): Define using libm_alias_double.
32562 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32564 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32566 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32567 <libm-alias-double.h>.
32568 (getpayload): Define using libm_alias_double.
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32570 <libm-alias-double.h>.
32571 (roundeven): Define using libm_alias_double.
32572 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32573 <libm-alias-double.h>.
32574 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32575 <libm-alias-double.h>.
32576 (totalorder): Define using libm_alias_double.
32577 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32578 <libm-alias-double.h>.
32579 (totalordermag): Define using libm_alias_double.
32580 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32581 libc compat symbol here.
32582 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32583 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32584 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32585 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32586 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32587 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32588 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32589 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32590 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32591 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32593 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32595 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32596 _dl_relocate_static_pie instead of _dl_start to compute load
32597 address in static PIE. Return 0 if _DYNAMIC is undefined for
32600 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32602 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32603 _DYNAMIC is undefined for static executable.
32605 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32609 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32613 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32616 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32617 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32618 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32619 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32620 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32621 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32622 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32624 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32625 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32626 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32627 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32628 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32631 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32633 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32635 * math/bits/cmathcalls.h (cimag): Remove inline.
32636 (creal): Remove inline.
32637 (conj): Remove inline.
32639 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32641 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32642 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32643 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32644 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32645 (issignalingf_inline): Likewise.
32646 (POWF_LOG2_TABLE_BITS): Likewise.
32647 (POWF_LOG2_POLY_ORDER): Likewise.
32648 (POWF_SCALE_BITS): Likewise.
32649 (POWF_SCALE): Likewise.
32650 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32651 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32652 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32654 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32656 * math/Makefile (type-float-routines): Add e_log2f_data.
32657 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32658 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32659 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32660 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32661 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32662 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32663 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32665 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32667 * math/Makefile (type-float-routines): Add e_logf_data.
32668 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32669 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32670 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32671 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32672 * sysdeps/i386/fpu/e_logf_data.c: New file.
32673 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32674 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32676 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32678 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32679 undefined _DYNAMIC in PIE libc.a.
32680 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32683 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32685 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32686 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32687 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32688 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32689 (__signbit): Remove.
32690 (__signbitl): Remove.
32691 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32692 (__signbit): Remove.
32693 (__signbitl): Remove.
32694 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32695 (__signbit): Remove.
32696 (__signbitl): Remove.
32697 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32698 (__signbit): Remove.
32699 (__signbitl): Remove.
32700 * sysdeps/tile/bits/mathinline.h: Delete file.
32701 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32702 (__signbit): Remove.
32703 (__signbitl): Remove.
32705 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32707 * math/math.h: Improve handling of C99 isgreater macros.
32708 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32709 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32710 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32711 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32712 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32714 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32716 * sysdeps/aarch64/libm-test-ulps: Update.
32718 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32721 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32722 math_opt_barrier on argument when doing arithmetic on it.
32723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32724 Likewise. Use math_force_eval not math_opt_barrier after
32726 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32727 math_opt_barrier on argument when doing arithmetic on it.
32728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32731 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32733 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32735 (__freeifaddrs): Likewise.
32737 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32739 * include/dirent.h (__dirfd): New declaration.
32740 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32742 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32743 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32744 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32745 * include/unistd.h (__revoke): New declaration.
32746 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32748 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32749 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32751 * include/dirent.h (__seekdir): New declaration.
32752 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32753 redefine as weak alias.
32754 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32756 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32757 and use libc_hidden_def on them.
32758 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32760 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32761 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32762 instead of getifaddrs and freeifaddrs.
32764 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32767 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32768 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32769 (__dso_handle): Remove declaration.
32770 * dlfcn/tstatexit.c (__dso_handle): Removed.
32771 (main): Don't check __dso_handle.
32772 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32773 (main): Don't check __dso_handle.
32774 * include/dso_handle.h: New file.
32775 * malloc/mtrace.c: Include <dso_handle.h>.
32776 (mtrace): Pass __dso_handle directly.
32777 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32778 (__dso_handle): Remove declaration.
32779 (__pthread_atfork): Pass __dso_handle directly.
32780 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32781 (__dso_handle): Removed.
32782 * posix/wordexp-test.c: Include <dso_handle.h>.
32783 (__dso_handle): Remove declaration.
32784 (__app_register_atfork): Pass __dso_handle directly.
32785 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32786 (__dso_handle): Remove declaration.
32787 (at_quick_exit): Pass __dso_handle directly.
32788 * stdlib/atexit.c: Include <dso_handle.h>.
32789 (__dso_handle): Remove declaration.
32790 (atexit): Pass __dso_handle directly.
32791 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32792 (__dso_handle): Removed.
32794 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32796 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32799 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32801 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32802 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32803 values to correct default value for given type.
32805 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32808 * elf/Makefile (tests): Add tst-debug1.
32809 ($(objpfx)tst-debug1): New.
32810 ($(objpfx)tst-debug1.out): Likewise.
32811 ($(objpfx)tst-debug1mod1.so): Likewise.
32812 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32813 with p_filesz == 0.
32814 * elf/tst-debug1.c: New file.
32816 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32818 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32819 Define using __ifunc.
32821 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32823 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32826 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32829 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32831 2017-09-26 Florian Weimer <fweimer@redhat.com>
32833 * resolv/Makefile (tests-internal): Fix typo in comment.
32835 2017-09-26 Florian Weimer <fweimer@redhat.com>
32837 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32839 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32841 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32842 Use an union instead of a max_align_t array for __space,
32843 so that __space is the same size on all platforms.
32844 * malloc/scratch_buffer_grow_preserve.c
32845 (__libc_scratch_buffer_grow_preserve): Likewise.
32848 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32850 * posix/Makefile (routines): Add glob-lstat-compat and
32851 glob64-lstat-compat.
32852 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32853 * posix/glob-lstat-compat.c: New file.
32854 * posix/glob64-lstat-compat.c: Likewise.
32855 * posix/tst-glob_lstat_compat.c: Likewise.
32856 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32857 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32858 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32859 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32861 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32862 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32863 * posix/glob.c (glob_lstat): New function.
32864 (glob): Rename to __glob and add versioned symbol to 2.27.
32865 (glob_in_dir): Use glob_lstat.
32866 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32867 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32868 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32870 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32871 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32872 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32873 gl_lstat on glob call.
32874 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32875 and glob64 symbols.
32876 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32877 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32878 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32879 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32880 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32881 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32882 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32883 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32884 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32885 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32886 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32887 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32890 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32893 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32894 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32895 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32896 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32899 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32900 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32901 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32903 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32905 * configure.ac (AS): Require binutils 2.25 or later.
32906 * configure: Regenerated.
32908 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32911 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32914 2017-09-25 DJ Delorie <dj@redhat.com>
32917 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32920 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32922 * sysdeps/ieee754/dbl-64/sincos32.h
32923 [SINCCOS32_H]: Remove define.
32924 [SINCOS32_H]: Define.
32926 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32928 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32930 * math/w_exp2f.c: New file.
32931 * math/w_expf.c: New file.
32932 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32933 * math/w_expf_compat.c (__expf_compat): Likewise.
32934 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32935 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32936 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32937 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32938 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32939 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32940 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32941 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32942 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32943 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32944 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32945 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32946 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32956 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32957 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32958 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32959 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32960 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32965 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32966 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32967 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32969 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32971 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32972 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32973 (roundtoint, converttoint): Likewise.
32974 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32975 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32976 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32977 * sysdeps/ieee754/flt-32/math_config.h: New file.
32978 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32979 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32980 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32981 * sysdeps/i386/fpu/math_errf.c: New file.
32982 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32983 * sysdeps/ia64/fpu/math_errf.c: New file.
32984 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32985 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32987 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32989 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32990 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32991 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32992 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32993 to make sure that these symbols are defined.
32994 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32996 (__need_NULL): Do not define.
32997 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32999 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33000 CMGROUP_MAX, cmsgcred): Do not define.
33001 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33003 * bits/socket.h: Likewise.
33004 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33005 __gettimeofday instead of gettimeofday.
33006 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33007 instead of settimeofday.
33009 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33011 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33012 (asinhf): Define using libm_alias_float.
33013 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33014 (atanf): Define using libm_alias_float.
33015 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33016 (cbrtf): Define using libm_alias_float.
33017 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33018 (ceilf): Define using libm_alias_float.
33019 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33020 <libm-alias-float.h>.
33021 (copysignf): Define using libm_alias_float.
33022 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33023 (cosf): Define using libm_alias_float.
33024 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33025 (erff): Define using libm_alias_float.
33027 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33028 (expm1f): Define using libm_alias_float.
33029 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33030 (fabsf): Define using libm_alias_float.
33031 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33032 (floorf): Define using libm_alias_float.
33033 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33034 (frexpf): Define using libm_alias_float.
33035 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33037 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33038 <libm-alias-float.h>.
33039 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33041 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33042 <libm-alias-float.h>.
33043 (getpayloadf): Define using libm_alias_float.
33044 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33045 <libm-alias-float.h>.
33046 (llrintf): Define using libm_alias_float.
33047 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33048 <libm-alias-float.h>.
33049 (llroundf): Define using libm_alias_float.
33050 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33051 (logbf): Define using libm_alias_float.
33052 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33053 (lrintf): Define using libm_alias_float.
33054 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33055 (lroundf): Define using libm_alias_float.
33056 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33057 (modff): Define using libm_alias_float.
33058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33059 <libm-alias-float.h>.
33060 (nearbyintf): Define using libm_alias_float.
33061 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33062 <libm-alias-float.h>.
33063 (nextafterf): Define using libm_alias_float.
33064 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33065 <libm-alias-float.h>.
33066 (nextupf): Define using libm_alias_float.
33067 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33068 <libm-alias-float.h>.
33069 (remquof): Define using libm_alias_float.
33070 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33071 (rintf): Define using libm_alias_float.
33072 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33073 <libm-alias-float.h>.
33074 (roundevenf): Define using libm_alias_float.
33075 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33076 (roundf): Define using libm_alias_float.
33077 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33078 using libm_alias_float.
33079 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33080 <libm-alias-float.h>.
33081 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33082 Define using libm_alias_float.
33083 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33084 <libm-alias-float.h>.
33085 (sincosf): Define using libm_alias_float.
33086 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33087 (sinf): Define using libm_alias_float.
33088 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33089 (tanf): Define using libm_alias_float.
33090 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33091 (tanhf): Define using libm_alias_float.
33092 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33093 <libm-alias-float.h>.
33094 (totalorderf): Define using libm_alias_float.
33095 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33096 <libm-alias-float.h>.
33097 (totalordermagf): Define using libm_alias_float.
33098 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33099 (truncf): Define using libm_alias_float.
33100 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33102 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33105 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33108 math/math.h: Let fpclassify use the builtin in C++ mode, even
33109 when optimazing for size.
33111 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33113 * csu/Makefile (generated): Do not add version-info.h.
33114 (before-compile): Likewise.
33115 (all-Banner-files): Remove variable.
33116 ($(objpfx)version-info.h): Remove rule.
33117 * csu/version.c (banner): Do not include "version-info.h".
33118 * libidn/Banner: Remove.
33119 * manual/contrib.texi (Simon Josefsson): New entry.
33121 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33124 Remove conditionals on LDBL_MANT_DIG.
33125 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33126 (__ieee754_lgammal_r): Likewise.
33128 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33132 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33133 _Float128 and L(). Replace _Float128 with long double and L(x)
33134 with xL, throughout the file.
33135 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33140 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33143 sysdeps/ieee754/ldbl-128ibm.
33144 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33145 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33146 of including it. Keep _Float128 and L() intact. These will be
33147 reviewed by a separate patch.
33148 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33153 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33156 (__finitef128): Define to __redirect___finitef128.
33157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33158 (__isinff128): Define to __redirect___isinff128.
33159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33160 (__isnanf128): Define to __redirect___isnanf128.
33162 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33164 * sysdeps/powerpc/powerpc64le/Makefile
33165 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33166 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33168 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33169 Carlos O'Donell <carlos@redhat.com>
33172 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33173 * stdlib/test-dlclose-exit-race.c: New file.
33174 * stdlib/test-dlclose-exit-race-helper.c: New file.
33175 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33177 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33179 * crypt/Banner: Remove file.
33180 * nptl/Banner: Likewise.
33181 * resolv/Banner: Likewise.
33182 * soft-fp/Banner: Likewise.
33183 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33184 ($(objpfx)version.d): Remove dependency on banner.h.
33185 ($(objpfx)version.os): Likewise.
33186 * nptl/version.c (banner): Do not include banner.h.
33187 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33188 Jelinek and BIND code.
33190 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33191 Carlos O'Donell <carlos@redhat.com>
33193 * support/xdlfcn.h: New file.
33194 * support/xdlfcn.c: New file.
33195 * support/Makefile (libsupport-routines): Add xdlfcn.
33196 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33198 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33201 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33202 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33203 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33204 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33205 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33206 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33207 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33208 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33210 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33211 Ricky Zhou <rickyz@google.com>
33212 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33215 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33217 (__new_exitfn): Fail registration when we finished at_exit processing.
33218 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33219 * stdlib/on_exit.c (__on_exit): Likewise.
33220 * stdlib/exit.c (__exit_funcs_done): New variable.
33221 (__run_exit_handlers): Use __exit_funcs_lock.
33222 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33224 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33225 (test-cxa_atexit-race, test-on_exit-race): New tests.
33226 * stdlib/test-atexit-race-common.c: New file.
33227 * stdlib/test-atexit-race.c: New file.
33228 * stdlib/test-at_quick_exit-race.c: New file.
33229 * stdlib/test-cxa_atexit-race.c: New file.
33230 * stdlib/test-on_exit-race.c: New file.
33232 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33234 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33235 * benchtests/exp2f-inputs: Copy of expf-inputs.
33236 * benchtests/log2f-inputs: Copy of logf-inputs.
33238 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33240 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33241 Explicitly take address of first element of array arguments in
33242 call to INLINE_SYSCALL.
33244 2017-09-19 Andreas Schwab <schwab@suse.de>
33247 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33249 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33252 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33253 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33254 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33255 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33256 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33258 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33259 * posix/Makefile (tests): Add tst-fexecve.
33260 * posix/tst-fexecve.c: New file.
33262 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33264 * benchtests/Makefile: Add logf benchmark.
33265 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33267 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33269 * benchtests/Makefile: Add expf benchmark.
33270 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33272 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33274 * csu/Makefile: Add -funwind-tables to libc-start.c.
33275 * debug/Makefile: Add -funwind-tables to backtrace.c.
33276 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33277 * sysdeps/arm/Makefile: Likewise.
33278 * sysdeps/i386/Makefile: Likewise.
33279 * sysdeps/m68k/Makefile: Likewise.
33280 * sysdeps/mips/Makefile: Likewise.
33281 * sysdeps/nios2/Makefile: Likewise.
33282 * sysdeps/sh/Makefile: Likewise.
33283 * sysdeps/sparc/Makefile: Likewise.
33285 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33287 * benchtests/Makefile (bench-math): Add trunc and truncf.
33288 (CFLAGS-bench-trunc.c): New variable.
33289 (CFLAGS-bench-truncf.c): Likewise.
33290 * benchtests/trunc-inputs: New file.
33291 * benchtests/truncf-inputs: Likewise.
33293 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33295 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33297 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33300 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33302 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33303 (exp10l): Define as weak alias.
33304 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33305 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33307 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33308 (remainderl): Define as weak alias.
33310 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33311 (fmal): Define using libm_alias_ldouble.
33312 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33313 (acoshl): Define using libm_alias_ldouble.
33314 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33315 (acosl): Define using libm_alias_ldouble.
33316 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33317 (asinl): Define using libm_alias_ldouble.
33318 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33319 (atan2l): Define using libm_alias_ldouble.
33320 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33321 (atanhl): Define using libm_alias_ldouble.
33322 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33323 (coshl): Define using libm_alias_ldouble.
33324 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33325 (exp10l): Define using libm_alias_ldouble.
33326 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33327 (exp2l): Define using libm_alias_ldouble.
33328 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33329 (expl): Define using libm_alias_ldouble.
33330 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33331 (fmodl): Define using libm_alias_ldouble.
33332 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33333 (hypotl): Define using libm_alias_ldouble.
33334 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33335 (j0l): Define using libm_alias_ldouble.
33337 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33338 (j1l): Define using libm_alias_ldouble.
33340 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33341 (jnl): Define using libm_alias_ldouble.
33343 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33344 (log10l): Define using libm_alias_ldouble.
33345 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33346 (log2l): Define using libm_alias_ldouble.
33347 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33348 (logl): Define using libm_alias_ldouble.
33349 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33350 (powl): Define using libm_alias_ldouble.
33351 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33352 (remainderl): Define using libm_alias_ldouble.
33353 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33354 (sinhl): Define using libm_alias_ldouble.
33355 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33356 (sqrtl): Define using libm_alias_ldouble.
33357 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33358 (tgammal): Define using libm_alias_ldouble.
33359 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33360 (exp10l): Do not use long_double_symbol here.
33361 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33362 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33363 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33364 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33365 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33366 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33367 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33368 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33369 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33370 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33371 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33372 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33373 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33374 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33375 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33376 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33377 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33378 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33379 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33380 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33381 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33382 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33384 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33386 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33387 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33389 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33391 * io/read.c (read): Add libc_hidden_weak.
33392 * sysdeps/mach/hurd/read.c (read): Likewise.
33393 * io/write.c (write): Likewise.
33394 * sysdeps/mach/hurd/write.c (write): Likewise.
33395 * io/pread64.c (__pread64): Likewise.
33396 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33397 * posix/pread64.c (__pread64): Add libc_hidden_def.
33399 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33401 * benchtests/scripts/compare_strings.py: New option -g.
33402 (draw_graph): Print a message that a graph is being generated.
33403 (process_results): Generate graph only if -g is passed.
33404 (main): Process option -g.
33406 * benchtests/scripts/compare_strings.py (process_results):
33407 Better spacing for output.
33409 * benchtests/scripts/compare_strings.py: Use argparse.
33410 * benchtests/README: Document existence of compare_strings.py.
33412 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33414 * math/s_fma.c: Include <libm-alias-double.h>.
33415 (fma): Define using libm_alias_double.
33416 * math/s_nextafter.c: Include <libm-alias-double.h>.
33417 (nextafter): Define using libm_alias_double.
33418 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33419 (acos): Define using libm_alias_double.
33420 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33421 (aocsh): Define using libm_alias_double.
33422 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33423 (asin): Define using libm_alias_double.
33424 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33425 (atan2): Define using libm_alias_double.
33426 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33427 (atanh): Define using libm_alias_double.
33428 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33429 (cosh): Define using libm_alias_double.
33430 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33431 (exp10): Define using libm_alias_double.
33432 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33433 (exp2): Define using libm_alias_double.
33434 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33435 (exp): Define using libm_alias_double.
33436 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33437 (fmod): Define using libm_alias_double.
33438 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33439 (hypot): Define using libm_alias_double.
33440 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33441 (j0): Define using libm_alias_double.
33443 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33444 (j1): Define using libm_alias_double.
33446 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33447 (jn): Define using libm_alias_double.
33449 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33450 (log10): Define using libm_alias_double.
33451 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33452 (log2): Define using libm_alias_double.
33453 * math/w_log_compat.c: Include <libm-alias-double.h>.
33454 (log): Define using libm_alias_double.
33455 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33456 (pow): Define using libm_alias_double.
33457 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33458 (remainder): Define using libm_alias_double.
33459 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33460 (sinh): Define using libm_alias_double.
33461 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33462 (sqrt): Define using libm_alias_double.
33463 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33464 (tgamma): Define using libm_alias_double.
33465 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33466 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33467 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33468 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33469 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33470 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33471 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33472 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33473 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33474 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33475 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33477 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33478 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33479 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33480 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33481 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33483 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33484 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33485 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33486 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33487 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33488 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33489 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33491 * math/e_acoshl.c: Remove.
33492 * math/e_acosl.c: Likewise.
33493 * math/e_asinl.c: Likewise.
33494 * math/e_atan2l.c: Likewise.
33495 * math/e_atanhl.c: Likewise.
33496 * math/e_coshl.c: Likewise.
33497 * math/e_expl.c: Likewise.
33498 * math/e_fmodl.c: Likewise.
33499 * math/e_gammal_r.c: Likewise.
33500 * math/e_hypotl.c: Likewise.
33501 * math/e_j0l.c: Likewise.
33502 * math/e_j1l.c: Likewise.
33503 * math/e_jnl.c: Likewise.
33504 * math/e_lgammal_r.c: Likewise.
33505 * math/e_log10l.c: Likewise.
33506 * math/e_log2l.c: Likewise.
33507 * math/e_logl.c: Likewise.
33508 * math/e_powl.c: Likewise.
33509 * math/e_rem_pio2l.c: Likewise.
33510 * math/e_sinhl.c: Likewise.
33511 * math/e_sqrtf128.c: Likewise.
33512 * math/e_sqrtl.c: Likewise.
33513 * math/k_cosl.c: Likewise.
33514 * math/k_sinl.c: Likewise.
33515 * math/k_tanl.c: Likewise.
33516 * math/s_asinhl.c: Likewise.
33517 * math/s_atanl.c: Likewise.
33518 * math/s_cbrtl.c: Likewise.
33519 * math/s_erfl.c: Likewise.
33520 * math/s_expm1l.c: Likewise.
33521 * math/s_log1pl.c: Likewise.
33522 * math/s_tanhl.c: Likewise.
33524 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33528 [$(subdir) = math] (sysdep_calls): New variable. Has the
33529 previous contents of sysdep_routines, but re-sorted..
33530 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33532 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33533 defined in sysdep_calls and replace by the respective m_* names.
33534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33535 (compat_symbol): Undefine to avoid duplicated compat symbols in
33538 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33540 * math/s_fmaf.c: Include <libm-alias-float.h>.
33541 (fmaf): Define using libm_alias_float.
33542 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33543 (acosf): Define using libm_alias_float.
33544 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33545 (acoshf): Define using libm_alias_float.
33546 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33547 (asinf): Define using libm_alias_float.
33548 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33549 (atan2f): Define using libm_alias_float.
33550 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33551 (atanhf): Define using libm_alias_float.
33552 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33553 (coshf): Define using libm_alias_float.
33554 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33555 (exp10f): Define using libm_alias_float.
33556 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33557 (fmodf): Define using libm_alias_float.
33558 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33559 (hypotf): Define using libm_alias_float.
33560 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33561 (j0f): Define using libm_alias_float.
33563 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33564 (j1f): Define using libm_alias_float.
33566 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33567 (jnf): Define using libm_alias_float.
33569 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33570 (log10f): Define using libm_alias_float.
33571 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33572 (log2f): Define using libm_alias_float.
33573 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33574 (logf): Define using libm_alias_float.
33575 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33576 (powf): Define using libm_alias_float.
33577 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33578 (remainderf): Define using libm_alias_float.
33579 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33580 (sinhf): Define using libm_alias_float.
33581 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33582 (sqrtf): Define using libm_alias_float.
33583 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33584 (tgammaf): Define using libm_alias_float.
33586 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33588 * include/math.h (roundeven): Change hidden_proto call to
33590 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33592 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33593 (y0): Rename to __y0 and define as weak alias.
33594 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33595 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33597 (y0f): Rename to __y0f and define as weak alias.
33598 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33600 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33601 (y1): Rename to __y1 and define as weak alias.
33602 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33603 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33605 (y1f): Rename to __y1f and define as weak alias.
33606 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33608 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33609 (yn): Rename to __yn and define as weak alias.
33610 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33611 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33613 (ynf): Rename to __ynf and define as weak alias.
33614 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33615 (fromfp): Define as weak alias.
33616 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33617 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33618 (fromfpx): Define as weak alias.
33619 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33620 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33621 __getpayload and define as weak alias.
33622 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33623 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33624 __roundeven and define as weak alias.
33625 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33626 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33628 (setpayload): Define as weak alias.
33629 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33630 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33632 (setpayloadsig): Define as weak alias.
33633 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33634 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33635 __totalorder and define as weak alias.
33636 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33637 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33638 to __totalordermag and define as weak alias.
33639 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33640 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33641 (ufromfp): Define as weak alias.
33642 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33643 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33645 (ufromfpx): Define as weak alias.
33646 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33647 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33648 Rename to __getpayload and define as weak alias.
33649 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33650 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33651 Rename to __roundeven and define as weak alias.
33652 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33653 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33654 Rename to __totalorder and define as weak alias.
33655 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33656 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33657 (totalordermag): Rename to __totalordermag and define as weak
33659 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33660 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33662 (__roundevenl): Likewise.
33663 (__totalorderl): Likewise.
33664 (__totalordermagl): Likewise
33665 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33667 (fromfpf128): Define as weak alias.
33668 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33670 (fromfpxf128): Define as weak alias.
33671 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33673 (setpayloadf128): Define as weak alias.
33674 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33675 __setpayloadsigf128.
33676 (setpayloadsigf128): Define as weak alias.
33677 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33679 (ufromfpf128): Define as weak alias.
33680 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33682 (ufromfpxf128): Define as weak alias.
33683 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33684 (fromfpf): Define as weak alias.
33685 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33687 (fromfpxf): Define as weak alias.
33688 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33689 __getpayloadf and define as weak alias.
33690 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33691 __roundevenf and define as weak alias.
33692 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33694 (setpayloadf): Define as weak alias.
33695 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33697 (setpayloadsigf): Define as weak alias.
33698 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33699 __totalorderf and define as weak alias.
33700 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33701 Rename to __totalordermagf and define as weak alias.
33702 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33704 (ufromfpf): Define as weak alias.
33705 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33707 (ufromfpxf): Define as weak alias.
33708 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33710 (fromfpl): Define as weak alias.
33711 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33713 (fromfpxl): Define as weak alias.
33714 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33715 to __getpayloadl and define as weak alias.
33716 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33717 __roundevenl and define as weak alias.
33718 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33720 (setpayloadl): Define as weak alias.
33721 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33723 (setpayloadsigl): Define as weak alias.
33724 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33725 to __totalorderl and define as weak alias.
33726 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33727 Rename to __totalordermagl and define as weak alias.
33728 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33730 (ufromfpl): Define as weak alias.
33731 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33733 (ufromfpxl): Define as weak alias.
33734 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33736 (fromfpl): Define as weak alias.
33737 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33739 (fromfpxl): Define as weak alias.
33740 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33741 Rename to __getpayloadl and define as weak alias.
33742 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33743 to __roundevenl and define as weak alias. Call __roundeven
33744 instead of roundeven.
33745 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33747 (setpayloadl): Define as weak alias.
33748 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33750 (setpayloadsigl): Define as weak alias.
33751 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33752 Rename to __totalorderl and define as weak alias.
33753 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33754 Rename to __totalordermagl and define as weak alias.
33755 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33757 (ufromfpl): Define as weak alias.
33758 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33760 (ufromfpxl): Define as weak alias.
33761 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33763 (fromfpl): Define as weak alias.
33764 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33766 (fromfpxl): Define as weak alias.
33767 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33768 __getpayloadl and define as weak alias.
33769 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33770 __roundevenl and define as weak alias.
33771 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33773 (setpayloadl): Define as weak alias.
33774 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33776 (setpayloadsigl): Define as weak alias.
33777 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33778 __totalorderl and define as weak alias.
33779 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33780 Rename to __totalordermagl and define as weak alias.
33781 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33783 (ufromfpl): Define as weak alias.
33784 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33786 (ufromfpxl): Define as weak alias.
33788 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33790 * benchtests/bench-string.h (realloc_bufs): New function.
33791 (test_init): Call it.
33792 * benchtests/bench-memset-large.c (do_test): Likewise.
33793 * benchtests/bench-memset.c (do_test): Likewise.
33795 * benchtests/bench-memset-large.c: Print output in JSON
33797 * benchtests/bench-memset.c: Likewise.
33799 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33802 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33803 * iconvdata/Makefile: Add IBM858.
33804 * iconvdata/gconv-modules: Likewise.
33805 * iconvdata/tst-tables.sh: Likewise.
33806 * iconvdata/ibm858.c: New file.
33807 * localedata/charmaps/IBM858: Likewise.
33809 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33812 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33813 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33815 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33818 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33819 and add tel_int_fmt.
33821 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33823 * sysdeps/generic/libm-alias-float128.h: New file.
33824 * sysdeps/generic/math-type-macros-float128.h: Include
33825 <libm-alias-float128.h>.
33826 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33828 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33830 * sysdeps/generic/libm-alias-ldouble.h: New file.
33831 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33832 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33833 * sysdeps/generic/math-type-macros-ldouble.h: Include
33834 <libm-alias-ldouble.h>.
33835 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33836 libm_alias_ldouble.
33838 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33840 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33841 * math/w_exp_compat.c: ... here.
33842 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33843 * math/w_expf_compat.c: ... here.
33844 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33845 * math/w_expl_compat.c: ... here.
33846 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33847 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33848 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33849 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33851 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33853 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33855 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33857 (ldexpl): Only define as compat symbol for libc, not libm.
33858 (scalbnl): Define as compat symbol for libc here.
33859 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33860 define for [IS_IN (libc)].
33861 (__ldexpl_2): Remove alias.
33862 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33863 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33864 name in long_double_symbol call.
33865 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33866 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33867 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33868 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33869 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33871 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33872 Define as compat symbol.
33874 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33876 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33877 * sysdeps/unix/sysv/linux/alpha/Makefile
33878 [$(subdir) = csu] (sysdep_routines): Remove rule.
33880 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33882 * sysdeps/generic/libm-alias-double.h: New file.
33883 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33884 * sysdeps/generic/math-type-macros-double.h: Include
33885 <libm-alias-double.h>.
33886 [declare_mgen_alias] (declare_mgen_alias): Define to use
33888 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33889 (M_LIBM_NEED_COMPAT): Remove macro.
33890 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33891 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33892 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33894 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33895 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33896 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33897 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33898 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33899 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33900 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33901 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33902 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33903 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33904 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33905 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33906 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33907 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33908 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33909 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33910 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33911 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33912 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33913 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33914 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33915 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33916 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33917 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33918 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33919 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33920 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33921 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33922 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33924 (declare_mgen_alias): New macro.
33925 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33926 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33928 (M_LIBM_NEED_COMPAT): Remove macro.
33929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33930 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33931 <first-versions.h>.
33932 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33933 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33935 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33937 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33938 (declare_mgen_alias_2): Remove.
33939 * sysdeps/generic/math-type-macros-double.h
33940 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33942 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33944 (ldexp): Define with declare_mgen_alias.
33945 (scalbn): Likewise.
33947 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33949 * grp/initgroups.c: Include config.h.
33950 (DEFAULT_CONFIG): New macro.
33951 (internal_getgrouplist): Use DEFAULT_CONFIG.
33952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33953 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33954 (DEFAULT_DEFCONFIG): New macro.
33955 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33956 * nss/grp-lookup.c: Include config.h
33957 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33958 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33959 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33960 * manual/nss.texi: Update default values section.
33962 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33965 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33967 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33968 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33969 Handle MathVec_Prefer_No_AVX512.
33970 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33971 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33974 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33976 * posix/sched_primax.c (__sched_get_priority_max): Add
33978 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33979 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33980 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33981 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33982 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33983 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33984 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33985 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33988 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33990 * sysdeps/generic/libm-alias-float.h: New file.
33991 * sysdeps/generic/math-type-macros-float.h: Include
33992 <libm-alias-float.h>.
33993 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33995 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33998 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33999 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34000 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34001 (HWCAP_IMPORTANT): Likewise.
34002 (HWCAP_X86_64): New enum.
34003 (HWCAP_X86_AVX512_1): Updated.
34004 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34005 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34006 (modules-names): Add x86_64/tst-x86_64mod-1.
34007 (LDFLAGS-tst-x86_64mod-1.so): New.
34008 ($(objpfx)tst-x86_64-1): Likewise.
34009 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34010 (tst-x86_64-1-clean): Likewise.
34011 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34012 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34014 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34016 * po/sv.po: Update translations.
34017 * po/fr.po: Likewise.
34019 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34021 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34023 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34025 * elf/rtld-Rules: Fix $(error) use.
34027 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34030 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34031 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34032 * localedata/locales/bn_BD: “Bengali” was still used in some
34033 comments. Change it to “Bangla”.
34035 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34037 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34039 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34041 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34042 thunderx2t99p1 to list of cpu names.
34043 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34044 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34046 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34048 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34049 Use strcmp instead of tunable_is_name.
34051 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34053 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34054 (F_GET_RW_HINT): New macro.
34055 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34056 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34057 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34058 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34059 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34060 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34061 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34062 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34063 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34065 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34066 (F_ADD_SEALS): New macro.
34067 [__USE_GNU] (F_GET_SEALS): Likewise.
34068 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34069 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34070 [__USE_GNU] (F_SEAL_GROW): Likewise.
34071 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34073 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34075 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34076 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34077 * posix/glob_internal.h (__glob_pattern_type):
34078 * posix/glob.c (glob):
34079 * posix/glob_pattern_p.c (__glob_pattern_p):
34082 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34083 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34084 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34085 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34086 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34088 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34089 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34090 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34091 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34092 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34093 * sysdeps/wordsize-64/glob.c: Likewise.
34094 * sysdeps/wordsize-64/glob64.c: Likewise.
34095 * sysdeps/wordsize-64/globfree.c: Likewise.
34096 * sysdeps/wordsize-64/globfree64.c: Likewise.
34097 * sysdeps/unix/sysv/linux/glob.c: New file.
34098 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34099 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34100 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34101 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34102 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34103 adds !GLOB_NO_OLD_VERSION as an extra condition.
34104 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34105 using relative path instead of absolute one.
34106 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34107 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34108 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34109 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34110 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34111 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34114 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34115 (glob): Use the same scratch buffer for both getlogin_r and
34116 getpwnam_r. Don’t require preallocation of the login name. This
34117 simplifies storage allocation, and corrects the handling of
34121 * posix/glob.c (glob): Port recent patches to platforms
34122 lacking getpwnam_r.
34123 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34124 returns an error number rather than setting errno.
34126 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34127 instead of GCC extension.
34128 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34129 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34130 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34134 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34135 * posix/bug-glob1.c: Remove file.
34136 * posix/tst-glob_symlinks.c: New file.
34137 * posix/glob.c (__lstat64): New macro.
34138 (is_dir): New function.
34139 (glob, glob_in_dir): Match symlinks even if they are dangling.
34140 (link_stat, link_exists_p): Remove. All uses removed.
34144 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34145 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34150 * posix/Makefile (routines): Add globfree, globfree64, and
34152 * posix/flexmember.h: New file.
34153 * posix/glob_internal.h: Likewise.
34154 * posix/glob_pattern_p.c: Likewise.
34155 * posix/globfree.c: Likewise.
34156 * posix/globfree64.c: Likewise.
34157 * sysdeps/gnu/globfree64.c: Likewise.
34158 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34159 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34160 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34161 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34162 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34163 * sysdeps/wordsize-64/globfree.c: Likewise.
34164 * sysdeps/wordsize-64/globfree64.c: Likewise.
34165 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34166 [NDEBUG): Remove comments.
34167 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34168 (dirent_type): New type. Use uint_fast8_t not
34169 uint8_t, as C99 does not require uint8_t.
34170 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34171 (struct readdir_result): Use dirent_type. Do not define skip_entry
34172 unless it is needed; this saves a byte on platforms lacking d_ino.
34173 (readdir_result_type, readdir_result_skip_entry):
34174 New functions, replacing ...
34175 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34176 these functions, which were removed. This makes the callers
34177 easier to read. All callers changed.
34178 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34179 (size_add_wrapv, glob_use_alloca): New static functions.
34180 (glob, glob_in_dir): Check for size_t overflow in several places,
34181 and fix some size_t checks that were not quite right.
34182 Remove old code using SHELL since Bash no longer
34184 (glob, prefix_array): Separate MS code better.
34185 (glob_in_dir): Remove old Amiga and VMS code.
34186 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34188 (glob_in_dir): Do not rely on undefined behavior in accessing
34189 struct members beyond their bounds. Use a flexible array member
34191 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34192 0/1. Caller changed.
34193 (glob): Fix memory leaks.
34194 * posix/glob64 (globfree64): Move to separate file.
34195 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34196 (globfree64): Remove hidden alias.
34197 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34199 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34201 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34203 Move compat code to separate file.
34204 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34207 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34209 * resolv/tst-resolv-qtypes.c (domain): Changed to
34210 "const char domain[] =".
34212 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34214 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34217 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34218 (TCP_MD5SIG_EXT): Likewise.
34219 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34220 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34221 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34223 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34225 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34227 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34229 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34232 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34234 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34236 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34237 before assuming that the file is empty. Avoid testing buffer content
34240 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34243 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34245 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34247 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34249 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34251 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34253 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34255 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34258 2017-09-06 Florian Weimer <fweimer@redhat.com>
34260 * malloc/dynarray_emplace_enlarge.c
34261 (__libc_dynarray_emplace_enlarge): Add missing else.
34263 2017-09-06 Florian Weimer <fweimer@redhat.com>
34266 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34267 case of failure to obtain the global conf object.
34269 2017-09-06 Florian Weimer <fweimer@redhat.com>
34272 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34273 dynarray allocation failure.
34275 2017-09-06 Florian Weimer <fweimer@redhat.com>
34277 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34278 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34279 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34281 (response): Call them. Add 'p', '6' flag processing.
34282 (test_reverse): New function.
34283 (test_get2_any): Call it.
34284 (test_no_inet6): Add 'p' test.
34285 (test_inet6): Likewise.
34287 2017-09-06 Florian Weimer <fweimer@redhat.com>
34289 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34290 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34292 (test_gai): Adjust query names. Add additional tests.
34293 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34294 test_get2. Adjust query names. Add additional tests.
34295 (test_no_inet6): New function, extracted from threadfunc.
34296 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34297 Add additional tests.
34299 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34302 * localedata/unicode-gen/utf8_gen.py: Set the width for
34303 characters with Prepended_Concatenation_Mark property to 1
34304 * localedata/charmaps/UTF-8: Updated using the improved script.
34306 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34309 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34310 use the range notation for all ranges of neighbouring characters
34311 with the same width.
34313 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34315 * sysdeps/generic/math-type-macros-double.h: Include
34316 <math-svid-compat.h>.
34317 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34318 * sysdeps/generic/math-type-macros-float.h: Include
34319 <math-svid-compat.h>.
34320 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34321 * sysdeps/generic/math-type-macros-ldouble.h: Include
34322 <math-svid-compat.h>.
34323 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34324 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34326 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34327 * math/w_acosf_compat.c: Likewise.
34328 * math/w_acosh_compat.c: Likewise.
34329 * math/w_acoshf_compat.c: Likewise.
34330 * math/w_acoshl_compat.c: Likewise.
34331 * math/w_acosl_compat.c: Likewise.
34332 * math/w_asin_compat.c: Likewise.
34333 * math/w_asinf_compat.c: Likewise.
34334 * math/w_asinl_compat.c: Likewise.
34335 * math/w_atan2_compat.c: Likewise.
34336 * math/w_atan2f_compat.c: Likewise.
34337 * math/w_atan2l_compat.c: Likewise.
34338 * math/w_atanh_compat.c: Likewise.
34339 * math/w_atanhf_compat.c: Likewise.
34340 * math/w_atanhl_compat.c: Likewise.
34341 * math/w_cosh_compat.c: Likewise.
34342 * math/w_coshf_compat.c: Likewise.
34343 * math/w_coshl_compat.c: Likewise.
34344 * math/w_exp10_compat.c: Likewise.
34345 * math/w_exp10f_compat.c: Likewise.
34346 * math/w_exp10l_compat.c: Likewise.
34347 * math/w_exp2_compat.c: Likewise.
34348 * math/w_exp2f_compat.c: Likewise.
34349 * math/w_exp2l_compat.c: Likewise.
34350 * math/w_fmod_compat.c: Likewise.
34351 * math/w_fmodf_compat.c: Likewise.
34352 * math/w_fmodl_compat.c: Likewise.
34353 * math/w_hypot_compat.c: Likewise.
34354 * math/w_hypotf_compat.c: Likewise.
34355 * math/w_hypotl_compat.c: Likewise.
34356 * math/w_j0_compat.c: Likewise.
34357 * math/w_j0f_compat.c: Likewise.
34358 * math/w_j0l_compat.c: Likewise.
34359 * math/w_j1_compat.c: Likewise.
34360 * math/w_j1f_compat.c: Likewise.
34361 * math/w_j1l_compat.c: Likewise.
34362 * math/w_jn_compat.c: Likewise.
34363 * math/w_jnf_compat.c: Likewise.
34364 * math/w_jnl_compat.c: Likewise.
34365 * math/w_lgamma_r_compat.c: Likewise.
34366 * math/w_lgammaf_r_compat.c: Likewise.
34367 * math/w_lgammal_r_compat.c: Likewise.
34368 * math/w_log10_compat.c: Likewise.
34369 * math/w_log10f_compat.c: Likewise.
34370 * math/w_log10l_compat.c: Likewise.
34371 * math/w_log2_compat.c: Likewise.
34372 * math/w_log2f_compat.c: Likewise.
34373 * math/w_log2l_compat.c: Likewise.
34374 * math/w_log_compat.c: Likewise.
34375 * math/w_logf_compat.c: Likewise.
34376 * math/w_logl_compat.c: Likewise.
34377 * math/w_pow_compat.c: Likewise.
34378 * math/w_powf_compat.c: Likewise.
34379 * math/w_powl_compat.c: Likewise.
34380 * math/w_remainder_compat.c: Likewise.
34381 * math/w_remainderf_compat.c: Likewise.
34382 * math/w_remainderl_compat.c: Likewise.
34383 * math/w_sinh_compat.c: Likewise.
34384 * math/w_sinhf_compat.c: Likewise.
34385 * math/w_sinhl_compat.c: Likewise.
34386 * math/w_sqrt_compat.c: Likewise.
34387 * math/w_sqrtf_compat.c: Likewise.
34388 * math/w_sqrtl_compat.c: Likewise.
34389 * math/w_tgamma_compat.c: Likewise.
34390 * math/w_tgammaf_compat.c: Likewise.
34391 * math/w_tgammal_compat.c: Likewise.
34392 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34393 [LIBM_SVID_COMPAT].
34394 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34395 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34396 [LIBM_SVID_COMPAT].
34397 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34398 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34399 [LIBM_SVID_COMPAT].
34400 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34401 * sysdeps/i386/fpu/w_sqrt.c: New file.
34402 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34403 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34404 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34405 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34406 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34407 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34408 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34409 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34410 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34411 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34412 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34413 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34414 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34415 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34416 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34417 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34418 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34419 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34420 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34421 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34422 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34423 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34424 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34425 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34426 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34427 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34428 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34429 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34430 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34431 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34432 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34433 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34434 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34435 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34436 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34437 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34438 * sysdeps/ia64/fpu/w_log.c: Likewise.
34439 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34440 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34441 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34442 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34443 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34444 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34445 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34446 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34447 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34448 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34449 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34450 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34451 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34452 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34453 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34454 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34455 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34456 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34457 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34458 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34459 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34460 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34461 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34463 [LIBM_SVID_COMPAT].
34464 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34465 * sysdeps/ieee754/k_standard.c: Likewise.
34466 * sysdeps/ieee754/k_standardf.c: Likewise.
34467 * sysdeps/ieee754/k_standardl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34470 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34471 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34472 long_double_symbol call on [LIBM_SVID_COMPAT].
34473 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34474 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34475 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34476 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34477 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34478 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34479 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34480 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34481 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34482 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34483 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34484 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34485 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34486 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34487 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34488 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34489 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34490 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34491 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34492 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34493 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34494 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34496 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34498 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34499 * malloc/tst-mallocstate.c: Convert from test-skeleton
34500 to test-driver. Ifdef code using TEST_COMPAT macro.
34501 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34502 * math/test-matherr.c: Likewise.
34504 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34507 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34508 comparing word with byte-swapped constant.
34510 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34513 * locale/iso-639.def: add Miskito.
34514 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34515 * localedata/locales/miq_NI: New file.
34517 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34520 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34521 (__mkdir): Likewise.
34522 * io/chmod.c (__chmod): Add libc_hidden_def.
34523 * io/mkdir.c (__mkdir): Likewise.
34524 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34525 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34526 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34527 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34529 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34531 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34535 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34536 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34538 2017-09-04 Florian Weimer <fweimer@redhat.com>
34540 * math/math.h: Issue warning if log is defined.
34542 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34544 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34545 kernel version to 4.13.
34547 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34549 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34550 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34552 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34553 just <bits/types.h>.
34554 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34555 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34556 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34557 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34558 * misc/preadv2.c: Include <errno.h>.
34559 * misc/preadv64v2.c: Include <errno.h>.
34560 * misc/pwritev2.c: Include <errno.h>.
34561 * misc/pwritev64v2.c: Include <errno.h>.
34562 * sysdeps/posix/preadv2.c: Include <errno.h>.
34563 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34564 Fix <unistd.h> inclusion.
34565 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34566 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34567 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34568 __strtoul_internal): New functions.
34569 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34570 * sysdeps/posix/system.c: Include <sigsetops.h>.
34571 * sysdeps/mach/hurd/i386/Makefile
34572 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34573 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34574 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34575 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34576 __feraiseexcept_renamed to feraiseexcept instead of
34577 __GI_feraiseexcept.
34578 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34579 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34580 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34581 RWF_NOWAIT): Define to 0 if undefined already.
34582 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34584 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34585 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34587 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34589 * manual/math.texi (pow10): Do not document.
34590 (pow10f): Likewise.
34591 (pow10l): Likewise.
34592 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34593 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34594 * math/libm-test-exp10.inc (pow10_test): Remove.
34595 (do_test): Do not call pow10.
34596 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34597 [NO_LONG_DOUBLE] (pow10l): Likewise.
34598 * math/w_exp10f_compat.c (pow10f): Likewise.
34599 * math/w_exp10l_compat.c (pow10l): Likewise.
34600 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34601 (pow10): Make into compat symbol.
34602 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34603 (pow10f): Make into compat symbol.
34604 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34605 (pow10l): Make into compat symbol.
34606 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34608 (CFLAGS-nldbl-pow10.c): Remove variable..
34609 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34610 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34611 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34612 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34613 Undefine and redefine.
34614 (pow10l): Make into compat symbol.
34615 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34616 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34617 * sysdeps/arm/libm-test-ulps: Likewise.
34618 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34619 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34620 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34621 * sysdeps/microblaze/libm-test-ulps: Likewise.
34622 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34623 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34624 * sysdeps/nios2/libm-test-ulps: Likewise.
34625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34626 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34627 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34628 * sysdeps/sh/libm-test-ulps: Likewise.
34629 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34630 * sysdeps/tile/libm-test-ulps: Likewise.
34631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34633 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34635 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34637 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34639 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34640 "../ChangeLog.old/ChangeLog.8".
34641 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34642 "../ChangeLog.old/ChangeLog.14".
34644 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34646 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34649 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34651 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34653 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34655 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34656 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34658 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34660 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34661 32 atexit handlers.
34663 2017-09-01 Zack Weinberg <zackw@panix.com>
34665 * math/math.h (HUGE_VAL): Improve commentary.
34667 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34668 Andreas Schwab <schwab@suse.de>
34671 * include/stdio.h (__gen_tempfd): New function.
34672 * stdio-common/Makefile (routines): Add gentempfd.
34673 * stdio-common/gentempfd.c: New file.
34674 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34675 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34676 unnamed file first.
34678 2017-09-01 Florian Weimer <fweimer@redhat.com>
34682 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34683 result to determine success or failure, not the errno value.
34684 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34685 (tst-nss-files-hosts-erange): Link with -ldl.
34686 * nss/tst-nss-files-hosts-erange.c: New file.
34687 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34688 (do_test): Add NO_DATA tests.
34689 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34690 (do_test): Call it.
34692 2017-09-01 Florian Weimer <fweimer@redhat.com>
34695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34696 coming from gethostbyname2_r.
34698 2017-09-01 Florian Weimer <fweimer@redhat.com>
34700 * support/namespace.h (struct support_chroot_configuration): Add
34702 (struct support_chroot): Add path_hosts, path_host_conf.
34703 * support/support_chroot.c (write_file): New function.
34704 (support_chroot_create): Call it to process /etc/resolv.conf,
34705 /etc/hosts, /etc/host.conf.
34706 (support_chroot_free): Update.
34708 2017-09-01 Florian Weimer <fweimer@redhat.com>
34710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34711 status indicates it is set.
34713 2017-09-01 Florian Weimer <fweimer@redhat.com>
34716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34717 function lookup failures more reliable.
34719 2017-09-01 Florian Weimer <fweimer@redhat.com>
34721 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34722 (getcanonname): Likewise.
34723 (gaih_inet): Likewise.
34725 2017-09-01 Florian Weimer <fweimer@redhat.com>
34727 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34728 (getcanonname): Likewise.
34729 (gaih_inet): Likewise.
34731 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34732 Richard Henderson <rth@twiddle.net>
34734 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34735 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34736 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34737 (IREG_SIZE, OREG_SIZE): New macros.
34738 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34739 (IREG_SIZE, OREG_SIZE): New macros.
34740 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34741 (IREG_SIZE): New macro.
34742 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34743 (IREG_SIZE): New macro.
34744 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34746 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34747 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34748 (__CONCATX): Handle exceptions correctly on large values that may
34750 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34751 Initialize if not already set.
34752 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34754 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34756 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34757 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34759 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34761 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34763 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34765 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34767 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34769 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34771 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34772 (NO_CANCELLATION): Likewise.
34773 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34775 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34777 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34780 (NO_CANCELLATION): Likewise.
34781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34782 (NO_CANCELLATION): Likewise.
34783 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34785 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34787 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34789 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34791 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34793 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34794 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34796 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34798 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34801 2017-08-31 Florian Weimer <fweimer@redhat.com>
34803 * include/libc-symbols.h (internal_function): Remove.
34805 2017-08-31 Florian Weimer <fweimer@redhat.com>
34807 * stdlib/fmtmsg.c (internal_addseverity): Remove
34810 2017-08-31 Florian Weimer <fweimer@redhat.com>
34812 * stdio-common/printf_fp.c (group_number): Remove
34814 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34816 2017-08-31 Florian Weimer <fweimer@redhat.com>
34818 * posix/fnmatch.c (internal_function): Remove definition.
34819 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34820 * posix/regcomp.c (peek_token, init_word_char)
34821 (duplicate_node_closure, fetch_token, peek_token)
34822 (peek_token_bracket, build_range_exp, build_collating_symbol):
34824 * posix/regex_internal.c (re_string_construct_common)
34825 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34826 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34827 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34828 (re_string_translate_buffer, re_string_reconstruct)
34829 (re_string_peek_byte_case, re_string_fetch_byte_case)
34830 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34831 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34832 (re_node_set_add_intersect, re_node_set_init_union)
34833 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34834 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34835 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34836 (re_acquire_state_context): Likewise.
34837 * posix/regex_internal.h (internal_function): Remove definition.
34838 (re_string_realloc_buffers, build_wcs_buffer)
34839 (build_wcs_upper_buffer, build_upper_buffer)
34840 (re_string_translate_buffer, re_string_context_at)
34841 (re_string_char_size_at, re_string_wchar_at)
34842 (re_string_elem_size_at): Likewise.
34843 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34844 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34845 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34846 (re_search_internal, re_search_2_stub, re_search_stub)
34847 (re_copy_regs, prune_impossible_nodes, check_matching)
34848 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34849 (free_fail_stack_return, sift_states_iter_mb)
34850 (sift_states_backward, build_sifted_states)
34851 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34852 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34853 (check_subexp_limits, sift_states_bkref, merge_state_array)
34854 (find_recover_state, transit_state, merge_state_with_log)
34855 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34856 (transit_state_mb, transit_state_bkref, get_subexp)
34857 (get_subexp_sub, find_subexp_node, check_arrival)
34858 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34859 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34860 (check_node_accept_bytes, find_collation_sequence_value)
34861 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34862 (acquire_init_state_context, check_halt_node_context)
34863 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34864 (sub_epsilon_src_nodes): Likewise.
34865 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34866 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34867 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34868 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34869 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34870 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34871 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34872 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34873 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34874 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34875 (PREADV): Likewise.
34876 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34877 (PREADV): Likewise.
34878 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34879 (PWRITEV): Likewise.
34880 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34881 (PWRITEV): Likewise.
34882 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34883 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34885 2017-08-31 Florian Weimer <fweimer@redhat.com>
34887 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34888 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34889 Remove internal_function.
34890 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34891 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34892 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34893 (__deallocate_stack, __libc_pthread_init)
34894 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34895 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34896 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34898 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34899 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34900 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34902 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34903 (__pthread_mutex_unlock_usercnt): Likewise.
34905 2017-08-31 Florian Weimer <fweimer@redhat.com>
34907 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34908 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34909 (fts_safe_changedir): Remove internal_function.
34910 * io/ftw.c (internal_function): Remove definition.
34911 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34913 2017-08-31 Florian Weimer <fweimer@redhat.com>
34915 * inet/deadline.c (__deadline_current_time)
34916 (__deadline_from_timeval, __deadline_to_ms): Remove
34918 * inet/getnameinfo.c (nrl_domainname): Likewise.
34919 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34920 * inet/inet6_option.c (add_pad): Likewise.
34921 * inet/net-internal.h (__deadline_current_time)
34922 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34923 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34924 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34925 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34927 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34929 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34930 include <bits/nan.h>.
34931 * math/Makefile (headers): Remove bits/nan.h.
34932 * bits/nan.h: Remove.
34933 * sysdeps/ieee754/bits/nan.h: Likewise.
34934 * sysdeps/mips/bits/nan.h: Likewise.
34936 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34937 not include <bits/inf.h>.
34938 * math/Makefile (headers): Remove bits/inf.h.
34939 * bits/inf.h: Remove.
34940 * sysdeps/ieee754/bits/inf.h: Likewise.
34942 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34943 bits/huge_vall.h or bits/huge_val_flt128.h.
34944 (HUGE_VAL): Define directly here.
34945 [__USE_ISOC99] (HUGE_VALF): Likewise.
34946 [__USE_ISOC99] (HUGE_VALL): Likewise.
34947 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34948 (HUGE_VAL_F128): Likewise.
34949 * math/Makefile (headers): Remove bits/huge_val.h,
34950 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34951 * bits/huge_val.h: Remove.
34952 * bits/huge_val_flt128.h: Likewise.
34953 * bits/huge_valf.h: Likewise.
34954 * bits/huge_vall.h: Likewise.
34955 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34956 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34957 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34958 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34959 * sysdeps/sh/bits/huge_val.h: Likewise.
34960 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34961 * sysdeps/x86/bits/huge_vall.h: Likewise.
34963 2017-08-31 Florian Weimer <fweimer@redhat.com>
34965 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34967 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34969 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34970 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34971 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34972 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34973 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34974 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34975 * elf/dl-libc.c (dlerror_run): Likewise.
34976 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34977 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34978 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34979 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34981 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34982 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34983 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34984 * elf/dl-profile.c (_dl_start_profile): Likewise.
34985 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34986 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34988 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34989 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34990 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34991 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34992 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34993 (_dl_allocate_tls_storage): Likewise.
34994 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34995 (_dl_check_all_versions): Likewise.
34996 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34997 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34998 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34999 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35000 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35001 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35002 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35003 internal_function from __dl_start.
35004 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35005 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35006 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35007 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35008 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35009 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35010 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35011 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35012 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35013 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35014 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35015 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35016 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35017 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35018 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35020 (struct rtld_global_ro): Remove internal_function from the
35021 _dl_lookup_symbol_x member.
35022 (_dl_symbol_value): Remove. No longer defined anywhere.
35023 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35025 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35026 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35027 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35028 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35029 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35030 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35031 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35032 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35033 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35034 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35035 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35036 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35038 2017-08-31 Florian Weimer <fweimer@redhat.com>
35040 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35041 Remove internal_function.
35042 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35044 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35047 2017-08-31 Florian Weimer <fweimer@redhat.com>
35049 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35050 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35051 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35053 2017-08-31 Florian Weimer <fweimer@redhat.com>
35055 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35056 (__gai_enqueue_request): Remove internal_function.
35057 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35058 (__gai_remove_request, __gai_notify, __gai_notify_only)
35059 (__gai_sigqueue): Likewise.
35060 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35061 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35062 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35063 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35066 2017-08-31 Florian Weimer <fweimer@redhat.com>
35068 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35069 * include/dirent.h (__opendirat, __getdents, __getdents64)
35070 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35071 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35072 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35073 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35075 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35077 2017-08-31 Florian Weimer <fweimer@redhat.com>
35079 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35081 (GETCWD_RETURN_TYPE): Likewise.
35083 2017-08-31 Florian Weimer <fweimer@redhat.com>
35085 * include/time.h (__tz_compute, __strptime_internal): Remove
35087 * time/strptime_l.c (__strptime_internal): Likewise.
35088 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35090 2017-08-31 Florian Weimer <fweimer@redhat.com>
35092 * iconv/gconv.c (__gconv): Remove internal_function.
35093 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35094 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35095 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35096 (__gconv_release_cache): Likewise.
35097 * iconv/gconv_close.c (__gconv_close): Likewise.
35098 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35099 (read_conf_file, __gconv_get_path): Likewise.
35100 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35101 (__gconv_release_step, gen_steps, increment_counter)
35102 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35103 (__gconv_close_transform, free_modules_db): Likewise.
35104 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35106 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35107 (__gconv_find_transform, __gconv_lookup_cache)
35108 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35109 (__gconv_close_transform, __gconv_release_cache)
35110 (__gconv_loaded_object, __gconv_release_shlib)
35111 (__gconv_compare_alias): Likewise.
35112 * iconv/gconv_open.c (__gconv_open): Likewise.
35113 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35114 * iconv/iconvconfig.c (add_module): Likewise.
35115 * intl/dcigettext.c (plural_lookup, guess_category_value)
35116 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35117 * intl/eval-plural.h (plural_eval): Likewise.
35118 * intl/finddomain.c (_nl_find_domain): Likewise.
35119 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35120 (_nl_load_domain, _nl_find_msg): Likewise.
35121 (internal_function): Remove definition.
35122 * intl/loadinfo.h (internal_function): Likewise.
35123 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35125 * intl/localealias.c (internal_function): Remove definition.
35126 (read_alias_file): Remove internal_function.
35127 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35128 * intl/plural-exp.h (internal_function): Remove definition.
35129 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35131 * intl/plural.c: Regenerate.
35132 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35133 * locale/coll-lookup.c (__collidx_table_lookup)
35134 (__collseq_table_lookup): Likewise.
35135 * locale/coll-lookup.h (__collidx_table_lookup)
35136 (__collseq_table_lookup): Likewise.
35137 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35138 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35139 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35140 (_nl_unload_locale): Likewise.
35141 * locale/localeinfo.h (struct __locale_data): Remove
35142 internal_function from cleanup member.
35143 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35144 (_nl_remove_locale, _nl_load_locale_from_archive)
35145 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35146 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35147 (_nl_cleanup_time): Remove internal_function.
35148 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35149 (_nl_parse_alt_digit): Likewise.
35150 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35151 (_nl_select_era_entry): Likewise.
35152 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35153 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35154 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35155 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35156 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35158 2017-08-31 Florian Weimer <fweimer@redhat.com>
35160 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35161 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35162 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35163 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35165 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35166 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35167 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35168 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35170 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35172 2017-08-31 Florian Weimer <fweimer@redhat.com>
35174 * misc/getttyent.c (skip, value): Remove internal_function.
35175 * misc/syslog.c (openlog_internal): Likewise.
35176 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35178 2017-08-31 Florian Weimer <fweimer@redhat.com>
35180 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35181 (__nss_rewrite_field): Remove internal_function.
35182 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35183 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35184 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35185 * nss/nsswitch.c (nss_parse_file, nss_getline)
35186 (nss_parse_service_list, nss_new_service): Likewise.
35187 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35188 * nss/valid_field.c (__nss_valid_field): Likewise.
35189 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35191 2017-08-31 Florian Weimer <fweimer@redhat.com>
35193 * malloc/arena.c (__malloc_fork_lock_parent)
35194 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35195 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35196 internal_function from defintions.
35197 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35198 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35199 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35200 internal_function from declarations.
35201 * malloc/malloc.c (internal_function): Do not define.
35202 (mem2mem_check): Remove internal_function from declaration.
35203 (munmap_chunk, mremap_chunk): Remove internal_function.
35204 * malloc/mtrace.c (tr_where): Likewise.
35206 2017-08-31 Florian Weimer <fweimer@redhat.com>
35208 * include/rpc/pmap_clnt.h (__get_socket): Remove
35210 * sunrpc/auth_des.c (synchronize): Likewise.
35211 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35212 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35213 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35214 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35215 (key_call): Likewise.
35216 * sunrpc/pm_getport.c (__get_socket): Likewise.
35217 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35218 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35219 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35220 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35221 (invalidate): Likewise.
35222 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35223 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35224 (set_input_fragment, get_input_bytes): Likewise.
35226 2017-08-31 Florian Weimer <fweimer@redhat.com>
35228 * malloc/malloc.c (_int_free): Remove locked variable and related
35231 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35234 * Makerules (build-module-helper-objlist): Filter out
35235 $(elf-objpfx)sofini.os.
35236 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35239 2017-08-31 Florian Weimer <fweimer@redhat.com>
35241 * libio/fcloseall.c: Assume weak_alias is defined.
35242 * libio/feof.c: Likewise.
35243 * libio/fileno.c: Likewise.
35244 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35245 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35247 (_IO_file_open): Call __open directly.
35248 (_IO_new_file_sync): Assume ESPIPE is defined.
35249 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35250 (_IO_new_file_write): Call __write directly.
35251 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35252 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35253 * libio/genops.c: Assume _LIBC is defined.
35254 (save_for_backup): Remove internal_function.
35255 * libio/getc.c: Assume weak_alias is defined.
35256 * libio/getwc.c: Likewise.
35257 * libio/iofclose.c: Assume _LIBC is defined.
35258 * libio/iofdopen.c: Likewise.
35259 (_IO_fcntl): Remove macro definition.
35260 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35261 Call __fcntl directly.
35262 * libio/iofflush.c: Assume weak_alias is defined.
35263 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35265 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35266 * libio/iofgets.c: Likewise.
35267 * libio/iofopen.c: Assume _LIBC is defined.
35268 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35269 * libio/iofputs.c: Assume weak_alias is defined.
35270 * libio/iofread.c: Likewise.
35271 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35272 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35273 * libio/ioftell.c: Assume weak_alias is defined.
35274 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35275 * libio/iofwide.c: Assume _LIBC is defined.
35276 (_IO_fwide): Drop SHARED conditional because it is implied by
35278 * libio/iofwrite.c: Assume weak_alias is defined.
35279 * libio/iogetdelim.c: Likewise.
35280 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35281 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35282 (_IO_getwline): Call __wmemcpy directly.
35283 * libio/iopopen.c: Assume _LIBC is defined.
35284 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35285 (_IO_close): Remove macro definitions.
35286 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35288 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35290 * libio/ioputs.c: Assume weak_alias is defined.
35291 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35292 * libio/iosetbuffer.c: Assume weak_alias is defined.
35293 * libio/iosetvbuf.c: Likewise.
35294 * libio/ioungetc.c: Likewise.
35295 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35296 libc_hidden_def, libc_hidden_weak, NULL are defined.
35297 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35298 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35300 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35302 (_IO_old_file_init_internal): Drop SHARED conditional because it
35303 is implied by SHLIB_COMPAT.
35304 (_IO_old_file_fopen): Call __open directly.
35305 (_IO_old_file_sync): Assume ESPIPE is defined.
35306 (_IO_old_file_write): Call __write directly.
35307 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35308 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35309 Call __fcntl directly.
35310 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35311 (_IO_old_fgetpos): Assume EIO is defined.
35312 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35313 (_IO_old_fgetpos64): Assume EIO is defined.
35314 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35315 (_IO_old_fsetpos): Assume EIO is defined.
35316 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35317 (_IO_old_fsetpos64): Assume EIO is defined.
35318 * libio/oldiopopen.c: Assume _LIBC is defined.
35319 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35320 (_IO_close): Remove macro definitions.
35321 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35323 (_IO_old_proc_close): Call __close, __waitpid directly.
35324 * libio/put.c: Assume weak_alias is defined.
35325 * libio/stdfiles.c: Assume _LIBC is defined.
35326 * libio/stdio.c: Likewise.
35327 * libio/wfileops.c: Likewise.
35328 (_IO_wfile_sync): Assume ESPIPE is defined.
35329 * libio/wgenops.c: Assume _LIBC is defined.
35330 (save_for_wbackup): Remove internal_function.
35332 2017-08-31 Florian Weimer <fweimer@redhat.com>
35334 * malloc/malloc.c (top_check): Change return type to void. Remove
35336 * malloc/hooks.c (top_check): Likewise.
35337 (malloc_check, realloc_check, memalign_check): Adjust.
35339 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35342 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35343 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35344 sigcontext and namespace requirements.
35345 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35346 * sysdeps/m68k/sys/ucontext.h: Likewise.
35347 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35348 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35349 <bits/sigcontext.h>.
35350 (__ctx): Define earlier.
35351 (mcontext_t): Define structure contents rather than using struct
35353 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35354 __glibc_reserved1 instead of __reserved.
35355 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35356 <bits/sigcontext.h>.
35357 (__ctx): Define earlier.
35358 (mcontext_t): Define structure contents rather than using struct
35360 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35361 mcontext_t instead of struct sigcontext.
35362 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35363 <bits/sigcontext.h>.
35364 (__ctx): Define earlier.
35365 (mcontext_t): Define structure contents rather than using struct
35367 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35368 <bits/sigcontext.h>.
35369 (__ctx): Define earlier.
35370 (mcontext_t): Define structure contents rather than using struct
35372 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35373 mcontext_t instead of struct sigcontext.
35374 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35375 mcontext_t instead of struct sigcontext.
35376 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35377 <bits/sigcontext.h>.
35378 (__ctx): New macro.
35379 (struct __ia64_fpreg_mcontext): New type.
35380 (mcontext_t): Define structure contents rather than using struct
35382 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35383 (uc_sigmask): Define using __ctx.
35384 (uc_stack): Likewise.
35385 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35386 <bits/sigcontext.h>.
35387 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35388 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35389 <bits/sigcontext.h>.
35390 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35391 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35392 <bits/sigcontext.h>.
35393 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35394 <bits/sigcontext.h>.
35395 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35396 <bits/sigcontext.h>.
35397 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35398 <bits/sigcontext.h>.
35399 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35400 <bits/sigcontext.h>.
35401 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35402 <bits/sigcontext.h>.
35403 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35404 <bits/sigcontext.h>.
35405 (__ctx): Define earlier.
35406 (mcontext_t): Define structure contents rather than using struct
35408 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35409 <bits/sigcontext.h>. Include <bits/types.h>.
35410 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35411 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35412 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35413 (test-xfail-UNIX98/signal.h/conform): Likewise.
35414 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35415 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35416 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35417 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35418 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35419 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35420 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35421 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35422 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35424 2017-08-30 Florian Weimer <fweimer@redhat.com>
35426 * malloc/dynarray_emplace_enlarge.c
35427 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35428 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35429 * malloc/tst-dynarray.c (test_long_overflow): New function.
35430 (do_test): Call it.
35432 2017-08-30 Florian Weimer <fweimer@redhat.com>
35434 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35435 (set_arena_corrupt): Remove definitions.
35436 (mtrim): Do not check for corrupt arena.
35437 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35440 2017-08-30 Florian Weimer <fweimer@redhat.com>
35443 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35445 (ptmalloc_init): Do not set or use check_action.
35446 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35447 call to malloc_printerr. Remove return statement.
35448 (free_check): Likewise. Remove arena unlock.
35449 (top_check): Update comment. Adjust call to malloc_printerr.
35450 Remove heap repair code.
35451 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35452 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35453 (sysmalloc): Adjust call to malloc_printerr.
35454 (munmap_chunk, __libc_realloc): Likewise. Remove return
35456 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35457 Remove errout label and corresponding gotos.
35458 (_int_free): Likewise. Remove arena unlock.
35459 (do_set_mallopt_check): Do not set check_action.
35460 (malloc_printerr): Adjust parameter list. Do not mark arena as
35462 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35464 * manual/probes.texi (Memory Allocation Probes): Remove
35465 memory_mallopt_check_action.
35467 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35469 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35470 Use pointer to uint64_t instead of long int for sp.
35472 2017-08-30 Florian Weimer <fweimer@redhat.com>
35475 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35476 without printing a backtrace. Do not leak any information in the
35478 * manual/memory.texi (Heap Consistency Checking): Update.
35479 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35481 2017-08-30 Florian Weimer <fweimer@redhat.com>
35483 Do not scale NPTL tests with available number of CPUs.
35484 * nptl/tst-cond16.c (count): Set to constant value of 8.
35485 * nptl/tst-cond18.c (count): Likewise.
35487 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35491 Define to take a second argument that is a macro that
35492 concatentates a suffix, not the suffix itself.
35493 (__CONCAT_d): New macro.
35494 (__CONCAT_f): Likewise.
35495 (__CONCAT_l): Likewise.
35497 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35499 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35502 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35503 Aurelien Jarno <aurelien@aurel32.net>
35504 Maciej W. Rozycki <macro@imgtec.com>
35507 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35508 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35509 `mips16-syscall6' and `mips16-syscall7'.
35510 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35511 (CFLAGS-mips16-syscall7.c): Remove.
35512 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35513 Remove `__mips16_syscall5', `__mips16_syscall6' and
35514 `__mips16_syscall7'.
35515 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35516 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35517 `__mips_syscall_return'.
35518 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35519 (__mips16_syscall1): Likewise.
35520 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35521 (__mips16_syscall2): Likewise.
35522 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35523 (__mips16_syscall3): Likewise.
35524 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35525 (__mips16_syscall4): Likewise.
35526 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35528 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35530 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35532 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35533 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35534 `__mips16_syscall5'. Remove prototype.
35535 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35536 `__mips16_syscall6'. Remove prototype.
35537 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35538 `__mips16_syscall7'. Remove prototype.
35539 (__nomips16, __mips16_syscall_return): Move to...
35540 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35541 (__nomips16, __mips_syscall_return): ... here.
35542 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35543 `__mips16_syscall_return' to `__mips_syscall_return'.
35544 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35545 `internal_syscall##nr'.
35546 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35547 `internal_syscall##nr'.
35548 (FORCE_FRAME_POINTER): Remove.
35549 (__mips_syscall5): New prototype.
35550 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35551 (__mips_syscall6): New prototype.
35552 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35553 (__mips_syscall7): New prototype.
35554 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35555 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35556 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35557 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35558 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35559 (sysdep_routines): Add libc-do-syscall.
35560 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35561 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35563 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35566 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35567 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35568 (advise_stack_range): New function.
35569 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35570 stack non required to advise_stack_range at allocatestack.c
35572 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35574 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35576 2017-08-29 Florian Weimer <fweimer@redhat.com>
35579 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35580 __end_fct. Mangle __end_fct after setting it to NULL.
35581 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35582 (modules-names, modules-names-tests): Add
35583 tst-gconv-init-failure-mod.
35584 (gconv-modules): New target.
35585 (tst-gconv-init-failure-mod.so): Link against libsupport.
35586 (tst-gconv-init-failure): Depend on gconv-modules,
35587 tst-gconv-init-failure-mod.so.
35588 * iconv/tst-gconv-init-failure-mod.c: New file.
35589 * iconv/tst-gconv-init-failure.c: Likewise.
35590 * iconv/test-gconv-modules: Likewise.
35592 2017-08-29 Florian Weimer <fweimer@redhat.com>
35595 * iconv/gconv_db.c (free_derivation): Remove redundant
35597 (gen_steps): Unconditionally mangle __btowc_fct after
35599 (increment_counter): Likewise. Do not call init_fct for internal
35602 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35605 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35606 (_MSUF_): Remove macro.
35607 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35609 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35610 (__REDIRFROM_X): New macro.
35611 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35613 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35614 (__REDIRTO_X): Likewise.
35615 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35617 (__MATH_REDIRCALL_2): Likewise.
35618 (__MATH_REDIRCALL_INTERNAL): Likewise.
35619 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35620 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35621 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35622 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35623 * math/test-finite-macros.c: New file.
35624 * math/Makefile (tests): Add test-finite-macros.
35625 (CFLAGS-test-finite-macros.c): New variable.
35627 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35628 Jeff Law <law@redhat.com>
35631 Mangle NULL pointers in iconv/gconv.
35632 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35633 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35634 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35635 is non-NULL before demangling the end_fct. Check for NULL
35636 end_fct after demangling.
35637 (__gconv_release_step): Demangle the end_fct before checking
35638 it for NULL. Remove assert on __shlibc_handle != NULL.
35639 (gen_steps): Don't check btowc_fct for NULL before mangling.
35640 Demangle init_fct before checking for NULL.
35641 (increment_counter): Likewise.
35642 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35643 end_fct for NULL before mangling.
35644 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35647 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35650 * locale/iso-639.def: add Morisyen.
35652 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35655 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35656 (iszero): New C++ implementation that does not use
35657 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35658 signaling nans are enabled, since __builtin_types_compatible_p
35659 is a C-only feature.
35660 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35661 defined, include ieee754_float128.h for access to the union and
35662 member ieee854_float128.ieee.
35663 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35664 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35665 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35666 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35667 options of test-math-zero on powerpc64le.
35669 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35671 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35672 Change double to float.
35674 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35676 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35678 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35679 conditional code; define contents only for [LIBM_SVID_COMPAT].
35681 2017-08-28 Florian Weimer <fweimer@redhat.com>
35683 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35684 (abi-lp64_be-options): Remove.
35685 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35686 (abi-hard-options): Likewise.
35687 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35688 (abi-o32_hard-options, abi-o32_soft_2008-options)
35689 (abi-o32_hard_2008-options, abi-n32_soft-options)
35690 (abi-n32_hard-options, abi-n32_soft_2008-options)
35691 (abi-n32_hard_2008-options, abi-n64_soft-options)
35692 (abi-n64_hard-options, abi-n64_soft_2008-options)
35693 (abi-n64_hard_2008-options): Likewise.
35694 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35695 (abi-64-v1-options, abi-64-v2-options): Likewise.
35696 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35697 (abi-64-options): Likewise.
35698 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35699 (abi-64-options): Likewise.
35700 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35701 (abi-64-options): Likewise.
35702 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35703 (abi-64-options, abi-x32-options): Likewise.
35705 2017-08-28 Florian Weimer <fweimer@redhat.com>
35707 Store supported list of SYS_* system calls in the source tree.
35708 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35709 (bits/syscall.h): Generate from list file.
35710 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35711 [$(subdir) = misc] (tests): Add tst-syscall-list.
35712 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35713 [$(subdir) = misc] (tst-syscall-list-macros.list)
35714 [$(subdir) = misc] (tst-syscall-list-nr.list)
35715 (tst-syscall-list-sys.list): Helper targets for new
35716 tst-syscall-list test.
35717 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35718 tst-syscall-list.sh.
35719 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35720 target. Do not include bits/syscall.d.
35721 [$(subdir) = misc] (generated): Do not update.
35722 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35723 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35724 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35725 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35727 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35729 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35730 (tst-cxa_atexit, tst-on_exit): Likewise.
35731 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35732 tst-cxa_atexit, and tst-on_exit.
35733 * stdlib/tst-atexit-common.c: New file.
35734 * stdlib/tst-atexit.c: New file.
35735 * stdlib/tst-at_quick_exit.c: New file.
35736 * stdlib/tst-cxa_atexit.c: New file.
35737 * stdlib/tst-on_exit.c: New file.
35739 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35741 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35742 * mach/stack_chk_fail_local.c: New file.
35743 * hurd/stack_chk_fail_local.c: New file.
35744 * mach/Machrules ($(interface-library)-routines): Add
35745 stack_chk_fail_local.
35746 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35747 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35748 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35749 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35750 * hurd/Makefile (CFLAGS-hurdstartup.o,
35751 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35753 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35755 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35756 (index_cpu_*, index_arch_*): Removed.
35758 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35760 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35761 Use uint64_t instead of unsigned long.
35763 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35765 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35766 [__HAVE_DISTINCT_FLOAT128].
35768 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35769 of <bits/math-finite.h>.
35770 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35771 inclusion of <bits/math-finite.h>.
35772 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35773 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35774 __NO_LONG_DOUBLE_MATH].
35775 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35776 (__MATH_REDIRCALL_2): Likewise.
35777 (__MATH_REDIRCALL_INTERNAL): Likewise.
35778 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35779 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35780 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35794 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35796 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35799 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35800 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35801 w_sqrtf_compat-ppc32.
35803 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35805 * math/math.h [defined __cplusplus] (issignaling): In the long
35806 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35807 is not defined. Call __issignaling, otherwise.
35809 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35811 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35812 syscall definitions and replace __builtin_expect with __glibc_likely.
35813 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35815 (SYSCALL_CANCELLABLE): Removedefinition
35816 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35818 (PSEUDO_END): Likewise.
35819 [IS_IN (libpthread)] (CENABLE): Likewise.
35820 [IS_IN (libpthread)] (CDISABLE): Likewise.
35821 [IS_IN (libc)] (CENABLE): Likewise.
35822 [IS_IN (libc)] (CENABLE): Likewise.
35823 [IS_IN (librt)] (CDISABLE): Likewise.
35824 [IS_IN (librt)] (CDISABLE): Likewise.
35825 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35826 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35828 (PSEUDO_END): Likewise.
35829 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35830 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35831 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35832 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35833 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35834 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35835 (CENABLE): Likewise.
35836 (CDISABLE): Likewise.
35837 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35838 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35840 (PSEUDO_END): Likewise.
35841 [IS_IN (libpthread)] (CENABLE): Likewise.
35842 [IS_IN (libpthread)] (CDISABLE): Likewise.
35843 [IS_IN (libc)] (CENABLE): Likewise.
35844 [IS_IN (libc)] (CENABLE): Likewise.
35845 [IS_IN (librt)] (CDISABLE): Likewise.
35846 [IS_IN (librt)] (CDISABLE): Likewise.
35847 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35848 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35850 (PSEUDO_END): Likewise.
35851 [IS_IN (libpthread)] (CENABLE): Likewise.
35852 [IS_IN (libpthread)] (CDISABLE): Likewise.
35853 [IS_IN (libc)] (CENABLE): Likewise.
35854 [IS_IN (libc)] (CENABLE): Likewise.
35855 [IS_IN (librt)] (CDISABLE): Likewise.
35856 [IS_IN (librt)] (CDISABLE): Likewise.
35857 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35858 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35860 (PSEUDO_END): Likewise.
35861 [IS_IN (libpthread)] (CENABLE): Likewise.
35862 [IS_IN (libpthread)] (CDISABLE): Likewise.
35863 [IS_IN (libc)] (CENABLE): Likewise.
35864 [IS_IN (libc)] (CENABLE): Likewise.
35865 [IS_IN (librt)] (CDISABLE): Likewise.
35866 [IS_IN (librt)] (CDISABLE): Likewise.
35867 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35868 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35870 (PSEUDO_END): Likewise.
35871 [IS_IN (libpthread)] (CENABLE): Likewise.
35872 [IS_IN (libpthread)] (CDISABLE): Likewise.
35873 [IS_IN (libc)] (CENABLE): Likewise.
35874 [IS_IN (libc)] (CENABLE): Likewise.
35875 [IS_IN (librt)] (CDISABLE): Likewise.
35876 [IS_IN (librt)] (CDISABLE): Likewise.
35877 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35878 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35880 (PSEUDO_END): Likewise.
35881 [IS_IN (libpthread)] (CENABLE): Likewise.
35882 [IS_IN (libpthread)] (CDISABLE): Likewise.
35883 [IS_IN (libc)] (CENABLE): Likewise.
35884 [IS_IN (libc)] (CENABLE): Likewise.
35885 [IS_IN (librt)] (CDISABLE): Likewise.
35886 [IS_IN (librt)] (CDISABLE): Likewise.
35887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35888 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35890 (PSEUDO_END): Likewise.
35891 [IS_IN (libpthread)] (CENABLE): Likewise.
35892 [IS_IN (libpthread)] (CDISABLE): Likewise.
35893 [IS_IN (libc)] (CENABLE): Likewise.
35894 [IS_IN (libc)] (CENABLE): Likewise.
35895 [IS_IN (librt)] (CDISABLE): Likewise.
35896 [IS_IN (librt)] (CDISABLE): Likewise.
35897 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35898 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35900 (PSEUDO_END): Likewise.
35901 [IS_IN (libpthread)] (CENABLE): Likewise.
35902 [IS_IN (libpthread)] (CDISABLE): Likewise.
35903 [IS_IN (libc)] (CENABLE): Likewise.
35904 [IS_IN (libc)] (CENABLE): Likewise.
35905 [IS_IN (librt)] (CDISABLE): Likewise.
35906 [IS_IN (librt)] (CDISABLE): Likewise.
35907 (SINGLE_THREAD_P): Likewise.
35908 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35910 (PSEUDO_END): Likewise.
35911 [IS_IN (libpthread)] (CENABLE): Likewise.
35912 [IS_IN (libpthread)] (CDISABLE): Likewise.
35913 [IS_IN (libc)] (CENABLE): Likewise.
35914 [IS_IN (libc)] (CENABLE): Likewise.
35915 [IS_IN (librt)] (CDISABLE): Likewise.
35916 [IS_IN (librt)] (CDISABLE): Likewise.
35917 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35918 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35920 (PSEUDO_END): Likewise.
35921 [IS_IN (libpthread)] (CENABLE): Likewise.
35922 [IS_IN (libpthread)] (CDISABLE): Likewise.
35923 [IS_IN (libc)] (CENABLE): Likewise.
35924 [IS_IN (libc)] (CENABLE): Likewise.
35925 [IS_IN (librt)] (CDISABLE): Likewise.
35926 [IS_IN (librt)] (CDISABLE): Likewise.
35927 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35928 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35929 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35930 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35931 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35933 (PSEUDO_END): Likewise.
35934 [IS_IN (libpthread)] (CENABLE): Likewise.
35935 [IS_IN (libpthread)] (CDISABLE): Likewise.
35936 [IS_IN (libc)] (CENABLE): Likewise.
35937 [IS_IN (libc)] (CENABLE): Likewise.
35938 [IS_IN (librt)] (CDISABLE): Likewise.
35939 [IS_IN (librt)] (CDISABLE): Likewise.
35940 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35943 (PSEUDO_END): Likewise.
35944 [IS_IN (libpthread)] (CENABLE): Likewise.
35945 [IS_IN (libpthread)] (CDISABLE): Likewise.
35946 [IS_IN (libc)] (CENABLE): Likewise.
35947 [IS_IN (libc)] (CENABLE): Likewise.
35948 [IS_IN (librt)] (CDISABLE): Likewise.
35949 [IS_IN (librt)] (CDISABLE): Likewise.
35950 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35951 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35953 (PSEUDO_END): Likewise.
35954 [IS_IN (libpthread)] (CENABLE): Likewise.
35955 [IS_IN (libpthread)] (CDISABLE): Likewise.
35956 [IS_IN (libc)] (CENABLE): Likewise.
35957 [IS_IN (libc)] (CENABLE): Likewise.
35958 [IS_IN (librt)] (CDISABLE): Likewise.
35959 [IS_IN (librt)] (CDISABLE): Likewise.
35960 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35963 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35964 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35966 (PSEUDO_END): Likewise.
35967 [IS_IN (libpthread)] (CENABLE): Likewise.
35968 [IS_IN (libpthread)] (CDISABLE): Likewise.
35969 [IS_IN (libc)] (CENABLE): Likewise.
35970 [IS_IN (libc)] (CENABLE): Likewise.
35971 [IS_IN (librt)] (CDISABLE): Likewise.
35972 [IS_IN (librt)] (CDISABLE): Likewise.
35973 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35974 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35976 (PSEUDO_END): Likewise.
35977 [IS_IN (libpthread)] (CENABLE): Likewise.
35978 [IS_IN (libpthread)] (CDISABLE): Likewise.
35979 [IS_IN (libc)] (CENABLE): Likewise.
35980 [IS_IN (libc)] (CENABLE): Likewise.
35981 [IS_IN (librt)] (CDISABLE): Likewise.
35982 [IS_IN (librt)] (CDISABLE): Likewise.
35983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35985 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35987 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35989 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35993 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35996 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35997 middle and outer with size_t instead of int. Repleace %d and
35998 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35999 "MAX (outer, nchars - 64)" to support unsigned outer and
36000 nchars. Also exit loop when outer == 0.
36002 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36004 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36005 * include/signal.h (__sigsuspend_nocancel): Likewise.
36006 * include/time.h (__nanosleep_nocancel): Likewise.
36007 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36008 * login/utmp_file.c: Include non cancellable syscall header.
36009 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36012 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36014 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36015 .byte sequences with AVX512F instructions.
36016 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36017 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36018 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36019 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36021 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36024 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36025 Steve Ellcey <sellcey@cavium.com>
36027 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36028 Use PTR_REG macro in cmp instruction.
36030 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36032 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36033 Change the return type of the ifunc resolver to match the return
36034 type of the target function.
36036 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36038 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36039 (preadv64): Likewise.
36040 (pwrite64(: Likewise.
36041 (pwritev64): Likewise.
36043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36044 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36045 (LOAD_ARGS_0): Likewise.
36046 (LOAD_ARGS_1): Likewise.
36047 (LOAD_ARGS_2): Likewise.
36048 (LOAD_ARGS_3): Likewise.
36049 (LOAD_ARGS_4): Likewise.
36050 (LOAD_ARGS_5): Likewise.
36051 (LOAD_ARGS_6): Likewise.
36052 (LOAD_REGS_0): Likewise.
36053 (LOAD_REGS_1): Likewise.
36054 (LOAD_REGS_2): Likewise.
36055 (LOAD_REGS_3): Likewise.
36056 (LOAD_REGS_4): Likewise.
36057 (LOAD_REGS_5): Likewise.
36058 (LOAD_REGS_6): Likewise.
36059 (ASM_ARGS_0): Likewise.
36060 (ASM_ARGS_1): Likewise.
36061 (ASM_ARGS_2): Likewise.
36062 (ASM_ARGS_3): Likewise.
36063 (ASM_ARGS_4): Likewise.
36064 (ASM_ARGS_5): Likewise.
36065 (ASM_ARGS_6): Likewise.
36066 (LOAD_ARGS_TYPES_1): Likewise.
36067 (LOAD_ARGS_TYPES_2): Likewise.
36068 (LOAD_ARGS_TYPES_3): Likewise.
36069 (LOAD_ARGS_TYPES_4): Likewise.
36070 (LOAD_ARGS_TYPES_5): Likewise.
36071 (LOAD_ARGS_TYPES_6): Likewise.
36072 (LOAD_REGS_TYPES_1): Likewise.
36073 (LOAD_REGS_TYPES_2): Likewise.
36074 (LOAD_REGS_TYPES_3): Likewise.
36075 (LOAD_REGS_TYPES_4): Likewise.
36076 (LOAD_REGS_TYPES_5): Likewise.
36077 (LOAD_REGS_TYPES_6): Likewise.
36078 (TYPEFY): New define.
36079 (ARGIFY): Likewise.
36080 (internal_syscall0): Likewise.
36081 (internal_syscall1): Likewise.
36082 (internal_syscall2): Likewise.
36083 (internal_syscall3): Likewise.
36084 (internal_syscall4): Likewise.
36085 (internal_syscall5): Likewise.
36086 (internal_syscall6): Likewise.
36087 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36088 (INTERNAL_SYSCALL_NCS): Remove define.
36089 (internal_syscall1): Add define.
36091 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36093 * math/w_remainder_compat.c: Remove duplicate inclusion of
36094 math-svid-compat.h.
36095 * math/w_remainderf_compat.c: Likewise.
36096 * math/w_remainderl_compat.c: Likewise.
36098 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36102 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36105 * math/tgmath.h (__floating_type): Simplify definitions.
36106 (__real_integer_type): New macro.
36107 (__complex_integer_type): Likewise.
36108 (__expr_is_real): Likewise.
36109 (__tgmath_real_type_sub): Update comment to describe handling of
36111 (__tgmath_complex_type_sub): New macro.
36112 (__tgmath_complex_type): Likewise.
36113 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36114 (__TGMATH_CF128): Use __expr_is_real.
36115 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36117 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36118 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36119 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36122 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36124 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36126 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36128 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36131 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36132 nanosleep_not_cancel with __nanosleep_nocancel.
36133 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36134 (__nanosleep_nocancel): New macro.
36135 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36137 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36139 (__nanosleep_nocancel): New prototype.
36141 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36142 pause_not_cancel with __pause_nocancel.
36143 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36144 (__pause_nocancel): New macro.
36145 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36147 (__pause_nocancel): New prototype.
36148 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36150 2017-08-22 Martin Sebor <msebor@redhat.com>
36152 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36153 to return a pointer to the same type as the target function.
36155 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36159 * include/printf.h (__printf_fphex): Add attribute_hidden.
36160 (__guess_grouping): New prototype.
36161 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36162 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36163 libc_hidden_proto and libc_hidden_def.
36164 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36165 (__vstrfmon_l): Remove the third argument passed to
36168 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36170 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36171 definition for issignaling that does not rely on __MATH_TG,
36172 since __MATH_TG uses __builtin_types_compatible_p, which is only
36173 available in C mode.
36174 (CFLAGS-test-math-issignaling.cc): New variable.
36175 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36176 * math/test-math-issignaling.cc: New test for C++ implementation
36177 of type-generic issignaling.
36178 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36179 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36180 options of test-math-issignaling on powerpc64le.
36182 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36184 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36186 (hidden_proto): Likewise.
36187 (hidden_tls_proto): Likewise.
36188 (__hidden_proto): Likewise.
36190 2017-08-22 Florian Weimer <fweimer@redhat.com>
36192 math: Statically link tests of internal functionality.
36193 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36195 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36196 (gmp-objs): Remove assignment.
36197 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36199 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36202 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36204 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36206 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36209 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36210 variable definitions above inclusion of ../Rules.
36212 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36214 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36215 case calling __builtin_unreachable.
36217 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36219 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36220 __waitpid_nocancel.
36221 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36222 (__waitpid_nocancel): New macro.
36223 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36225 (__waitpid_nocancel): Replace macro with a function.
36226 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36229 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36231 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36232 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36234 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36235 __writev_nocancel_nostatus.
36236 (write_call_graph): Likewise.
36237 (write_bb_counts): Likewise.
36238 * resolv/herror.c (herror): Likewise.
36239 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36241 (__writev_nocancel_nostatus): New macro.
36242 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36244 (__writev_nocancel_nostatus): New function.
36246 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36249 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36251 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36253 (hidden_proto): Likewise.
36254 (hidden_tls_proto): Likewise.
36255 (__hidden_proto): Likewise.
36258 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36259 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36270 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36271 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36273 GLIBC_2.0 sqrtl symbol.
36275 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36276 [__USE_MISC] (_LIB_VERSION): Likewise.
36277 [__USE_MISC] (struct exception): Likewise.
36278 [__USE_MISC] (matherr): Likewise.
36279 [__USE_MISC] (DOMAIN): Likewise.
36280 [__USE_MISC] (SING): Likewise.
36281 [__USE_MISC] (OVERFLOW): Likewise.
36282 [__USE_MISC] (UNDERFLOW): Likewise.
36283 [__USE_MISC] (TLOSS): Likewise.
36284 [__USE_MISC] (PLOSS): Likewise.
36285 [__USE_MISC] (HUGE): Likewise.
36286 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36287 * math/math-svid-compat.h: New file.
36288 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36290 * include/math.h [!_ISOMAC] (__matherr): Remove.
36291 * manual/arith.texi (FP Exceptions): Do not document matherr.
36292 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36293 (tests-internal): New variable.
36294 (install-lib): Do not add libieee.a.
36295 (non-lib.a): Likewise.
36296 (extra-objs): Do not add libieee.a and ieee-math.o.
36297 (CPPFLAGS-s_lib_version.c): Remove variable.
36298 ($(objpfx)libieee.a): Remove rule.
36299 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36300 * math/ieee-math.c: Remove.
36301 * math/libm-test-support.c (matherr): Remove.
36302 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36303 and license notices. Include <math-svid-compat.h> and
36305 (matherr): Undefine as macro. Use compat_symbol_reference.
36306 (_LIB_VERSION): Likewise.
36307 * math/test-matherr-2.c: New file.
36308 * math/test-matherr-3.c: Likewise.
36309 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36311 (__kernel_standard_f): Likewise.
36312 (__kernel_standard_l): Likewise.
36313 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36314 <math_private.h>. Include <math-svid-compat.h>.
36315 (_LIB_VERSION): Undefine as macro.
36316 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36317 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36318 [LIBM_SVID_COMPAT], use compat_symbol.
36319 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36320 <math_private.h>. Include <math-svid-compat.h>.
36321 (matherr): Undefine as macro.
36322 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36324 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36325 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36326 compat_symbol_reference.
36327 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36328 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36329 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36330 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36331 (MATHERR_D): Remove declaration.
36332 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36333 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36334 [LIBM_BUILD] (pmatherrf): Likewise.
36335 [LIBM_BUILD] (pmatherr): Likewise.
36336 [LIBM_BUILD] (pmatherrl): Likewise.
36337 (DOMAIN): Likewise.
36339 (OVERFLOW): Likewise.
36340 (UNDERFLOW): Likewise.
36343 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36344 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36346 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36347 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36349 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36350 * math/w_acos_compat.c: Likewise.
36351 * math/w_acosf_compat.c: Likewise.
36352 * math/w_acosh_compat.c: Likewise.
36353 * math/w_acoshf_compat.c: Likewise.
36354 * math/w_acoshl_compat.c: Likewise.
36355 * math/w_acosl_compat.c: Likewise.
36356 * math/w_asin_compat.c: Likewise.
36357 * math/w_asinf_compat.c: Likewise.
36358 * math/w_asinl_compat.c: Likewise.
36359 * math/w_atan2_compat.c: Likewise.
36360 * math/w_atan2f_compat.c: Likewise.
36361 * math/w_atan2l_compat.c: Likewise.
36362 * math/w_atanh_compat.c: Likewise.
36363 * math/w_atanhf_compat.c: Likewise.
36364 * math/w_atanhl_compat.c: Likewise.
36365 * math/w_cosh_compat.c: Likewise.
36366 * math/w_coshf_compat.c: Likewise.
36367 * math/w_coshl_compat.c: Likewise.
36368 * math/w_exp10_compat.c: Likewise.
36369 * math/w_exp10f_compat.c: Likewise.
36370 * math/w_exp10l_compat.c: Likewise.
36371 * math/w_exp2_compat.c: Likewise.
36372 * math/w_exp2f_compat.c: Likewise.
36373 * math/w_exp2l_compat.c: Likewise.
36374 * math/w_fmod_compat.c: Likewise.
36375 * math/w_fmodf_compat.c: Likewise.
36376 * math/w_fmodl_compat.c: Likewise.
36377 * math/w_hypot_compat.c: Likewise.
36378 * math/w_hypotf_compat.c: Likewise.
36379 * math/w_hypotl_compat.c: Likewise.
36380 * math/w_j0_compat.c: Likewise.
36381 * math/w_j0f_compat.c: Likewise.
36382 * math/w_j0l_compat.c: Likewise.
36383 * math/w_j1_compat.c: Likewise.
36384 * math/w_j1f_compat.c: Likewise.
36385 * math/w_j1l_compat.c: Likewise.
36386 * math/w_jn_compat.c: Likewise.
36387 * math/w_jnf_compat.c: Likewise.
36388 * math/w_jnl_compat.c: Likewise.
36389 * math/w_lgamma_main.c: Likewise.
36390 * math/w_lgamma_r_compat.c: Likewise.
36391 * math/w_lgammaf_main.c: Likewise.
36392 * math/w_lgammaf_r_compat.c: Likewise.
36393 * math/w_lgammal_main.c: Likewise.
36394 * math/w_lgammal_r_compat.c: Likewise.
36395 * math/w_log10_compat.c: Likewise.
36396 * math/w_log10f_compat.c: Likewise.
36397 * math/w_log10l_compat.c: Likewise.
36398 * math/w_log2_compat.c: Likewise.
36399 * math/w_log2f_compat.c: Likewise.
36400 * math/w_log2l_compat.c: Likewise.
36401 * math/w_log_compat.c: Likewise.
36402 * math/w_logf_compat.c: Likewise.
36403 * math/w_logl_compat.c: Likewise.
36404 * math/w_pow_compat.c: Likewise.
36405 * math/w_powf_compat.c: Likewise.
36406 * math/w_powl_compat.c: Likewise.
36407 * math/w_remainder_compat.c: Likewise.
36408 * math/w_remainderf_compat.c: Likewise.
36409 * math/w_remainderl_compat.c: Likewise.
36410 * math/w_scalb_compat.c: Likewise.
36411 * math/w_scalbf_compat.c: Likewise.
36412 * math/w_scalbl_compat.c: Likewise.
36413 * math/w_sinh_compat.c: Likewise.
36414 * math/w_sinhf_compat.c: Likewise.
36415 * math/w_sinhl_compat.c: Likewise.
36416 * math/w_sqrt_compat.c: Likewise.
36417 * math/w_sqrtf_compat.c: Likewise.
36418 * math/w_sqrtl_compat.c: Likewise.
36419 * math/w_tgamma_compat.c: Likewise.
36420 * math/w_tgammaf_compat.c: Likewise.
36421 * math/w_tgammal_compat.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36423 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36424 * sysdeps/ieee754/k_standard.c: Likewise.
36425 * sysdeps/ieee754/k_standardf.c: Likewise.
36426 * sysdeps/ieee754/k_standardl.c: Likewise.
36427 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36428 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36429 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36434 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36435 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36442 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36443 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36445 2017-08-21 Florian Weimer <fweimer@redhat.com>
36448 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36449 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36450 Move before inclusion of ../Rules.
36452 2017-08-21 Florian Weimer <fweimer@redhat.com>
36455 * assert/assert.h (assert): Use static_cast (bool) for C++.
36456 Use the ternary operator in the warning branch for GNU C.
36457 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36458 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36459 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36460 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36461 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36463 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36466 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36467 (__syscall_clock_gettime): Add attribute_hidden.
36468 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36469 (__start_context): Likewise.
36471 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36473 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36475 (hidden_proto): Likewise.
36476 (hidden_tls_proto): Likewise.
36477 (__hidden_proto): Likewise.
36479 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36481 * include/libc-symbols.h (attribute_hidden): Enable hidden
36482 visibility in libc.a compiled with PIE.
36484 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36487 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36488 Add attribute_hidden.
36490 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36493 * Makerules (all-nonlib): Add $(others-extras).
36494 * catgets/Makefile (others-extras): New.
36495 * elf/Makefile (others-extras): Likewise.
36496 * nss/Makefile (others-extras): Likewise.
36498 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36501 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36502 * elf/dl-open.c: Include <libc-internal.h>.
36503 (__libc_multiple_libcs): Removed.
36504 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36506 * include/libc-internal.h (__libc_multiple_libcs): New.
36507 * misc/sbrk.c: Include <libc-internal.h>.
36508 (__libc_multiple_libcs): Removed.
36510 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36513 * grp/initgroups.c (__nss_group_database): Removed.
36514 (__nss_initgroups_database): Likewise.
36515 * nscd/gai.c (__nss_hosts_database): Likewise.
36516 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36517 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36518 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36519 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36520 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36521 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36523 * nss/nsswitch.c (__nss_database_custom): Define only if
36524 USE_NSCD is defined.
36525 (__nss_configure_lookup): Use __nss_database_custom only if
36526 USE_NSCD is defined.
36527 * nss/nsswitch.h (__nss_database_custom): Declare only if
36528 USE_NSCD is defined. Add attribute_hidden.
36529 (__nss_setent): Add attribute_hidden.
36530 (__nss_endent): Likewise.
36531 (__nss_getent_r): Likewise.
36532 (__nss_getent): Likewise.
36533 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36535 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36538 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36539 libc_hidden_proto and libc_hidden_def.
36541 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36544 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36545 Add libc_hidden_proto.
36546 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36547 Add libc_hidden_def.
36549 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36552 * gmon/Makefile (routines): Remove bb_init_func and
36554 (elide-routines.os): Removed.
36555 * gmon/bb_exit_func.c: Likewise.
36556 * gmon/bb_init_func.c: Likewise.
36557 * include/sys/gmon.h (__bb): Likewise.
36558 (__bb_init_func): Likewise.
36559 (__bb_exit_func): Likewise.
36560 * sysdeps/alpha/bb_init_func.S: Likewise.
36562 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36564 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36565 * include/setjmp.h (____longjmp_chk): Here. Add
36568 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36571 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36573 (__strspn_sse2): Likewise.
36575 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36577 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36578 (close_not_cancel_no_status): Likewise.
36579 (__close_nocancel): New macro.
36580 (__close_nocancel_nostatus): Likewise.
36581 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36583 (close_not_cancel): Likewise.
36584 (close_not_cancel_no_status): Likewise.
36585 (__close_nocancel): New prototype.
36586 (__close_nocancel_nostatus): New function.
36587 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36588 * catgets/open_catalog.c (__open_catalog): Replace
36589 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36590 * gmon/gmon.c (write_gmon): Likewise.
36591 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36592 * intl/loadmsgcat.c (close): Likewise.
36593 * io/ftw.c (open_dir_stream): Likewise.
36594 (ftw_startup): Likewise.
36595 * libio/fileops.c (_IO_file_open): Likewise.
36596 (_IO_file_close_mmap): Likewise.
36597 (_IO_file_close): Likewise.
36598 * libio/iopopen.c (_IO_dup2): Likewise.
36599 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36600 * locale/loadlocale.c (_nl_load_locale): Likewise.
36601 * login/utmp_file.c (pututline_file): Likewise.
36602 (endutent_file): Likewise.
36603 * misc/daemon.c (daemon): Likewise.
36604 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36605 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36606 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36607 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36609 * nscd/nscd_helper.c (open_socket): Likewise.
36610 (__nscd_open_socket): Likewise.
36611 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36612 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36613 (__nscd_innetgr): Likewise.
36614 * nss/nss_db/db-open.c (internal_setent): Likewise.
36615 * resolv/res-close.c (__res_iclose): Likewise.
36616 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36617 * sysdeps/posix/closedir.c (__closedir): Likewise.
36618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36619 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36620 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36621 (opendir_tail): Likewise.
36622 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36623 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36625 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36626 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36627 (gethostid): Likewise.
36628 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36629 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36632 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36633 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36634 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36636 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36637 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36638 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36640 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36641 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36643 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36645 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36647 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36650 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36651 (openat_not_cancel_3): Likewise.
36652 (openat64_not_cancel_3): Likewise).
36653 (openat_not_cancel_3): Likewise).
36654 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36656 (openat_not_cancel_3): Likewise.
36657 (openat64_not_cancel): Likewise.
36658 (openat64_not_cancel_3): Likewise.
36659 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36660 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36661 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36662 __open{64}_nocancel.
36663 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36664 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36665 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36667 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36670 * include/argz.h (__argz_create_sep): New function prototype.
36671 (__argz_append): Likewise.
36672 (__argz_add): Likewise.
36673 (__argz_add_sep): Likewise.
36674 (__argz_delete): Likewise.
36675 (__argz_insert): Likewise.
36676 (__argz_replace): Likewise.
36677 * string/argz.h (__argz_create_sep): Removed.
36678 (__argz_append): Likewise.
36679 (__argz_add): Likewise.
36680 (__argz_add_sep): Likewise.
36681 (__argz_delete): Likewise.
36682 (__argz_insert): Likewise.
36683 (__argz_replace): Likewise.
36685 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36687 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36688 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36689 (GNU_PROPERTY_STACK_SIZE): Likewie.
36690 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36691 (GNU_PROPERTY_LOPROC): Likewise.
36692 (GNU_PROPERTY_HIPROC): Likewise.
36693 (GNU_PROPERTY_LOUSER): Likewise.
36694 (GNU_PROPERTY_HIUSER): Likewise.
36695 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36696 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36697 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36698 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36699 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36700 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36701 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36702 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36703 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36704 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36705 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36706 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36707 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36708 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36709 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36710 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36711 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36712 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36713 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36714 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36715 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36716 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36717 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36719 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36721 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36724 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36727 * math/math.h (isinf): Check if in C or C++ mode before using
36728 __builtin_types_compatible_p, since this is a C mode feature.
36730 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36732 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36733 (__write_nocancel): New macro.
36734 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36735 Rewrite as a function prototype.
36736 (write_not_cancel): Remove macro.
36737 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36738 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36739 (write_gmon): Likewise.
36740 * libio/fileops.c (_IO_new_file_write): Likewise.
36741 * login/utmp_file.c (pututline_file): Likewise.
36742 (updwtmp_file): Likewise.
36743 * stdio-common/psiginfo.c (psiginfo): Likewise.
36744 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36745 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36746 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36748 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36751 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36752 (__read_nocancel): New macro.
36753 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36755 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36757 (__read_nocancel): New prototype.
36758 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36759 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36760 with __read_nocancel.
36761 * intl/loadmsgcat.c (read): Likewise.
36762 * libio/fileops.c (_IO_file_read): Likewise.
36763 * locale/loadlocale.c (_nl_load_locale): Likewise.
36764 * login/utmp_file.c (getutent_r_file): Likewise.
36765 (internal_getut_r): Likewise.
36766 (getutline_r_file): Likewise.
36767 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36768 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36769 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36772 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36773 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36774 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36776 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36778 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36780 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36782 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36784 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36787 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36788 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36791 2017-08-17 DJ Delorie <dj@redhat.com>
36793 * bug17079.c: Update to new test harness.
36794 * test-digits-dots.c: Likewise.
36795 * test-netdb.c: Likewise.
36796 * tst-field.c: Likewise.
36797 * tst-nss-getpwent.c: Likewise.
36798 * tst-nss-static.c: Likewise.
36799 * tst-nss-test1.c: Likewise.
36800 * tst-nss-test2.c: Likewise.
36801 * tst-nss-test3.c: Likewise.
36802 * tst-nss-test4.c: Likewise.
36803 * tst-nss-test5.c: Likewise.
36805 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36807 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36808 (open_not_cancel_2): Likewise.
36809 (open_nocancel): New macro.
36810 (open64_nocancel): Likewise.
36811 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36812 (open_not_cancel_2): Likewise.
36813 (__open_nocancel): New prototype.
36814 (__open64_nocancel): Likewise.
36815 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36817 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36818 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36819 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36820 with __open_nocancel.
36821 * csu/check_fds.c (check_one_fd): Likewise.
36822 * gmon/gmon.c (write_gmon): Likewise.
36823 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36824 * intl/loadmsgcat.c (open): Likewise.
36825 * libio/fileops.c (_IO_file_open): Likewise.
36826 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36827 * locale/loadlocale.c (_nl_load_locale): Likewise.
36828 * login/utmp_file.c (setutent_file): Likewise.
36829 * misc/daemon.c (daemon): Likewise.
36830 * nss/nss_db/db-open.c (internal_setent): Likewise.
36831 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36832 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36833 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36834 (__opendir): Likewise.
36835 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36836 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36837 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36838 (gethostid): Likewise.
36839 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36840 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36843 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36844 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36845 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36847 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36849 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36851 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36853 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36855 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36857 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36858 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36860 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36862 * benchtests/bench-skeleton.c (main): Add support for
36863 latency benchmarking.
36864 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36866 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36868 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36869 the startup object.
36871 2017-08-17 Florian Weimer <fweimer@redhat.com>
36873 * include/sys/socket.h (__opensock): Remove internal_function.
36874 * socket/opensock.c (__opensock): Likewise.
36875 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36877 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36880 * signal/bits/types/__sigval_t.h: New file.
36881 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36882 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36883 and define sigval_t using __sigval_t.
36884 * include/bits/types/__sigval_t.h: New file.
36885 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36886 instead of <bits/types/__sigval_t.h>.
36887 (struct sigevent): Use __sigval_t instead of sigval_t.
36888 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36889 instead of <bits/types/__sigval_t.h>.
36890 (siginfo_t): Use __sigval_t instead of sigval_t.
36891 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36892 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36893 (struct sigevent): Use __sigval_t instead of sigval_t.
36894 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36895 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36896 (siginfo_t): Use __sigval_t instead of sigval_t.
36897 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36899 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36901 * NEWS: Remove "[Add new features here]" for 2.27.
36903 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36905 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36908 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36910 * NEWS: Mention x86-64 FMA optimization.
36912 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36917 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36918 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36919 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36921 2017-08-16 Andreas Schwab <schwab@suse.de>
36925 * elf/ldd.bash.in: Never run file directly.
36927 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36930 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36931 (L(SP_INF_0)): Likewise.
36933 2017-08-15 Florian Weimer <fweimer@redhat.com>
36935 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36938 2017-08-15 Florian Weimer <fweimer@redhat.com>
36940 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36941 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36942 BROKEN_THREAD_SIGNALS code.
36943 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36944 request_list): Remove caller_pid member used for
36945 BROKEN_THREAD_SIGNALS.
36946 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36947 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36948 Remove BROKEN_THREAD_SIGNALS support.
36949 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36950 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36952 2017-08-15 Florian Weimer <fweimer@redhat.com>
36954 * gmon/Makefile (tests): Add tst-gmon.
36955 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36957 (tests-special): Add tst-gmon-prof.out.
36958 (tst-gmon.out): Depend on clean-tst-gmon-data.
36959 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36960 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36961 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36963 * aclocal.m4 (GPROF): Set and substitute.
36964 * config.amke.in (GPROF): Set.
36965 * configure: Regenerate.
36967 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36969 * elf/elf.h A (NT_PPC_TAR): New macro.
36970 (NT_PPC_PPR): Likewise.
36971 (NT_PPC_DSCR): Likewise.
36972 (NT_PPC_EBB): Likewise.
36973 (NT_PPC_PMU): Likewise.
36974 (NT_PPC_TM_CGPR): Likewise.
36975 (NT_PPC_TM_CFPR): Likewise.
36976 (NT_PPC_TM_CVMX): Likewise.
36977 (NT_PPC_TM_CVSX): Likewise.
36978 (NT_PPC_TM_SPR): Likewise.
36979 (NT_PPC_TM_CTAR): Likewise.
36980 (NT_PPC_TM_CPPR): Likewise.
36981 (NT_PPC_TM_CDSCR): Likewise.
36983 2017-08-15 Florian Weimer <fweimer@redhat.com>
36985 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36986 regparm (2) instead of internal_function.
36987 (_MCOUNT_DECL): Adjust.
36989 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36992 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36994 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36996 * conform/data/sys/wait.h-data (si_value): Do not expect for
36999 2017-08-14 Florian Weimer <fweimer@redhat.com>
37002 NSS: Create stubs for accidentally exported lookup functions.
37003 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37004 Remove declaration.
37005 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37006 (ether_hostton): Call __nss_ethers_lookup2 instead.
37007 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37008 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37009 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37010 (setup): Call __nss_netgroup_lookup2 instead.
37011 * nss/Makefile (routines): Add compat-lookup.
37012 * nss/Versions (GLIBC_2.27): Add symbol version.
37013 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37014 (DB_COMPAT_FCT): Remove.
37015 * nss/compat-lookup.c: New file.
37016 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37017 from databases.def.
37018 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37019 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37020 (netname2user): Call __nss_publickey_lookup2 instead.
37021 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37022 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37025 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37026 Sergei Trofimovich <slyfox@inbox.ru>
37029 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37030 Rename to MMAP2_PAGE_UNIT.
37031 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37032 __OFF_T_MATCHES_OFF64_T is not defined.
37033 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37035 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37036 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37038 2017-08-14 Florian Weimer <fweimer@redhat.com>
37040 i386: Do not set internal_function.
37041 * config.h.in (USE_REGPARMS, internal_function): Remove.
37042 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37043 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37045 2017-08-14 Florian Weimer <fweimer@redhat.com>
37047 * elf/dl-init.c (_dl_init): Remove internal_function.
37048 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37049 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37051 2017-08-14 Florian Weimer <fweimer@redhat.com>
37053 * elf/rtld.c (_dl_start): Remove internal_function.
37054 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37057 2017-08-14 Florian Weimer <fweimer@redhat.com>
37059 * elf/dl-fini.c (_dl_fini): Remove internal_function
37060 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37062 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37064 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37065 (bit_cpu_SHSTK): Likewise.
37066 (index_cpu_IBT): Likewise.
37067 (index_cpu_SHSTK): Likewise.
37068 (reg_IBT): Likewise.
37069 (reg_SHSTK): Likewise.
37070 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37071 Handle index_cpu_IBT and index_cpu_SHSTK.
37073 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37076 * po/fr.po: Fix spelling mistake.
37078 2017-08-13 Florian Weimer <fweimer@redhat.com>
37080 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37081 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37082 (_dl_catch_error, _dl_receive_error): Likewise.
37083 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37084 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37085 (_dl_deallocate_tls): Likewise.
37086 * include/dlfcn.h (_dl_addr): Likewise.
37087 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37088 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37089 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37092 2017-08-13 Florian Weimer <fweimer@redhat.com>
37094 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37095 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37097 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37099 2017-08-13 Florian Weimer <fweimer@redhat.com>
37101 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37103 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37104 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37105 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37106 internal_function from _dl_make_stack_executable_hook member.
37107 (_dl_make_stack_executable): Remove internal_function.
37108 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37110 * sysdeps/unix/sysv/linux/dl-execstack.c
37111 (_dl_make_stack_executable): Likewise.
37113 2017-08-13 Florian Weimer <fweimer@redhat.com>
37115 * sysdeps/unix/sysv/linux/netlinkaccess.h
37116 (__netlink_assert_response): Remove internal_function.
37117 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37118 (__netlink_assert_response): Likewise.
37120 2017-08-13 Florian Weimer <fweimer@redhat.com>
37122 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37124 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37126 2017-08-13 Florian Weimer <fweimer@redhat.com>
37128 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37130 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37131 * inet/netgroup.h (__internal_setnetgrent)
37132 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37133 * inet/getnetgrent_r.c (__internal_setnetgrent)
37134 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37135 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37136 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37137 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37138 * nss/nsswitch.h (db_lookup_function): Likewise.
37140 2017-08-13 Florian Weimer <fweimer@redhat.com>
37142 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37143 Remove internal_function.
37144 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37145 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37146 message argument on the stack.
37147 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37150 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37152 Adapt test case data to the changes in the thousands
37156 * localedata/tst-langinfo.sh: Adapt test case data.
37157 * stdlib/tst-strfmon_l.c: Likewise.
37158 * stdlib/tst-strtod4.c: Likewise.
37159 * stdlib/tst-strtod5i.c: Likewise.
37161 2017-08-11 Florian Weimer <fweimer@redhat.com>
37164 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37165 Suppress pedantic warning resulting from statement expression.
37166 (__ASSERT_FUNCTION): Add missing __extension__.
37168 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37170 * benchtests/bench-memmove-large.c: Print output in JSON
37172 * benchtests/bench-memmove.c: Likewise.
37174 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37175 * benchtests/bench-memchr.c (do_one_test): Likewise.
37176 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37177 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37178 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37179 * benchtests/bench-memmove.c (do_one_test): Likewise.
37180 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37181 * benchtests/bench-memset.c (do_one_test): Likewise.
37182 * benchtests/bench-string.h (test_init): Remove memsets.
37184 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37187 (Computing the Width of an Integer Data Type): Rename section to
37188 "Width of an Integer Type". Remove inaccurate statement regarding
37189 lack of C language facilities for determining width of integer
37190 types, and reorder content to improve flow and context of
37193 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37195 * lang.texi (va_copy): Change standard from ISO to C99.
37196 (__va_copy): Add standard and header annotation.
37197 Update description for clarity of origins and current use.
37199 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37202 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37203 xssqrtqp requires operands to be in Vector Registers
37204 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37205 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37206 (__ieee754_sqrtf128): Likewise.
37208 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37210 * sysdeps/aarch64/memcmp.S (memcmp):
37211 Rewrite of optimized memcmp.
37213 2017-08-10 Florian Weimer <fweimer@redhat.com>
37215 Introduce ld.so exceptions.
37216 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37217 (_dl_exception_create, _dl_exception_create_format)
37218 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37219 (_dl_catch_exception): Declare.
37220 (_dl_catch_error): Update comment.
37221 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37222 errstring, malloced members with exception member.
37223 (_dl_out_of_memory): Remove.
37224 (fatal_error): New function, extracted from _dl_signal_error.
37225 (_dl_signal_exception, _dl_signal_cexception): New functions.
37226 (_dl_signal_error): Call _dl_exception_create to allocate an
37228 (_dl_catch_exception): New function, based on _dl_catch_error.
37229 (_dl_catch_error): Implement using _dl_catch_exception.
37230 * elf/dl-exception.c: New file.
37231 * elf/Makefile (dl-routines): Add dl-exception.
37232 (elide-routines.os): Likewise.
37233 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37234 _dl_exception_create_format, _dl_exception_free.
37235 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37236 _dl_signal_exception.
37237 * elf/dl-lookup.c (make_string): Remove.
37238 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37239 _dl_signal_cexception, _dl_exception_free.
37240 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37241 _dl_signal_exception.
37242 * elf/dl-sym.c (do_sym): Likewise.
37243 * elf/dl-version.c (make_string): Remove.
37244 (match_symbol): Use _dl_exception_create_format,
37245 _dl_signal_cexception, _dl_exception_free.
37246 (_dl_check_map_versions): Likewise.
37247 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37248 _dl_catch_exception.
37249 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37250 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37251 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37252 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37253 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37254 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37255 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37256 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37258 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37265 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37266 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37267 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37269 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37271 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37273 2017-08-10 Florian Weimer <fweimer@redhat.com>
37275 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37276 attribute_hidden, internal_function.
37277 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37280 2017-08-10 Florian Weimer <fweimer@redhat.com>
37282 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37283 function which calls __builtin_unreachable.
37285 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37287 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37288 Indian monetary formatting
37289 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37292 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37294 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37295 Fix typo in comment.
37298 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37299 PTRACE_SEIZE_DEVEL): Remove.
37300 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37306 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37308 * posix/bits/types.h (__qaddr_t): Remove.
37311 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37312 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37314 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37315 (ucontext_t): Use __ctx with uc_flags.
37316 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37317 (__ctxt): Likewise.
37318 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37320 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37321 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37323 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37324 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37326 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37328 (ucontext_t): Use __ctx with uc_flags.
37329 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37330 (ucontext_t): Use __ctx with uc_flags.
37331 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37332 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37333 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37334 (ucontext_t): Use __ctx with uc_flags.
37335 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37336 undefine further down.
37337 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37339 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37340 undefine further down.
37341 (ucontext_t): Use __ctx with uc_flags.
37342 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37343 undefine further down.
37344 (ucontext_t): Use __ctx with uc_flags.
37345 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37346 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37347 Rename uc_pad to __glibc_reserved1.
37348 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37349 undefine further down.
37350 (ucontext_t): Use __ctx with uc_flags.
37351 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37353 (ucontext_t): Use __ctx with uc_flags.
37354 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37355 __ctx with uc_flags.
37356 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37357 (ucontext_t): Use __ctx with uc_flags.
37358 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37359 __ctx with uc_flags.
37361 2017-08-09 Florian Weimer <fweimer@redhat.com>
37364 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37365 before early return.
37367 2017-08-09 Andreas Schwab <schwab@suse.de>
37370 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37374 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37375 tst-compat-forwarder.
37376 (modules-names): Add tst-compat-forwarder-mod.
37377 ($(objpfx)tst-compat-forwarder): Depend on
37378 $(objpfx)tst-compat-forwarder-mod.so.
37379 * nptl/tst-compat-forwarder.c: New file.
37380 * nptl/tst-compat-forwarder-mod.c: New file.
37382 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37384 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37387 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37388 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37390 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37392 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37393 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37394 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37395 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37397 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37400 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37403 * manual/setjmp.texi (getcontex): Document uc_stack value
37404 compatibility differences.
37406 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37408 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37409 (old_malloc_hook): Likewise.
37410 (old_memalign_hook): Likewise.
37411 (old_realloc_hook): Likewise.
37412 (struct hdr): Likewise.
37414 (freehook): Likewise.
37415 (mallochook): Likewise.
37416 (memalignhook): Likewise.
37417 (reallochook): Likewise.
37418 (mprobe): Likewise.
37419 * malloc/mtrace.c (mallwatch): Likewise.
37420 (tr_old_free_hook): Likewise.
37421 (tr_old_malloc_hook): Likewise.
37422 (tr_old_realloc_hook): Likewise.
37423 (tr_old_memalign_hook): Likewise.
37424 (tr_where): Likewise.
37425 (lock_and_info): Likewise.
37426 (tr_freehook): Likewise.
37427 (tr_mallochook): Likewise.
37428 (tr_reallochook): Likewise.
37429 (tr_memalignhook): Likewise.
37430 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37431 * misc/mmap.c (__mmap): Likewise.
37432 * misc/mmap64.c (__mmap64): Likewise.
37433 * misc/mprotect.c (__mprotect): Likewise.
37434 * misc/msync.c (msync): Likewise.
37435 * misc/munmap.c (__munmap): Likewise.
37436 * posix/posix_madvise.c (posix_madvise): Likewise.
37437 * socket/send.c (__send): Likewise.
37438 * socket/sendto.c (__sendto): Likewise.
37439 * socket/setsockopt.c (__setsockopt): Likewise.
37440 * string/memcmp.c (__ptr_t): Remove macro.
37441 (MEMCMP): Use void * instead of ptr_t.
37442 * string/memrchr.c (__ptr_t): Remove macro.
37443 (__memrchr): Use void * instead of ptr_t.
37444 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37445 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37446 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37447 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37448 * sysdeps/mach/msync.c (msync): Likewise.
37449 * sysdeps/mach/munmap.c (__munmap): Likewise.
37450 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37452 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37453 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37454 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37455 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37456 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37457 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37458 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37459 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37461 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37462 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37463 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37464 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37465 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37466 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37467 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37468 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37471 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37472 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37473 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37474 (MEMCMP): Use void * instead of ptr_t.
37475 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37476 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37478 2017-08-08 Florian Weimer <fweimer@redhat.com>
37480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37483 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37486 * csu/libc-tls.c: Include <startup.h> first.
37487 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37488 * elf/dl-tunables.c: Include <startup.h> first.
37489 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37490 * sysdeps/generic/startup.h: New file.
37491 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37492 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37493 (I386_USE_SYSENTER): New. Defined to 0.
37495 2017-08-08 Andreas Schwab <schwab@suse.de>
37498 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37499 * nptl/pt-system.c (system): Likewise.
37501 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37504 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37506 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37507 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37508 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37509 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37510 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37511 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37512 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37514 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37517 * bits/sigaction.h (struct sigaction): Define sa_handler and
37518 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37519 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37520 [__USE_XOPEN_EXTENDED].
37521 (SA_RESTART): Likewise.
37522 (SA_NODEFER): Likewise.
37523 (SA_RESETHAND): Likewise.
37524 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37525 (struct sigaction): Define sa_handler and sa_sigaction using union
37526 also for [__USE_XOPEN_EXTENDED].
37527 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37528 [__USE_XOPEN_EXTENDED].
37529 (SA_RESTART): Likewise.
37530 (SA_NODEFER): Likewise.
37531 (SA_RESETHAND): Likewise.
37532 * sysdeps/unix/sysv/linux/bits/sigaction.h
37533 (struct sigaction): Define sa_handler and sa_sigaction using union
37534 also for [__USE_XOPEN_EXTENDED].
37535 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37536 [__USE_XOPEN_EXTENDED].
37537 (SA_RESTART): Likewise.
37538 (SA_NODEFER): Likewise.
37539 (SA_RESETHAND): Likewise.
37540 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37541 (struct sigaction): Define sa_handler and sa_sigaction using union
37542 also for [__USE_XOPEN_EXTENDED].
37543 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37544 [__USE_XOPEN_EXTENDED].
37545 (SA_RESTART): Likewise.
37546 (SA_NODEFER): Likewise.
37547 (SA_RESETHAND): Likewise.
37548 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37549 (struct sigaction): Define sa_handler and sa_sigaction using union
37550 also for [__USE_XOPEN_EXTENDED].
37551 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37552 [__USE_XOPEN_EXTENDED].
37553 (SA_RESTART): Likewise.
37554 (SA_NODEFER): Likewise.
37555 (SA_RESETHAND): Likewise.
37556 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37557 (struct sigaction): Define sa_handler and sa_sigaction using union
37558 also for [__USE_XOPEN_EXTENDED].
37559 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37560 [__USE_XOPEN_EXTENDED].
37561 (SA_RESTART): Likewise.
37562 (SA_NODEFER): Likewise.
37563 (SA_RESETHAND): Likewise.
37564 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37565 (struct sigaction): Define sa_handler and sa_sigaction using union
37566 also for [__USE_XOPEN_EXTENDED].
37567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37568 [__USE_XOPEN_EXTENDED].
37569 (SA_RESTART): Likewise.
37570 (SA_NODEFER): Likewise.
37571 (SA_RESETHAND): Likewise.
37572 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37573 (struct sigaction): Define sa_handler and sa_sigaction using union
37574 also for [__USE_XOPEN_EXTENDED].
37575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37576 [__USE_XOPEN_EXTENDED].
37577 (SA_RESTART): Likewise.
37578 (SA_NODEFER): Likewise. Define directly rather than as alias.
37579 (SA_RESETHAND): Likewise.
37580 (SA_INTERRUPT): Define only for [__USE_MISC].
37581 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37582 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37584 (SA_STACK): Define only for [__USE_MISC].
37585 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37586 (struct sigaction): Define sa_handler and sa_sigaction using union
37587 also for [__USE_XOPEN_EXTENDED].
37588 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37589 [__USE_XOPEN_EXTENDED].
37590 (SA_RESTART): Likewise.
37591 (SA_NODEFER): Likewise.
37592 (SA_RESETHAND): Likewise.
37593 (SA_NOPTRACE): Define only for [__USE_MISC].
37595 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37596 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37597 (struct catalog_info): Likewise.
37598 * inet/htontest.c (lo): Likewise.
37600 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37601 * inet/inet_net.c (inet_network): Likewise.
37602 * inet/inet_netof.c (inet_netof): Likewise.
37603 * inet/rcmd.c (__ivaliduser): Likewise.
37604 (iruserok): Likewise.
37605 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37606 * locale/programs/locale-spec.c (locale_special): Likewise.
37607 * nis/nis_findserv.c (struct findserv_req): Likewise.
37608 (__nis_findfastest_with_timeout): Likewise.
37609 * nss/test-netdb.c (test_network): Likewise.
37610 * resolv/inet_neta.c (inet_neta): Likewise.
37611 * resolv/ns_date.c (ns_datetosecs): Likewise.
37612 (SECS_PER_DAY): Likewise.
37613 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37615 * resolv/res_comp.c (__putlong): Likewise.
37616 (__putshort): Likewise.
37617 (_getlong): Likewise.
37618 (_getshort): Likewise.
37619 * resolv/res_debug.c (p_time): Likewise.
37620 (precsize_ntoa): Likewise.
37621 (precsize_aton): Likewise.
37622 (latlon2ul): Likewise.
37623 (loc_aton): Likewise.
37624 (loc_ntoa): Likewise.
37625 * resolv/res_hconf.c (struct netaddr): Likewise.
37626 (_res_hconf_reorder_addrs): Likewise.
37627 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37628 (clnttcp_control): Likewise.
37629 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37630 (clntudp_control): Likewise.
37631 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37632 (clntunix_control): Likewise.
37633 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37634 * sunrpc/rpc/auth.h (union des_block): Likewise.
37635 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37636 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37637 (xdrrec_create): Likewise.
37638 (xdrrec_endofrecord): Likewise.
37639 (flush_out): Likewise.
37640 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37641 (xdrstdio_putlong): Likewise.
37642 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37645 * misc/sys/cdefs.h (__long_double_t): Remove.
37646 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37647 instead of __long_double_t,
37648 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37650 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37652 * benchtests/scripts/compare_strings.py: Avoid display error when
37653 running on a text terminal.
37655 * benchtests/scripts/compare_strings.py (main): Add an
37656 optional -base option.
37657 (process_results): New argument base_func.
37659 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37661 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37662 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37664 2017-08-07 Andreas Schwab <schwab@suse.de>
37666 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37667 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37668 * intl/Makefile ($(objpfx)tst-gettext.out)
37669 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37670 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37671 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37673 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37674 * posix/Makefile ($(objpfx)globtest.out)
37675 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37676 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37677 ($(objpfx)tst-printf.out): Likewise.
37678 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37679 ($(objpfx)tst-setcontext3.out): Likewise.
37681 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37683 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37684 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37685 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37686 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37687 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37689 (CFLAGS-doasin-fma.c): New.
37690 (CFLAGS-dosincos-fma.c): Likewise.
37691 (CFLAGS-e_asin-fma.c): Likewise.
37692 (CFLAGS-e_atan2-fma.c): Likewise.
37693 (CFLAGS-e_exp-fma.c): Likewise.
37694 (CFLAGS-e_log-fma.c): Likewise.
37695 (CFLAGS-e_pow-fma.c): Likewise.
37696 (CFLAGS-halfulp-fma.c): Likewise.
37697 (CFLAGS-mpa-fma.c): Likewise.
37698 (CFLAGS-mpatan-fma.c): Likewise.
37699 (CFLAGS-mpatan2-fma.c): Likewise.
37700 (CFLAGS-mpexp-fma.c): Likewise.
37701 (CFLAGS-mplog-fma.c): Likewise.
37702 (CFLAGS-mpsqrt-fma.c): Likewise.
37703 (CFLAGS-mptan-fma.c): Likewise.
37704 (CFLAGS-s_atan-fma.c): Likewise.
37705 (CFLAGS-sincos32-fma.c): Likewise.
37706 (CFLAGS-slowexp-fma.c): Likewise.
37707 (CFLAGS-slowpow-fma.c): Likewise.
37708 (CFLAGS-s_sin-fma.c): Likewise.
37709 (CFLAGS-s_tan-fma.c): Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37733 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37735 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37736 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37737 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37742 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37744 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37745 (min_of_type_f): New macro.
37746 (min_of_type_): Likewise.
37747 (min_of_type_l): Likewise.
37748 (min_of_type_f128): Likewise.
37749 (min_of_type): Define using __MATH_TG and taking an expression
37751 (math_check_force_underflow): Pass expression instead of type to
37753 (math_check_force_underflow_nonneg): Likewise.
37755 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37757 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37758 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37759 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37761 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37764 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37765 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37766 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37767 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37768 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37769 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37770 memmove_chk-nonshared and memset_chk-nonshared
37771 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37772 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37773 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37774 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37775 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37776 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37777 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37778 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37779 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37780 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37781 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37782 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37783 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37784 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37785 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37786 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37787 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37788 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37789 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37790 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37791 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37792 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37793 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37794 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37795 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37796 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37797 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37798 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37799 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37800 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37801 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37802 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37803 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37804 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37805 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37806 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37807 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37808 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37809 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37810 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37811 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37812 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37813 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37814 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37815 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37816 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37817 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37818 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37819 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37820 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37821 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37822 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37823 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37824 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37825 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37826 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37827 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37828 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37829 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37831 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37833 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37834 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37835 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37836 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37837 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37838 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37839 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37840 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37841 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37842 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37874 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37880 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37882 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37883 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37884 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37885 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37886 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37887 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37888 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37889 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37890 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37891 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37892 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37893 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37894 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37895 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37896 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37897 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37898 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37899 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37900 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37901 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37902 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37903 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37905 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37906 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37907 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37908 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37909 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37910 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37911 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37912 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37913 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37914 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37915 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37916 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37917 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37918 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37920 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37922 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37923 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37924 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37925 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37926 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37927 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37928 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37929 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37930 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37931 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37932 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37933 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37936 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37937 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37939 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37940 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37942 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37943 Don't include <sysdep.h> nor <init-arch.h>.
37944 (_ZGVbN2v_cos): Removed.
37945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37947 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37948 Don't include <sysdep.h> nor <init-arch.h>.
37949 (_ZGVdN4v_cos): Removed.
37950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37952 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37953 Don't include <sysdep.h> nor <init-arch.h>.
37954 (_ZGVeN8v_cos): Removed.
37955 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37958 Don't include <sysdep.h> nor <init-arch.h>.
37959 (_ZGVbN2v_exp): Removed.
37960 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37962 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37963 Don't include <sysdep.h> nor <init-arch.h>.
37964 (_ZGVdN4v_exp): Removed.
37965 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37967 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37968 Don't include <sysdep.h> nor <init-arch.h>.
37969 (_ZGVeN8v_exp): Removed.
37970 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37972 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37973 Don't include <sysdep.h> nor <init-arch.h>.
37974 (_ZGVbN2v_log): Removed.
37975 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37977 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37978 Don't include <sysdep.h> nor <init-arch.h>.
37979 (_ZGVdN4v_log): Removed.
37980 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37982 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37983 Don't include <sysdep.h> nor <init-arch.h>.
37984 (_ZGVeN8v_log): Removed.
37985 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37987 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37988 Don't include <sysdep.h> nor <init-arch.h>.
37989 (_ZGVbN2vv_pow): Removed.
37990 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37992 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37993 Don't include <sysdep.h> nor <init-arch.h>.
37994 (_ZGVdN4vv_pow): Removed.
37995 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37997 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37998 Don't include <sysdep.h> nor <init-arch.h>.
37999 (_ZGVeN8vv_pow): Removed.
38000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38002 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38003 Don't include <sysdep.h> nor <init-arch.h>.
38004 (_ZGVbN2v_sin): Removed.
38005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38008 Don't include <sysdep.h> nor <init-arch.h>.
38009 (_ZGVbN4v_sin): Removed.
38010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38012 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38013 Don't include <sysdep.h> nor <init-arch.h>.
38014 (_ZGVbN8v_sin): Removed.
38015 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38018 Don't include <sysdep.h> nor <init-arch.h>.
38019 (_ZGVbN2vvv_sincos): Removed.
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38022 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38023 Don't include <sysdep.h> nor <init-arch.h>.
38024 (_ZGVdN4vvv_sincos): Removed.
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38028 Don't include <sysdep.h> nor <init-arch.h>.
38029 (_ZGVeN8vvv_sincos): Removed.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38033 Don't include <sysdep.h> nor <init-arch.h>.
38034 (_ZGVeN16v_cosf): Removed.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38038 Don't include <sysdep.h> nor <init-arch.h>.
38039 (_ZGVbN4v_cosf): Removed.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38043 Don't include <sysdep.h> nor <init-arch.h>.
38044 (_ZGVdN8v_cosf): Removed.
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38047 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38048 Don't include <sysdep.h> nor <init-arch.h>.
38049 (_ZGVeN16v_expf): Removed.
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38052 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38053 Don't include <sysdep.h> nor <init-arch.h>.
38054 (_ZGVbN4v_expf): Removed.
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38057 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38058 Don't include <sysdep.h> nor <init-arch.h>.
38059 (_ZGVdN8v_expf): Removed.
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38062 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38063 Don't include <sysdep.h> nor <init-arch.h>.
38064 (_ZGVeN16v_logf): Removed.
38065 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38067 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38068 Don't include <sysdep.h> nor <init-arch.h>.
38069 (_ZGVbN4v_logf): Removed.
38070 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38072 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38073 Don't include <sysdep.h> nor <init-arch.h>.
38074 (_ZGVdN8v_logf): Removed.
38075 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38077 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38078 Don't include <sysdep.h> nor <init-arch.h>.
38079 (_ZGVeN16vv_powf): Removed.
38080 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38082 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38083 Don't include <sysdep.h> nor <init-arch.h>.
38084 (_ZGVbN4vv_powf): Removed.
38085 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38087 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38088 Don't include <sysdep.h> nor <init-arch.h>.
38089 (_ZGVdN8vv_powf): Removed.
38090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38093 Don't include <sysdep.h> nor <init-arch.h>.
38094 (_ZGVeN16vvv_sincosf): Removed.
38095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38097 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38098 Don't include <sysdep.h> nor <init-arch.h>.
38099 (_ZGVbN4vvv_sincosf): Removed.
38100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38103 Don't include <sysdep.h> nor <init-arch.h>.
38104 (_ZGVdN8vvv_sincosf): Removed.
38105 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38107 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38108 Don't include <sysdep.h> nor <init-arch.h>.
38109 (_ZGVeN16v_sinf): Removed.
38110 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38112 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38113 Don't include <sysdep.h> nor <init-arch.h>.
38114 (_ZGVbN4v_sinf): Removed.
38115 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38117 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38118 Don't include <sysdep.h> nor <init-arch.h>.
38119 (_ZGVdN8v_sinf): Removed.
38121 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38123 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38124 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38125 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38126 s_rint-sse4_1 and s_rintf-sse4_1.
38127 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38128 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38129 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38130 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38131 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38132 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38134 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38135 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38136 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38137 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38138 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38140 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38141 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38142 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38143 (__ceilf): Removed.
38144 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38145 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38146 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38147 (__floor): Removed.
38148 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38149 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38150 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38151 (__floorf): Removed.
38152 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38154 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38155 (__nearbyint): Removed.
38156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38158 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38159 (__nearbyintf): Removed.
38160 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38161 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38162 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38164 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38165 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38166 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38167 (__rintf): Removed.
38169 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38171 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38172 SHARED. Avoid dynamic relocation against main in static PIE.
38174 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38177 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38178 (LDFLAGS-tst-prelink): Likewise.
38180 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38182 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38183 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38184 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38185 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38186 (INTERNAL_SYSCALL_NCS): Likewise.
38187 (LOADARGS_1): Likewise.
38188 (LOADARGS_5): Likewise.
38189 (RESTOREARGS_1): Likewise.
38190 (RESTOREARGS_5): Likewise.
38192 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38194 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38195 (MEMPCPY_SYMBOL): Likewise.
38196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38197 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38201 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38203 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38204 (__hidden_ver1): Don't use in libc.a.
38205 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38206 (__mempcpy): Don't create a weak alias in libc.a.
38207 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38209 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38210 (__hidden_ver1): Don't use in libc.a.
38212 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38214 * config.make.in (have-insert): New.
38215 * configure.ac (libc_cv_insert): New. Set to yes if linker
38216 supports INSERT in linker script.
38217 (AC_SUBST(libc_cv_insert): New.
38218 * configure: Regenerated.
38219 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38220 if $(have-insert) == yes.
38222 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38224 * elf/Makefile (tests): Add vismain only if
38225 $(have-protected-data) == yes.
38226 (tests-pie): Likewise.
38228 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38231 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38232 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38234 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38237 * sysdeps/i386/i586/memset.S
38238 (__memset_zero_constant_len_parameter): Removed.
38239 * sysdeps/i386/i686/memset.S
38240 (__memset_zero_constant_len_parameter): Likewise.
38241 * sysdeps/i386/i686/multiarch/memset_chk.S
38242 (__memset_zero_constant_len_parameter): Likewise.
38243 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38246 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38248 * stdlib/getentropy.c (getentropy): Change return type to int.
38250 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38252 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38254 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38256 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38258 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38259 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38261 (ieee_float_shape_type): Likewise.
38262 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38263 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38264 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38265 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38266 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38267 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38268 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38269 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38270 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38272 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38273 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38274 (__ieee754_yn): Likewise.
38275 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38276 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38277 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38279 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38280 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38281 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38282 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38283 (__erfc): Likewise.
38284 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38285 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38286 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38287 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38288 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38289 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38291 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38292 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38293 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38294 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38295 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38296 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38297 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38298 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38299 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38300 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38301 (__issignaling): Likewise.
38302 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38303 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38304 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38306 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38307 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38308 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38309 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38311 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38313 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38314 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38315 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38316 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38317 (__erfcf): Likewise.
38318 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38319 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38320 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38321 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38323 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38324 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38326 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38327 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38328 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38329 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38330 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38331 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38332 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38333 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38335 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38337 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38339 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38342 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38345 (__ieee754_ynl): Likewise.
38346 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38349 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38351 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38352 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38353 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38355 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38356 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38357 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38358 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38359 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38360 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38361 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38362 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38364 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38365 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38366 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38368 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38369 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38370 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38371 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38372 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38375 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38381 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38382 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38383 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38384 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38385 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38386 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38389 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38394 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38395 (__ieee754_remainderl): Likewise.
38396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38397 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38404 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38405 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38406 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38407 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38408 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38411 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38412 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38413 (__ieee754_y0l): Likewise.
38416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38417 (__ieee754_y1l): Likewise.
38420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38421 (__ieee754_ynl): Likewise.
38422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38423 (__ieee754_lgammal_r): Likewise.
38424 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38426 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38427 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38428 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38429 (__erfcl): Likewise.
38430 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38431 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38433 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38434 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38435 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38436 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38437 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38441 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38442 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38443 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38444 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38445 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38447 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38448 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38450 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38451 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38452 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38453 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38454 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38456 2017-08-03 Florian Weimer <fweimer@redhat.com>
38459 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38460 on memory allocation failure.
38462 2017-08-03 Alan Modra <amodra@gmail.com>
38464 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38465 tst-tlsopt-powerpc.c with function name change and no test harness.
38466 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38467 Call tls_get_addr_opt_test.
38468 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38469 (modules-names): Add mod-tlsopt-powerpc.
38470 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38471 (tst-tlsopt-powerpc): Depend on .so.
38472 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38473 define. Expand use in TLS_GD and TLS_LD.
38475 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38477 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38479 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38481 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38484 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38485 comparing size with that of double.
38486 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38487 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38488 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38489 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38490 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38491 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38492 unsigned __int128 types.
38494 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38496 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38497 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38498 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38499 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38500 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38502 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38504 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38506 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38508 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38510 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38518 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38521 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38522 bit-field expressions passed to sizeof or typeof.
38523 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38524 (__TGMATH_F128): Likewise.
38525 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38526 (__TGMATH_CF128): Likewise.
38527 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38528 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38529 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38530 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38531 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38532 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38533 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38534 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38535 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38536 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38537 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38538 (__TGMATH_UNARY_IMAG): Likewise.
38539 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38540 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38541 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38543 (define_vars_for_type): Handle bit_field type specially.
38544 (Tests.__init__): Declare structure with bit-field element.
38546 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38549 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38550 (MEMCPY_CHK): Define only if SHARED is defined.
38551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38556 See ChangeLog.18 for earlier changes.