1 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/s390/hp-timing.h: New file.
5 2019-09-18 Joseph Myers <joseph@codesourcery.com>
7 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
10 (CLONE_VFORK): Likewise.
12 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
14 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
15 Rearrange subprocesses.
16 (pldd_process): New function.
17 * support/Makefile (libsupport-routines): Add support_ptrace.
18 * support/xptrace.h: New file.
19 * support/support_ptrace.c: Likewise.
21 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
25 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26 (INTERNAL_VSYSCALL_CALL): Remove.
27 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28 (INTERNAL_VSYSCALL_CALL): Likewise.
29 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30 (INTERNAL_VSYSCALL_CALL): Likewise.
31 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
34 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
36 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
37 (__get_timebase_freq): Remove use of
38 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
39 (get_timebase_freq_fallback): New symbol.
40 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
41 HAVE_GETTIMEOFDAY_VSYSCALL.
42 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
44 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
46 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
49 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
50 * .../sysv/linux/powerpc/powerpc64/sysdep.h
51 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
53 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
55 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
56 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
57 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
59 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
60 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
61 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
62 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
63 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
64 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
65 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
66 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
67 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
68 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
70 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
71 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
72 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
73 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
75 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
76 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
78 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
79 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
80 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
81 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
82 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
83 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
85 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
86 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
87 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
88 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
89 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
90 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
91 HAVE_GETCPU_VSYSCALL): Likewise.
92 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
93 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
94 HAVE_GETCPU_VSYSCALL): Likewise.
95 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
96 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
97 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
98 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
99 HAVE_GETCPU_VSYSCALL): Likewise.
100 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
101 invalid names if architecture does not define them.
102 (get_vdso_mangle_symbol): New symbol.
103 * sysdeps/unix/sysv/linux/init-first.c: New file.
104 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
106 clock_gettime, clock_getres, getcpu, time): Remove declaration.
107 (__libc_vdso_platform_setup_arch): Likewise and use
108 get_vdso_mangle_symbol to setup vDSO symbols.
109 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
111 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
112 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
115 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
116 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
117 Use get_vdso_symbol instead of _dl_vdso_vsym.
118 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
119 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
120 (__lookup_riscv_flush_icache): Likewise.
121 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
123 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
124 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
125 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
126 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
127 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
128 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
129 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
130 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
131 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
132 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
134 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
136 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
138 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
140 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
146 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
147 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
149 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
150 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
151 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
152 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
154 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
156 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
158 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
159 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
161 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
162 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
163 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
164 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
165 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
166 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
167 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
168 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
169 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
170 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
171 (get_vdso_symbol): New function.
173 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
175 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
176 position of string null termination.
178 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
181 * sysdeps/unix/alpha/getegid.S: Move to ...
182 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
183 * sysdeps/unix/alpha/geteuid.S: Move to ...
184 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
185 * sysdeps/unix/alpha/getppid.S: Move to ...
186 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
188 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
190 Fix http: URL in 'configure'
191 * configure.ac: Add URL to AC_INIT so that it generates an
192 https: URL instead of an http: URL.
193 * configure: Regenerate.
195 Regenerate charmap-kw.h, locfile-kw.h
196 This propagates the recent http->https URL changes.
197 Since I used gperf 3.1 to regenerate, this is also a minor
198 internal-to-localedef API change.
199 URL problem reported by Joseph Myers in:
200 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
201 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
202 Regenerate with gperf 3.1.
203 * locale/programs/linereader.h (kw_hash_fct_t):
204 * locale/programs/repertoire.c (repertoiremap_hash):
205 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
207 2019-09-05 Florian Weimer <fweimer@redhat.com>
210 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
211 (_nl_category_names_get): New function.
212 * intl/dcigettext.c (category_to_name): Call it.
213 * locale/findlocale.c (_nl_find_locale): Likewise.
214 * intl/loadlocale.c (_nl_load_locale): Likewise.
215 * locale/newlocale.c (__newlocale): Likewise.
216 * locale/setlocale.c (_nl_category_names): Adjust definition.
217 (_nl_category_name_idxs): Likewise.
218 (new_composite_name): Call _nl_category_names_get.
219 (setlocale): Likewise.
221 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
223 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
224 const attribute with pure attribute.
226 2019-09-04 Lukasz Majewski <lukma@denx.de>
228 * sysdeps/unix/sysv/linux/kernel-features.h
229 (__ASSUME_TIME64_SYSCALLS): New macro.
231 2019-09-04 Zack Weinberg <zackw@panix.com>
234 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
235 * rt/clock_getres.c: Move to time/clock_getres.c.
236 * rt/clock_gettime.c: Move to time/clock_gettime.c.
237 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
238 * rt/clock_settime.c: Move to time/clock_settime.c.
239 * rt/tst-clock.c: Move to time/tst-clock.c.
240 * rt/tst-clock2.c: Move to time/tst-clock2.c.
241 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
242 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
243 * rt/clock-compat.c: Delete file.
245 * time/clock_getcpuclockid.c
246 * time/clock_getres.c
247 * time/clock_gettime.c
248 * time/clock_nanosleep.c
249 * time/clock_settime.c
250 * sysdeps/posix/clock_getres.c
251 * sysdeps/unix/clock_gettime.c
252 * sysdeps/unix/clock_nanosleep.c
253 * sysdeps/unix/clock_settime.c
254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
255 * sysdeps/unix/sysv/linux/clock_getres.c
256 * sysdeps/unix/sysv/linux/clock_gettime.c
257 * sysdeps/unix/sysv/linux/clock_nanosleep.c
258 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
259 defined by this file with default symbol version GLIBC_2_17,
260 and optionally a compatibility alias at symbol version GLIBC_2_2.
261 * include/time.h: Remove internal prototypes for clock_getres,
262 clock_nanosleep, and clock_getcpuclockid.
264 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
265 Remove unused function realtime_gettime.
267 * rt/Makefile (clock-routines, routines): Remove variable.
268 (librt-routines): Remove clock-compat.
269 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
271 * time/Makefile (routines): Add clock_getres, clock_gettime,
272 clock_settime, clock_getcpuclockid, and clock_nanosleep.
273 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
276 * rt/Versions (libc): Remove entire stanza.
277 (librt GLIBC_2.2): Remove all clock_* functions.
278 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
279 Add clock_getres, clock_gettime, clock_settime,
280 clock_getcpuclockid, and clock_nanosleep.
281 (libc GLIBC_PRIVATE): Add __clock_gettime.
283 * sysdeps/mach/hurd/i386/librt.abilist
284 * sysdeps/unix/sysv/linux/alpha/librt.abilist
285 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
286 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
287 * sysdeps/unix/sysv/linux/hppa/librt.abilist
288 * sysdeps/unix/sysv/linux/i386/librt.abilist
289 * sysdeps/unix/sysv/linux/ia64/librt.abilist
290 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
291 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
292 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
293 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
294 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
295 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
298 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
299 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
300 * sysdeps/unix/sysv/linux/sh/librt.abilist
301 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
302 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
303 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
304 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
305 Remove entries for clock_getres, clock_gettime, clock_settime,
306 clock_getcpuclockid, and clock_nanosleep.
308 * sysdeps/mach/hurd/i386/libc.abilist
309 * sysdeps/unix/sysv/linux/alpha/libc.abilist
310 * sysdeps/unix/sysv/linux/arm/libc.abilist
311 * sysdeps/unix/sysv/linux/hppa/libc.abilist
312 * sysdeps/unix/sysv/linux/i386/libc.abilist
313 * sysdeps/unix/sysv/linux/ia64/libc.abilist
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
315 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
316 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
317 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
319 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
325 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
326 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
327 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
328 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
329 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
330 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
331 Add another set of entries for clock_getres, clock_gettime,
332 clock_settime, clock_getcpuclockid, and clock_nanosleep at
333 whatever version GLIBC_2.2 maps to.
335 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
337 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
339 2019-09-03 Florian Weimer <fweimer@redhat.com>
342 * locale/programs/charmap.h (struct charseq): Turn bytes into a
343 flexible array member.
344 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
347 2019-09-02 Florian Weimer <fweimer@redhat.com>
349 * misc/tst-mntent-autofs.c: New file.
350 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
352 2019-09-02 Ian Kent <ikent@redhat.com>
354 Use autofs "ignore" mount hint in getmntent_r/getmntent.
355 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
357 (__getmntent_r): Call it. Filter out autofs entries with an
358 "ignore" mount option.
360 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
362 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
363 (generic_memcpy): Include generic C memcpy.
364 * benchtests/bench-memmove.c (simple_memmove): Remove.
365 (generic_memmove): Include generic C memmove.
366 * benchtests/bench-memset.c (simple_memset): Remove.
367 (generic_memset): Include generic C memset.
368 * benchtests/bench-memset-large.c (simple_memset): Remove.
369 (generic_memset): Include generic C memset.
370 * benchtests/bench-memset-walk.c (simple_memset): Remove.
371 (generic_memset): Include generic C memset.
372 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
373 * string/memset.c (MEMSET): Likewise.
374 * sysdeps/x86_64/memcopy.h: Remove empty file.
376 2019-08-30 Florian Weimer <fweimer@redhat.com>
378 nptl: Move pthread_attr_getinheritsched implementation into libc.
379 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
380 (libpthread-routines): Remove pthread_attr_getinheritsched.
381 * nptl/Versions (libpthread GLIBC_2.0): Remove
382 pthread_attr_getinheritsched.
383 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
384 * nptl/nptl-init.c (pthread_functions): Remove initializer for
385 ptr_pthread_attr_getinheritsched.
386 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
387 Remove ptr_pthread_attr_getinheritsched member.
388 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
389 Remove pthread_attr_getinheritsched.
390 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
392 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
394 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
396 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
398 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
400 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
402 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
404 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
405 (GLIBC_2.4): Likewise.
406 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
407 (GLIBC_2.0): Likewise.
408 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
409 (GLIBC_2.18): Likewise.
410 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
411 (GLIBC_2.18): Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
413 (GLIBC_2.0): Likewise.
414 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
415 (GLIBC_2.0): Likewise.
416 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
419 (GLIBC_2.0): Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
421 (GLIBC_2.3): Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
423 (GLIBC_2.17): Likewise.
424 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
425 (GLIBC_2.27): Likewise.
426 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
427 (GLIBC_2.0): Likewise.
428 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
429 (GLIBC_2.2): Likewise.
430 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
432 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
434 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
435 (GLIBC_2.0): Likewise.
436 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
437 (GLIBC_2.2): Likewise.
438 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
439 (GLIBC_2.2.5): Likewise.
440 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
441 (GLIBC_2.16): Likewise.
443 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
445 * sysdeps/mach/hurd/getcwd.c
446 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
447 slash if we got an unknown root directory. (__getcwd): Do not fail with
448 EGRATUITOUS if we got an unknown root directory.
449 * hurd/hurdselect.c (SELECT_ERROR): New macro.
451 - Add `error' field to `d' structures array.
452 - If a poll descriptor is bogus, set EBADF, but continue with a zero
454 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
455 EBADF there is any bit set above _hurd_dtablesize.
456 - Do not request io_select on bogus descriptors (SELECT_ERROR).
457 - On io_select request error, record the error.
458 - On io_select bogus reply, use EIO error code.
459 - On io_select bogus or error reply, record the error.
460 - Do not destroy reply port for bogus FDs.
461 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
462 EBADF case, or else POLLERR.
463 - On error, make select simulated readiness.
466 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
469 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
470 unlocks SS and returns to the saved PC.
471 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
472 thread stack instead of the saved PC.
474 2019-08-30 Richard Braun <rbraun@sceen.net>
476 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
478 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
479 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
480 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
482 (_hurd_select): Replace the call to __io_select with either
483 __io_select_request or __io_select_timeout_request, depending on the
484 timeout. Count the number of ready descriptors (replies for which at
485 least one type bit is set). Implement the timeout locally when there is
488 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
490 * elf/dl-addr.c (determine_info): Calculate the symbol index
491 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
492 * elf/dl-lookup.c (do_lookup_x): Ditto.
493 (_dl_setup_hash): Initialize MIPS xhash translation table.
494 * elf/elf.h (SHT_MIPS_XHASH): New define.
495 (DT_MIPS_XHASH): New define.
496 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
498 (ELF_MACHINE_HASH_SYMIDX): Ditto.
499 (ELF_MACHINE_XHASH_SETUP): Ditto.
500 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
502 (ELF_MACHINE_HASH_SYMIDX): Ditto.
503 (ELF_MACHINE_XHASH_SETUP): Ditto.
504 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
505 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
507 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
509 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
511 * sysdeps/sh/preconfigure.ac: New file.
512 * sysdeps/sh/preconfigure: Regenerate.
513 * sysdeps/sh/be/sh3/Implies: New file.
514 * sysdeps/sh/be/sh4/Implies: Likewise.
515 * sysdeps/sh/le/sh3/Implies: Likewise.
516 * sysdeps/sh/le/sh4/Implies: Likewise.
517 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
518 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
519 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
520 sysdeps/unix/sysv/linux/sh/le/*.abilist.
521 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
523 * sysdeps/microblaze/preconfigure.ac: New file.
524 * sysdeps/microblaze/preconfigure: Regenerate.
525 * sysdeps/microblaze/be/implies: New file.
526 * sysdeps/microblaze/le/implies: Likewise.
527 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
528 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
529 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
530 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
531 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
533 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
534 * sysdeps/arm/preconfigure: Regenerate.
535 * sysdeps/arm/be/Implies: New file.
536 * sysdeps/arm/be/armv6/Implies: Likewise.
537 * sysdeps/arm/be/armv6t2/Implies: Likewise.
538 * sysdeps/arm/be/armv7/Implies: Likewise.
539 * sysdeps/arm/le/Implies: Likewise.
540 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
541 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
542 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
543 sysdeps/unix/sysv/linux/arm/le/*.abilist.
544 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
546 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
548 Fix posix/tst-regex by using UTF-8 and own test input
549 Problem reported by Stefan Liebler in:
550 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
551 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
552 (do_test, test_expr): Adjust to the fact that this source file,
553 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
554 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
555 so that it is now UTF-8.
557 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
559 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
560 (fegetenv_status): Generate 'mffsl' unconditionally.
562 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
564 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
566 (_FPU_MASK_ALL): Delete.
568 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
570 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
571 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
573 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
574 with simpler required steps, set fewer FPSCR bits if possible.
576 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
578 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
579 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
580 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
581 weight access to FPSCR; remove unnecessary second FPSCR read and
583 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
584 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
585 access to FPSCR; Use macros in fenv_libc.h in favor of local.
587 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
589 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
590 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
591 (fenv_exceptions_to_reg): New.
592 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
593 operation with call to fenv_exceptions_to_reg().
594 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
596 2019-08-28 Florian Weimer <fweimer@redhat.com>
598 * misc/mntent.c (struct mntent_buffer): Define.
599 (mntent_buffer): Adjust type to void *.
600 (allocate): Adjust for allocate_once.
601 (deallocate): New function.
602 (getmntent): Call allocate_once.
604 2019-08-28 Florian Weimer <fweimer@redhat.com>
606 nptl: Move pthread_attr_setdetachstate implementation into libc.
607 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
608 (libpthread-routines): Remove pthread_attr_setdetachstate.
609 * nptl/Versions (libpthread GLIBC_2.0): Remove
610 pthread_attr_setdetachstate.
611 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
612 * nptl/nptl-init.c (pthread_functions): Remove initializer for
613 ptr_pthread_attr_setdetachstate.
614 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
615 Remove ptr_pthread_attr_setdetachstate member.
616 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
617 Remove pthread_attr_setdetachstate.
618 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
620 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
622 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
624 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
626 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
628 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
630 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
631 (GLIBC_2.4): Likewise.
632 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
633 (GLIBC_2.0): Likewise.
634 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
635 (GLIBC_2.18): Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
637 (GLIBC_2.0): Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
639 (GLIBC_2.0): Likewise.
640 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
643 (GLIBC_2.0): Likewise.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
645 (GLIBC_2.3): Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
647 (GLIBC_2.17): Likewise.
648 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
649 (GLIBC_2.27): Likewise.
650 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
651 (GLIBC_2.0): Likewise.
652 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
653 (GLIBC_2.2): Likewise.
654 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
656 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
657 (GLIBC_2.0): Likewise.
658 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
659 (GLIBC_2.2): Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
661 (GLIBC_2.2.5): Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
663 (GLIBC_2.16): Likewise.
665 2019-08-28 Florian Weimer <fweimer@redhat.com>
668 * login/Makefile (tests): Add tst-pututxline-lockfail.
669 (tst-pututxline-lockfail): Link with -lpthread.
670 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
671 (__libc_getutid_r): Adjust.
672 (__libc_pututline): Likewise. Check for file_offset == -1.
673 * login/tst-pututxline-lockfail.c: New file.
675 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
677 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
678 * posix/tst-regex.input: New file.
680 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
683 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
685 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
686 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
687 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
688 * sysdeps/mips/tst-undefined-weak.c: Likewise.
689 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
690 Increment highest valid ABIVERSION value.
692 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
694 * sysdeps/unix/sysv/linux/mips/Makefile
695 (test-xfail-check-execstack):
696 Move under mips-has-gnustack != yes.
697 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
698 Apply -Wa,-execstack if mips-force-execstack == yes.
699 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
700 * sysdeps/unix/sysv/linux/mips/configure.ac
701 (mips-force-execstack): New var.
702 Set to yes for hard-float builds with minimum_kernel < 4.8.0
703 or minimum_kernel not set at all.
704 (mips-has-gnustack): New var.
705 Use value of libc_cv_as_noexecstack
706 if mips-force-execstack != yes, otherwise set to no.
708 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
709 Florian Weimer <fweimer@redhat.com>
711 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
712 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
713 Make a compat_symbol.
714 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
715 (__profil_counter_global): Likewise.
717 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
718 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
720 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
721 sigcontext_get_pc and return aligned cast to uintptr_t.
722 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
723 * sysdeps/posix/profil.c (profil_count): Change PC argument to
725 (__profil): Use SA_SIGINFO.
726 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
728 (__sprofil): Use SA_SIGINFO.
729 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
730 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
731 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
732 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
733 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
734 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
735 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
736 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
737 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
740 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
741 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
742 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
743 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
744 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
745 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
746 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
747 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
748 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
749 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
750 GET_PC, __sigaction, sigaction): Remove defines.
751 (sigcontext_get_pc): New function.
752 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
753 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
754 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
755 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
756 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
757 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
758 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
759 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
760 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
761 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
762 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
763 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
764 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
765 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
766 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
767 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
769 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
770 Handle CTX argument as ucontext_t.
771 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
773 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
774 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
775 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
776 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
777 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
778 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
780 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
781 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
782 tst-sigcontextinfo-get_pc.
783 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
784 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
786 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
788 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
791 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
794 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
795 * localedata/locales/ug_CN (first_weekday): Likewise.
796 * localedata/locales/zh_CN (first_weekday): Likewise.
798 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
800 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
801 field name in mcontext_t struct.
803 2019-08-22 Joseph Myers <joseph@codesourcery.com>
805 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
806 unsupported with libidn2 before 2.0.5.
807 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
809 * manual/time.texi (strftime): Document %Ob and %OB as C2X
812 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
814 Remove dead regex code
815 * posix/regex_internal.c (re_node_set_insert):
816 Remove unnecessary assignment. Reported by Tim Rühsen in:
817 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
819 Fix bad pointer / leak in regex code
820 This was found by Coverity (CID 1484201). [BZ#24844]
821 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
822 pointer and/or memory leak when storage is exhausted.
824 2019-08-21 Zack Weinberg <zackw@panix.com>
826 * misc/syslog.c (__vsyslog_internal)
827 * time/getdate.c (__getdate_r)
828 * time/tst_wcsftime.c (main):
829 Use return value of time, not its argument.
831 * string/strfry.c (strfry)
832 * sysdeps/mach/sleep.c (__sleep):
833 Remove unnecessary casts of NULL in calls to time.
835 2019-08-21 Joseph Myers <joseph@codesourcery.com>
837 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
838 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
839 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
840 (__TGMATH_2_NARROW_F): Likewise.
841 (__TGMATH_2_NARROW_D): New macro.
842 (__TGMATH_2_NARROW_F16): Likewise.
843 (__TGMATH_2_NARROW_F32): Likewise.
844 (__TGMATH_2_NARROW_F64): Likewise.
845 (__TGMATH_2_NARROW_F32X): Likewise.
846 (__TGMATH_2_NARROW_F64X): Likewise.
847 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
848 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
849 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
850 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
851 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
852 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
853 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
854 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
855 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
856 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
857 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
858 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
859 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
860 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
862 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
864 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
866 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
868 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
870 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
872 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
874 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
876 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
877 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
878 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
879 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
880 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
881 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
882 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
883 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
884 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
886 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
888 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
890 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
892 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
893 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
894 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
895 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
896 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
897 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
898 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
899 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
900 * math/gen-tgmath-tests.py (Type): Add members
901 non_standard_real_argument_types_list, long_double_type,
902 complex_float64_type and float32x_ext_type.
903 (Type.__init__): Set the new members.
904 (Type.floating_type): Add new argument floatn.
905 (Type.real_floating_type): Likewise.
906 (Type.can_combine_types): Likewise.
907 (Type.combine_types): Likewise.
908 (Type.init_types): Create internal Float32x_ext type.
909 (Tests.__init__): Define Float32x_ext in generated C code.
910 (Tests.add_tests): Handle narrowing functions.
911 (Tests.add_all_tests): Likewise.
912 (Tests.tests_text): Allow variation in mant_dig for narrowing
913 functions with compilers before GCC 8.
914 * math/Makefile (tgmath3-narrow-types): New variable.
915 (tgmath3-narrow-macros): Likewise.
916 (tgmath3-macros): Add $(tgmath3-narrow-macros).
918 2019-08-20 Andreas Schwab <schwab@suse.de>
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
922 2019-08-19 Carlos O'Donell <carlos@redhat.com>
924 * nscd/nscd.conf: Add warning and comment about shared option.
926 2019-08-19 Carlos O'Donell <carlos@redhat.com>
928 * nss/nsswitch.conf: Expand comments, and simplify defaults.
929 * manual/nss.texi (NSS Basics): List all known databases.
930 (Services in the NSS configuration): Mention automount.
932 2019-08-19 Florian Weimer <fweimer@redhat.com>
934 Do not print backtraces on fatal errors.
935 * debug/fortify_fail.c (__libc_argv): Remove declaration.
936 (__fortify_fail_abort): Remove definition.
937 (__fortify_fail): Call __libc_message directly.
938 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
939 (__stack_chk_fail): Call __fortify_fail instead of
940 __fortify_fail_abort.
941 * include/stdio.h (__fortify_fail_abort): Remove declaration.
942 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
944 (__libc_message): Do not handle do_backtrace. Do not call
946 (__libc_fatal): Do not pass do_backtrace to __libc_message.
947 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
948 (before_abort): Remove definitions.
950 2019-08-16 Florian Weimer <fweimer@redhat.com>
952 nptl: Move pthread_attr_getdetachstate implementation into libc.
953 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
954 (libpthread-routines): Remove pthread_attr_getdetachstate.
955 * nptl/Versions (libpthread GLIBC_2.0): Remove
956 pthread_attr_getdetachstate.
957 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
958 * nptl/nptl-init.c (pthread_functions): Remove initializer for
959 ptr_pthread_attr_getdetachstate.
960 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
961 Remove ptr_pthread_attr_getdetachstate member.
962 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
963 Remove pthread_attr_getdetachstate.
964 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
966 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
968 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
970 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
972 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
974 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
976 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
977 (GLIBC_2.4): Likewise.
978 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
979 (GLIBC_2.0): Likewise.
980 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
981 (GLIBC_2.18): Likewise.
982 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
983 (GLIBC_2.0): Likewise.
984 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
985 (GLIBC_2.0): Likewise.
986 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
989 (GLIBC_2.0): Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
991 (GLIBC_2.3): Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
993 (GLIBC_2.17): Likewise.
994 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
995 (GLIBC_2.27): Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
997 (GLIBC_2.0): Likewise.
998 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
999 (GLIBC_2.2): Likewise.
1000 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1003 (GLIBC_2.0): Likewise.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1005 (GLIBC_2.2): Likewise.
1006 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1007 (GLIBC_2.2.5): Likewise.
1008 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1009 (GLIBC_2.16): Likewise.
1011 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1013 * math/libm-test-compat_totalorder.inc (do_test)
1014 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1015 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1016 * math/libm-test-compat_totalordermag.inc (do_test)
1017 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1019 2019-08-15 Florian Weimer <fweimer@redhat.com>
1021 nptl: Move pthread_attr_init implementation into libc.
1022 * nptl/Makefile (routines): Add pthread_attr_init.
1023 (libpthread-routines): Remove pthread_attr_init.
1024 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1025 (libpthread GLIBC_2.0): Likewise.
1026 * nptl/pthread_attr_init.c: Check for libc compat version instead
1027 of libpthread compat version.
1028 * nptl/forward.c (__pthread_attr_init_2_0)
1029 (__pthread_attr_init_2_1): Remove definitions.
1030 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1031 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1032 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1033 Remove members ptr___pthread_attr_init_2_0,
1034 ptr___pthread_attr_init_2_1.
1035 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1036 Remove pthread_attr_init.
1037 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1039 (GLIBC_2.1): Likewise.
1040 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1042 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1044 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1046 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1048 (GLIBC_2.1): Likewise.
1049 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1051 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1052 (GLIBC_2.4): Likewise.
1053 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1054 (GLIBC_2.0): Likewise.
1055 (GLIBC_2.1): Likewise.
1056 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1057 (GLIBC_2.18): Likewise.
1058 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1059 (GLIBC_2.0): Likewise.
1060 (GLIBC_2.1): Likewise.
1061 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1062 (GLIBC_2.0): Likewise.
1063 (GLIBC_2.1): Likewise.
1064 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1067 (GLIBC_2.0): Likewise.
1068 (GLIBC_2.1): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1070 (GLIBC_2.3): Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1072 (GLIBC_2.17): Likewise.
1073 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1074 (GLIBC_2.27): Likewise.
1075 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1076 (GLIBC_2.0): Likewise.
1077 (GLIBC_2.1): Likewise.
1078 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1079 (GLIBC_2.2): Likewise.
1080 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1082 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1083 (GLIBC_2.0): Likewise.
1084 (GLIBC_2.1): Likewise.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1086 (GLIBC_2.2): Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1088 (GLIBC_2.2.5): Likewise.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1090 (GLIBC_2.16): Likewise.
1092 2019-08-15 Florian Weimer <fweimer@redhat.com>
1095 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1096 new object in __RTLD_OPENEXEC mode (except for the origin).
1097 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1098 check for the error message.
1099 (do_test): Call it. Add check using relative path.
1100 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1101 (tst-dlopen-aout-container): Link with libpthread.
1102 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1104 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1106 * math/bits/mathcalls.h
1107 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1108 (totalorder): Take pointer arguments.
1109 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1110 (totalordermag): Likewise.
1111 * manual/arith.texi (totalorder): Likewise.
1112 (totalorderf): Likewise.
1113 (totalorderl): Likewise.
1114 (totalorderfN): Likewise.
1115 (totalorderfNx): Likewise.
1116 (totalordermag): Likewise.
1117 (totalordermagf): Likewise.
1118 (totalordermagl): Likewise.
1119 (totalordermagfN): Likewise.
1120 (totalordermagfNx): Likewise.
1121 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1122 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1123 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1124 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1125 totalorderl, totalordermag, totalordermagf, totalordermagl,
1126 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1127 totalordermagf64, totalordermagf32x, totalorderf64x,
1128 totalordermagf64x, totalorderf128 and totalordermagf128.
1129 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1130 and compat_totalordermag.
1131 (libm-test-funcs-compat): New variable.
1132 (libm-tests-compat): Likewise.
1133 (tests): Do not include compat tests.
1134 (tests-internal): Add compat tests.
1135 ($(foreach t,$(libm-tests-base),
1136 $(objpfx)$(t)-compat_totalorder.o)): Depend
1137 on $(objpfx)libm-test-totalorder.c.
1138 ($(foreach t,$(libm-tests-base),
1139 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1140 $(objpfx)libm-test-totalordermag.c.
1141 (tgmath3-macros): Remove totalorder and totalordermag.
1142 * math/libm-test-compat_totalorder.inc: New file.
1143 * math/libm-test-compat_totalordermag.inc: Likewise.
1144 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1145 (RUN_TEST_fpfp_b): New macro.
1146 (RUN_TEST_LOOP_fpfp_b): Likewise.
1147 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1149 (totalorder_test): Condition on [!COMPAT_TEST].
1150 (do_test): Likewise.
1151 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1153 (totalordermag_test): Condition on [!COMPAT_TEST].
1154 (do_test): Likewise.
1155 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1156 totalorder and totalordermag.
1157 * math/test-tgmath.c (NCALLS): Change to 132.
1158 (F(compile_test)): Do not call totalorder or totalordermag.
1159 (F(totalorder)): Remove.
1160 (F(totalordermag)): Likewise.
1161 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1162 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1163 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1165 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1166 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1167 [!_ISOMAC] (TEST_ALIGN): Likewise.
1168 [!_ISOMAC] (TEST_OFFSET): Likewise.
1169 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1170 and <first-versions.h>.
1171 (__totalorder): Take pointer arguments. Add symbol versions and
1173 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1174 <shlib-compat.h> and <first-versions.h>.
1175 (__totalordermag): Take pointer arguments. Add symbol versions
1177 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1178 <shlib-compat.h> and <first-versions.h>.
1179 (__totalorder): Take pointer arguments. Add symbol versions and
1181 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1182 <shlib-compat.h> and <first-versions.h>.
1183 (__totalordermag): Take pointer arguments. Add symbol versions
1185 * sysdeps/ieee754/float128/float128_private.h
1186 (__totalorder_compatl): New macro.
1187 (__totalordermag_compatl): Likewise.
1188 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1189 and <first-versions.h>.
1190 (__totalorderf): Take pointer arguments. Add symbol versions and
1192 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1193 <shlib-compat.h> and <first-versions.h>.
1194 (__totalordermagf): Take pointer arguments. Add symbol versions
1196 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1197 <shlib-compat.h> and <first-versions.h>.
1198 (__totalorderl): Take pointer arguments. Add symbol versions and
1200 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1201 <shlib-compat.h> and <first-versions.h>.
1202 (__totalordermagl): Take pointer arguments. Add symbol versions
1204 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1206 (__totalorderl): Take pointer arguments. Add symbol versions and
1208 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1210 (__totalordermagl): Take pointer arguments. Add symbol versions
1212 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1213 <shlib-compat.h> and <first-versions.h>.
1214 (__totalorderl): Take pointer arguments. Add symbol versions and
1216 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1217 <shlib-compat.h> and <first-versions.h>.
1218 (__totalordermagl): Take pointer arguments. Add symbol versions
1220 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1222 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1224 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1225 (do_test): Update calls to totalorderl and totalordermagl.
1226 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1227 Update calls to totalorderl and totalordermagl.
1228 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1231 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1232 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1233 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1234 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1240 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1241 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1250 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1251 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1253 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1254 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1259 2019-08-15 Florian Weimer <fweimer@redhat.com>
1262 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1263 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1264 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1266 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1267 __attribute_nonstring__ to ut_id.
1268 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1271 2019-08-15 Florian Weimer <fweimer@redhat.com>
1274 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1275 (file_locking_unlock): Likewise.
1277 2019-08-15 Florian Weimer <fweimer@redhat.com>
1280 login: Disarm timer after utmp lock acquisition.
1281 * login/utmp_file.c (struct file_locking): Remove.
1282 (try_file_lock): Adjust.
1283 (file_lock_restore): Remove function.
1284 (__libc_getutent_r): .
1285 (internal_getut_r): Likewise.
1286 (__libc_getutline_r): Likewise.
1287 (__libc_pututline): Likewise.
1288 (__libc_updwtmp): Likewise.
1290 2019-08-15 Florian Weimer <fweimer@redhat.com>
1292 nptl: Remove pthread_self compatibility symbol from libpthread.
1293 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1295 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1296 * nptl/compat-pthread_self.c: Remove file.
1297 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1298 Remove pthread_self.
1299 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1301 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1303 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1305 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1307 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1309 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1310 (GLIBC_2.4): Likewise.
1311 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1312 (GLIBC_2.0): Likewise.
1313 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1314 (GLIBC_2.18): Likewise.
1315 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1316 (GLIBC_2.0): Likewise.
1317 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1318 (GLIBC_2.0): Likewise.
1319 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1322 (GLIBC_2.0): Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1324 (GLIBC_2.3): Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1326 (GLIBC_2.17): Likewise.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1328 (GLIBC_2.0): Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1330 (GLIBC_2.2): Likewise.
1331 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1334 (GLIBC_2.0): Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1336 (GLIBC_2.2): Likewise.
1337 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1338 (GLIBC_2.2.5): Likewise.
1339 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1340 (GLIBC_2.16): Likewise.
1342 2019-08-15 Florian Weimer <fweimer@redhat.com>
1344 nptl: Move pthread_attr_destroy implementation into libc.
1345 * nptl/Makefile (routines): Add pthread_attr_destroy.
1346 (libpthread-routines): Remove pthread_attr_destroy.
1347 * nptl/Versions (libpthread GLIBC_2.0): Remove
1348 pthread_attr_destroy.
1349 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1350 libc compat version instead of libpthread compat version.
1351 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1352 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1353 ptr_pthread_attr_destroy.
1354 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1355 Remove ptr_pthread_attr_destroy member.
1356 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1357 Remove pthread_attr_destroy.
1358 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1360 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1362 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1364 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1366 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1368 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1370 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1371 (GLIBC_2.4): Likewise.
1372 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1373 (GLIBC_2.0): Likewise.
1374 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1375 (GLIBC_2.18): Likewise.
1376 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1377 (GLIBC_2.0): Likewise.
1378 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1379 (GLIBC_2.0): Likewise.
1380 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1383 (GLIBC_2.0): Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1385 (GLIBC_2.3): Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1387 (GLIBC_2.17): Likewise.
1388 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1389 (GLIBC_2.27): Likewise.
1390 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1391 (GLIBC_2.0): Likewise.
1392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1393 (GLIBC_2.2): Likewise.
1394 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1397 (GLIBC_2.0): Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1399 (GLIBC_2.2): Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1401 (GLIBC_2.2.5): Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1403 (GLIBC_2.16): Likewise.
1405 2019-08-15 Andreas Schwab <schwab@suse.de>
1407 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 2019-08-15 Florian Weimer <fweimer@redhat.com>
1411 * malloc/Makefile (tests): Only add tst-mxfast for
1413 * malloc/tst-mxfast.c: Fix copyright year.
1414 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1417 2019-08-15 Florian Weimer <fweimer@redhat.com>
1419 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1421 * login/Makefile (tests): Add tst-updwtmpx.
1422 * login/tst-updwtmpx.c: New file.
1424 2019-08-15 Florian Weimer <fweimer@redhat.com>
1426 nptl: Move pthread_equal implementation into libc.
1427 * nptl/Makefile (routines): Add pthread_equal.
1428 * nptl/forward.c (pthread_equal): Remove definition.
1429 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1431 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1432 Remove ptr_pthread_equal member.
1433 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1434 Remove pthread_equal.
1435 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1437 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1439 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1441 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1443 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1445 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1448 (GLIBC_2.4): Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1450 (GLIBC_2.0): Likewise.
1451 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1452 (GLIBC_2.18): Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1454 (GLIBC_2.0): Likewise.
1455 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1456 (GLIBC_2.0): Likewise.
1457 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1460 (GLIBC_2.0): Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1462 (GLIBC_2.3): Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1464 (GLIBC_2.17): Likewise.
1465 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1466 (GLIBC_2.27): Likewise.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1468 (GLIBC_2.0): Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1470 (GLIBC_2.2): Likewise.
1471 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1474 (GLIBC_2.0): Likewise.
1475 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1476 (GLIBC_2.2): Likewise.
1477 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1478 (GLIBC_2.2.5): Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1480 (GLIBC_2.16): Likewise.
1482 2019-08-14 Florian Weimer <fweimer@redhat.com>
1484 * support/support_descriptors.c: Include <support/descriptors.h>.
1486 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1488 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1489 Disable DC ZVA code if this macro is defined as zero.
1490 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1491 Change to zero to disable using DC ZVA.
1493 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1495 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1497 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1498 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1499 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1500 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1503 2019-08-13 Florian Weimer <fweimer@redhat.com>
1505 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1507 (struct file_locking): New.
1508 (try_file_lock, file_unlock, file_lock_restore): New functions.
1509 (__libc_getutent_r): Use the new functions.
1510 (internal_getut_r): Likewise.
1511 (__libc_getutline_r): Likewise.
1512 (__libc_pututline): Likewise.
1513 (__libc_updwtmp): Likewise.
1515 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1517 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1519 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1520 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1521 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1522 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1523 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1524 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1525 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1527 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1528 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1529 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1531 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1533 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1535 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1537 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1539 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1541 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1543 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1544 (IEC_60559_BFP_EXT)]: Likewise.
1545 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1547 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1549 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1551 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1553 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1555 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1557 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1559 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1561 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1562 Likewise, except for totalorder, totalordermag, getpayload,
1563 setpayload and setpayloadsig.
1564 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1565 except for totalorder and totalordermag.
1567 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1569 (strndup): Likewise.
1571 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1572 Undefine and define to 1 if [_GNU_SOURCE].
1573 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1574 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1575 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1576 (__USE_ISOC99): Likewise.
1577 (__USE_ISOC95): Likewise.
1578 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1580 2019-08-13 Florian Weimer <fweimer@redhat.com>
1582 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1584 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1585 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1586 * login/getutmpx.c (getutmpx): Likewise.
1587 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1589 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1590 _HAVE_UT_TV are always true.
1591 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1592 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1593 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1594 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1596 (internal_getut_r): _HAVE_UT_TYPE is always true.
1597 (__libc_pututline): Likewise.
1598 * login/programs/utmpdump.c (print_entry): Assume that
1599 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1600 _HAVE_UT_TV are always true.
1601 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1602 _HAVE_UT_ID are always true.
1603 * sysdeps/gnu/bits/utmp.h: Move to ...
1604 * bits/utmp.h: ... here, replacing the old file.
1606 2019-08-12 Florian Weimer <fweimer@redhat.com>
1608 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1609 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1611 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1612 (do_test): Open the executable using an absolute path. Print
1613 error message to standard output.
1615 2019-08-09 DJ Delorie <dj@redhat.com>
1617 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1618 * manual/tunables.texi: Document it.
1619 * malloc/malloc.c (do_set_mxfast): New.
1620 (__libc_mallopt): Call it.
1621 * malloc/arena.c: Add mxfast tunable.
1622 * malloc/tst-mxfast.c: New.
1623 * malloc/Makefile: Add it.
1625 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1626 Carlos O'Donell <carlos@redhat.com>
1629 * malloc/malloc.c (__malloc_info): Account for top chunk.
1631 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1634 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1636 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1638 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1640 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1642 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1644 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1646 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1649 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1654 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1656 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1658 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1660 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1661 (ALWAYS_USE_VSYSCALL): Likewise.
1662 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1663 (ALWAYS_USE_VSYSCALL): Likewise.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1665 (ALWAYS_USE_VSYSCALL): Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1667 (ALWAYS_USE_VSYSCALL): Likewise.
1668 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1671 (ALWAYS_USE_VSYSCALL): Likewise.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1673 (ALWAYS_USE_VSYSCALL): Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1678 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1679 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1680 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1681 USE_VSYSCALL): Remove defitions.
1684 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1685 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1690 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1691 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1693 (ALWAYS_USE_VSYSCALL): Define.
1694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1695 (ALWAYS_USE_VSYSCALL): Likewise.
1698 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1699 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1700 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1703 * sysdeps/sh/libm-test-ulps: Update.
1705 2019-08-05 Florian Weimer <fweimer@redhat.com>
1708 * login/uptmp-private.h (struct ufuncs): Remove definition.
1709 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1710 (__libc_utmp_jump_table): Remove declarations.
1711 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1712 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1713 (__libc_updwtmp): Declare.
1714 * login/getutent_r.c (__libc_utmp_unknown_functions)
1715 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1716 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1717 (endutent_unknown): Remove definitions.
1718 (__setutent): Call __libc_setutent.
1719 (__getutent_r): Call __libc_getutent_r.
1720 (__pututline): Call __libc_pututline.
1721 (__endutent): Call __libc_endutent.
1722 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1723 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1724 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1725 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1726 (__libc_setutent): Rename from stetutent_file. Drop static.
1727 (maybe_setutent): New function.
1728 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1729 Check for initialization.
1730 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1731 Check for initialization.
1732 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1733 Check for initialization.
1734 (__libc_pututline): Rename from pututline_file. Drop static.
1735 Check for initialization.
1736 (__libc_endutent): Rename from endutent_file. Drop static. Check
1738 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1739 * login/utmpname.c (__utmpname): Call __libc_endutent.
1740 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1741 __libc_getutlien_r, __libc_endutent.
1742 * manual/users.texi (Who Logged In, Manipulating the Database):
1745 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1747 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1749 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1751 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1753 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1754 kernel version number to 5.2.
1756 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1758 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1759 mnemonics and set .machine power8.
1760 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1761 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1762 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1763 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1764 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1765 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1766 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1767 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1771 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1773 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1775 2019-08-01 Florian Weimer <fweimer@redhat.com>
1778 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1781 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1784 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1787 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1789 * version.h (RELEASE): Set to "stable".
1790 (VERSION): Set to "2.30".
1791 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1793 * manual/install.texi: Update component versions.
1794 * INSTALL: Regenerate.
1797 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1799 * po/be.po: Update translations.
1800 * po/bg.po: Likewise.
1801 * po/ca.po: Likewise.
1802 * po/cs.po: Likewise.
1803 * po/da.po: Likewise.
1804 * po/de.po: Likewise.
1805 * po/el.po: Likewise.
1806 * po/eo.po: Likewise.
1807 * po/es.po: Likewise.
1808 * po/fi.po: Likewise.
1809 * po/fr.po: Likewise.
1810 * po/gl.po: Likewise.
1811 * po/hr.po: Likewise.
1812 * po/hu.po: Likewise.
1813 * po/ia.po: Likewise.
1814 * po/id.po: Likewise.
1815 * po/it.po: Likewise.
1816 * po/ja.po: Likewise.
1817 * po/ko.po: Likewise.
1818 * po/lt.po: Likewise.
1819 * po/nb.po: Likewise.
1820 * po/nl.po: Likewise.
1821 * po/pl.po: Likewise.
1822 * po/pt_BR.po: Likewise.
1823 * po/ru.po: Likewise.
1824 * po/rw.po: Likewise.
1825 * po/sk.po: Likewise.
1826 * po/sl.po: Likewise.
1827 * po/sv.po: Likewise.
1828 * po/tr.po: Likewise.
1829 * po/uk.po: Likewise.
1830 * po/vi.po: Likewise.
1831 * po/zh_CN.po: Likewise.
1832 * po/zh_TW.po: Likewise.
1834 2019-07-31 Florian Weimer <fweimer@redhat.com>
1838 iconv, libio: Revert reference counting changes.
1839 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1840 free the steps array.
1841 * libio/Makefile (tests): Remove tst-wfile-gconv.
1842 (tests-container): Do not add tst-wfile-ascii.
1843 (tst-wfile-gconv-ENV): Do not set.
1844 (generated): Do not add tst-wfile-gconv.mtrace,
1845 tst-wfile-gconv.check.
1846 [($run-built-tests)] (tests-special): Do not add
1847 tst-wfile-gconv-mem.out.
1848 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1849 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1850 instead of __wcsmbs_clone_conv.
1851 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1852 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1854 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1857 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1859 2019-07-30 Florian Weimer <fweimer@redhat.com>
1861 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1862 type to uintptr_t. Update comment.
1863 (check_stack_top): Adjust.
1865 2019-07-29 Florian Weimer <fweimer@redhat.com>
1867 Linux: Move declaration of getdents64 to <dirent.h>.
1868 * bits/dirent_ext.h: New file.
1869 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1870 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1871 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1872 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1874 * manual/filesys.texi (Low-level Directory Access): Update header
1877 2019-07-29 DJ Delorie <dj@redhat.com>
1878 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1881 * Makeconfig (all-subdirs): Improved source comments.
1882 * Makefile (testroot.pristine/install.stamp): Pass
1883 subdirs='$(sorted-subdirs)' to make install.
1885 2019-07-25 Florian Weimer <fweimer@redhat.com>
1888 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1889 counter before freeing array.
1891 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1894 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1896 * sysdeps/x86_64/configure: Regenerated.
1897 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1898 to -mprefer-vector-width=128 if supported.
1900 2019-07-24 Florian Weimer <fweimer@redhat.com>
1902 * scripts/build-many-glibcs.py (Context.checkout): Default to
1905 2019-07-24 Florian Weimer <fweimer@redhat.com>
1908 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1909 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1910 (sysdep_headers): Add bits/socket-constants.h.
1911 (tests-special): Add tst-socket-consts.out.
1912 (tst-socket-consts.out): New target.
1913 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1914 around <asm/unistd.h>.
1915 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1916 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1918 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1919 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1920 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1921 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1922 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1925 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1927 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1930 * Makefile (testroot.pristine/install.stamp): Pass
1931 subdirs='$(all-subdirs)' to make install.
1933 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1934 the same arguments used in all tests.
1936 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1938 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1940 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1943 * locale/C-translit.h.in: Add Cyrillic transliteration.
1945 2019-07-19 Florian Weimer <fweimer@redhat.com>
1947 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1949 (fsconfig): Add system call name.
1950 (fsmount): Likewise.
1953 (move_mount): Likewise.
1954 (open_tree): Likewise.
1956 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1958 * po/libc.pot: Regenerate.
1960 2019-07-18 Mike Crowe <mac@mcrowe.com>
1962 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1963 functions recently added to sysdeps/nptl/pthread.h:
1964 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1965 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1967 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1968 pthread_cond_clockwait forwarding functions. There are no internal
1969 users, so it is unnecessary to expose these functions in libc.so.
1970 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1971 unnecessary ptr___pthread_cond_clockwait member.
1972 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1975 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1978 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1979 begin with an uppercase letter now.
1981 (mon): Update from CLDR, reword February from "Kudo" to
1982 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1983 and August from "Liiqen" to "Leqeeni".
1984 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1985 April from "Agda Baxisso" to "Agda Baxis" and August from
1986 "Leqeeni" to "Liiqen".
1987 * localedata/locales/aa_ER@saaho (mon): Likewise.
1988 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1989 abbreviated February from "Kud" to "Nah".
1990 (mon): Update from CLDR, reword February from "Kudo" to
1991 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1993 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1996 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1998 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2001 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2002 name_mrs, name_miss, and name_ms.
2003 * localedata/locales/nl_NL (LC_NAME): Likewise.
2005 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2008 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2009 * localedata/locales/en_IE (first_weekday): Likewise.
2011 2019-07-12 Mike Crowe <mac@mcrowe.com>
2013 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2014 that is only useful if futex_supports_exact_relative_timeouts ()
2016 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2018 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2019 timeouts potentially being imprecise since it's no longer true.
2020 Remove declaration of futex_supports_exact_relative_timeouts.
2021 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2022 of futex_supports_exact_relative_timeouts.
2024 * NEWS: Mention recently-added pthread_cond_clockwait,
2025 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2026 sem_clockwait functions.
2028 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2029 works like pthread_mutex_timedlock but takes a clockid parameter to
2030 measure the abstime parameter against.
2031 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2032 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2033 * nptl/pthread_mutex_timedlock.c
2034 (__pthread_mutex_clocklock_common): Rename from
2035 __pthread_mutex_timedlock and add clockid parameter. Pass this
2036 parameter to lll_clocklock and lll_clocklock_elision in place of
2037 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2038 LIBC_PROBE and validate clockid parameter before calling
2039 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2040 implementation to add LIBC_PROBE and calls
2041 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2043 * nptl/Makefile: Add tst-mutex11.c.
2044 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2045 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2046 clockid parameters to pthread_mutex_clocklock.
2047 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2048 clockid parameter to indicate which clock to be used. Call
2049 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2050 (do_test): Call do_test_clock to separately test
2051 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2052 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2053 * nptl/tst-mutex9.c: Likewise.
2054 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2055 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2057 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2059 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2061 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2063 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2065 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2067 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2069 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2070 (GLIBC_2.30): Likewise.
2071 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2072 (GLIBC_2.30): Likewise.
2073 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2074 (GLIBC_2.30): Likewise.
2075 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2076 (GLIBC_2.30): Likewise.
2077 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2078 (GLIBC_2.30): Likewise.
2079 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2082 (GLIBC_2.30): Likewise.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2084 (GLIBC_2.30): Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2086 (GLIBC_2.30): Likewise.
2087 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2088 (GLIBC_2.30): Likewise.
2089 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2090 (GLIBC_2.30): Likewise.
2091 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2092 (GLIBC_2.30): Likewise.
2093 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2096 (GLIBC_2.30): Likewise.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2098 (GLIBC_2.30): Likewise.
2099 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2100 (GLIBC_2.30): Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2102 (GLIBC_2.30): Likewise.
2104 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2105 parameter to indicate the clock that the abstime parameter should
2106 be measured against in preparation for adding
2107 pthread_mutex_clocklock.
2108 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2109 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2110 from __lll_timedlock and add clockid parameter.
2111 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2113 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2114 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2115 rather than __gettimeofday so that clockid can be used. This means
2116 that conversion from struct timeval is no longer required.
2117 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2119 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2120 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2121 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2122 from lll_timedlock_elision, add clockid parameter and use
2123 meaningful names for other parameters. (__pthread_mutex_timedlock):
2124 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2125 lll_clocklock_elision.
2126 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2127 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2128 clockid parameter. (__lll_clocklock_elision): Rename from
2129 __lll_timedlock_elision and add clockid parameter.
2130 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2131 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2133 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2134 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2135 (LLL_LOCK): Likewise.
2136 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2137 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2139 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2140 pthread_rwlock_clockwrlock which behave like
2141 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2142 respectively, except they always measure abstime against the
2143 supplied clockid. The functions currently support CLOCK_REALTIME
2144 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2146 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2147 pthread_wrlock_clockwrlock.
2148 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2149 pthread_rwlock_clockwrlock.c.
2150 * nptl/pthread_rwlock_clockrdlock.c: Implement
2151 pthread_rwlock_clockrdlock.
2152 * nptl/pthread_rwlock_clockwrlock.c: Implement
2153 pthread_rwlock_clockwrlock.
2154 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2155 clockid parameter and verify that it indicates a supported clock on
2156 entry so that we fail even if it doesn't end up being used. Pass
2157 that clock on to futex_abstimed_wait when necessary.
2158 (__pthread_rwlock_wrlock_full): Likewise.
2159 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2160 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2161 be used because there's no timeout.
2162 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2163 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2164 be used because there is no timeout.
2165 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2166 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2168 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2169 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2171 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2173 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2174 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2175 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2176 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2178 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2179 (GLIBC_2.30): Likewise.
2180 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2181 (GLIBC_2.30): Likewise.
2182 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2183 (GLIBC_2.30): Likewise.
2184 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2185 (GLIBC_2.30): Likewise.
2186 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2187 (GLIBC_2.30): Likewise.
2188 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2190 (GLIBC_2.30): Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2192 (GLIBC_2.30): Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2194 (GLIBC_2.30): Likewise.
2195 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2196 (GLIBC_2.30): Likewise.
2197 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2198 (GLIBC_2.30): Likewise.
2199 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2200 (GLIBC_2.30): Likewise.
2201 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2203 (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2207 (GLIBC_2.30): Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2209 (GLIBC_2.30): Likewise.
2210 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2211 pthread_rwlock_clockwrlock timeout tests to match the existing
2212 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2213 * nptl/tst-rwlock14.c (do_test): Likewise.
2214 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2215 ancillary output throughout. (tf): Accept thread_args structure so
2216 that rwlock, a clockid and function name can be passed to the
2217 thread. (do_test_clock): Rename from do_test. Accept clockid
2218 parameter to specify test clock. Use the magic clockid value of
2219 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2220 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2221 specified clockid to pthread_rwlock_clockrdlock and
2222 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2223 (do_test): Call do_test_clock to test each clockid in turn.
2224 * nptl/tst-rwlock7.c: Likewise.
2225 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2226 thread_args structure so that the (now int) thread number, the
2227 clockid and the function name can be passed to the thread.
2228 (do_test_clock): Renamed from do_test. Pass the necessary
2229 thread_args when creating the reader and writer threads. Use
2230 xpthread_create and xpthread_join.
2231 (do_test): Call do_test_clock to test each clockid in turn.
2232 * manual/threads.texi: Add documentation for
2233 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2235 nptl: pthread_rwlock: Move timeout validation into _full functions
2236 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2237 Check validity of abstime parameter.
2238 (__pthread_rwlock_rwlock_full): Likewise.
2239 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2240 Remove check for validity of abstime parameter.
2241 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2244 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2245 like pthread_cond_timedwait except it always measures abstime
2246 against the supplied clockid.
2247 * nptl/Makefile: Add tst-cond26 and tst-cond27
2248 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2249 * sysdeps/nptl/pthread.h: Likewise
2250 * nptl/forward.c: Add __pthread_cond_clockwait
2251 * nptl/forward.c: Likewise
2252 * nptl/pthreadP.h: Likewise
2253 * sysdeps/nptl/pthread-functions.h: Likewise
2254 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2255 clockid parameter and comment describing why we don't need to check
2256 its value. Use that value when calling
2257 futex_abstimed_wait_cancelable rather than reading the clock from
2258 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2259 (__pthread_cond_timedwait): Read clock from flags and pass it to
2260 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2261 function with weak alias from pthread_cond_clockwait.
2262 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2263 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2264 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2265 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2266 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2267 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2268 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2269 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2270 (GLIBC_2.30): Likewise.
2271 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2272 (GLIBC_2.30): Likewise.
2273 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2274 (GLIBC_2.30): Likewise.
2275 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2276 (GLIBC_2.30): Likewise.
2277 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2278 (GLIBC_2.30): Likewise.
2279 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2281 (GLIBC_2.30): Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2283 (GLIBC_2.30): Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2285 (GLIBC_2.30): Likewise.
2286 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2287 (GLIBC_2.30): Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2289 (GLIBC_2.30): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2291 (GLIBC_2.30): Likewise.
2292 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2294 (GLIBC_2.30): Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2296 (GLIBC_2.30): Likewise.
2297 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2298 (GLIBC_2.30): Likewise.
2299 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2300 (GLIBC_2.30): Likewise.
2301 * nptl/tst-cond11.c (run_test): Support testing
2302 pthread_cond_clockwait too by using a special magic
2303 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2304 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2305 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2306 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2307 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2308 clocks to pthread_cond_clockwait.
2309 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2310 struct timespec and pthread_cond_clockwait.
2311 * manual/threads.texi: Document pthread_cond_clockwait.
2313 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2314 sem_timedwait, but measures abstime against the specified clock.
2315 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2316 clockid parameters to indicate the clock which abstime should be
2318 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2319 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2320 __new_sem_wait_slow.
2321 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2323 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2324 sem_clockwait.c to match those used for sem_timedwait.c.
2325 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2326 * nptl/Versions (GLIBC_2.30): Likewise.
2327 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2328 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2330 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2332 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2334 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2335 (GLIBC_2.30): Likewise.
2336 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2337 (GLIBC_2.30): Likewise.
2338 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2339 (GLIBC_2.30): Likewise.
2340 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2341 (GLIBC_2.30): Likewise.
2342 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2343 (GLIBC_2.30): Likewise.
2344 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2346 (GLIBC_2.30): Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2348 (GLIBC_2.30): Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2350 (GLIBC_2.30): Likewise.
2351 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2352 (GLIBC_2.30): Likewise.
2353 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2354 (GLIBC_2.30): Likewise.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2356 (GLIBC_2.30): Likewise.
2357 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2358 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2359 (GLIBC_2.30): Likewise.
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2361 (GLIBC_2.30): Likewise.
2362 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2363 (GLIBC_2.30): Likewise.
2364 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2365 (GLIBC_2.30): Likewise.
2366 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2368 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2369 tests to also test sem_clockwait.
2370 * manual/threads.texi: Document sem_clockwait.
2372 nptl: Add clockid parameter to futex timed wait calls
2373 * sysdeps/nptl/lowlevellock-futex.h,
2374 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2375 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2376 takes a clockid rather than a special clockbit.
2377 * sysdeps/nptl/lowlevellock-futex.h: Add
2378 lll_futex_supported_clockid so that client functions can check
2379 whether their clockid parameter is valid even if they don't
2380 ultimately end up calling lll_futex_clock_wait_bitset.
2381 * sysdeps/nptl/futex-internal.h,
2382 sysdeps/unix/sysv/linux/futex-internal.h
2383 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2384 clockid_t parameter to indicate which clock the absolute time
2385 passed should be measured against. Pass that clockid onto
2386 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2388 * sysdeps/nptl/futex-internal.h,
2389 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2390 futex_abstimed_supported_clockid so that client functions can check
2391 whether their clockid parameter is valid even if they don't
2392 ultimately end up calling futex_abstimed_wait.
2393 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2394 code to calculate relative timeout for
2395 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2396 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2397 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2398 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2399 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2400 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2401 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2403 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2406 * posix/tst-mmap-offset.c: Mention BZ #24699.
2407 (do_test_bz21270): Rename to do_test_large_offset and use
2408 mmap64_maximum_offset to check for maximum expected offset value.
2409 * sysdeps/generic/mmap_info.h: New file.
2410 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2411 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2414 2019-07-10 DJ Delorie <dj@redhat.com>
2415 Sergei Trofimovich <slyfox@inbox.ru>
2419 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2421 * nss/tst-nss-db-endgrent.c: New.
2422 * nss/tst-nss-db-endgrent.root: New.
2423 * nss/tst-nss-db-endpwent.c: New.
2424 * nss/tst-nss-db-endpwent.root: New.
2425 * nss/Makefile: Add new tests.
2426 * support/links-dso-program-c.c: Add selinux dependency.
2427 * support/links-dso-program.cc: Add selinux dependency.
2428 * support/Makefile: Build those with -lselinux if enabled.
2430 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2432 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2433 DT_AARCH64_VARIANT_PCS check.
2434 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2435 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2438 2019-07-10 Andreas Schwab <schwab@suse.de>
2441 * malloc/malloc.h (__malloc_check_init): Don't declare.
2442 * include/malloc.h (__malloc_check_init): Likewise.
2443 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2444 * manual/memory.texi (__malloc_check_init): Don't mention it.
2446 2019-07-10 Mao Han <han_mao@c-sky.com>
2448 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2450 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2452 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2453 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2455 2019-07-08 DJ Delorie <dj@redhat.com>
2458 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2459 * io/tst-ftw-lnk.c: New test.
2460 * io/Makefile: Run it.
2462 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2464 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2465 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2466 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2467 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2468 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2469 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2471 Adjust implementation path.
2472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2473 Adjust implementation path.
2474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2475 Adjust implementation path.
2476 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2477 (libm-sysdep_routines): Add s_log* objects.
2478 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2479 CFLAGS-s_logb-power7.c): New fule.
2480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2482 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2486 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2489 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2492 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2496 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2499 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2502 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2506 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2509 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2516 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2517 powerpc32 integer 0 converting to -0.
2519 * benchtests/Makefile (bench-math): Add logb.
2520 * benchtests/logb-inputs: New file.
2521 * benchtests/logbf-inputs: New file.
2523 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2524 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2525 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2526 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2532 sysdep_routines): Add s_modf* objects.
2533 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2534 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2541 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2544 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2547 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2553 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2555 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2556 twoM500, twoM600, two60factor, pdnum): Remove.
2557 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2558 (__ieee754_hypot): Replace static variables with inline definition,
2559 remove ununsed branches.
2560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2561 (libm-sysdep_routines): Remove e_hypot-* objects.
2562 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2565 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2566 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2567 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2569 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2571 * benchtests/Makefile (bench-math): Add hypot.
2572 * benchtests/hypot-inputs: New file.
2574 2019-07-08 Vincent Chen <vincentc@andestech.com>
2576 * sysdeps/unix/sysv/linux/dl-vdso.h
2577 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2579 2019-07-04 Andreas Schwab <schwab@suse.de>
2582 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2584 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2586 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2587 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2588 * sysdeps/aarch64/sys/ifunc.h: New file.
2589 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2590 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2592 2019-07-01 Florian Weimer <fweimer@redhat.com>
2595 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2596 Replace __vfork with __libpthread_version_placeholder for
2598 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2599 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2601 * nptl/pt-vfork.c: Remove file.
2602 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2603 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2604 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2605 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2606 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2608 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2609 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2610 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2611 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2612 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2613 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2615 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2616 Remove vfork, __vfork.
2617 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2619 (GLIBC_2.1.2): Replace __vfork with
2620 __libpthread_version_placeholder.
2621 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2622 Remove vfork, __vfork.
2623 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2625 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2627 (GLIBC_2.1.2): Replace __vfork with
2628 __libpthread_version_placeholder.
2629 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2631 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2632 (GLIBC_2.4): Remove vfork, __vfork.
2633 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2634 (GLIBC_2.0): Remove vfork.
2635 (GLIBC_2.1.2): Replace __vfork with
2636 __libpthread_version_placeholder.
2637 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2638 (GLIBC_2.18): Remove vfork, __vfork.
2639 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2640 (GLIBC_2.0): Remove vfork.
2641 (GLIBC_2.2): Remove __vfork.
2642 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2643 (GLIBC_2.2): Remove vfork, __vfork.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2645 (GLIBC_2.0): Remove vfork.
2646 (GLIBC_2.1.2): Replace __vfork with
2647 __libpthread_version_placeholder.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2649 (GLIBC_2.3): Remove vfork, __vfork.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2651 (GLIBC_2.17): Likewise.
2652 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2653 (GLIBC_2.0): Remove vfork.
2654 (GLIBC_2.1.2): Replace __vfork with
2655 __libpthread_version_placeholder.
2656 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2657 (GLIBC_2.2): Remove vfork, __vfork.
2658 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2661 (GLIBC_2.0): Remove vfork.
2662 (GLIBC_2.1.2): Replace __vfork with
2663 __libpthread_version_placeholder.
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2665 (GLIBC_2.2): Remove vfork, __vfork.
2666 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2667 (GLIBC_2.2.5): Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2669 (GLIBC_2.16): Likewise.
2670 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2671 Remove __errno_location.
2673 2019-07-02 Florian Weimer <fweimer@redhat.com>
2676 * malloc/Depend: Add nptl and htl, due to potential indirect
2677 libpthread dependency of memusagestat.
2679 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2681 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2684 2019-07-01 Florian Weimer <fweimer@redhat.com>
2686 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2687 variant for arm-linux-gnueabi.
2689 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2692 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2694 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2695 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2696 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2697 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2698 and tst-cet-legacy-mod-6c.
2699 (CFLAGS-tst-cet-legacy-5a.c): New.
2700 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2701 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2702 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2703 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2704 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2705 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2706 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2707 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2708 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2709 ($(objpfx)tst-cet-legacy-5a): Likewise.
2710 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2711 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2712 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2713 ($(objpfx)tst-cet-legacy-5b): Likewise.
2714 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2715 (tst-cet-legacy-5b-ENV): Likewise.
2716 ($(objpfx)tst-cet-legacy-6a): Likewise.
2717 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2718 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2719 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2720 ($(objpfx)tst-cet-legacy-6b): Likewise.
2721 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2722 (tst-cet-legacy-6b-ENV): Likewise.
2723 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2724 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2725 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2726 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2727 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2728 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2729 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2730 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2731 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2732 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2733 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2734 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2735 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2736 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2738 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2740 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2741 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2742 (__fegetround_ISA300) New.
2743 (__fegetround_ISA2) New.
2744 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2745 (_FPU_MFFS): Move implementation...
2747 (_FPU_MFFSL): Move implementation....
2748 (_FPU_GET_RC_ISA300): Here. New.
2749 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2750 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2751 (fegetenv_status): New.
2752 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2753 instead of fegetenv_register().
2754 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2756 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2758 * benchtests/bench-math-inlines.c: Increase iterations.
2759 * benchtests/bench-memcmp.c: Likewise.
2760 * benchtests/bench-rawmemchr.c: Likewise.
2761 * benchtests/bench-strcmp.c: Likewise.
2762 * benchtests/bench-strcpy_chk.c: Likewise.
2763 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2764 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2765 (INNER_LOOP_ITERS_SMALL): Likewise.
2766 * benchtests/bench-strncat.c: Increase iterations.
2767 * benchtests/bench-strncmp.c: Increase iterations.
2768 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2769 * benchtests/bench-strrchr.c: Increase iterations.
2770 * benchtests/bench-strstr.c: Keep iterations unchanged.
2771 * benchtests/bench-strtod.c: Increase iterations.
2773 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2775 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2776 with INNER_LOOP_ITERS_LARGE.
2777 * benchtests/bench-memchr.c: Likewise.
2778 * benchtests/bench-rawmemchr.c: Likewise.
2779 * benchtests/bench-strcat.c: Likewise.
2780 * benchtests/bench-strchr.c: Likewise.
2781 * benchtests/bench-string.h: Likewise.
2782 * benchtests/bench-strlen.c: Likewise.
2783 * benchtests/bench-strncpy.c: Likewise.
2784 * benchtests/bench-strnlen.c: Likewise.
2786 2019-06-28 Florian Weimer <fweimer@redhat.com>
2788 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2789 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2790 entire allocated memory range.
2792 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2794 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2795 (prepare_version_base): New helper inline function.
2796 (prepare_version): New macro replacing PREPARE_VERSION.
2797 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2799 2019-06-28 Florian Weimer <fweimer@redhat.com>
2802 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2803 mismatch in a versioned symbol reference.
2804 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2805 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2806 tst-sonamemove-dlopen.
2807 (module-names): Add tst-sonamemove-linkmod1,
2808 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2809 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2810 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2811 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2812 (tst-sonamemove-runmod1.so): Link against
2813 tst-sonamemove-runmod2.so.
2814 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2815 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2816 tst-sonamemove-runmod2.so.
2817 (tst-sonamemove-dlopen): Link with -ldl.
2818 (tst-sonamemove-dlopen.out): Likewise.
2819 * elf/tst-sonamemove-link.c: New file.
2820 * elf/tst-sonamemove-dlopen.c: Likewise.
2821 * elf/tst-sonamemove-linkmod1.c: Likewise.
2822 * elf/tst-sonamemove-linkmod1.map: Likewise.
2823 * elf/tst-sonamemove-runmod1.c: Likewise.
2824 * elf/tst-sonamemove-runmod1.map: Likewise.
2825 * elf/tst-sonamemove-runmod2.c: Likewise.
2826 * elf/tst-sonamemove-runmod2.map: Likewise.
2828 2019-06-28 Florian Weimer <fweimer@redhat.com>
2830 * support/xdlfcn.h (xdlvsym): Declare function.
2831 * support/xdlfcn.c (xdlvsym): Define funciton.
2833 2019-06-28 Florian Weimer <fweimer@redhat.com>
2836 io: Remove the copy_file_range emulation.
2837 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2838 not define and call copy_file_range_compat.
2839 * io/Makefile (tests-static, tests-internal): Do not add
2840 tst-copy_file_range-compat.
2841 * io/copy_file_range-compat.c: Remove file.
2842 * io/copy_file_range.c (copy_file_range): Define as stub.
2843 * io/tst-copy_file_range-compat.c: Remove file.
2844 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2845 (typical_sizes): Update comment. Remove 16K sizes.
2846 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2848 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2849 (delayed_write_failure_beginning, delayed_write_failure_end)
2850 (cross_device_failure, enospc_failure_1, enospc_failure)
2851 (oappend_failure): Remove functions.
2852 (tests): Adjust test case list.
2853 (do_test): Remove file system search code. Check for ENOSYS from
2854 copy_file_range. Do not free xdevfile.
2855 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2856 copy_file_range. Do not document the EXDEV error, which future
2857 kernels may not report. Update the wording to reflect that
2858 further errors are possible.
2859 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2860 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2863 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2865 * sysdeps/unix/sysv/linux/kernel-features.h
2866 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2869 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2871 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2872 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2875 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2877 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2878 used as a mask for the mode argument of __vfprintf_internal.
2879 * stdio-common/printf-parse.h (printf_arg): New union member:
2881 * stdio-common/vfprintf-internal.c
2882 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2883 (PARSE_FLOAT_VA_ARG): Likewise.
2884 (SETUP_FLOAT128_INFO): Likewise.
2885 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2886 SETUP_FLOAT128_INFO.
2887 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2888 floating-point value to the new union member, pa_float128.
2889 (printf_positional): Zero-initialize args_value[cnt] with memset.
2891 2019-06-27 Florian Weimer <fweimer@redhat.com>
2894 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2895 buffer size if necessary.
2896 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2898 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2900 (large_buffer_checks): Likewise.
2901 (do_test): Call large_buffer_checks.
2903 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2905 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2906 * sysdeps/x86/dl-lookupcfg.h: Here.
2907 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2909 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2912 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2918 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2921 * sysdeps/powerpc/powerpc32/fpu/Makefile
2922 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2923 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2924 and fctidz optimization.
2925 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2926 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2928 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2929 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2930 CFLAGS-s_lround-power5+.c): New rule.
2931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2952 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2955 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2959 2019-06-26 Vincent Chen <vincentc@andestech.com>
2961 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2962 specific system calls, fp_udfiex_crtl and udftrap.
2964 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2966 * nptl/tst-eintr1.c (tf1): Add return statement.
2967 (do_test): Remove unused th variable.
2969 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2971 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2972 Return error if get_character fails.
2974 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2976 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2978 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2981 * localedata/locales/szl_PL (day): Use the correct Unicode
2982 sequences instead of non-ASCII characters.
2984 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2987 * localedata/locales/szl_PL (abday): Spelling corrections.
2991 (alt_mon): This, then apply spelling corrections.
2992 (mon): New entry, month names in the genitive case.
2994 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2997 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2998 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2999 (thousands_sep): Likewise.
3000 (grouping): Set to 3;3.
3002 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3004 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3005 PREPARE_VERSION_KNOWN.
3006 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3007 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3009 (VDSO_HASH_LINUX_2_6_39): Likewise.
3010 (VDSO_NAME_LINUX_4_9): Likewise.
3011 (VDSO_HASH_LINUX_4_9): Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3013 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3014 (_libc_vdso_platform_setup): Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3016 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3021 2019-06-20 Mike Crowe <mac@mcrowe.com>
3023 * nptl/eintr.c: Use libsupport.
3024 * nptl/tst-eintr1.c: Likewise.
3025 * nptl/tst-eintr2.c: Likewise.
3026 * nptl/tst-eintr3.c: Likewise.
3027 * nptl/tst-eintr4.c: Likewise.
3028 * nptl/tst-eintr5.c: Likewise.
3029 * nptl/tst-mutex-errorcheck.c: Likewise.
3030 * nptl/tst-mutex5.c: Likewise.
3032 * support/test-driver.h: Add verbose_printf macro.
3034 * support/xtime.h: Add xclock_now() helper function.
3036 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3037 Florian Weimer <fweimer@redhat.com>
3040 * libio/genops.c (_IO_unbuffer_all)
3041 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3042 buffers and access _IO_FILE_complete members of legacy libio streams.
3043 * libio/tst-bz24228.c: New file.
3044 * libio/tst-bz24228.map: Likewise.
3045 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3046 [build-shared] (generated): Add tst-bz24228.mtrace and
3048 [run-built-tests && build-shared] (tests-special): Add
3049 $(objpfx)tst-bz24228-mem.out.
3050 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3051 ($(objpfx)tst-bz24228-mem.out): New rule.
3053 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3055 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3056 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3057 (__FPU_MFFSL): Likewise.
3058 (_FPU_SETCW): Likewise.
3060 2019-06-19 Stan Shebs <stanshebs@google.com>
3061 Raoni Fassina Firmino <raoni@linux.ibm.com>
3064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3065 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3066 static-linking version.
3067 * sysdeps/unix/sysv/linux/powerpc/Makefile
3068 (tests-static): Add test-gettimebasefreq-static.
3070 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3073 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3076 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3077 between the currency symbol and the minus sign).
3078 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3080 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3083 * string/test-strcasestr.c (check_result): Add NULL check.
3084 * nss/tst-field.c (check_rewrite): Likewise.
3085 * benchtests/bench-strstr.c (do_one_test): Likewise.
3086 * string/test-strstr.c (check_result): Likewise.
3087 * argp/argp-test.c (popt): Increase size of buf to 12.
3088 * benchtests/bench-malloc-simple.c (bench):
3089 Do not initialize tests array out of bounds.
3091 2019-06-19 Florian Weimer <fweimer@redhat.com>
3094 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3097 2019-06-18 Florian Weimer <fweimer@redhat.com>
3100 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3101 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3102 fail when called from dlopen.
3103 * elf/Makefile [have-fpie && build-shared] (tests): Add
3105 (tst-dlopen-pie): Link with -ldl.
3106 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3107 * elf/tst-dlopen-pie.c (do_test): New file.
3109 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3112 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3113 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3114 between the currency symbol and the minus sign).
3115 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3116 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3118 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3120 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3121 sysdep-rtld-routines): Remove rules.
3122 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3123 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3124 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3125 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3126 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3127 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3128 vDSO path for SHARED.
3129 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3130 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3131 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3132 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3133 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3134 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3136 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3137 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3138 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3139 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3140 CFLAGS-s_llround-power5+.c): New rule.
3141 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3143 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3147 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3149 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3152 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3154 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3156 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3157 * sysdeps/powerpc/powerpc64/fpu/Makefile
3158 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3160 (libm-sysdep_routines): Remove s_llround-* objects.
3161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3171 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3175 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3176 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3177 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3178 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3180 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3181 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3182 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3184 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3186 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3187 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3188 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3189 * sysdeps/powerpc/powerpc32/fpu/Makefile
3190 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3191 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3193 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3194 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3195 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3197 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3198 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3199 CFLAGS-s_lrint-ppc32.c): New rule.
3200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3211 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3212 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3225 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3226 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3228 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3229 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3233 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3236 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3238 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3240 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3241 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3242 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3244 (libm-sysdep_routines): Remove s_llrint-* objects.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3250 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3251 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3252 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3253 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3254 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3255 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3256 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3257 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3260 2019-06-14 Florian Weimer <fweimer@redhat.com>
3262 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3263 argument to __glibc_has_include to inhibit macro expansion.
3265 2019-06-14 Florian Weimer <fweimer@redhat.com>
3267 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3268 function-like macro, so that __has_include can inhibit expansion
3271 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3273 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3277 Allow memset in libc.so.
3279 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3281 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3282 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3283 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3284 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3285 symbols at load time.
3286 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3288 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3290 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3291 (DT_AARCH64_VARIANT_PCS): Define.
3293 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3296 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3306 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3309 Remove s_finite* objects.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3317 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3319 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3322 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3325 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3335 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3336 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3338 Remove s_isinf* and s_isinf* objects.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3345 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3347 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3351 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3353 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3354 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3355 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3357 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3373 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3374 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3375 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3376 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3377 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3380 Remove s_isnan-* and s_isnanf-* objects.
3381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3390 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3391 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3392 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3393 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3394 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3395 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3400 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3402 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3403 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3404 CFLAGS-bench-isfinite.c): New rule.
3405 * benchtests/isnan-input: New file.
3406 * benchtests/isinf-input: New file.
3407 * benchtests/isfinite-input: New file.
3409 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3410 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3411 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3412 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3414 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3424 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3427 Remove s_copysign-power6 s_copysign-ppc64.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3434 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3435 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3436 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3439 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3440 round_to_integer_float, round_mode): Add RINT handling.
3441 (reset_fenv_mode): New symbol.
3442 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3443 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3444 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3445 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3449 2019-06-12 Florian Weimer <fweimer@redhat.com>
3452 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3453 * libio/freopen.c (freopen): Use it.
3455 2019-06-12 Florian Weimer <fweimer@redhat.com>
3457 Linux: Deprecate sysctl.
3458 * include/sysctl.h (__sysctl): Remove declaration.
3459 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3461 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3462 (sysctl): Add deprecation attribute.
3463 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3464 directly, to avoid the deprecation warning. Do not include
3466 (__sysctl): Remove hidden alias.
3468 2019-06-12 Florian Weimer <fweimer@redhat.com>
3470 Linux: Use kernel headers for statx definitions if available.
3471 * include/bits/statx-generic.h: New file.
3472 * include/bits/types/struct_statx.h: Likewise.
3473 * include/bits/types/struct_statx_timestamp.h: Likewise.
3474 * io/Makefile (headers): Add bits/statx-generic.h.
3475 * io/bits/statx-generic.h: New file. Partly copied from
3477 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3478 define original_statx.
3479 * io/bits/types/struct_statx.h: Likewise.
3480 * io/bits/types/struct_statx_timestamp.h: Likewise.
3481 (statx_generic): Use original_statx.
3482 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3483 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3485 2019-06-12 Florian Weimer <fweimer@redhat.com>
3487 * misc/sys/cdefs.h (__glibc_has_include): Define.
3489 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3491 * string/memmem.c (__memmem): Rewrite to improve performance.
3493 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3495 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3497 (two_way_long_needle): Block inlining.
3498 * string/strstr.c (strstr2): Add new function.
3499 (strstr3): Likewise.
3500 (STRSTR): Completely rewrite strstr to improve performance.
3502 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3504 * benchtests/bench-strstr.c (test_hard_needle): New function.
3506 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3508 * malloc/tst-calloc.c: Include <libc-diag.h>.
3509 (null_test): Ignore -Wunused-result around calls to calloc.
3510 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3511 (do_test): Ignore -Wunused-result around call to malloc.
3513 2019-06-07 Florian Weimer <fweimer@redhat.com>
3515 Linux: Add getdents64 system call.
3516 * include/dirnent.h (getdents): Add comment and change buffer
3517 argument type to void *.
3518 (getdents64): Likewise. Add hidden prototype.
3519 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3521 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3523 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3524 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3525 argument type to void *.
3526 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3527 Add hidden definition and getdents64 alias.
3528 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3530 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3531 * manual/filesys.texi (Accessing Directories): Add Low-level
3532 Directory Access node reference.
3533 (Opening a Directory): Cross-reference it.
3534 (Low-level Directory Access): New node.
3535 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3537 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3539 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3540 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3542 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3544 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3546 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3548 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3550 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3552 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3554 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3555 (GLIBC_2.30): Likewise.
3556 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3557 (GLIBC_2.30): Likewise.
3558 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3559 (GLIBC_2.30): Likewise.
3560 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3561 (GLIBC_2.30): Likewise.
3562 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3565 (GLIBC_2.30): Likewise.
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3567 (GLIBC_2.30): Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3569 (GLIBC_2.30): Likewise.
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3571 (GLIBC_2.30): Likewise.
3572 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3574 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3576 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3578 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3583 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3585 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3588 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3590 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3594 (_FPU_GETCW): Use __FPU_MFFS().
3595 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3597 2019-06-06 Florian Weimer <fweimer@redhat.com>
3599 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3600 internal GCC preprocessor identifier __has_include__.
3602 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3604 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3605 with call to equivalent function.
3607 2019-06-04 Florian Weimer <fweimer@redhat.com>
3609 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3610 (do_release_shlib): Adjust for __twalk_r.
3611 (__gconv_release_shlib): Call __twalk_r.
3613 2019-06-04 Andreas Schwab <schwab@suse.de>
3616 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3617 no irreversible characters occurred.
3618 * iconv/gconv_simple.c (internal_ucs4_loop)
3619 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3620 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3621 (ucs4_internal_loop_single, internal_ucs4le_loop)
3622 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3623 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3624 (ucs4le_internal_loop_single): Add const to outend.
3625 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3626 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3627 * iconv/Makefile (tests): Add tst-iconv7.
3628 * iconv/tst-iconv7.c: New file.
3630 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3632 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3634 2019-06-01 Florian Weimer <fweimer@redhat.com>
3636 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3637 * sysdeps/unix/sysv/linux/arm/Makefile
3638 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3639 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3640 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3641 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3642 compatibility symbols.
3644 2019-05-31 Florian Weimer <fweimer@redhat.com>
3646 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3647 system calls for the arm architecture: breakpoint, get_tls,
3648 set_tls, usr26, usr32.
3650 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3652 * sysdeps/powerpc/Makefile
3653 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3654 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3655 Declare '.machine power7' to get support for ldbrx.
3656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3657 directive based on the directory of the file.
3658 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3659 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3660 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3661 '.machine' directive.
3662 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3663 (VADDUQM_V7_V8): Remove.
3664 (__STRCASECMP): Replace macros with actual instructions.
3665 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3666 '.machine' directive.
3667 (VCLZD_V8_v7): Remove.
3668 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3670 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3672 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3674 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3676 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3678 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3680 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3681 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3687 2019-05-28 mansayk <6688000@gmail.com>
3690 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3692 2019-05-28 mansayk <6688000@gmail.com>
3695 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3696 (abmon): Likewise, but remove the trailing dots.
3698 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3700 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3702 2019-05-27 Florian Weimer <fweimer@redhat.com>
3704 * nptl/nptl-init.c: Add comment.
3706 2019-05-24 Florian Weimer <fweimer@redhat.com>
3708 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3709 struct in_addr/struct in6_addr alignment.
3711 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3714 (F_SEAL_FUTURE_WRITE): New macro.
3716 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3718 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3719 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3720 * elf/tst-ldconfig_aux-cache.root: New directory.
3721 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3722 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3723 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3725 2019-05-22 Zack Weinberg <zackw@panix.com>
3727 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3729 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3730 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3732 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3737 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3738 Issue an #error if used with a compiler in SPE-float mode.
3739 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3740 * sysdeps/powerpc/powerpc32/setjmp_common.S
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3747 Remove code to preserve SPE register state.
3749 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3750 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3751 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3752 Remove __SPE__ ifndefs.
3754 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3756 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3757 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3758 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3759 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3760 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3761 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3762 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3763 (INNER_LOOP_ITERS_MEDIUM): New define.
3764 (INNER_LOOP_ITERS_SMALL): New define.
3765 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3766 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3767 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3768 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3769 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3771 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3773 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3775 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3776 (SEMTIMEDOP_IPC_ARGS): Likewise.
3778 2019-05-21 Florian Weimer <fweimer@redhat.com>
3781 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3782 before updating __counter field and release it afterwards. Add
3784 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3785 requirement for __counter member.
3787 2019-05-21 Florian Weimer <fweimer@redhat.com>
3790 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3791 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3792 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3793 instead of __gconv_release_step.
3794 * libio/Makefile (tests): Add tst-wfile-gconv.
3795 (tests-container): Add tst-wfile-ascii.
3796 (tst-wfile-gconv-ENV): Enable mtrace.
3797 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3798 (tests-special): Add tst-wfile-gconv-mem.out.
3799 (tst-wfile-gconv.out): Depend on locales.
3800 (tst-wfile-gconv-mem.out): Add mtrace rule.
3801 * libio/tst-wfile-ascii.c: New file.
3802 * libio/tst-wfile-gconv.c: Likewise.
3804 2019-05-20 Florian Weimer <fweimer@redhat.com>
3807 libio: Remove codecvt vtable.
3808 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3810 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3811 __libio_codecvt_encoding.
3812 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3813 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3814 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3815 * libio/iofwide.c (__libio_codecvt): Remove variable.
3816 (_IO_fwide): Do not copy __libio_codecvt.
3817 (__libio_codecvt_out): Rename from do_out and export.
3818 (do_unshift): Remove function.
3819 (__libio_codecvt_in): Rename from do_in and export.
3820 (__libio_codecvt_encoding): Rename from do_encoding and export.
3821 (do_always_noconv): Remove function.
3822 (__libio_codecvt_length): Rename from do_length and export.
3823 (do_max_length): Remove function.
3824 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3826 (struct _IO_codecvt): Remove fields __codecvt_destr,
3827 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3828 __codecvt_do_encoding, __codecvt_do_always_noconv,
3829 __codecvt_do_length, __codecvt_do_max_length.
3830 * libio/libioP.h (enum __codecvt_result): Define; moved from
3832 (__libio_codecvt_out, __libio_codecvt_in)
3833 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3835 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3836 (_IO_wfile_underflow): Call __libio_codecvt_in.
3837 (_IO_wfile_underflow): Likewise.
3838 (_IO_wfile_underflow_mmap): Likewise.
3839 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3840 __libio_codecvt_length.
3841 (adjust_wide_data): Call __libio_codecvt_encoding,
3843 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3844 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3845 __libio_codecvt_length.
3847 2019-05-20 Florian Weimer <fweimer@redhat.com>
3849 * support/support.h (support_sbindir_prefix): Declare.
3850 (support_install_rootsbindir): Update comment.
3851 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3852 * support/support_paths.c (support_sbindir_prefix): Define.
3854 2019-05-20 Mike Crowe <mac@mcrowe.com>
3856 * support/timespec.c: Add backslash to correct newline in failure
3859 * support/timespec.h: Correct confusing comment.
3861 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3863 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3865 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3866 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3867 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3868 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3871 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3874 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3876 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3877 (NT_ARM_PACG_KEYS): Likewise.
3879 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3881 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3882 (tcache_put): Remove redundant assert.
3883 (tcache_get): Remove redundant asserts.
3884 (__libc_malloc): Check tcache count is not zero.
3885 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3887 2019-05-17 Florian Weimer <fweimer@redhat.com>
3889 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3891 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3894 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3896 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3898 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3899 (__ASSUME_STATX): Likewise.
3901 2019-05-16 Florian Weimer <fweimer@redhat.com>
3903 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3905 (LINE_PARSER): Do not map IPv4 addresses.
3906 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3908 (_nss_nis_gethostent_r): Always pass AF_INET to
3909 internal_nis_gethostent_r.
3910 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3912 (_nss_nis_gethostbyname2_r): Adjust call to
3913 internal_nis_gethostent_r.
3914 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3915 call to internal_nis_gethostent_r.
3916 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3918 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3919 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3920 Remove flags argument. Do not map IPv4 addresses.
3921 (internal_nisplus_gethostent_r): Adjust call to
3922 _nss_nisplus_parse_hostent.
3923 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3924 to _nss_nisplus_parse_hostent.
3925 (_nss_nisplus_gethostbyname2_r): Adjust call to
3926 internal_gethostbyname2_r.
3927 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3928 Adjust call to internal_gethostbyname2_r.
3929 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3930 _nss_nisplus_parse_hostent.
3931 (_nss_nisplus_gethostbyname4_r): Adjust call to
3932 internal_gethostbyname2_r.
3934 2019-05-16 Florian Weimer <fweimer@redhat.com>
3936 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3938 (LINE_PARSER): Remove address mapping.
3939 (EXTRA_ARGS_VALUE): Remove flags argument.
3940 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3941 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3942 gethostbyname3_multi.
3943 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3944 _nss_files_gethostbyname3_r.
3945 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3947 2019-05-16 Florian Weimer <fweimer@redhat.com>
3949 * support/support_test_compare_blob.c (report_blob): Report
3950 incorrect NULL blobs.
3952 2019-05-15 Mark Wielaard <mark@klomp.org>
3955 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3956 __libc_once_get (once) and static_buf == NULL.
3957 (__dlerror): Check we have a valid key, set result to static_buf
3960 2019-05-15 Andreas Schwab <schwab@suse.de>
3963 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3964 __codecvt_do_length.
3965 * libio/Makefile (tests): Add tst-wfile-sync.
3966 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3967 * libio/tst-wfile-sync.c: New file.
3968 * libio/tst-wfile-sync.input: New file.
3970 2019-05-15 Florian Weimer <fweimer@redhat.com>
3972 nss: Turn __nss_database_lookup into a compatibility symbol.
3973 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3974 __nss_database_lookup.
3975 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3976 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3977 __nss_database_lookup.
3978 (__nss_next): Move to …
3979 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3981 (__nss_database_lookup): New function.
3982 * nss/Versions (GLIBC_2.0): Update comment.
3983 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3984 * grp/initgroups.c (internal_getgrouplist): Call
3985 __nss_database_lookup2 instead of __nss_database_lookup.
3986 * nscd/aicache.c (addhstaiX): Likewise.
3987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3988 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3989 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3990 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3991 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3993 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3994 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3997 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3999 * support/support.h (support_install_rootsbindir): New variable.
4000 * support/support_paths.c: Likewise.
4001 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4003 2019-05-15 Florian Weimer <fweimer@redhat.com>
4005 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4006 * iconv/gconv_int.h (__gconv_transliterate): … here.
4007 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4008 * iconv/skeleton.c: Likewise.
4010 2019-05-14 Florian Weimer <fweimer@redhat.com>
4012 Linux: Add the tgkill function.
4013 * bits/signal_ext.h: New file.
4014 * manual/signal.texi (Signaling Another Process): Document tgkill.
4015 * signal/Makefile (headers): Add bits/signal_ext.h.
4016 * signal/signal.h: Include <bits/signal_ext.h>.
4017 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4018 (tst-tgkill): Link with libpthread.
4019 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4020 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4021 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4022 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4024 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4025 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4026 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4027 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4028 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4029 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4030 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4031 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4032 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4033 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4034 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4036 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4037 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4038 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4047 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4048 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4049 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4050 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4056 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4058 * manual/search.texi (Tree Search Function): Adjust twalk_r
4061 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4064 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4067 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4068 * support/support.h (support_bindir_prefix): New variable.
4069 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4071 * config.make.in (bindir): New variable.
4073 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4074 (lll_trylock): Call __lll_trylock.
4075 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4076 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4077 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4078 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4079 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4080 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4082 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4083 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4084 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4085 lowlevellock-futex.h.
4087 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4088 initialization for LLL_LOCK_INITIALIZER different than 0.
4089 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4090 Assume LLL_LOCK_INITIALIZER being 0.
4091 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4092 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4094 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4095 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4097 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4098 Optimize futex call and add systemtap probe.
4100 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4101 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4102 __libc_disable_asynccancel, __librt_enable_asynccancel,
4103 __libc_disable_asynccancel, __librt_enable_asynccancel,
4104 __librt_disable_asynccancel): Move to ...
4105 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4106 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4107 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4108 * sysdeps/generic/single-thread.h: New file.
4109 * sysdeps/unix/sysdep.h: Include single-thread.h.
4110 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4111 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4113 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4116 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4117 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4119 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4120 * localedata/unicode-gen/PropList.txt: Likewise.
4121 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4122 * localedata/charmaps/UTF-8: Regenerate.
4123 * localedata/locales/i18n_ctype: Likewise.
4124 * localedata/locales/tr_TR: Likewise.
4125 * localedata/locales/translit_circle: Likewise.
4126 * localedata/locales/translit_cjk_compat: Likewise.
4127 * localedata/locales/translit_combining: Likewise.
4128 * localedata/locales/translit_compat: Likewise.
4129 * localedata/locales/translit_font: Likewise.
4130 * localedata/locales/translit_fraction: Likewise.
4132 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4135 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4136 (do_set_tcache_count): Only update if count is small enough.
4137 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4139 2019-05-10 Florian Weimer <fweimer@redhat.com>
4141 * nptl/sem_close.c (struct walk_closure): Define.
4142 (walker): Adjust for __twalk_r.
4143 (sem_close): Call __twalk_r.
4145 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4147 * support/timespec.c (test_timespec_before_impl,
4148 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4151 2019-05-09 Mike Crowe <mac@mcrowe.com>
4153 * nptl/tst-abstime.c: Use libsupport.
4155 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4156 small bug where only tv.tv_usec was checked which could cause an
4157 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4160 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4163 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4164 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4166 * nptl/tst-cond11.c: Use libsupport.
4168 * support/timespec.h: New file. Provide timespec helper functions
4169 along with macros in the style of those in check.h.
4170 * support/timespec.c: New file. Implement check functions declared
4171 in support/timespec.h.
4172 * support/timespec-add.c: New file from gnulib containing
4173 timespec_add implementation that handles overflow.
4174 * support/timespec-sub.c: New file from gnulib containing
4175 timespec_sub implementation that handles overflow.
4176 * support/README: Mention timespec.h.
4178 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4181 * nptl/Makefile: Move tst-eintr1 to xtests.
4183 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4185 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4187 (round_mode): Add definition for TRUNC.
4188 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4189 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4190 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4191 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4192 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4194 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4196 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4198 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4200 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4202 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4204 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4206 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4208 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4209 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4210 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4211 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4212 s_truncf-power5+, and s_truncf-ppc64.
4213 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4214 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4216 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4219 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4221 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4226 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4227 s_truncf-power5+, and s_truncf-ppc64.
4228 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4230 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4231 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4233 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4234 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4235 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4236 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4237 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4239 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4241 (round_mode): Add definition for ROUND.
4242 (round_to_integer_float): Likewise.
4243 * sysdeps/powerpc/fpu/s_round.c: New file.
4244 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4245 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4246 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4247 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4249 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4251 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4253 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4255 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4257 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4259 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4261 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4263 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4264 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4265 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4266 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4267 s_roundf-power5+, and s_roundf-ppc64.
4268 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4269 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4271 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4274 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4276 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4281 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4282 s_roundf-power5+, and s_roundf-ppc64.
4283 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4285 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4286 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4288 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4289 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4291 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4292 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4294 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4296 (round_mode): Add definition for FLOOR.
4297 * sysdeps/powerpc/fpu/s_floor.c: New file.
4298 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4299 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4300 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4317 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4318 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4319 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4320 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4321 s_floorf-power5+, and s_floorf-ppc64.
4322 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4323 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4325 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4327 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4328 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4330 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4333 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4335 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4336 s_floorf-power5+, and s_floorf-ppc64.
4337 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4345 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4346 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4347 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4348 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4350 2019-05-08 Mike Crowe <mac@mcrowe.com>
4352 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4353 clock_gettime wrapper for use in tests that fails the test rather
4354 than returning failure.
4356 * support/xtime.h: New file to declare xclock_gettime.
4358 * support/Makefile: Add xclock_gettime.c.
4360 * support/README: Mention xtime.h.
4362 2019-05-08 Florian Weimer <fweimer@redhat.com>
4364 malloc/tst-mallocfork2: Use process-shared barriers.
4365 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4366 (signal_count, sigusr1_sender_pid): Remove.
4367 (iterations): Define constant.
4368 (shared): New variable.
4369 (sigusr1_received): Update comment.
4370 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4371 (signal_sender): Optional use barriers to avoid sending signals
4372 during irrelevant times.
4373 (do_it): Initialize variable shared. Use xfork for error
4374 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4375 the iteration count, independent of signal delivery. Check for
4376 deadlocks in fork. Introduce barriers for reducing signal
4377 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4378 replaced by the barriers. Count signals during fork/free/malloc
4380 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4382 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4386 (clock_adjtime64) New syscall.
4387 (clock_getres_time64) Likewise.
4388 (clock_gettime64) Likewise.
4389 (clock_nanosleep_time64) Likewise.
4390 (clock_settime64) Likewise.
4391 (futex_time64) Likewise.
4392 (io_pgetevents_time64) Likewise.
4393 (io_uring_enter) Likewise.
4394 (io_uring_register) Likewise.
4395 (io_uring_setup) Likewise.
4396 (mq_timedreceive_time64) Likewise.
4397 (mq_timedsend_time64) Likewise.
4398 (pidfd_send_signal) Likewise.
4399 (ppoll_time64) Likewise.
4400 (pselect6_time64) Likewise.
4401 (recvmmsg_time64) Likewise.
4402 (rt_sigtimedwait_time64) Likewise.
4403 (sched_rr_get_interval_time64) Likewise.
4404 (semtimedop_time64) Likewise.
4405 (timer_gettime64) Likewise.
4406 (timer_settime64) Likewise.
4407 (timerfd_gettime64) Likewise.
4408 (timerfd_settime64) Likewise.
4409 (utimensat_time64) Likewise.
4411 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4412 version to 9 branch.
4414 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4416 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4417 __memmove_thunderx2 to the list of implementations
4418 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4419 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4420 (__memmove_thunderx2): Rewritten using SIMD ld/st
4421 (__memcpy_thunderx2): Fixed handling overlapping cases.
4422 Used ldp/stp instead of ldr/str if possible. Made loops
4425 2019-05-03 Florian Weimer <fweimer@redhat.com>
4427 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4429 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4432 * elf/tst-pldd.c (in_str_list): New function.
4433 (do_test): Add default names for ld and libc as one option.
4435 2019-05-02 Florian Weimer <fweimer@redhat.com>
4437 misc: Add twalk_r function.
4438 * include/search.h (__twalk_r): Declare.
4439 * manual/examples/twalk.c: New file.
4440 * manual/search.texi (Tree Search Function): Document twalk_r.
4441 * misc/Versions (2.30): Export twalk_r.
4442 (GLIBC_PRIVATE): Export __twalk_r.
4443 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4444 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4445 (twalk_r): Add weak alias.
4446 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4447 (walk_trace): New variable.
4448 (struct twalk_with_twalk_r_closure): Define.
4449 (twalk_with_twalk_r_action): New function.
4450 (twalk_with_twalk_r): Likewise.
4451 (walk_action): Call walk_trace_add.
4452 (walk_tree_with): Rename from walk_tree. Add walk argument.
4453 (walk_tree): New function.
4454 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4455 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4457 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4459 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4460 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4461 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4462 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4463 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4464 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4466 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4468 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4470 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4471 (GLIBC_2.30): Likewise.
4472 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4473 (GLIBC_2.30): Likewise.
4474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4475 (GLIBC_2.30): Likewise.
4476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4477 (GLIBC_2.30): Likewise.
4478 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4481 (GLIBC_2.30): Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4483 (GLIBC_2.30): Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4485 (GLIBC_2.30): Likewise.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4487 (GLIBC_2.30): Likewise.
4488 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4490 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4492 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4494 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4501 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4504 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4506 Make mktime etc. compatible with __time64_t
4507 Keep these functions compatible with Gnulib while adding
4508 __time64_t support. The basic idea is to move private API
4509 declarations from include/time.h to time/mktime-internal.h, since
4510 the former file cannot easily be shared with Gnulib whereas the
4512 Also, do some other minor cleanup while in the neighborhood.
4513 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4514 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4515 since Gnulib needs it.
4516 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4517 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4518 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4519 (in_time_t_range): New static function.
4520 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4521 so that glibc users are not tempted to use __time64_t.
4522 * time/mktime-internal.h: Rewrite so that it does both glibc
4523 and Gnulib work. Include time.h if not _LIBC.
4524 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4525 (__time64_t): New type or macro, moved here from
4527 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4528 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4529 from include/time.h.
4530 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4531 New macros, taken from GNulib.
4532 (__mktime_internal): New prototype, moved here from include/time.h.
4533 * time/mktime.c (mktime_min, mktime_max, convert_time)
4534 (ranged_convert, __mktime_internal, __mktime64):
4535 * time/timegm.c (__timegm64):
4536 Use __time64_t, not time_t.
4537 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4538 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4540 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4541 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4542 for libc_hidden_def.
4544 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4546 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4548 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4551 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4552 from `-Wmaybe-uninitialized'.
4553 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4555 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4557 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4559 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4560 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4561 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4562 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4563 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4565 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4587 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4593 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4596 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4599 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4600 s_ceilf-power5+, and s_ceilf-ppc64.
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4607 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4608 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4609 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4611 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4613 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4615 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4617 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4618 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4619 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4620 (sem_getvalue): Likewise.
4622 2019-04-26 Florian Weimer <fweimer@redhat.com>
4624 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4625 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4627 2019-04-26 Florian Weimer <fweimer@redhat.com>
4629 Makeconfig: Move -Wl,-rpath-link options before library references.
4630 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4631 (link-libc): Remove $(link-libc-rpath-link).
4633 2019-04-25 Florian Weimer <fweimer@redhat.com>
4635 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4636 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4637 (+link-static-before-libc): Remove $(CC).
4638 (+link-static, +link-static-tests): Add $(CC).
4639 (+link-before-libc): Remove $(CC).
4640 (+link, +link-pie, +link-pie-printers): Add $(CC).
4642 2019-04-26 Florian Weimer <fweimer@redhat.com>
4644 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4645 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4646 (+link-static-before-libc): Remove $(CC).
4647 (+link-static, +link-static-tests): Add $(CC).
4648 (+link-before-libc): Remove $(CC).
4649 (+link, +link-pie, +link-pie-printers): Add $(CC).
4651 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4654 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4656 2019-04-25 Florian Weimer <fweimer@redhat.com>
4658 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4659 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4660 (bench-link-targets): New variable.
4661 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4663 2019-04-25 Florian Weimer <fweimer@redhat.com>
4665 Also enable BIND_NOW for programs if --enable-bind-now.
4666 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4667 (+link-pie): Use $(link-extra-flags).
4668 (+link-static): Likewise.
4669 [! $(build-pie-default)] (+link): Likewise.
4670 * manual/install.texi (Configuring and compiling): Update
4671 --enable-bind-now description.
4672 * INSTALL: Regenerated.
4674 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4676 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4677 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4679 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4682 * malloc/Makefile (others): Add memusagestat.
4683 ($(objpfx)memusagestat): Delete rule.
4684 (LDLIBS-memusagestat): New variable.
4686 2019-04-24 Florian Weimer <fweimer@redhat.com>
4688 * locale/Makefile (tests-special): Guard setting by
4689 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4690 to run while cross-compiling.
4692 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4695 * elf/Makefile (tests-container): Add tst-pldd.
4696 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4697 (E(find_maps)): Avoid use alloca, use default read file operations
4698 instead of explicit LFS names, and fix infinite loop.
4699 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4700 (get_process_info): Use _Static_assert instead of assert, use default
4701 directory operations instead of explicit LFS names, and free some
4703 * elf/tst-pldd.c: New file.
4705 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4707 * malloc/arena.c (do_set_mallopt_check): Removed.
4709 2019-04-23 Florian Weimer <fweimer@redhat.com>
4711 locale: Add LOCPATH diagnostics to the locale program.
4712 * locale/programs/locale.c (setlocale_failed): New variable.
4713 (try_setlocale): New function.
4714 (quote_string): Likewise.
4715 (setlocale_diagnostics): Likewise.
4716 (main): Call try_setlocale instead of setlocale. Call
4717 setlocale_diagnostics.
4718 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4719 (tst-locale-locpath.out): New target.
4720 * locale/tst-locale-locpath.sh: New file.
4722 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4724 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4727 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4730 * malloc/hooks.c (malloc_check, realloc_check): Use
4731 __builtin_add_overflow on overflow check and adapt to
4732 checked_request2size change.
4733 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4734 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4735 allocation size to PTRDIFF_MAX.
4736 (REQUEST_OUT_OF_RANGE): Remove macro.
4737 (checked_request2size): Change to inline function and limit maximum
4738 requested size to PTRDIFF_MAX.
4739 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4740 maximum allocation size to PTRDIFF_MAX.
4741 (_mid_memalign): Use _int_memalign call for overflow check.
4742 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4743 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4744 limit maximum requested size to PTRDIFF_MAX.
4745 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4746 valloc, pvalloc): Add __attribute_alloc_size__.
4747 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4748 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4749 larger than PTRDIFF_MAX.
4750 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4751 around tests of malloc with negative sizes.
4752 * malloc/tst-posix_memalign.c (do_test): Likewise.
4753 * malloc/tst-pvalloc.c (do_test): Likewise.
4754 * malloc/tst-valloc.c (do_test): Likewise.
4755 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4756 with resulting size allocation larger than PTRDIFF_MAX with
4757 reallocarray_nowarn.
4758 (reallocarray_nowarn): New function.
4759 * NEWS: Mention the malloc function semantic change.
4761 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4763 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4764 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4766 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4767 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4768 * sysdeps/powerpc/fpu/s_fma.c: New file.
4769 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4771 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4772 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4774 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4775 the magic flag store.
4776 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4778 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4780 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4781 Remove rt_sigreturn call.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4784 Remove rt_sigreturn call.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4790 * support/Makefile (libsupport-routines): Add support_subprocess,
4791 xposix_spawn, xposix_spawn_file_actions_addclose, and
4792 xposix_spawn_file_actions_adddup2.
4793 (tst-support_capture_subprocess-ARGS): New rule.
4794 * support/capture_subprocess.h (support_capture_subprogram): New
4796 * support/support_capture_subprocess.c (support_capture_subprocess):
4797 Refactor to use support_subprocess and support_capture_poll.
4798 (support_capture_subprogram): New function.
4799 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4800 str_to_write_mode, test_common, parse_int, handle_restart,
4801 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4802 (do_test): Add support_capture_subprogram tests.
4803 * support/subprocess.h: New file.
4804 * support/support_subprocess.c: Likewise.
4805 * support/xposix_spawn.c: Likewise.
4806 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4807 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4808 * support/xspawn.h: Likewise.
4810 2019-04-17 Mike Gerow <gerow@google.com>
4812 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4815 2019-04-11 Florian Weimer <fweimer@redhat.com>
4817 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4818 domain with empty string.
4819 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4821 2019-04-11 Florian Weimer <fweimer@redhat.com>
4823 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4825 (alloc_buffer_next): Change return type to non-const. Update
4828 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4830 * manual/time.texi (Formatting Calendar Time): Add missing percent
4831 sign to conversion specifier.
4833 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4834 Kwok Cheung Yeung <kcy@codesourcery.com>
4837 * malloc/mtrace.c: Define prototypes for all hooks.
4838 (set_default_hooks): New function.
4839 (set_trace_hooks): Likewise.
4840 (save_default_hooks): Likewise.
4841 (tr_freehook): Use new s*_hooks functions.
4842 (tr_mallochook): Likewise.
4843 (tr_reallochook): Likewise.
4844 (tr_memalignhook): Likewise.
4846 (muntrace): Likewise.
4848 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4850 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4851 (generic_stpcpy): New function.
4852 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4853 (generic_stpncpy): New function.
4854 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4855 (generic_strcat): New function.
4856 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4857 (generic_strcpy): New function.
4858 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4859 (STUPID_STRNCAT): Remove function.
4860 (generic_strncat): New function.
4861 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4862 (STUPID_STRNCPY): Remove function.
4863 (generic_strncpy): New function.
4864 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4865 (generic_strnlen): New function.
4866 (memchr_strnlen): New function.
4867 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4868 (memchr_strlen): Likewise.
4870 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4872 * benchtests/bench-strstr.c (input): Add realistic input text.
4873 (stupid_strstr): Remove function.
4874 (basic_strstr): Add function.
4875 (twoway_strstr): Add function.
4876 (do_one_test): Add result checking.
4877 (do_test): Use new input text. Remove accidental early matches.
4878 (test_main): Improve range of tests, reduce unaligned cases.
4880 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4882 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4883 (basic_memmem): Add function.
4884 (twoway_memmem): Add function.
4886 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4888 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4889 * benchtests/bench-malloc-thread.c: Likewise.
4890 * benchtests/bench-skeleton.c: Likewise.
4891 * benchtests/bench-strtod.c: Likewise.
4892 * benchtests/bench-timing.h: Likewise.
4894 2019-04-08 Florian Weimer <fweimer@redhat.com>
4896 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4898 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4899 RES_INSECURE2 security checks.
4900 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4901 RES_INSECURE2 handling.
4903 2019-04-08 Florian Weimer <fweimer@redhat.com>
4905 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4906 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4907 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4909 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4910 (tests-internal): Update justification for tst-resolv-res_init,
4911 tst-resolv-res_init-thread.
4912 (tst-res_use_inet6): Remove target.
4913 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4914 * resolv/res_debug.c (p_option): Remove "inet6" support.
4915 * resolv/res_init.c (res_setoptions): Likewise.
4916 * resolv/res_use_inet6.h: Remove file.
4917 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4919 (res_use_inet6): Always return false.
4920 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4921 * resolv/resolv_context.h: Adjust file comment.
4922 (struct resolv_context): Update comment on __next field.
4923 (__resolv_context_put): Update comment.
4924 * resolv/tst-res_use_inet6.c: Remove file.
4925 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4927 (test_cases): Adjust test case.
4928 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4929 (thread_byname2_af_inet6): Use old byname_inet6 code.
4930 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4931 (gai): Remove do_inet6 argument.
4932 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4933 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4934 (thread_gai_unspec_inet6): Remove functions.
4935 (do_test): Adjust thread_funcs.
4936 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4938 (gaih_inet): Do not disable RES_USE_INET6 flag.
4940 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4942 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4943 and remove redundant code.
4945 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4947 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4949 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4957 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4958 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4959 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4960 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4961 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4963 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4965 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4968 Remove wcsrchr optimizations.
4969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4971 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4974 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4976 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4984 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4987 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4988 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4990 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4992 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4995 Remove wcschr optimizations.
4996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4998 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5001 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5003 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5015 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5017 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5019 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5022 Remove wcscpy optimizations.
5023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5025 * include/loop_unroll.h: New file.
5026 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5027 besides generic implementation.
5029 2019-04-03 DJ Delorie <dj@redhat.com>
5031 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5032 snprintf truncating output.
5034 2019-04-02 DJ Delorie <dj@redhat.com>
5036 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5039 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5042 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5044 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5045 (mkreftable): Add rules for the new Japanese era and the new dates.
5047 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5048 Rafał Lużyński <digitalfreak@lingonborough.com>
5050 * time/tst-strftime2.c (date_t): Explicitly define the type.
5051 (dates): Use natural month and year numbers to express a date.
5052 (is_before): New function to compare dates.
5053 (mkreftable): Minor improvements to simplify maintenance.
5054 (do_test): Reflect the changes in dates array.
5057 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5058 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5059 * time/tst-strftime2.c (locales): Likewise.
5060 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5061 2010-04-01, and 2011-04-01.
5062 (mkreftable): Add rules for the new locales and the new dates.
5064 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5066 * localedata/locales/ja_JP: Add comments to era entries.
5068 2019-04-01 DJ Delorie <dj@redhat.com>
5071 * time/strptime_l.c (%Ey): Fix fencepost error.
5072 * time/tst-strftime3.c: New.
5073 * time/Makefile (tests): Add tst-strftime3.
5075 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5077 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5078 conditional branch to DIVBYZERO. Fix unwind info.
5079 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5080 excb after conditional branch to $powerof2. Add missing unop
5081 instructions and .align directives and reorder instructions to
5084 2019-04-01 Richard Henderson <rth@twiddle.net>
5086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5088 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5091 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5093 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5094 $libc_cv_riscv_float_abi in `test' invocation.
5095 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5097 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5099 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5101 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5103 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5104 (_GET_SI_FPSCR): Likewise.
5105 (_SET_SI_FPSCR): Likewise.
5107 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5109 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5111 (signbit): Use builtin for clang 3.3.
5112 (isinf): Use builtin for clang 3.7.
5114 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5116 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5118 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5120 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5123 2019-03-25 Mike Crowe <mac@mcrowe.com>
5125 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5126 pthread_rwlock_timedrdlock with calls to
5127 pthread_rwlock_timedwrlock to ensure that the latter is tested
5128 too. Use new function name in diagnostic messages too.
5130 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5131 (do_test) Use libsupport test macros rather than hand-coded
5132 conditionals and error messages. Ensure that sem_init returns zero
5133 rather than not -1. Use <support/test-driver.c> rather than
5136 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5137 test macros rather than hand-coded conditionals and error messages.
5138 Use <support/test-driver.c> rather than test-skeleton.c.
5140 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5144 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5145 (NT_MIPS_MSA): Likewise.
5147 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5149 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5150 * benchtests/README: Update description.
5151 * benchtests/bench-timing.h: Default to hp-timing.
5152 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5153 HP_TIMING_PRINT): Remove.
5154 (HP_TIMING_NOW): Add generic implementation.
5155 (hp_timing_t): Change to uint64_t.
5157 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5159 * nptl/descr.h: Likewise.
5160 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5161 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5162 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5163 Abstract hp-timing usage with RTLD_* macros.
5164 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5165 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5166 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5167 HP_TIMING_NONAVAIL): Likewise.
5168 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5170 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5171 HP_SMALL_TIMING_AVAIL): Likewise.
5172 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5173 HP_SMALL_TIMING_AVAIL): Likewise.
5174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5175 HP_SMALL_TIMING_AVAIL): Likewise.
5176 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5177 HP_SMALL_TIMING_AVAIL): Likewise.
5178 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5180 * sysdeps/generic/hp-timing-common.h: Update comment with
5181 HP_TIMING_AVAIL removal.
5183 * include/random-bits.h: New file.
5184 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5185 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5187 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5188 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5191 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5192 * rt/Makefile (clock-routines): Remove get_clockfreq.
5193 * rt/get_clockfreq.c: Remove file.
5194 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5195 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5198 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5200 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5201 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5202 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5203 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5204 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5206 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5207 pthread_clock_settime.
5208 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5209 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5210 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5211 * elf/rtld.c (_dl_start_final): Likewise.
5212 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5213 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5215 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5216 (_dl_cpuclock_offset): Remove.
5217 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5218 cpuclock_offset_ununsed.
5219 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5220 cpuclock_offset set.
5221 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5222 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5223 * nptl/pthread_clock_gettime.c: Remove file.
5224 * nptl/pthread_clock_settime.c: Likewise.
5225 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5226 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5227 and CLOCK_PROCESS_CPUTIME_ID support.
5228 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5229 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5230 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5231 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5232 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5234 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5236 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5238 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5239 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5240 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5242 * sysdeps/s390/memmem-arch13.S: New file.
5243 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5244 if it is only used as fallback.
5245 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5246 * sysdeps/s390/multiarch/ifunc-impl-list.c
5247 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5249 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5251 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5252 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5253 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5255 * sysdeps/s390/multiarch/ifunc-impl-list.c
5256 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5257 * sysdeps/s390/strstr-arch13.S: New file.
5258 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5259 if it is only used as fallback.
5260 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5262 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5264 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5265 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5266 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5267 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5269 * sysdeps/s390/multiarch/ifunc-impl-list.c
5270 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5271 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5272 S390_IS_ARCH13_MIE3): New defines.
5274 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5276 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5277 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5278 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5279 * sysdeps/s390/configure: Regenerated.
5281 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5283 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5284 Add vxe2, vxp, dflt, sort flags.
5285 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5286 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5288 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5289 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5290 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5291 HWCAP_S390_DFLT): Define.
5293 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5296 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5297 of compiler warning.
5298 * locale/programs/ld-collate.c (collate_output): Likewise.
5300 2019-03-21 DJ Delorie <dj@redhat.com>
5303 * iconv/iconvconfig.c (write_output): Replace floating point math
5304 with integer math to avoid imprecise results.
5305 * locale/programs/ld-collate.c (collate_output): Likewise.
5307 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5309 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5310 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5312 2019-03-20 mansayk <6688000@gmail.com>
5315 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5316 (abday): Likewise, but remove the trailing dots.
5318 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5320 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5322 (HWCAP_PACA): Likewise.
5323 (HWCAP_PACG): Likewise.
5324 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5326 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5328 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5330 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5333 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5337 (old_getpagesize): New syscall.
5339 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5342 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5343 * localedata/locales/cmn_TW (era): Likewise.
5344 * localedata/locales/hak_TW (era): Likewise.
5345 * localedata/locales/lzh_TW (era): Likewise.
5346 * localedata/locales/nan_TW (era): Likewise.
5348 2019-03-14 Adam Maris <amaris@redhat.com>
5350 * malloc/malloc.c (_int_malloc): Check for large bin list
5351 corruption when inserting unsorted chunk.
5353 2019-03-14 Florian Weimer <fweimer@redhat.com>
5355 Remove obsolete, never-implemented XSI STREAMS declarations.
5356 * manual/terminal.texi (Allocation): Remove portability note and
5358 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5360 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5361 * sysdeps/unix/inet/Subdirs (streams): Remove.
5362 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5363 (conformtest-headers-UNIX98): Likewise.
5364 (conformtest-headers-XOPEN2K): Likewise.
5365 (conformtest-headers-POSIX2008): Likewise.
5366 * posix/compat-streams.c: New file.
5367 * posix/Makefile (routines): Add it.
5368 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5369 getpmsg, isastream, putmsg, putpmsg.
5370 (GLIBC_2.30): New section.
5371 * bits/stropts.h: Remove file.
5372 * bits/xtitypes.h: Likewise.
5373 * conform/data/stropts.h-data: Likewise.
5374 * include/stropts.h: Likewise.
5375 * include/sys/stropts.h: Likewise.
5376 * include/xtitypes.h: Likewise.
5377 * streams/Makefile: Likewise.
5378 * streams/fattach.c: Likewise.
5379 * streams/fdetach.c: Likewise.
5380 * streams/getmsg.c: Likewise.
5381 * streams/getpmsg.c: Likewise.
5382 * streams/isastream.c: Likewise.
5383 * streams/putmsg.c: Likewise.
5384 * streams/putpmsg.c: Likewise.
5385 * streams/stropts.h: Likewise.
5386 * streams/sys/stropts.h: Likewise.
5387 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5388 * sysdeps/s390/bits/xtitypes.h: Likewise.
5389 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5390 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5391 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5393 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5394 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5396 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5397 * sysdeps/x86/bits/xtitypes.h: Likewise.
5399 2019-03-14 Florian Weimer <fweimer@redhat.com>
5401 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5403 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5404 but not with libnss_files.
5405 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5407 2019-03-14 Zack Weinberg <zackw@panix.com>
5409 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5410 Specify encoding="utf-8" when opening headers to check.
5412 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5414 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5416 (Context.checkout_tar): Handle variable major version for Linux
5419 2019-03-13 Florian Weimer <fweimer@redhat.com>
5422 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5424 2019-03-13 Zack Weinberg <zackw@panix.com>
5426 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5428 * include/inttypes.h: Adjust to match.
5429 * include/stdint.h: New wrapper.
5431 2019-03-13 Zack Weinberg <zackw@panix.com>
5433 * scripts/check-obsolete-constructs.py: New test script.
5434 * scripts/check-installed-headers.sh: Remove tests for
5435 obsolete typedefs, superseded by check-obsolete-constructs.py.
5436 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5437 as a special test. Update commentary.
5438 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5439 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5441 * posix/sys/types.h (__u_intN_t): Remove.
5442 (u_int8_t): Typedef using __uint8_t.
5443 (u_int16_t): Typedef using __uint16_t.
5444 (u_int32_t): Typedef using __uint32_t.
5445 (u_int64_t): Typedef using __uint64_t.
5447 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5449 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5451 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5452 Ignore types other than AT_HWCAP.
5453 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5454 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5456 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5457 in the case of falling back to generic output mechanism.
5458 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5461 2019-03-12 Florian Weimer <fweimer@redhat.com>
5463 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5465 2019-03-12 Florian Weimer <fweimer@redhat.com>
5468 resolv: Enable full ICMP errors for UDP DNS sockets
5469 * resolv/res_enable_icmp.c: New file.
5470 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5471 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5472 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5475 2019-03-11 Mao Han <han_mao@c-sky.com>
5477 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5478 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5480 2019-03-11 Mao Han <han_mao@c-sky.com>
5482 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5483 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5484 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5486 2019-03-11 Mao Han <han_mao@c-sky.com>
5488 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5490 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5493 2019-03-11 Mao Han <han_mao@c-sky.com>
5495 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5496 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5499 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5502 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5503 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5505 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5506 * localedata/unicode-gen/PropList.txt: Likewise.
5507 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5508 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5509 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5510 * localedata/charmaps/UTF-8: Regenerate.
5511 * localedata/locales/i18n_ctype: Likewise.
5512 * localedata/locales/tr_TR: Likewise.
5513 * localedata/locales/translit_circle: Likewise.
5514 * localedata/locales/translit_cjk_compat: Likewise.
5515 * localedata/locales/translit_combining: Likewise.
5516 * localedata/locales/translit_compat: Likewise.
5517 * localedata/locales/translit_font: Likewise.
5518 * localedata/locales/translit_fraction: Likewise.
5520 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5522 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5523 than after operators.
5524 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5525 (setitimer_locked): Likewise.
5526 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5527 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5528 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5529 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5530 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5531 (PPC_CPU_SUPPORTED): Likewise.
5532 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5533 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5534 (stat_overflow): Likewise.
5535 (statfs_overflow): Likewise.
5536 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5537 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5538 (eq_ttyname_r): Likewise.
5539 (run_chroot_tests): Likewise.
5541 2019-03-07 Florian Weimer <fweimer@redhat.com>
5543 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5546 2019-03-07 Martin Liska <mliska@suse.cz>
5548 * math/Makefile: Change location where math-vector-fortran.h is
5550 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5551 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5552 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5553 * scripts/check-installed-headers.sh: Skip Fortran header files.
5554 * scripts/check-wrapper-headers.py: Likewise.
5556 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5558 * nptl/nptl-init.c (__have_futex_clock_realtime,
5559 __have_futex_clock_realtime): Remove definition.
5560 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5561 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5562 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5563 __ASSUME_FUTEX_CLOCK_REALTIME support.
5564 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5565 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5566 * sysdeps/unix/sysv/linux/kernel-features.h
5567 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5568 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5571 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5573 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5574 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5575 __GI___wcscpy and wcscpy.
5577 2019-03-04 Florian Weimer <fweimer@redhat.com>
5579 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5581 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5584 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5586 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5587 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5589 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5592 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5593 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5595 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5597 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5599 (do_test): Likewise.
5600 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5601 (do_test_call_varg): Likewise.
5602 (do_test_call_rarg): Likewise.
5603 * sysdeps/ieee754/ldbl-opt/Makefile
5604 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5606 ($(objpfx)tst-nldbl-warn.c): New rule.
5607 ($(objpfx)tst-nldbl-error.c): Likewise.
5608 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5611 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5614 * include/bits/error-ldbl.h: New file.
5615 * include/error.h: Include stdarg.h. Declare internal functions
5616 __error_internal and __error_at_line_internal.
5617 * misc/Makefile (headers): Add bits/error-ldbl.h.
5618 * misc/bits/error-ldbl.h: New file.
5619 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5620 avoid the inclusion of bits/error.h.
5621 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5622 and __nldbl_error_at_line.
5623 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5624 (__nldbl_error, __ndlbl_error_at_line): New functions.
5625 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5626 Redirect error and error_at_line.
5627 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5636 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5637 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5640 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5643 * include/bits/err-ldbl.h: New file.
5644 * include/err.h: Add prototypes for the internal functions:
5645 __vwarnx_internal and __vwarn_internal.
5646 * misc/Makefile (headers): Add bits/err-ldbl.h.
5647 * misc/bits/err-ldbl.h: New file.
5648 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5649 defined, i.e.: when -mlong-double-64 is in use.
5650 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5651 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5652 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5653 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5654 (VA_CALL): New macro.
5655 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5656 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5658 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5659 declare prototypes for the new functions.
5660 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5669 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5670 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5671 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5673 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5675 * sysdeps/ieee754/ldbl-opt/Makefile
5676 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5677 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5678 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5680 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5683 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5684 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5685 * argp/bits/argp-ldbl.h: New file.
5686 * include/argp.h: Include stdarg.h. Add prototypes for internal
5687 functions: __argp_error_internal and __argp_failure_internal.
5688 * include/bits/argp-ldbl.h: New file.
5689 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5690 __nldbl_argp_error and __nldbl_argp_failure.
5691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5692 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5694 Redirect argp_error and argp_failure calls.
5695 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5704 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5705 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5706 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5708 2019-03-01 Florian Weimer <fweimer@redhat.com>
5711 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5712 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5713 code, to avoid creating an ABI tag note.
5714 (modules-names-nobuild): Add tst-big-note-lib.
5716 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5718 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5719 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5721 2019-03-01 Florian Weimer <fweimer@redhat.com>
5724 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5725 (__netlink_assert_response): Add additional missing newlines.
5727 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5729 * sysdeps/powerpc/powerpc32/dl-machine.c
5730 (__elf_machine_fixup_plt): Use space before '('.
5731 (__process_machine_rela): Likewise.
5732 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5734 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5736 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5738 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5739 (pattern): Likewise.
5741 (check_result): Likewise.
5742 (check_excepts): Likewise.
5743 (check_op): Likewise.
5744 (fail_xr): Likewise.
5745 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5746 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5748 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5751 (__makecontext): Likewise.
5752 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5755 2019-02-28 Florian Weimer <fweimer@redhat.com>
5758 elf: Add test with a local IFUNC resolver.
5759 * elf/ifuncmain9.c: New file.
5760 * elf/ifuncmain9pic.c: Likewise.
5761 * elf/ifuncmain9picstatic.c: Likewise.
5762 * elf/ifuncmain9pie.c: Likewise.
5763 * elf/ifuncmain9static.c: Likewise.
5764 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5765 ifuncmain9static, ifuncmain9picstatic.
5766 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5767 Add ifuncmain9, ifuncmain9pic.
5768 * elf/Makefile [multi-arch && build-shared && have-fpie]
5769 (ifunc-pie-tests): Add ifuncmain9pie.
5770 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5771 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5772 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5774 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5776 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5777 * configure: Regenerated.
5778 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5780 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5783 symbol as __wcspcy instead of wcscpy.
5785 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5787 * include/stdio.h (__renameat2): New hidden prototype.
5788 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5789 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5790 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5791 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5793 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5795 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5798 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5799 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5800 * benchtests/bench-strlen.c (do_test): Likewise.
5801 (test_main): Likewise.
5802 * catgets/gencat.c (read_old): Likewise.
5803 * elf/cache.c (load_aux_cache): Likewise.
5804 * iconvdata/bug-iconv8.c (do_test): Likewise.
5805 * math/test-tgmath-ret.c (do_test): Likewise.
5806 * nis/nis_call.c (rec_dirsearch): Likewise.
5807 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5808 * nptl/tst-audit-threads.c (do_test): Likewise.
5809 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5810 * nss/nss_test1.c (init): Likewise.
5811 * nss/test-netdb.c (test_hosts): Likewise.
5812 * posix/execvpe.c (maybe_script_execute): Likewise.
5813 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5814 * stdio-common/tst-printf.c (do_test): Likewise.
5815 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5816 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5817 * stdlib/qsort.c (STACK_SIZE): Likewise.
5818 * stdlib/test-canon.c (do_test): Likewise.
5819 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5820 * string/memcmp.c (OPSIZ): Likewise.
5821 * string/test-strcpy.c (do_test): Likewise.
5822 (do_random_tests): Likewise.
5823 * string/test-strlen.c (do_test): Likewise.
5824 (test_main): Likewise.
5825 * string/test-strrchr.c (do_test): Likewise.
5826 (do_random_tests): Likewise.
5827 * string/tester.c (test_memrchr): Likewise.
5828 (test_memchr): Likewise.
5829 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5830 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5831 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5832 (read_encoded_value_with_base): Likewise.
5833 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5834 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5835 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5836 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5837 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5838 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5840 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5842 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5843 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5844 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5846 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5848 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5850 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5852 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5853 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5854 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5855 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5856 * time/test_time.c (main): Likewise.
5858 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5860 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5862 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5865 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5868 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5870 * include/wchar.h (__wcscpy): New prototype.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5872 (__wcscpy): Route internal symbol to generic implementation.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5874 Add internal __wcscpy alias.
5875 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5876 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5877 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5878 * wcsmbs/wcscpy.c (wcscpy): Add
5879 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5880 use generic implementation.
5881 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5883 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5886 * sysdeps/m68k/wcpcpy.c: Remove file.
5887 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5889 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5892 than after operators.
5893 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5894 * sysdeps/mach/hurd/getcwd.c
5895 (__hurd_canonicalize_directory_name_internal): Likewise.
5896 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5897 (pthread_mutex_consistent): Likewise.
5898 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5900 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5901 (__pthread_mutex_transfer_np): Likewise.
5902 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5903 (__pthread_mutex_unlock): Likewise.
5904 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5905 (mtx_owned_p): Likewise.
5906 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5907 (pthread_mutexattr_getrobust): Likewise.
5908 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5909 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5911 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5912 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5913 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5914 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5915 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5919 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5921 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5922 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5923 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5924 (____longjmp_chk): Likewise.
5925 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5928 (INTERNAL_SYSCALL): Likewise.
5929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5930 (INTERNAL_SYSCALL): Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5932 (__get_clockfreq_via_cpuinfo): Likewise.
5934 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5936 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5937 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5938 (WORD_COPY_BWD): Likewise.
5939 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5940 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5942 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5943 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5945 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5947 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5949 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5950 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5951 rather than after operators.
5952 * elf/cache.c (print_cache): Likewise.
5953 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5954 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5955 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5956 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5957 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5958 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5959 (reauth_proc): Likewise.
5960 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5961 (__file_name_split_at): Likewise.
5962 (__directory_name_split_at): Likewise.
5963 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5964 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5965 * iconv/gconv_dl.c (do_print): Likewise.
5966 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5967 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5968 * locale/setlocale.c (new_composite_name): Likewise.
5969 * malloc/memusagestat.c (main): Likewise.
5970 * misc/fstab.c (fstab_convert): Likewise.
5971 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5973 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5974 (getgrent_next_file): Likewise.
5975 (internal_getgrnam_r): Likewise.
5976 (internal_getgrgid_r): Likewise.
5977 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5979 (internal_getgrent_r): Likewise.
5980 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5981 (getpwent_next_nss): Likewise.
5982 (getpwent_next_file): Likewise.
5983 (internal_getpwnam_r): Likewise.
5984 (internal_getpwuid_r): Likewise.
5985 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5987 (getspent_next_nss): Likewise.
5988 (internal_getspnam_r): Likewise.
5989 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5990 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5991 * string/strchr.c (STRCHR): Likewise.
5992 * string/strchrnul.c (STRCHRNUL): Likewise.
5993 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5994 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5995 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5996 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5997 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5999 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6000 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6001 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6002 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6003 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6004 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6005 (open_file): Likewise.
6006 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6007 (pthread_mutexattr_setprotocol): Likewise.
6008 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6009 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6010 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6011 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6012 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6014 (elf_machine_rela): Likewise.
6015 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6016 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6017 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6018 * sysdeps/posix/rename.c (rename): Likewise.
6019 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6020 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6021 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6022 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6023 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6024 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6025 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6027 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6029 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6030 * time/tzfile.c (__tzfile_compute): Likewise.
6032 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6034 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6035 rather than after operators.
6036 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6037 * crypt/md5.c (md5_finish_ctx): Likewise.
6038 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6039 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6040 * elf/cache.c (load_aux_cache): Likewise.
6041 * elf/dl-load.c (open_verify): Likewise.
6042 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6043 * elf/readelflib.c (process_elf_file): Likewise.
6044 * elf/rtld.c (dl_main): Likewise.
6045 * elf/sprof.c (generate_call_graph): Likewise.
6046 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6047 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6048 * hurd/dtable.c (reauth_dtable): Likewise.
6049 * hurd/getdport.c (__getdport): Likewise.
6050 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6051 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6052 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6054 * hurd/hurdioctl.c (fioctl): Likewise.
6055 * hurd/hurdselect.c (_hurd_select): Likewise.
6056 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6057 (STOPSIGS): Likewise.
6058 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6059 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6060 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6061 * hurd/msgportdemux.c (msgport_server): Likewise.
6062 * hurd/setauth.c (_hurd_setauth): Likewise.
6063 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6064 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6065 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6066 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6067 * login/tst-utmp.c (do_check): Likewise.
6068 (simulate_login): Likewise.
6069 * mach/lowlevellock.h (lll_lock): Likewise.
6070 (lll_trylock): Likewise.
6071 * math/test-fenv.c (ALL_EXC): Likewise.
6072 * math/test-fenvinline.c (ALL_EXC): Likewise.
6073 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6074 * nis/nis_call.c (__do_niscall3): Likewise.
6075 * nis/nis_callback.c (cb_prog_1): Likewise.
6076 * nis/nis_defaults.c (searchaccess): Likewise.
6077 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6078 * nis/nis_ismember.c (internal_ismember): Likewise.
6079 * nis/nis_local_names.c (nis_local_principal): Likewise.
6080 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6081 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6083 * nis/ypclnt.c (yp_match): Likewise.
6084 (yp_first): Likewise.
6085 (yp_next): Likewise.
6086 (yp_master): Likewise.
6087 (yp_order): Likewise.
6088 * nscd/hstcache.c (cache_addhst): Likewise.
6089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6090 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6091 (internal_getpwuid_r): Likewise.
6092 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6093 * posix/glob.h (__GLOB_FLAGS): Likewise.
6094 * posix/regcomp.c (peek_token): Likewise.
6095 (peek_token_bracket): Likewise.
6096 (parse_expression): Likewise.
6097 * posix/regexec.c (sift_states_iter_mb): Likewise.
6098 (check_node_accept_bytes): Likewise.
6099 * posix/tst-spawn3.c (do_test): Likewise.
6100 * posix/wordexp-test.c (testit): Likewise.
6101 * posix/wordexp.c (parse_tilde): Likewise.
6102 (exec_comm): Likewise.
6103 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6104 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6105 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6106 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6107 * stdio-common/tst-fileno.c (do_test): Likewise.
6108 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6109 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6110 * stdlib/strtod_l.c (round_and_return): Likewise.
6111 (____STRTOF_INTERNAL): Likewise.
6112 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6113 * string/strcspn.c (STRCSPN): Likewise.
6114 * string/test-memmem.c (simple_memmem): Likewise.
6115 * termios/tcsetattr.c (tcsetattr): Likewise.
6116 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6117 * time/asctime.c (asctime_internal): Likewise.
6118 * time/strptime_l.c (__strptime_internal): Likewise.
6119 * time/sys/time.h (timercmp): Likewise.
6120 * time/tzfile.c (__tzfile_compute): Likewise.
6122 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6125 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6127 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6129 * argp/argp-help.c (__argp_error_internal): New function,
6130 renamed from __argp_error, but that takes a 'mode_flags'
6131 parameter to control the format of long double parameters.
6132 (__argp_error): Converted into a call __argp_error_internal.
6133 (__argp_failure_internal): New function, renamed from
6134 __argp_failure, but that takes a 'mode_flags' parameter.
6135 (__argp_failure): Converted into a call __argp_failure_internal.
6136 * misc/err.c (__vwarnx_internal): New function, renamed from
6137 vwarnx, but that takes a 'mode_flags' parameter.
6138 (vwarnx): Converted into a call to __vwarnx_internal.
6139 (__vwarn_internal): New function, renamed from vwarn, but that
6140 takes a 'mode_flags' parameter.
6141 (vwarn): Converted into a call to __vwarn_internal.
6142 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6143 call to __vfxprintf with 'mode_flags'.
6144 (__error_internal): New function, renamed from error, but that
6145 takes a 'mode_flags' parameter.
6146 (error): Converted into a call to __error_internal.
6147 (__error_at_line_internal): New function, renamed from
6148 error_at_line, but that takes a 'mode_flags' parameter.
6149 (error_at_line): Converted into a call to
6150 __error_at_line_internal.
6151 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6152 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6155 2019-02-20 Martin Liska <mliska@suse.cz>
6157 * math/Makefile: Install math-vector-fortran.h.
6158 * bits/math-vector-fortran.h: New file.
6159 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6161 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6163 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6164 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6166 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6168 * nptl/pthread_mutex_trylock.c: Fix comment.
6170 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6172 * nptl/pthread_tryjoin.c: Fix comment.
6174 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6178 after R_SPARC_H34 case.
6180 2019-02-18 Florian Weimer <fweimer@redhat.com>
6182 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6183 (getanswer): Do not call Dprintf.
6184 (res_gethostbyname2_context): Likewise.
6185 (res_gethostbyaddr_context): Likewise.
6187 2019-02-18 Florian Weimer <fweimer@redhat.com>
6189 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6191 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6193 * libio/stdfiles.c: Update comment.
6194 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6195 set _IO_stdin, _IO_stdout, _IO_stderr.
6196 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6197 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6199 (_IO_deallocate_file): New inline function.
6200 * libio/iolibio.h (_IO_vprintf): Remove definition.
6201 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6202 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6203 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6205 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6206 __builtin_expect. Use _IO_legacy_file.
6208 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6210 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6211 Initialize ctid with a known value and remove update of ctid
6213 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6214 as assumed current value of ctid_ptr.
6216 2019-02-16 Florian Weimer <fweimer@redhat.com>
6218 Check that non-sysdeps headers have wrapper headers.
6219 * scripts/check-wrapper-headers.py: New file.
6220 * Makefile (tests-special): Add check-wrapper-headers.out.
6221 (check-wrapper-headers.out): New target.
6222 * Rules (tests-special): Add check-wrapper-headers.out.
6223 (check-wrapper-headers.out): New target.
6225 2019-02-16 Florian Weimer <fweimer@redhat.com>
6227 Add missing header wrappers under include/.
6228 * include/ar.h: New file.
6229 * include/bits/mqueue2.h: Likewise.
6230 * include/bits/stdio.h: Likewise.
6231 * include/bits/stdio2.h: Likewise.
6232 * include/fstab.h: Likewise.
6233 * include/fts.h: Likewise.
6234 * include/lastlog.h: Likewise.
6235 * include/netinet/icmp6.h: Likewise.
6236 * include/netinet/igmp.h: Likewise.
6237 * include/netinet/ip6.h: Likewise.
6238 * include/re_comp.h: Likewise.
6239 * include/regexp.h: Likewise.
6240 * include/rpcsvc/bootparam.h: Likewise.
6241 * include/rpcsvc/yp_prot.h: Likewise.
6242 * include/sys/random.h: Likewise.
6243 * include/sys/stropts.h: Likewise.
6244 * include/sys/ttychars.h: Likewise.
6245 * include/sys/vfs.h: Likewise.
6246 * include/wait.h: Likewise.
6248 2019-02-16 Florian Weimer <fweimer@redhat.com>
6250 * nptl_db/proc_service.h: Move to ...
6251 * sysdeps/nptl/proc_service.h: ... here.
6252 * nptl_db/thread_db.h: Move to ...
6253 * sysdeps/nptl/thread_db.h: ... here.
6254 * nptl/descr.h: Include <thread_db.h>.
6256 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6258 * io/Makefile (tests): Add tst-lockf.
6259 * io/lockf.c (lockf): Use __fcntl and only define for
6260 !__OFF_T_MATCHES_OFF64_T.
6261 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6262 __OFF_T_MATCHES_OFF64_T case.
6263 * io/tst-lockf.c: New file.
6264 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6265 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6266 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6267 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6268 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6270 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6271 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6274 2019-02-15 Florian Weimer <fweimer@redhat.com>
6277 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6278 pd->result after the thread descriptor has been freed.
6280 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6282 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6283 from function return type.
6285 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6287 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6289 * scripts/test_printers_common.py: Set TERM to a known harmless
6292 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6294 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6295 (xdr_u_int): Likewise.
6296 (xdr_enum): Likewise.
6297 (xdr_bytes): Reword fall-through comment.
6298 (xdr_string): Likewise.
6300 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6303 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6304 (tests): Add tst-join8 tst-join9.
6305 * nptl/lll_timedwait_tid.c: Remove file.
6306 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6307 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6308 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6309 * nptl/pthread_join_common.c (timedwait_tid): New function.
6310 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6312 * nptl/tst-join5.c (thread_join): New function.
6313 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6315 * nptl/tst-join8.c: New file.
6316 * nptl/tst-join9.c: Likewise.
6317 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6318 lll_futex_timed_wait_cancel): Add generic macros.
6319 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6321 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6322 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6323 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6324 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6326 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6329 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6330 (lll_futex_timed_wait_cancel): New macro.
6332 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6334 * benchtests/Makefile: Add malloc-simple benchmark.
6335 * benchtests/bench-malloc-simple.c: New benchmark.
6337 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6339 * benchtests/bench-memmove.c (do_one_test): Remove unused
6342 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6346 2019-01-13 Jim Wilson <jimw@sifive.com>
6349 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6350 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6352 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6354 * nptl/Makefile (tests): Add tst-unwind-thread.
6355 (CFLAGS-tst-unwind-thread.c): Define.
6356 * nptl/tst-unwind-thread.c: New file.
6357 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6360 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6362 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6364 * nis/nis_call.c (__do_niscall3): Likewise.
6366 * catgets/gencat.c (normalize_line): Use braces around empty
6368 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6369 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6370 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6371 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6372 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6373 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6374 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6377 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6380 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6382 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6383 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6384 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6385 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6386 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6387 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6388 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6389 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6390 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6391 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6392 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6393 * benchtests/bench-bcopy.c: Delete file.
6394 * benchtests/bench-bzero.c: Likewise.
6395 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6396 (simple_memccpy): Remove.
6397 (generic_memccpy): Add function.
6398 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6399 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6400 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6401 (generic_mempcpy): Add new function.
6402 * benchtests/bench-memset.c (simple_bzero): Remove.
6403 (builtin_bzero): Remove.
6404 (builtin_memset): Remove.
6405 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6406 (generic_rawmemchr): Add new function.
6408 2019-02-12 Florian Weimer <fweimer@redhat.com>
6410 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6412 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6415 * elf/Makefile (tests): Add tst-audit13.
6416 (modules-names): Add tst-audit13mod1.
6417 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6419 * elf/tst-audit13.c: New file.
6420 * elf/tst-audit13mod1.c: Likewise.
6422 2019-02-12 Florian Weimer <fweimer@redhat.com>
6425 * elf/rtld.c (unload_audit_module): New function.
6426 (report_audit_module_load_error): Likewise.
6427 (load_audit_module): Likewise. Extracted from dl_main. Call
6428 _dl_close if the laversion symbol cannot be found. Use early
6429 returns for error handling. Add malloc error check. Check for a
6430 zero return value from la_version. Remove spurious comment about
6431 static TLS initialization. Remove useless casts.
6432 (notify_audit_modules_of_loaded_object): New function. Extracted
6434 (load_audit_module): Likewise.
6435 (dl_main): Call load_audit_modules.
6437 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6439 * elf/dl-exception.c (_dl_exception_create_format): Add
6440 fall-through comments.
6441 * elf/ldconfig.c (parse_conf_include): Likewise.
6442 * elf/rtld.c (print_statistics): Likewise.
6443 * locale/programs/charmap.c (parse_charmap): Likewise.
6444 * misc/mntent_r.c (__getmntent_r): Likewise.
6445 * posix/wordexp.c (parse_arith): Likewise.
6446 (parse_backtick): Likewise.
6447 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6448 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6451 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6453 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6454 Use float instead of double.
6456 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6458 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6460 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/powerpc/bits/mathinline.h: Remove.
6464 2019-02-08 Florian Weimer <fweimer@redhat.com>
6466 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6467 * math/bits/math-finite.h: Move to ...
6468 * bits/math-finite.h: ... here.
6470 2019-02-08 Florian Weimer <fweimer@redhat.com>
6472 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6473 * bits/unistd_ext.h: here.
6475 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6478 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6479 * nss/tst-nss-files-hosts-long.c: New file.
6480 * nss/tst-nss-files-hosts-long.root: New directory.
6481 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6482 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6484 2019-02-08 Florian Weimer <fweimer@redhat.com>
6486 * include/bits/unistd_ext.h: Remove file.
6487 * posix/bits/unistd_ext.h: Move to ...
6488 * sysdeps/generic/bits/unistd_ext.h: ... here.
6490 2019-02-08 Florian Weimer <fweimer@redhat.com>
6492 * include/bits/unistd_ext.h: New file.
6494 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6496 * time/tst-strftime2.c: Use array_length macros instead of magic
6499 2019-02-08 Florian Weimer <fweimer@redhat.com>
6502 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6504 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6505 locking if the new do_locking argument is true.
6506 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6507 __run_fork_handlers.
6509 2019-02-08 Florian Weimer <fweimer@redhat.com>
6512 Linux: Add gettid system call wrapper.
6513 * posix/Makefile (headers): Add bits/unistd_ext.h.
6514 * posix/bits/unistd_ext.h: New file.
6515 * posix/unistd.h: Include it.
6516 * manual/process.texi (Process Identification): Document gettid.
6517 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6518 tst-gettid, tst-gettid-kill.
6519 (tst-gettid): Link with $(shared-thread-library).
6520 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6521 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6522 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6523 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6524 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6525 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6527 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6529 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6530 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6532 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6534 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6536 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6540 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6542 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6544 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6545 (GLIBC_2.30): Likewise.
6546 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6547 (GLIBC_2.30): Likewise.
6548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6549 (GLIBC_2.30): Likewise.
6550 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6551 (GLIBC_2.30): Likewise.
6552 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6555 (GLIBC_2.30): Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6557 (GLIBC_2.30): Likewise.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6559 (GLIBC_2.30): Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6561 (GLIBC_2.30): Likewise.
6562 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6564 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6568 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6571 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6573 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6575 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6577 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6579 2019-02-08 Florian Weimer <fweimer@redhat.com>
6581 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6582 compatibility symbols.
6584 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6588 Add compiler barriers and comments.
6590 2019-02-07 Florian Weimer <fweimer@redhat.com>
6592 * include/array_length.h (array_length): Do not use a statement
6593 expression and _Static_assert, so that array_length can be used at
6594 file scope and as a constant expression.
6596 2019-02-07 Florian Weimer <fweimer@redhat.com>
6598 * support/xdlfcn.h (xdlmopen): Declare.
6599 * support/xdlmopen.c: New file.
6600 * support/Makefile (libsupport-routines): Add xdlmopen.
6602 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6604 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6605 before return type, without separate inline.
6606 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6607 * elf/dl-tunables.h (tunable_is_name): Likewise.
6608 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6609 (do_set_top_pad): Likewise.
6610 (do_set_mmap_threshold): Likewise.
6611 (do_set_mmaps_max): Likewise.
6612 (do_set_mallopt_check): Likewise.
6613 (do_set_perturb_byte): Likewise.
6614 (do_set_arena_test): Likewise.
6615 (do_set_arena_max): Likewise.
6616 (do_set_tcache_max): Likewise.
6617 (do_set_tcache_count): Likewise.
6618 (do_set_tcache_unsorted_limit): Likewise.
6619 * nis/nis_subr.c (count_dots): Likewise.
6620 * nptl/allocatestack.c (advise_stack_range): Likewise.
6621 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6623 (reduce_sincos): Likewise.
6624 (do_sincos): Likewise.
6625 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6626 (do_set_elision_enable): Likewise.
6627 (TUNABLE_CALLBACK_FNDECL): Likewise.
6629 2019-02-06 Florian Weimer <fweimer@redhat.com>
6631 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6632 (xdlsym): Use dlerror to detect a NULL symbol.
6634 2019-02-06 Florian Weimer <fweimer@redhat.com>
6636 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6638 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6640 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6642 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6644 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6646 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6647 __wmemcmp and weak alias to wmemcmp.
6649 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6652 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6653 TLS_TCB_AT_TP tls variant.
6654 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6655 Add alignment checks.
6656 * support/Makefile (libsupport-routines): Add xposix_memalign and
6658 * support/support.h: Add xposix_memalign.
6659 * support/xthread.h: Add xpthread_attr_setstack.
6660 * support/xposix_memalign.c: New File.
6661 * support/xpthread_attr_setstack.c: Likewise.
6663 2019-02-05 Florian Weimer <fweimer@redhat.com>
6666 arm: Use "nr" constraint for Systemtap probes, to avoid the
6667 compiler using memory operands for constants, due to the "o"
6668 alternative in the default "nor" constraint.
6669 * include/stap-probe.h [USE_STAP_PROBE]: Include
6670 <stap-probe-machine.h>
6671 * sysdeps/generic/stap-probe-machine.h: New file.
6672 * sysdeps/arm/stap-probe-machine.h: Likewise.
6674 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6676 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6677 with 0, not tcache->entries[tc_idx].
6679 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6682 2019-02-04 Andreas Schwab <schwab@suse.de>
6686 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6687 looking up collating elements match against (wide) character
6688 sequence instead of name. Correct alignment adjustment.
6689 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6690 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6691 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6692 (LOCALES): Add cs_CZ.ISO-8859-2.
6693 * posix/tst-fnmatch4.c: New file.
6694 * posix/tst-fnmatch5.c: New file.
6695 * include/wchar.h (__wmemcmp): Declare.
6696 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6697 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6698 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6699 * sysdeps/s390/wmemcmp.c: Likewise.
6701 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6705 * NEWS: Updated for CVE-2019-7309.
6706 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6707 upper 32 bits of RDX register for x32. Use unsigned Jcc
6708 instructions, instead of signed.
6709 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6710 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6712 2019-02-04 Florian Weimer <fweimer@redhat.com>
6714 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6715 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6716 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6718 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6719 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6720 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6721 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6723 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6725 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6727 (posix_spawn_file_actions_addopen): Likewise.
6728 (posix_spawn_file_actions_addclose): Likewise.
6729 (posix_spawn_file_actions_adddup2): Likewise.
6730 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6732 (posix_spawn_file_actions_addfchdir_np): Likewise.
6734 2019-02-04 David Newall <glibc@davidnewall.com>
6736 elf: Implement --preload option for the dynamic linker.
6737 * elf/rtld.c (preloadarg): New variable.
6738 (handle_preload_list): Pass through “where” argument to
6740 (dl_main): Handle "--preload" and add second call to
6741 handle_preload_list.
6742 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6743 (tst-rtld-preload-OBJS): Set variable.
6744 (tst-rtld-preload.out): New target.
6745 * elf/tst-rtld-preload.sh: New file.
6747 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6749 * Makefile (testrun.sh): Exit in case of incorrect argument.
6751 2019-02-04 Florian Weimer <fweimer@redhat.com>
6753 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6756 2019-02-03 Florian Weimer <fweimer@redhat.com>
6758 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6759 implicit overflow checks.
6761 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6763 * stdlib/isomac.c: Include <unistd.h>.
6765 2019-02-03 Florian Weimer <fweimer@redhat.com>
6767 * include/time.h (__tzfile_default): Use int, not long int, for
6769 * time/tzfile.c (struct ttinfo): Change type of the offset member
6771 (__tzfile_read): Remove useless cast.
6772 (__tzfile_default): Adjust prototype.
6773 * time/tzset.c (tz_rule): Change type of the offset member to int.
6774 (parse_offset): Change the type of the sign variable to int.
6776 2019-02-03 Florian Weimer <fweimer@redhat.com>
6779 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6780 * libio/getchar.c (getchar): Likewise.
6781 * libio/getchar_u.c (getchar_unlocked): Likewise.
6782 * libio/getwchar.c (getwchar): Likewise.
6783 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6784 * libio/iogets.c (_IO_gets): Likewise.
6785 * libio/vscanf.c (_IO_vscanf): Likewise.
6786 * libio/vwscanf.c (__vwscanf): Likewise.
6787 * libio/tst-bz24153.c: New file.
6788 * libio/Makefile (tests): Add it.
6790 2019-02-02 Florian Weimer <fweimer@redhat.com>
6793 * manual/resource.texi (Basic Scheduling Functions): Add
6794 portability note. Change process to task throughout the section.
6795 Remove incorrect comment about sched_yield as it affects
6796 tasks/threads, not entire processes.
6797 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6798 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6800 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6802 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6803 * configure: Regenerated.
6804 * manual/install.texi (Tools for Compilation): Update minimum GCC
6806 * INSTALL: Regenerated.
6808 2019-02-01 Florian Weimer <fweimer@redhat.com>
6810 * support/support_test_compare_string.c
6811 (support_test_compare_string): Use "string" in error message.
6812 * support/tst-test_compare_string.c (do_test): Adjust.
6814 2019-02-01 Florian Weimer <fweimer@redhat.com>
6816 * support/support_format_address_family.c
6817 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6819 2019-02-01 Florian Weimer <fweimer@redhat.com>
6821 * manual/socket.texi (Internet Address Formats): Clarify the byte
6822 order of struct sockaddr_in, struct sockaddr_in6. Document
6823 sin6_flowinfo and sin6_scope_id.
6825 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6827 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6828 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6829 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6830 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6831 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6832 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6834 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6836 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6837 [!MEMCHR](MEMCHR): Set to __memchr.
6838 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6839 Add memchr_generic and memchr_nosimd.
6840 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6841 (__libc_ifunc_impl_list): Add memchr ifuncs.
6842 * sysdeps/aarch64/multiarch/memchr.c: New file.
6843 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6844 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6846 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6848 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6850 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6851 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6852 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6853 Add IS_EMAG check for ifunc dispatch.
6854 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6855 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6857 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6859 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6860 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6862 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6865 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6867 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6869 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6871 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6872 syscall-template file.
6874 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6875 Torvald Riegel <triegel@redhat.com>
6876 Rik Prohaska <prohaska7@gmail.com>
6879 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6880 tst-rwlock-trywrlock-stall.
6881 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6882 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6883 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6884 Set __wrphase_fute to 1 only if we started the write phase.
6885 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6886 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6887 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6888 * support/xpthread_rwlock_destroy.c: New file.
6889 * support/xthread.h: Declare xpthread_rwlock_destroy.
6891 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6893 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6896 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6899 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6900 * libio/fileops.c (_IO_new_file_underflow): Likewise
6901 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6902 * libio/putchar.c (putchar): Likewise.
6903 * libio/putchar_u.c (putchar_unlocked): Likewise.
6904 * libio/putwchar.c (putchar): Likewise.
6905 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6906 * libio/tst-bz24051.c: New test.
6907 * libio/Makefile (tests): Add tst-bz24051
6909 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6912 regex: fix read overrun [BZ #24114]
6913 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6914 https://debbugs.gnu.org/34140
6915 * posix/regexec.c (proceed_next_node):
6916 Do not read past end of input buffer.
6918 2019-01-31 Florian Weimer <fweimer@redhat.com>
6921 * nss/nss_files/files-alias.c (get_next_alias): Handle
6922 continuation line without newline at the end.
6923 * nss/tst-nss-files-alias-truncated.c: New file.
6924 * nss/Makefile [$(build-shared)] (tests): Add
6925 tst-nss-files-alias-truncated.
6926 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6927 * support/namespace.h (struct support_chroot_configuration): Add
6929 (struct support_chroot): Add path_aliases member.
6930 * support/support_chroot.c (support_chroot_create): Handle
6932 (support_chroot_free): Free path_aliases.
6934 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6936 * version.h (RELEASE): Set to "development".
6937 (VERSION): Set to "2.29.9000".
6938 * NEWS: Add section for 2.30.
6940 * version.h (RELEASE): Set to "stable".
6941 (VERSION): Set to "2.29".
6942 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6944 * NEWS: Add the list of bugs fixed in 2.29.
6945 * manual/contrib.texi: Update contributors list with some more
6947 * manual/install.texi: Update latest versions of packages
6949 * INSTALL: Regenerated.
6951 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6953 * po/be.po: Update translations.
6954 * po/bg.po: Likewise.
6955 * po/ca.po: Likewise.
6956 * po/cs.po: Likewise.
6957 * po/da.po: Likewise.
6958 * po/de.po: Likewise.
6959 * po/el.po: Likewise.
6960 * po/eo.po: Likewise.
6961 * po/es.po: Likewise.
6962 * po/fi.po: Likewise.
6963 * po/fr.po: Likewise.
6964 * po/gl.po: Likewise.
6965 * po/hr.po: Likewise.
6966 * po/hu.po: Likewise.
6967 * po/ia.po: Likewise.
6968 * po/id.po: Likewise.
6969 * po/it.po: Likewise.
6970 * po/ja.po: Likewise.
6971 * po/ko.po: Likewise.
6972 * po/lt.po: Likewise.
6973 * po/nb.po: Likewise.
6974 * po/nl.po: Likewise.
6975 * po/pl.po: Likewise.
6976 * po/pt_BR.po: Likewise.
6977 * po/ru.po: Likewise.
6978 * po/rw.po: Likewise.
6979 * po/sk.po: Likewise.
6980 * po/sl.po: Likewise.
6981 * po/sv.po: Likewise.
6982 * po/tr.po: Likewise.
6983 * po/uk.po: Likewise.
6984 * po/vi.po: Likewise.
6985 * po/zh_CN.po: Likewise.
6986 * po/zh_TW.po: Likewise.
6988 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6991 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6992 of $f3 register on $y_is_neg path.
6994 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6997 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6998 sigaltstack.ss_flags.
7000 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7003 * manual/time.texi (strftime): Document "%Ey".
7004 * time/strftime_l.c (__strftime_internal): Set the default width
7005 padding with zero of "%Ey" to 2.
7008 * manual/time.texi (strftime): Document "%EC" and "%EY".
7009 * time/Makefile (tests): Add tst-strftime2.
7010 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7011 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7012 override padding for "%Ey".
7013 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7014 "%Ey" in the subformat as if decorated with that flag.
7015 * time/tst-strftime2.c: New file.
7017 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7019 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7023 * elf/Makefile (tests): Add tst-audit13.
7024 (modules-names): Add tst-audit13mod1.
7025 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7027 * elf/rtld.c (dl_main): Handle invalid audit module version.
7028 * elf/tst-audit13.c: New file.
7029 * elf/tst-audit13mod1.c: Likewise.
7031 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7033 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7034 returned by __hurd_at_flags.
7035 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7036 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7037 directly instead of __hurd_file_name_lookup.
7039 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7041 * scripts/build-many-glibcs.py (Context.checkout): Default
7042 binutils version to 2.32 branch.
7044 2019-01-21 Florian Weimer <fweimer@redhat.com>
7048 resolv: Reject trailing characters in host names
7049 * include/arpa/inet.h (__inet_aton_exact): Declare.
7050 (inet_aton): Remove hidden prototype. No longer used internally.
7051 * nscd/gai.c (__inet_aton): Do not define.
7052 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7053 * nss/digits_dots.c (__inet_aton): Likewise.
7054 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7055 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7056 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7057 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7058 (tst-resolv-trailing): Likewise.
7059 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7061 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7062 Make static. Add endp parameter.
7063 (__inet_aton_exact): New function.
7064 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7065 (__inet_addr): Call inet_aton_end.
7066 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7067 not just IPv6. Call __inet_aton_exact.
7068 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7069 (tests): Make const. Add additional test cases with trailing
7071 (do_test): Use array_length.
7072 * resolv/tst-inet_aton_exact.c: New file.
7073 * resolv/tst-resolv-trailing.c: Likewise.
7074 * resolv/tst-resolv-nondecimal.c: Likewise.
7075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7077 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7081 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7082 Clear the upper 32 bits of RSI register.
7083 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7084 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7085 and tst-size_t-wcsnlen.
7086 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7087 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7089 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7093 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7096 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7097 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7099 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7103 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7105 * sysdeps/x86_64/strcmp.S: Likewise.
7106 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7107 tst-size_t-strncmp and tst-size_t-wcsncmp.
7108 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7109 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7110 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7112 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7116 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7117 RDX_LP for length. Clear the upper 32 bits of RDX register.
7118 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7119 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7120 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7121 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7123 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7127 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7128 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7129 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7130 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7132 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7137 length. Clear the upper 32 bits of RDX register.
7138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7139 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7141 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7143 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7145 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7147 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7151 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7152 length. Clear the upper 32 bits of RDX register.
7153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7154 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7155 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7157 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7158 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7160 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7164 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7165 upper 32 bits of RDX register.
7166 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7167 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7169 * sysdeps/x86_64/x32/test-size_t.h: New file.
7170 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7171 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7173 2019-01-18 Florian Weimer <fweimer@redhat.com>
7176 resolv: Do not send queries for non-host-names in nss_dns.
7177 * resolv/nss_dns/dns-host.c (check_name): New function.
7178 (_nss_dns_gethostbyname2_r): Use it.
7179 (_nss_dns_gethostbyname_r): Likewise.
7180 (_nss_dns_gethostbyname4_r): Likewise.
7182 2019-01-21 Florian Weimer <fweimer@redhat.com>
7184 * resolv/inet_addr.c: Reformat to GNU style.
7185 (__inet_addr, __inet_aton): Update comment.
7187 2019-01-18 Florian Weimer <fweimer@redhat.com>
7189 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7190 ("malloc: Use current (C11-style) atomics for fastbin access").
7191 This commit introduces a substantial performance regression on
7193 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7194 (REMOVE_FB): Define.
7195 (_int_malloc): Use it and reindent.
7196 (_int_free): Use CAS loop with
7197 catomic_compare_and_exchange_val_rel.
7198 (malloc_consolidate): Use atomic_exchange_acq.
7201 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7203 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7205 (LDFLAGS-tst-minsigstksz-2): Likewise.
7206 (LDFLAGS-tst-minsigstksz-3): Likewise.
7207 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7208 (LDFLAGS-tst-minsigstksz-4): Likewise.
7210 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7212 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7215 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7217 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7219 2019-01-16 Zack Weinberg <zackw@panix.com>
7221 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7222 (xget_sigstack_location): New test support functions.
7223 * support/xsigstack.c: New file, implementing them.
7224 * support/tst-xsigstack.c: New test for them.
7225 * support/Makefile: Update.
7227 * signal/tst-minsigstksz-1.c
7228 * signal/tst-minsigstksz-2.c
7229 * signal/tst-minsigstksz-3.c
7230 * signal/tst-minsigstksz-3a.c
7231 * signal/tst-minsigstksz-4.c: New tests.
7232 * signal/Makefile: Run them.
7234 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7236 * po/libc.pot: Regenerate.
7238 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7240 * math/libm-test-fma.inc (fma_test_data): Set
7241 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7243 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7245 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7246 (do_test): Changed __vector __int128_t to __vector unsigned int.
7248 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7251 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7252 stpcpy-avx2 and stpncpy-avx2.
7253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7254 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7255 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7257 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7258 ifunc-strcpy.h}: rename header for a more generic name.
7259 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7260 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7261 AVX unaligned load is fast and vzeroupper is preferred.
7262 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7263 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7264 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7265 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7266 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7267 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7269 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7271 * argp/argp-help.c: Fix typo in comment.
7272 * misc/sys/cdefs.h: Likewise.
7273 * posix/regexec.c (sift_states_iter_mb): Likewise.
7274 * socket/sockatmark.c: Likewise.
7275 * socket/sys/socket.h: Likewise.
7276 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7277 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7278 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7280 * sysdeps/unix/sockatmark.c: Likewise.
7281 * time/strptime_l.c: Likewise.
7283 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7285 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7286 missing space after the cast of "_NL_CURRENT".
7288 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7290 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7291 ifdef to fix read of VSCR.
7292 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7293 tst-ucontext-ppc64-vscr.c to test list.
7294 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7296 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7298 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7301 2019-01-09 Jim Wilson <jimw@sifive.com>
7303 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7305 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7307 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7308 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7309 __memcpy_falkor for ares.
7310 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7312 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7315 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7318 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7319 4_FP_W_TYPEs are used for IEEE quad precision.
7320 * soft-fp/extendhftf2.c: Likewise.
7321 * soft-fp/extendsftf2.c: Likewise.
7322 * soft-fp/extendxftf2.c: Likewise.
7323 * soft-fp/trunctfdf2.c: Likewise.
7324 * soft-fp/trunctfhf2.c: Likewise.
7325 * soft-fp/trunctfsf2.c: Likewise.
7326 * soft-fp/trunctfxf2.c: Likewise.
7327 * sysdeps/alpha/ots_cvttx.c: Likewise.
7328 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7329 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7330 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7331 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7332 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7333 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7334 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7335 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7336 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7337 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7338 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7339 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7340 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7341 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7342 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7343 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7344 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7346 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7349 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7350 code with -fmath-errno.
7351 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7352 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7353 * string/test-strerror-errno.c: New file.
7355 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7358 * localedata/locales/en_US (date_fmt): Add, set to
7359 "%a %d %b %Y %r %Z".
7361 2019-01-07 Florian Weimer <fweimer@redhat.com>
7364 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7365 instead of @var{errno}.
7366 (Parsing of Integers): Likewise.
7367 (Parsing of Floats): Likewise.
7368 * manual/filesys.texi (Working with Directory Trees): Likewise.
7369 (Temporary Files): Likewise.
7370 * manual/job.texi (Terminal Access Functions): Likewise.
7371 * manual/llio.texi (Synchronizing I/O): Likewise.
7372 * manual/math.texi (SVID Random): Likewise.
7373 * manual/message.texi (The catgets Functions): Likewise.
7374 (Translation with gettext): Likewise.
7375 (Locating gettext catalog): Likewise.
7376 (Charset conversion in gettext): Likewise.
7377 * manual/nss.texi (NSS Module Function Internals): Likewise.
7378 * manual/search.texi (Hash Search Function): Likewise.
7379 * manual/setjmp.texi (System V contexts): Likewise.
7380 * manual/time.texi (Sleeping): Likewise.
7381 * manual/users.texi (Lookup User): Likewise.
7382 (Lookup Group): Likewise.
7384 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7386 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7389 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7392 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7393 __builtin_unreachable for default case in switch.
7394 (__ieee754_yn): Likewise.
7395 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7396 (__ieee754_ynl): Likewise.
7397 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7398 (__ieee754_ynl): Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7400 (__ieee754_ynl): Likewise.
7402 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7404 * manual/maint.texi: Use @{ and @}.
7406 2019-01-04 Florian Weimer <fweimer@redhat.com>
7408 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7410 (do_in_chroot_1): Call it.
7412 Improve error reporting in case it is not possible to create a
7413 collision for the PTY name required by the test.
7415 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7417 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7418 lll_wait_tid with timeout.
7419 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7420 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7421 futex_reltimed_wait_cancelable for cancelabla mode.
7422 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7423 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7425 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7426 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7427 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7428 SYSCALL_CANCEL_NCS): New macro.
7429 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7430 (lll_timedwait_tid): Remove macro.
7431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7433 (lll_timedwait_tid): Likewise.
7434 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7436 (lll_timedwait_tid): Likewise.
7437 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7439 (lll_timedwait_tid): Likewise.
7440 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7441 Use INTERNAL_SYSCALL_CANCEL.
7442 * sysdeps/unix/sysv/linux/futex-internal.h
7443 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7444 instead of __pthread_{enable,disable}_asynccancel.
7445 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7446 (lll_futex_wait_cancel): New macro.
7448 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7449 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7451 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7452 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7454 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7455 in backtrace analysis.
7456 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7458 (tf_send): Likewise.
7460 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7461 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7462 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7463 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7464 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7465 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7466 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7467 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7468 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7469 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7470 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7471 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7473 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7474 tst-cancel-wrappers.sh.
7475 (generated): Remove tst-cancel-wrappers.out.
7476 (tst-cancel-wrappers.out): Remove rule.
7477 * nptl/tst-cancel-wrappers.sh: Remove file.
7479 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7481 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7482 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7485 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7488 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7489 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7490 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7491 close-on-exec reset for adddup2 file action.
7492 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7494 2019-01-03 Zack Weinberg <zackw@panix.com>
7496 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7497 parameter. Only use deprecated scanf when __USE_GNU is defined
7498 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7499 than 201103L, whichever is relevant for the language being compiled.
7501 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7502 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7503 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7504 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7505 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7509 * libio/iovswscanf.c
7514 * stdio-common/fscanf.c
7515 * stdio-common/scanf.c
7516 * stdio-common/vfscanf.c
7517 * stdio-common/vfwscanf.c
7518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7519 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7520 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7521 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7522 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7523 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7524 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7525 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7526 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7527 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7528 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7529 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7530 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7531 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7532 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7534 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7535 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7536 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7538 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7539 with a preprocessor macro.
7541 * stdio-common/bug21.c, stdio-common/scanf14.c:
7542 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7543 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7544 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7545 to xscanf, xfscanf, xsscanf.
7547 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7548 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7549 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7550 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7552 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7553 override feature selection macros or provide definitions of u_char etc.
7554 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7555 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7556 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7559 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7562 bits/termios-misc.h.
7563 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7564 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7565 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7567 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7568 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7570 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7571 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7572 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7573 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7574 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7575 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7577 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7578 (sysdep_headers): Add termios-misc.h.
7580 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7581 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7582 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7586 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7587 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7588 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7589 TCSAFLUSH): Move to termios-tcflow.h.
7590 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7591 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7592 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7593 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7597 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7598 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7599 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7601 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7602 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7603 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7604 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7606 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7607 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7609 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7613 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7614 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7615 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7616 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7617 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7619 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7620 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7627 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7628 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7629 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7630 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7631 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7632 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7633 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7634 __MAX_BAUD): Move to termios-baud.h.
7635 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7636 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7637 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7641 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7643 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7644 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7645 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7647 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7648 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7650 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7651 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7653 [USE_MISC] (XTABS): Likewise.
7654 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7655 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7659 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7661 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7662 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7664 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7665 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7666 IUTF8): Move to termios-c_iflag.h.
7667 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7668 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7669 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7670 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7672 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7674 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7675 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7676 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7677 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7678 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7679 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7680 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7681 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7682 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7683 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7684 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7687 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7688 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7689 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7693 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7695 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7697 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7701 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7703 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7704 _HAVE_C_OSPEED): Define.
7705 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7706 _HAVE_C_OSPEED): Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7708 _HAVE_C_OSPEED): Likewise.
7709 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7710 (cfsetospeed): Check for define value instead of existence.
7711 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7712 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7713 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7714 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7715 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7718 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7721 (TIOCSER_TEMT): Likewise.
7722 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7723 (TEOCSER_TEMT): Likewise.
7725 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7728 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7730 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7732 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7734 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7736 * sysdeps/htl/pt-barrierattr-setpshared.c
7737 (pthread_barrierattr_setpshared): Add stub warning.
7738 * sysdeps/htl/pt-condattr-setpshared.c
7739 (pthread_condattr_setpshared): Likewise.
7740 * sysdeps/htl/pt-mutexattr-setpshared.c
7741 (pthread_mutexattr_setpshared): Likewise.
7742 * sysdeps/htl/pt-rwlockattr-setpshared.c
7743 (pthread_rwlockattr_setpshared): Likewise.
7744 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7745 (pthread_mutexattr_setpshared): Likewise.
7747 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7749 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7750 constants to match with Linux 4.20.
7752 * sysdeps/mips/mips32/libm-test-ulps: Update.
7753 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7755 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7758 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7759 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7760 than __typeof (...) for the a_ptr variable.
7762 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7764 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7765 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7766 * libio/Makefile (tests): Add tst-sprintf-ub and
7768 (CFLAGS-tst-sprintf-ub.c): New variable.
7769 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7770 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7771 destination buffer and check for overflows in fortified mode.
7772 * libio/libioP.h (PRINTF_CHK): New macro.
7773 * libio/tst-sprintf-chk-ub.c: New file.
7774 * libio/tst-sprintf-ub.c: Likewise.
7776 2019-01-02 Florian Weimer <fweimer@redhat.com>
7779 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7782 2019-01-02 Florian Weimer <fweimer@redhat.com>
7784 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7786 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7788 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7791 * sysdeps/unix/sysv/linux/netpacket/packet.h
7792 (PACKET_IGNORE_OUTGOING): New macro.
7794 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7797 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7799 (riscv_flush_icache): New syscall.
7801 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7802 trailing whitespace removed.
7803 * scripts/config.guess: Update to version 2019-01-01.
7804 * scripts/config.sub: Update to version 2019-01-01.
7805 * scripts/move-if-change: Update from gnulib.
7807 * NEWS: Update copyright dates.
7808 * catgets/gencat.c (print_version): Likewise.
7809 * csu/version.c (banner): Likewise.
7810 * debug/catchsegv.sh: Likewise.
7811 * debug/pcprofiledump.c (print_version): Likewise.
7812 * debug/xtrace.sh (do_version): Likewise.
7813 * elf/ldconfig.c (print_version): Likewise.
7814 * elf/ldd.bash.in: Likewise.
7815 * elf/pldd.c (print_version): Likewise.
7816 * elf/sotruss.sh: Likewise.
7817 * elf/sprof.c (print_version): Likewise.
7818 * iconv/iconv_prog.c (print_version): Likewise.
7819 * iconv/iconvconfig.c (print_version): Likewise.
7820 * locale/programs/locale.c (print_version): Likewise.
7821 * locale/programs/localedef.c (print_version): Likewise.
7822 * login/programs/pt_chown.c (print_version): Likewise.
7823 * malloc/memusage.sh (do_version): Likewise.
7824 * malloc/memusagestat.c (print_version): Likewise.
7825 * malloc/mtrace.pl: Likewise.
7826 * manual/libc.texinfo: Likewise.
7827 * nptl/version.c (banner): Likewise.
7828 * nscd/nscd.c (print_version): Likewise.
7829 * nss/getent.c (print_version): Likewise.
7830 * nss/makedb.c (print_version): Likewise.
7831 * posix/getconf.c (main): Likewise.
7832 * scripts/test-installation.pl: Likewise.
7833 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7835 * All files with FSF copyright notices: Update copyright dates
7836 using scripts/update-copyrights.
7837 * locale/programs/charmap-kw.h: Regenerated.
7838 * locale/programs/locfile-kw.h: Likewise.
7840 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7842 * timezone/zdump.c: Update from tzcode 2018i.
7843 * timezone/zic.c: Likewise.
7845 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7847 regex: improve Gnulib port to AIX
7848 From the glibc point of view, this removes duplicate macro
7849 definitions and is obviously safe.
7850 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7851 * posix/regex_internal.h:
7852 (__attribute__, __attribute_warn_unused_result__):
7853 Remove; already defined elsewhere.
7855 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7858 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7859 copying operation. (ncopies had the wrong type, resulting in an
7860 integer wraparound and too few elements being copied.)
7862 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7865 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7866 <asm/syscalls.h> exists with __has_include__ before including it.
7868 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7870 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7873 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7875 * hurd/lookup-retry: Include <unistd.h>.
7876 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7877 Release it on return. Handle "pid" magical lookup retry.
7879 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7882 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7883 (t_fmt_ampm): Likewise.
7884 * localedata/locales/aa_ER (t_fmt): Likewise.
7885 (t_fmt_ampm): Likewise.
7886 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7887 (t_fmt_ampm): Likewise.
7888 * localedata/locales/aa_ET (t_fmt): Likewise.
7889 (t_fmt_ampm): Likewise.
7890 * localedata/locales/am_ET (t_fmt): Likewise.
7891 (t_fmt_ampm): Likewise.
7892 * localedata/locales/byn_ER (t_fmt): Likewise.
7893 (t_fmt_ampm): Likewise.
7894 * localedata/locales/om_ET (t_fmt): Likewise.
7895 (t_fmt_ampm): Likewise.
7896 * localedata/locales/sid_ET (t_fmt): Likewise.
7897 (t_fmt_ampm): Likewise.
7898 * localedata/locales/so_DJ (t_fmt): Likewise.
7899 (t_fmt_ampm): Likewise.
7900 * localedata/locales/so_ET (t_fmt): Likewise.
7901 (t_fmt_ampm): Likewise.
7902 * localedata/locales/so_SO (t_fmt): Likewise.
7903 (t_fmt_ampm): Likewise.
7904 * localedata/locales/ti_ER (t_fmt): Likewise.
7905 (t_fmt_ampm): Likewise.
7906 * localedata/locales/ti_ET (t_fmt): Likewise.
7907 (t_fmt_ampm): Likewise.
7908 * localedata/locales/tig_ER (t_fmt): Likewise.
7909 (t_fmt_ampm): Likewise.
7910 * localedata/locales/wal_ET (t_fmt): Likewise.
7911 (t_fmt_ampm): Likewise.
7913 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7914 * localedata/locales/ar_IN (t_fmt): Likewise.
7915 * localedata/locales/bhb_IN (t_fmt): Likewise.
7916 * localedata/locales/bho_IN (t_fmt): Likewise.
7917 * localedata/locales/bi_VU (t_fmt): Likewise.
7918 * localedata/locales/bn_BD (t_fmt): Likewise.
7919 * localedata/locales/bn_IN (t_fmt): Likewise.
7920 * localedata/locales/brx_IN (t_fmt): Likewise.
7921 * localedata/locales/doi_IN (t_fmt): Likewise.
7922 * localedata/locales/en_HK (t_fmt): Likewise.
7923 (t_fmt_ampm): Likewise.
7924 * localedata/locales/en_IN (t_fmt): Likewise.
7925 * localedata/locales/en_PH (t_fmt): Likewise.
7926 * localedata/locales/gu_IN (t_fmt): Likewise.
7927 * localedata/locales/hi_IN (t_fmt): Likewise.
7928 * localedata/locales/hif_FJ (t_fmt): Likewise.
7929 * localedata/locales/hne_IN (t_fmt): Likewise.
7930 * localedata/locales/kn_IN (t_fmt): Likewise.
7931 * localedata/locales/kok_IN (t_fmt): Likewise.
7932 * localedata/locales/ks_IN (t_fmt): Likewise.
7933 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7934 * localedata/locales/mag_IN (t_fmt): Likewise.
7935 * localedata/locales/mai_IN (t_fmt): Likewise.
7936 * localedata/locales/mjw_IN (t_fmt): Likewise.
7937 * localedata/locales/ml_IN (t_fmt): Likewise.
7938 * localedata/locales/mni_IN (t_fmt): Likewise.
7939 * localedata/locales/mr_IN (t_fmt): Likewise.
7940 * localedata/locales/ms_MY (t_fmt): Likewise.
7941 * localedata/locales/pa_IN (t_fmt): Likewise.
7942 * localedata/locales/raj_IN (t_fmt): Likewise.
7943 * localedata/locales/sa_IN (t_fmt): Likewise.
7944 * localedata/locales/sat_IN (t_fmt): Likewise.
7945 * localedata/locales/sd_IN (t_fmt): Likewise.
7946 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7947 * localedata/locales/tcy_IN (t_fmt): Likewise.
7948 * localedata/locales/the_NP (t_fmt): Likewise.
7949 * localedata/locales/to_TO (t_fmt): Likewise.
7950 * localedata/locales/ur_IN (t_fmt): Likewise.
7952 * localedata/locales/hif_FJ (d_t_fmt): Set to
7953 "%A %d %b %Y %I:%M:%S %p".
7954 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7956 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7957 * localedata/locales/ar_BH (t_fmt): Likewise.
7958 * localedata/locales/ar_DZ (t_fmt): Likewise.
7959 * localedata/locales/ar_EG (t_fmt): Likewise.
7960 * localedata/locales/ar_IQ (t_fmt): Likewise.
7961 * localedata/locales/ar_JO (t_fmt): Likewise.
7962 * localedata/locales/ar_KW (t_fmt): Likewise.
7963 * localedata/locales/ar_LB (t_fmt): Likewise.
7964 * localedata/locales/ar_LY (t_fmt): Likewise.
7965 * localedata/locales/ar_OM (t_fmt): Likewise.
7966 * localedata/locales/ar_QA (t_fmt): Likewise.
7967 * localedata/locales/ar_SD (t_fmt): Likewise.
7968 * localedata/locales/ar_SS (t_fmt): Likewise.
7969 * localedata/locales/ar_SY (t_fmt): Likewise.
7970 * localedata/locales/ar_TN (t_fmt): Likewise.
7971 * localedata/locales/ar_YE (t_fmt): Likewise.
7973 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7974 (t_fmt_ampm): Likewise.
7975 * localedata/locales/gez_ET (t_fmt): Likewise.
7976 (t_fmt_ampm): Likewise.
7978 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7979 (t_fmt_ampm): Likewise.
7980 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7982 * localedata/locales/zh_HK (t_fmt):
7983 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7985 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7986 because this locale does not use the 12-hour clock.
7987 (t_fmt): Set to "%Z %H:%M:%S".
7988 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7990 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7991 because this locale does not use the 12-hour clock.
7992 (t_fmt): Set to "%H:%M:%S %Z".
7993 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7995 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7996 because this locale does not use the 12-hour clock.
7997 (t_fmt): Set to "%T".
7998 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7999 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8001 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8002 because this locale does not use the 12-hour clock.
8003 (t_fmt): Set to "%H:%M:%S %Z".
8004 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8006 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8007 because this locale does not use the 12-hour clock.
8008 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8009 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8011 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8015 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8016 (t_fmt_ampm): Likewise.
8017 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8018 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8019 (d_fmt): Set to "%-d.%-m.%y".
8021 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8023 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8024 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8025 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8027 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8028 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8029 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8031 * support/blob_repeat.c (check_mul_overflow_size_t,
8032 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8034 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8036 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8038 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8040 regex: simplify Gnulib port
8041 This simplifies the code, by removing stuff intended for porting
8042 to Gnulib but no longer needed there.
8043 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8044 uses of libc_hidden_def, weak_alias.
8045 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8046 _Restrict_ except for public-facing headers.
8047 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8048 Remove; already defined elsewhere.
8049 * posix/regex.c, posix/regex_internal.h:
8050 Use __GNUC_PREREQ instead of rolling our own.
8051 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8053 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8055 * benchtests/bench-strlen.c (generic_strlen): New function.
8056 (memchr_strlen): New function.
8058 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8060 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8061 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8062 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8064 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8068 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8070 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8071 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8072 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8073 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8074 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8075 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8076 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8078 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8081 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8082 PLT reference in libc.so.
8083 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8084 _Q_lltoq and _Q_qtod PLT references in libc.so.
8086 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8088 * benchtests/bench-memchr.c: Cleanup defines.
8089 * benchtests/bench-memcmp.c: Likewise.
8090 * benchtests/bench-memset.c: Likewise.
8091 * benchtests/bench-memset-large.c: Likewise.
8092 * benchtests/bench-memset-walk.c: Likewise.
8093 * benchtests/bench-stpcpy.c: Likewise.
8094 * benchtests/bench-stpncpy.c: Likewise.
8095 * benchtests/bench-strcat.c: Likewise.
8096 * benchtests/bench-strchr.c: Likewise.
8097 * benchtests/bench-strcmp.c: Likewise.
8098 * benchtests/bench-strcpy.c: Likewise.
8099 * benchtests/bench-strcspn.c: Likewise.
8100 * benchtests/bench-string.h: Likewise.
8101 * benchtests/bench-strlen.c: Likewise.
8102 * benchtests/bench-strncat.c: Likewise.
8103 * benchtests/bench-strncmp.c: Likewise.
8104 * benchtests/bench-strncpy.c: Likewise.
8105 * benchtests/bench-strnlen.c: Likewise.
8106 * benchtests/bench-strpbrk.c: Likewise.
8107 * benchtests/bench-strrchr.c: Likewise.
8108 * benchtests/bench-strspn.c: Likewise.
8110 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8112 * stdlib/longlong.h: Update from GCC.
8115 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8116 * configure: Regenerated.
8117 * manual/install.texi (Tools for Compilation): Update minimum GCC
8119 * INSTALL: Regenerated.
8121 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8123 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8125 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8127 * malloc/malloc.c (mremap_chunk): Additional checks.
8129 2018-12-21 Mao Han <han_mao@c-sky.com>
8131 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8132 * scripts/build-many-glibcs.py: Add C-SKY targets.
8133 * sysdeps/csky/Implies: New file.
8134 * sysdeps/csky/Makefile: Likewise.
8135 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8136 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8137 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8138 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8139 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8140 * sysdeps/csky/abiv2/memmove.S: Likewise.
8141 * sysdeps/csky/abiv2/memset.S: Likewise.
8142 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8143 * sysdeps/csky/abiv2/start.S: Likewise.
8144 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8145 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8146 * sysdeps/csky/abiv2/strlen.S: Likewise.
8147 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8148 * sysdeps/csky/abort-instr.h: Likewise.
8149 * sysdeps/csky/atomic-machine.h: Likewise.
8150 * sysdeps/csky/bits/endian.h: Likewise.
8151 * sysdeps/csky/bits/fenv.h: Likewise.
8152 * sysdeps/csky/bits/link.h: Likewise.
8153 * sysdeps/csky/bits/setjmp.h: Likewise.
8154 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8155 * sysdeps/csky/bsd-setjmp.S: Likewise.
8156 * sysdeps/csky/configure: Likewise.
8157 * sysdeps/csky/configure.ac: Likewise.
8158 * sysdeps/csky/dl-machine.h: Likewise.
8159 * sysdeps/csky/dl-procinfo.c: Likewise.
8160 * sysdeps/csky/dl-procinfo.h: Likewise.
8161 * sysdeps/csky/dl-sysdep.h: Likewise.
8162 * sysdeps/csky/dl-tls.h: Likewise.
8163 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8164 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8165 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8166 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8167 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8168 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8169 * sysdeps/csky/fpu/fegetround.c: Likewise.
8170 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8171 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8172 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8173 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8174 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8175 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8176 * sysdeps/csky/fpu/fesetround.c: Likewise.
8177 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8178 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8179 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8180 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8181 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8182 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8183 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8184 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8185 * sysdeps/csky/fpu_control.h: Likewise.
8186 * sysdeps/csky/gccframe.h: Likewise.
8187 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8188 * sysdeps/csky/ldsodefs.h: Likewise.
8189 * sysdeps/csky/libc-tls.c: Likewise.
8190 * sysdeps/csky/linkmap.h: Likewise.
8191 * sysdeps/csky/machine-gmon.h: Likewise.
8192 * sysdeps/csky/memusage.h: Likewise.
8193 * sysdeps/csky/nofpu/Implies: Likewise.
8194 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8195 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8196 * sysdeps/csky/nptl/Makefile: Likewise.
8197 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8198 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8199 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8200 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8201 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8202 * sysdeps/csky/nptl/tls.h: Likewise.
8203 * sysdeps/csky/preconfigure: Likewise.
8204 * sysdeps/csky/sfp-machine.h: Likewise.
8205 * sysdeps/csky/sotruss-lib.c: Likewise.
8206 * sysdeps/csky/stackinfo.h: Likewise.
8207 * sysdeps/csky/sysdep.h: Likewise.
8208 * sysdeps/csky/tininess.h: Likewise.
8209 * sysdeps/csky/tst-audit.h: Likewise.
8210 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8211 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8212 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8213 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8214 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8215 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8216 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8217 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8218 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8219 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8220 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8221 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8222 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8223 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8224 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8225 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8226 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8227 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8228 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8229 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8230 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8231 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8232 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8233 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8234 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8235 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8236 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8237 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8238 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8239 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8240 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8241 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8242 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8243 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8244 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8245 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8246 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8247 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8248 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8249 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8250 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8251 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8252 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8253 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8255 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8257 * include/time.h (__difftime64): Add.
8258 * time/difftime.c (subtract): convert to 64-bit time.
8259 * time/difftime.c (__difftime64): Add.
8260 * time/difftime.c (__difftime): Wrap around __difftime64.
8262 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8264 * manual/examples/add.c: Remove redundant "if not".
8265 * manual/examples/argp-ex1.c: Likewise.
8266 * manual/examples/argp-ex2.c: Likewise.
8267 * manual/examples/argp-ex3.c: Likewise.
8268 * manual/examples/argp-ex4.c: Likewise.
8269 * manual/examples/atexit.c: Likewise.
8270 * manual/examples/db.c: Likewise.
8271 * manual/examples/dir.c: Likewise.
8272 * manual/examples/dir2.c: Likewise.
8273 * manual/examples/execinfo.c: Likewise.
8274 * manual/examples/filecli.c: Likewise.
8275 * manual/examples/filesrv.c: Likewise.
8276 * manual/examples/fmtmsgexpl.c: Likewise.
8277 * manual/examples/genpass.c: Likewise.
8278 * manual/examples/inetcli.c: Likewise.
8279 * manual/examples/inetsrv.c: Likewise.
8280 * manual/examples/isockad.c: Likewise.
8281 * manual/examples/longopt.c: Likewise.
8282 * manual/examples/memopen.c: Likewise.
8283 * manual/examples/memstrm.c: Likewise.
8284 * manual/examples/mkdirent.c: Likewise.
8285 * manual/examples/mkfsock.c: Likewise.
8286 * manual/examples/mkisock.c: Likewise.
8287 * manual/examples/mygetpass.c: Likewise.
8288 * manual/examples/pipe.c: Likewise.
8289 * manual/examples/popen.c: Likewise.
8290 * manual/examples/rprintf.c: Likewise.
8291 * manual/examples/search.c: Likewise.
8292 * manual/examples/select.c: Likewise.
8293 * manual/examples/setjmp.c: Likewise.
8294 * manual/examples/sigh1.c: Likewise.
8295 * manual/examples/sigusr.c: Likewise.
8296 * manual/examples/stpcpy.c: Likewise.
8297 * manual/examples/strdupa.c: Likewise.
8298 * manual/examples/strftim.c: Likewise.
8299 * manual/examples/subopt.c: Likewise.
8300 * manual/examples/swapcontext.c: Likewise.
8301 * manual/examples/termios.c: Likewise.
8302 * manual/examples/testopt.c: Likewise.
8303 * manual/examples/testpass.c: Likewise.
8304 * manual/examples/timeval_subtract.c: Likewise.
8306 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/x86/fpu/math_private.h: New file.
8309 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8311 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8316 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8318 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8319 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8320 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8321 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8323 (_dl_show_auxv): Give a special treatment to
8324 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8325 and AT_L3_CACHEGEOMETRY.
8326 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8327 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8328 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8329 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8331 2018-12-19 Andreas Schwab <schwab@suse.de>
8333 * nscd/connections.c (check_use): Don't abort on invalid len.
8335 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8337 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8338 values in the 64bit value cases.
8340 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8346 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8352 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8355 (__gmtime64_r): Add.
8357 (__gmtime64_r): Add.
8358 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8364 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8367 (__localtime64_r): Add.
8369 (__localtime64_r): Add.
8370 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8372 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8374 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8375 kernel_sigction definition.
8377 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8379 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8381 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8382 __syscall_rt_sigaction.
8383 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8384 (kernel_sigaction): Use Linux generic defintion.
8386 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8387 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8388 (__syscall_rt_sigaction): Remove implementation.
8389 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8391 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8392 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8393 INTERNAL_SYSCALL): Remove definitions.
8394 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8395 action and signal set size.
8396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8399 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8400 James Clarke <jrtc27@jrtc27.com>
8403 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8404 Define if SA_RESTORER is defined.
8405 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8406 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8408 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8409 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8411 (HAS_SA_RESTORER): Define.
8412 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8413 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8414 (HAS_SA_RESTORER): Define.
8415 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8416 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8417 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8418 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8421 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8423 * sysdeps/unix/sysv/linux/kernel-features.h
8424 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8426 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8427 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8428 (__ASSUME_ST_INO_64_BIT): Likewise.
8429 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8430 <kernel-features.h>.
8431 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8432 Remove conditional code.
8433 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8434 <kernel-features.h>.
8435 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8436 Remove conditional code.
8437 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8438 <kernel-features.h>.
8439 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8440 Remove conditional code.
8441 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8442 <kernel-features.h>.
8443 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8444 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8448 * sysdeps/s390/multiarch/ifunc-resolve.h
8449 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8450 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8451 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8452 Delete macro definition.
8453 (s390_libc_ifunc_init): Rename to
8454 s390_libc_ifunc_expr_stfle_init.
8455 * sysdeps/s390/bzero: Use
8456 s390_libc_ifunc_expr_stfle_init instead of
8457 s390_libc_ifunc_init.
8458 * sysdeps/s390/memcmp.c: Likewise.
8459 * sysdeps/s390/memcpy.c: Likewise.
8460 * sysdeps/s390/mempcpy.c: Likewise.
8461 * sysdeps/s390/memset.c: Likewise.
8463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8465 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8466 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8470 * sysdeps/s390/multiarch/Makefile
8471 (sysdep_routines): Remove wmemcmp variants.
8472 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8473 * sysdeps/s390/multiarch/ifunc-impl-list.c
8474 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8475 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8476 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8477 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8478 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8479 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8480 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8481 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8483 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8485 * sysdeps/s390/multiarch/Makefile
8486 (sysdep_routines): Remove wmemset variants.
8487 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8488 * sysdeps/s390/multiarch/ifunc-impl-list.c
8489 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8490 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8491 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8492 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8493 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8494 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8495 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8496 * sysdeps/s390/ifunc-wmemset.h: New file.
8498 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8500 * sysdeps/s390/multiarch/Makefile
8501 (sysdep_routines): Remove wmemchr variants.
8502 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8503 * sysdeps/s390/multiarch/ifunc-impl-list.c
8504 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8505 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8506 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8507 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8508 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8509 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8510 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8511 * sysdeps/s390/ifunc-wmemchr.h: New file.
8513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8515 * sysdeps/s390/multiarch/Makefile
8516 (sysdep_routines): Remove wcscspn variants.
8517 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8518 * sysdeps/s390/multiarch/ifunc-impl-list.c
8519 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8520 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8521 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8522 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8523 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8524 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8525 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8526 * sysdeps/s390/ifunc-wcscspn.h: New file.
8528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8530 * sysdeps/s390/multiarch/Makefile
8531 (sysdep_routines): Remove wcspbrk variants.
8532 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8533 * sysdeps/s390/multiarch/ifunc-impl-list.c
8534 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8535 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8536 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8537 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8538 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8539 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8540 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8541 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8545 * sysdeps/s390/multiarch/Makefile
8546 (sysdep_routines): Remove wcsspn variants.
8547 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8548 * sysdeps/s390/multiarch/ifunc-impl-list.c
8549 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8550 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8551 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8552 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8553 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8554 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8555 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8556 * sysdeps/s390/ifunc-wcsspn.h: New file.
8558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8560 * sysdeps/s390/multiarch/Makefile
8561 (sysdep_routines): Remove wcsrchr variants.
8562 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8563 * sysdeps/s390/multiarch/ifunc-impl-list.c
8564 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8565 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8566 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8567 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8568 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8569 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8570 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8571 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8575 * sysdeps/s390/multiarch/Makefile
8576 (sysdep_routines): Remove wcschrnul variants.
8577 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8578 * sysdeps/s390/multiarch/ifunc-impl-list.c
8579 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8580 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8581 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8582 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8583 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8584 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8585 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8586 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8590 * sysdeps/s390/multiarch/Makefile
8591 (sysdep_routines): Remove wcschr variants.
8592 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8593 * sysdeps/s390/multiarch/ifunc-impl-list.c
8594 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8595 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8596 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8597 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8598 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8599 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8600 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8601 * sysdeps/s390/ifunc-wcschr.h: New file.
8603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8605 * sysdeps/s390/multiarch/Makefile
8606 (sysdep_routines): Remove wcsncmp variants.
8607 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8608 * sysdeps/s390/multiarch/ifunc-impl-list.c
8609 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8610 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8611 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8612 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8613 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8614 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8615 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8616 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8620 * sysdeps/s390/multiarch/Makefile
8621 (sysdep_routines): Remove wcscmp variants.
8622 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8623 * sysdeps/s390/multiarch/ifunc-impl-list.c
8624 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8625 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8626 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8627 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8628 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8629 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8630 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8631 * sysdeps/s390/ifunc-wcscmp.h: New file.
8633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8635 * sysdeps/s390/multiarch/Makefile
8636 (sysdep_routines): Remove wcsncat variants.
8637 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8638 * sysdeps/s390/multiarch/ifunc-impl-list.c
8639 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8640 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8641 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8642 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8643 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8644 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8645 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8646 * sysdeps/s390/ifunc-wcsncat.h: New file.
8648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8650 * sysdeps/s390/multiarch/Makefile
8651 (sysdep_routines): Remove wcscat variants.
8652 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8653 * sysdeps/s390/multiarch/ifunc-impl-list.c
8654 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8655 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8656 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8657 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8658 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8659 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8660 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8661 * sysdeps/s390/ifunc-wcscat.h: New file.
8663 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8665 * sysdeps/s390/multiarch/Makefile
8666 (sysdep_routines): Remove wcpncpy variants.
8667 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8668 * sysdeps/s390/multiarch/ifunc-impl-list.c
8669 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8670 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8671 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8672 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8673 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8674 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8675 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8676 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8678 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8680 * sysdeps/s390/multiarch/Makefile
8681 (sysdep_routines): Remove wcsncpy variants.
8682 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8683 * sysdeps/s390/multiarch/ifunc-impl-list.c
8684 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8685 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8686 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8687 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8688 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8689 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8690 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8691 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8693 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8695 * sysdeps/s390/multiarch/Makefile
8696 (sysdep_routines): Remove wcpcpy variants.
8697 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8698 * sysdeps/s390/multiarch/ifunc-impl-list.c
8699 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8700 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8701 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8702 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8703 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8704 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8705 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8706 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8710 * sysdeps/s390/multiarch/Makefile
8711 (sysdep_routines): Remove wcscpy variants.
8712 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8713 * sysdeps/s390/multiarch/ifunc-impl-list.c
8714 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8715 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8716 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8717 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8718 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8719 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8720 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8721 * sysdeps/s390/ifunc-wcscpy.h: New file.
8723 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8725 * sysdeps/s390/multiarch/Makefile
8726 (sysdep_routines): Remove wcsnlen variants.
8727 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8728 * sysdeps/s390/multiarch/ifunc-impl-list.c
8729 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8730 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8731 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8732 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8733 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8734 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8735 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8736 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8740 * sysdeps/s390/multiarch/Makefile
8741 (sysdep_routines): Remove wcslen variants.
8742 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8743 * sysdeps/s390/multiarch/ifunc-impl-list.c
8744 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8745 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8746 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8747 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8748 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8749 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8750 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8751 * sysdeps/s390/ifunc-wcslen.h: New file.
8753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8755 * sysdeps/s390/multiarch/Makefile
8756 (sysdep_routines): Remove memrchr variants.
8757 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8758 * sysdeps/s390/multiarch/ifunc-impl-list.c
8759 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8760 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8761 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8762 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8763 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8764 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8765 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8766 * sysdeps/s390/ifunc-memrchr.h: New file.
8768 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8770 * sysdeps/s390/multiarch/Makefile
8771 (sysdep_routines): Remove memccpy variants.
8772 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8773 * sysdeps/s390/multiarch/ifunc-impl-list.c
8774 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8775 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8776 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8777 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8778 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8779 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8780 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8781 * sysdeps/s390/ifunc-memccpy.h: New file.
8783 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8785 * sysdeps/s390/multiarch/Makefile
8786 (sysdep_routines): Remove rawmemchr variants.
8787 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8788 * sysdeps/s390/multiarch/ifunc-impl-list.c
8789 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8790 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8791 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8792 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8793 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8794 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8795 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8796 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8798 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8800 * sysdeps/s390/multiarch/Makefile
8801 (sysdep_routines): Remove memchr variants.
8802 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8803 * sysdeps/s390/multiarch/ifunc-impl-list.c
8804 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8805 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8806 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8807 * sysdeps/s390/multiarch/memchr.c: Move to ...
8808 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8809 * sysdeps/s390/ifunc-memchr.h: New file.
8810 * sysdeps/s390/s390-64/memchr.S: Move to ...
8811 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8812 for 31/64bit and ifunc handling.
8813 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8814 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8815 * sysdeps/s390/s390-32/memchr.S: Likewise.
8817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8819 * sysdeps/s390/multiarch/Makefile
8820 (sysdep_routines): Remove strcspn variants.
8821 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8822 * sysdeps/s390/multiarch/ifunc-impl-list.c
8823 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8824 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8825 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8826 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8827 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8828 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8829 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/ifunc-strcspn.h: New file.
8832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8834 * sysdeps/s390/multiarch/Makefile
8835 (sysdep_routines): Remove strpbrk variants.
8836 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8837 * sysdeps/s390/multiarch/ifunc-impl-list.c
8838 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8839 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8840 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8841 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8842 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8843 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8844 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/ifunc-strpbrk.h: New file.
8847 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8849 * sysdeps/s390/multiarch/Makefile
8850 (sysdep_routines): Remove strspn variants.
8851 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8852 * sysdeps/s390/multiarch/ifunc-impl-list.c
8853 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8854 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8855 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8856 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8857 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8858 * sysdeps/s390/multiarch/strspn.c: Move to ...
8859 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8860 * sysdeps/s390/ifunc-strspn.h: New file.
8862 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8864 * sysdeps/s390/multiarch/Makefile
8865 (sysdep_routines): Remove strrchr variants.
8866 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8867 * sysdeps/s390/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8869 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8870 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8871 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8872 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8873 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8874 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8875 * sysdeps/s390/ifunc-strrchr.h: New file.
8877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8879 * sysdeps/s390/multiarch/Makefile
8880 (sysdep_routines): Remove strchrnul variants.
8881 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8882 * sysdeps/s390/multiarch/ifunc-impl-list.c
8883 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8884 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8885 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8886 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8887 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8888 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8889 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8890 * sysdeps/s390/ifunc-strchrnul.h: New file.
8892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8894 * sysdeps/s390/multiarch/Makefile
8895 (sysdep_routines): Remove strchr variants.
8896 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8897 * sysdeps/s390/multiarch/ifunc-impl-list.c
8898 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8899 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8900 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8901 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8902 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8903 * sysdeps/s390/multiarch/strchr.c: Move to ...
8904 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8905 * sysdeps/s390/ifunc-strchr.h: New file.
8907 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8909 * sysdeps/s390/multiarch/Makefile
8910 (sysdep_routines): Remove strncmp variants.
8911 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8912 * sysdeps/s390/multiarch/ifunc-impl-list.c
8913 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8914 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8915 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8916 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8917 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8918 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8919 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8920 * sysdeps/s390/ifunc-strncmp.h: New file.
8922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8924 * sysdeps/s390/multiarch/Makefile
8925 (sysdep_routines): Remove strcmp variants.
8926 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8927 * sysdeps/s390/multiarch/ifunc-impl-list.c
8928 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8929 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8930 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8931 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8932 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8933 * sysdeps/s390/ifunc-strcmp.h: New file.
8934 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8935 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8936 for 31/64bit and ifunc handling.
8937 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8938 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8939 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8943 * sysdeps/s390/multiarch/Makefile
8944 (sysdep_routines): Remove strncat variants.
8945 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8946 * sysdeps/s390/multiarch/ifunc-impl-list.c
8947 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8948 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8949 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8950 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8951 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8952 * sysdeps/s390/multiarch/strncat.c: Move to ...
8953 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8954 * sysdeps/s390/ifunc-strncat.h: New file.
8956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8958 * sysdeps/s390/multiarch/Makefile
8959 (sysdep_routines): Remove strcat variants.
8960 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8961 * sysdeps/s390/multiarch/ifunc-impl-list.c
8962 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8963 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8964 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8965 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8966 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8967 * sysdeps/s390/multiarch/strcat.c: Move to ...
8968 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8969 * sysdeps/s390/ifunc-strcat.h: New file.
8971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8973 * sysdeps/s390/multiarch/Makefile
8974 (sysdep_routines): Remove stpncpy variants.
8975 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8976 * sysdeps/s390/multiarch/ifunc-impl-list.c
8977 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8978 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8979 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8980 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8981 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8982 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8983 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8984 * sysdeps/s390/ifunc-stpncpy.h: New file.
8986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8988 * sysdeps/s390/multiarch/Makefile
8989 (sysdep_routines): Remove strncpy variants.
8990 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8991 * sysdeps/s390/multiarch/ifunc-impl-list.c
8992 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8993 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8994 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8995 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8996 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8997 * sysdeps/s390/ifunc-strncpy.h: New file.
8998 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8999 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9000 and adjust ifunc handling.
9001 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9002 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9003 and adjust ifunc handling.
9004 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9005 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9009 * sysdeps/s390/multiarch/Makefile
9010 (sysdep_routines): Remove stpcpy variants.
9011 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9012 * sysdeps/s390/multiarch/ifunc-impl-list.c
9013 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9014 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9015 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9016 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9017 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9018 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9019 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9020 * sysdeps/s390/ifunc-stpcpy.h: New file.
9022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9024 * sysdeps/s390/multiarch/Makefile
9025 (sysdep_routines): Remove strcpy variants.
9026 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9027 * sysdeps/s390/multiarch/ifunc-impl-list.c
9028 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9029 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9030 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9031 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9032 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9033 * sysdeps/s390/ifunc-strcpy.h: New file.
9034 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9035 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9036 for 31/64bit and ifunc handling.
9037 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9038 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9039 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9043 * sysdeps/s390/multiarch/Makefile
9044 (sysdep_routines): Remove strnlen variants.
9045 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9046 * sysdeps/s390/multiarch/ifunc-impl-list.c
9047 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9048 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9049 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9050 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9051 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9052 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9053 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9054 * sysdeps/s390/ifunc-strnlen.h: New file.
9056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9058 * sysdeps/s390/multiarch/Makefile
9059 (sysdep_routines): Remove strlen variants.
9060 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9061 * sysdeps/s390/multiarch/ifunc-impl-list.c
9062 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9063 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9064 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9065 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9066 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9067 * sysdeps/s390/multiarch/strlen.c: Move to ...
9068 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9069 * sysdeps/s390/ifunc-strlen.h: New file.
9071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9073 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9074 * sysdeps/s390/multiarch/ifunc-impl-list.c
9075 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9076 * sysdeps/s390/ifunc-memmem.h: New file.
9077 * sysdeps/s390/memmem.c: Likewise.
9078 * sysdeps/s390/memmem-c.c: Likewise.
9079 * sysdeps/s390/memmem-vx.c: Likewise.
9081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9083 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9084 * sysdeps/s390/multiarch/ifunc-impl-list.c
9085 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9086 * sysdeps/s390/ifunc-strstr.h: New file.
9087 * sysdeps/s390/strstr.c: Likewise.
9088 * sysdeps/s390/strstr-c.c: Likewise.
9089 * sysdeps/s390/strstr-vx.c: Likewise.
9091 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9093 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9094 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9095 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9096 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9098 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9099 * sysdeps/s390/memmove-c.c: New file.
9100 * sysdeps/s390/memmove.c: Likewise.
9101 * sysdeps/s390/multiarch/ifunc-impl-list.c
9102 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9106 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9107 * sysdeps/s390/configure.ac: Add check for z13 support.
9108 * sysdeps/s390/configure: Regenerated.
9110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9112 * sysdeps/s390/memcopy.h: New file.
9114 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9116 * sysdeps/s390/s390-32/bcopy.S: Remove.
9117 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9121 * sysdeps/s390/ifunc-memcpy.h: New File.
9122 * sysdeps/s390/memcpy.S: Move to ...
9123 * sysdeps/s390/memcpy-z900.S ... here.
9124 Move implementations from memcpy-s390x.s to here.
9125 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9126 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9127 Remove memcpy/mempcpy variants.
9128 * sysdeps/s390/Makefile (sysdep_routines):
9129 Add memcpy/mempcpy variants.
9130 * sysdeps/s390/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Adjust ifunc variants for
9133 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9135 * sysdeps/s390/memcpy.c: ... here.
9136 Adjust ifunc variants for memcpy.
9137 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9138 * sysdeps/s390/mempcpy.c: ... here.
9139 Adjust ifunc variants for mempcpy.
9140 * sysdeps/s390/mempcpy.S: Delete file.
9142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9144 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9145 * sysdeps/s390/memcpy.S: ... here.
9146 Adjust to be usable for 31/64bit.
9147 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9148 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9149 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9150 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9151 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9152 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9153 Adjust to be usable for 31/64bit.
9154 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9155 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9156 * sysdeps/s390/multiarch/memcpy.c: ... here.
9157 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9161 * sysdeps/s390/ifunc-memcmp.h: New File.
9162 * sysdeps/s390/memcmp.S: Move to ...
9163 * sysdeps/s390/memcmp-z900.S ... here.
9164 Move implementations from memcmp-s390x.s to here.
9165 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9166 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9167 Remove memcmp variants.
9168 * sysdeps/s390/Makefile (sysdep_routines):
9169 Add memcmp variants.
9170 * sysdeps/s390/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Adjust ifunc variants for
9173 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9175 * sysdeps/s390/memcmp.c: ... here.
9176 Adjust ifunc variants for memcmp.
9178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9180 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9181 * sysdeps/s390/memcmp.S: ... here.
9182 Adjust to be usable for 31/64bit.
9183 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9184 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9185 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9187 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9188 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9189 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9190 Adjust to be usable for 31/64bit.
9191 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9192 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9193 * sysdeps/s390/multiarch/memcmp.c: ... here.
9194 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9196 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9198 * sysdeps/s390/s390-32/bzero.S: Delete file.
9199 * sysdeps/s390/s390-64/bzero.S: Likewise.
9200 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9201 * sysdeps/s390/bzero.c: New file.
9202 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9203 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9204 * sysdeps/s390/multiarch/ifunc-impl-list.c
9205 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9209 * sysdeps/s390/ifunc-memset.h: New File.
9210 * sysdeps/s390/memset.S: Move to ...
9211 * sysdeps/s390/memset-z900.S ... here.
9212 Move implementations from memset-s390x.s to here.
9213 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9214 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9215 Remove memset variants.
9216 * sysdeps/s390/Makefile (sysdep_routines):
9217 Add memset variants.
9218 * sysdeps/s390/multiarch/ifunc-impl-list.c
9219 (__libc_ifunc_impl_list): Adjust ifunc variants for
9221 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9223 * sysdeps/s390/memset.c: ... here.
9224 Adjust ifunc variants for memset.
9226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9228 * sysdeps/s390/s390-64/memset.S: Move to ...
9229 * sysdeps/s390/memset.S: ... here.
9230 Adjust to be usable for 31/64bit.
9231 * sysdeps/s390/s390-32/memset.S: Delete File.
9232 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9233 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9235 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9236 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9237 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9238 Adjust to be usable for 31/64bit.
9239 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9240 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9241 * sysdeps/s390/multiarch/memset.c: ... here.
9242 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9246 * sysdeps/s390/multiarch/ifunc-resolve.h
9247 (s390_libc_ifunc_init, s390_libc_ifunc,
9248 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9252 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9253 * sysdeps/s390/configure.ac: Add check for z10 support.
9254 * sysdeps/s390/configure: Regenerated.
9256 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9258 * sysdeps/i386/atomic-machine.h: Merged with ...
9259 * sysdeps/x86_64/atomic-machine.h: To ...
9260 * sysdeps/x86/atomic-machine.h: This. New file.
9262 2018-12-18 Florian Weimer <fweimer@redhat.com>
9264 Rewrite locale/gen-translit.pl in Python.
9265 * locale/Makefile (generated): Add C-translit.h.
9266 (before-compile): Add $(objpfx)C-translit.h.
9267 (C-translit.h): Move to $(objpfx). Create target directory.
9268 Build using Python script.
9269 * locale/gen-translit.py: New file.
9270 * locale/gen-translit.pl: Remove file.
9271 * locale/C-translit.h.in: Change comment character to '#' for
9272 easier parsing without a C preprocessor.
9273 * locale/C-translit.h: Remove generated file.
9274 * manual/install.texi (Tools for Compilation): Do not mention
9276 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9277 Remove locale/C-translit.h.
9278 * scripts/update-copyrights: Likewise.
9279 * INSTALL: Regenerate.
9281 2018-12-18 Florian Weimer <fweimer@redhat.com>
9284 * localedata/locales/bi_VU: Remove executable bit from file.
9286 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9289 (__localtime64): Add.
9290 * manual/maint.texi: Document Y2038 symbol handling.
9292 (__localtime64): Add.
9293 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9295 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9297 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9300 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9301 to allow extra macros from first or second sources.
9302 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9303 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9304 (tests-special): Add $(objpfx)tst-mman-consts.out.
9305 ($(objpfx)tst-mman-consts.out): New makefile target.
9307 2018-12-17 Mao Han <han_mao@c-sky.com>
9309 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9310 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9311 without stat64 system call support.
9312 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9314 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9315 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9316 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9317 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9318 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9319 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9320 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9321 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9322 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9324 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9326 regex: fix storage-exhaustion error
9328 * posix/regexec.c (get_subexp):
9329 Do not continue if storage is exhausted.
9331 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9333 regex: fix heap-use-after-free error
9335 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9336 https://debbugs.gnu.org/32592
9337 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9338 call extend_buffers which reallocates the re_string_t internal buffer.
9339 Local variable 'buf' was not updated in such case, resulting in
9341 * posix/regexec.c (get_subexp): Update 'buf' after call to
9344 2018-12-15 Florian Weimer <fweimer@redhat.com>
9346 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9347 (minimum_stride_size): Use it.
9348 (support_blob_repeat_allocate): Likewise.
9350 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9352 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9357 2018-12-14 Florian Weimer <fweimer@redhat.com>
9359 * manual/process.texi (Process Creation Concepts): Remove
9360 documentation of process (ID) lifetime. List more process
9361 creation functions. Reference Process Identification section.
9362 (Process Identification): Add information about process ID
9363 lifetime. Describe Linux thread/task IDs.
9364 * manual/signal.texi (Signaling Another Process): Mention that the
9365 signal is always sent to the process.
9367 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9369 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9370 and tst-ldbl-efgcvt.
9371 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9372 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9373 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9374 (fcvt_tests, output_error, output_r_error, do_test): Use the
9375 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9376 select the type of floating-point variables and arguments; to
9377 produce extra tests for double and conversion specifiers for
9378 printf; and to set the names of called functions.
9379 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9380 in tst-efgcvt-template.c.
9381 * misc/tst-ldbl-efgcvt.c: Likewise.
9383 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9385 * nss/Makefile (tst-nss-test3.out): New rule.
9387 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9389 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9392 2018-12-13 fanjinke <fanjinke@hygon.cn>
9394 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9397 2018-12-13 Andreas Schwab <schwab@suse.de>
9400 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9401 (__pthread_rwlock_rdlock_full): Update expected value for
9402 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9403 * nptl/tst-rwlock-pwn.c: New file.
9404 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9406 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9411 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9413 * benchtests/scripts/compare_bench.py (do_compare): write to
9414 stderr in casestat is not present.
9415 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9416 stderr in case timings field is not present. Also string showing
9417 the output filename goes into the stderr.
9419 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9421 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9422 and ZeroDivisorError exceptions.
9423 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9424 argument to loop through user provided statistics.
9425 * benchtests/scripts/compare_bench.py (main): Include the --stats
9428 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9430 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9433 2018-12-12 Florian Weimer <fweimer@redhat.com>
9435 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9436 clause to copyright header.
9438 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9441 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9442 registers saved in the stack frame.
9443 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9444 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9446 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9448 * include/bits/monetary-ldbl.h: New file.
9449 * include/bits/printf-ldbl.h: Likewise.
9450 * include/bits/stdio-ldbl.h: Likewise.
9451 * include/bits/stdlib-ldbl.h: Likewise.
9452 * include/bits/syslog-ldbl.h: Likewise.
9453 * include/bits/wchar-ldbl.h: Likewise.
9455 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9457 * libio/libio.h: Remove redirection for _IO_vfprintf.
9459 2018-12-11 Andreas Schwab <schwab@suse.de>
9461 * Makerules: Remove all references to abilist-pattern.
9462 (update-all-abi): Simplify find expression.
9464 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9467 * math/auto-libm-test-in: Add new test case.
9468 * math/auto-libm-test-out-pow: Regenerated.
9469 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9471 2018-12-10 DJ Delorie <dj@redhat.com>
9474 * support/test-container.c: Move postclean step to before we
9477 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9479 * scripts/gen-as-const.py (main): Handle --python option.
9480 * scripts/gen-py-const.awk: Remove.
9481 * Makerules (py-const-script): Use gen-as-const.py.
9482 ($(py-const)): Likewise.
9483 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9484 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9485 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9486 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9487 ~PTHREAD_MUTEX_NO_ELISION_NP.
9488 * manual/README.pretty-printers: Update reference to
9491 * scripts/glibcextract.py: New file.
9492 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9493 or tempfile. Import glibcexctract.
9494 (compute_c_consts): Remove. Moved to glibcextract.py.
9495 (gen_test): Update reference to compute_c_consts.
9497 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9498 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9499 * sysdeps/unix/sysv/linux/Makefile
9500 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9501 Redirect stderr as well as stdout.
9503 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9506 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9507 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9508 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9509 ALWAYS_USE_VSYSCALL.
9510 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9511 ALWAYS_USE_VSYSCALL.
9512 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9513 ALWAYS_USE_VSYSCALL.
9515 2018-12-10 Florian Weimer <fweimer@redhat.com>
9518 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9519 offset instead of count for clarity. Fix typo in comment.
9520 (__old_getdents64): Keep track of previous offset. Use it to call
9522 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9523 that d_off is never zero.
9525 2018-12-10 Andreas Schwab <schwab@suse.de>
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9528 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9530 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9531 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9533 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9535 * timezone/private.h: Update from tzcode 2018g.
9536 * timezone/tzfile.h: Likewise.
9537 * timezone/tzselect.ksh: Likewise.
9538 * timezone/zdump.c: Likewise.
9539 * timezone/zic.c: Likewise.
9541 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9544 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9545 (do_test): Adjust buffer size and fix format.
9547 2018-12-07 DJ Delorie <dj@redhat.com>
9550 * malloc/tst-tcfree3.c: New.
9551 * malloc/Makefile: Add it.
9553 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9555 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9557 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9559 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9560 used as a mask for the mode argument of __vfscanf_internal and
9561 __vfwscanf_internal.
9562 * stdio-common/vfscanf-internal.c
9563 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9564 (__strtof128_internal): Define to __wcstof128_internal.
9565 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9566 __strtof128_internal or __wcstof128_internal when the format of
9567 long double is the same as _Float128.
9569 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9571 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9572 * posix/confstr.c (confstr): Rename to __confstr.
9573 (__confstr): Add hidden def.
9574 (confstr): Add weak alias for __confstr.
9575 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9578 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9580 * NEWS: Mention getcpu.
9581 * include/sched.h (__getcpu): New libc_hidden_proto.
9582 * manual/resource.texi: Document getcpu.
9583 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9584 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9586 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9587 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9588 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9589 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9590 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9591 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9592 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9593 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9595 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9597 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9599 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9608 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9609 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9611 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9614 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9615 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9616 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9617 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9618 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9621 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9623 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9625 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9627 2018-12-07 Florian Weimer <fweimer@redhat.com>
9630 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9631 * posix/Versions (GLIBC_2.29): Export
9632 posix_spawn_file_actions_addfchdir_np.
9633 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9634 * posix/spawn_faction_destroy.c
9635 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9636 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9637 and the field action.fchdir_action.
9638 * posix/tst-spawn-chdir.c (add_chdir): New function.
9639 (do_test): Add do_fchdir loop. Call add_chdir.
9640 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9641 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9642 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9643 posix_spawn_file_actions_addfchdir_np.
9644 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9646 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9648 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9649 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9651 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9653 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9657 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9662 (GLIBC_2.29): Likewise.
9663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9664 (GLIBC_2.29): Likewise.
9665 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9666 (GLIBC_2.29): Likewise.
9667 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9668 (GLIBC_2.29): Likewise.
9669 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9672 (GLIBC_2.29): Likewise.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9674 (GLIBC_2.29): Likewise.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9676 (GLIBC_2.29): Likewise.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9678 (GLIBC_2.29): Likewise.
9679 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9681 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9683 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9685 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9690 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9692 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9695 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9697 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9698 trailing whitespace removed.
9699 * scripts/config.guess: Update to version 2018-11-28.
9700 * scripts/config.sub: Update to version 2018-11-28.
9701 * scripts/install-sh: Update to version 2018-03-11.20.
9702 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9703 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9705 2018-12-07 Florian Weimer <fweimer@redhat.com>
9709 * inet/tst-if_index-long.c: New file.
9710 * inet/Makefile (tests): Add tst-if_index-long.
9712 2018-12-07 Florian Weimer <fweimer@redhat.com>
9714 * support/check.h (support_record_failure_is_failed): Declare.
9715 * support/descriptors.h: New file.
9716 * support/support_descriptors.c: Likewise.
9717 * support/tst-support_descriptors.c: Likewise.
9718 * support/support_record_failure.c
9719 (support_record_failure_is_failed): New function.
9720 * support/Makefile (libsupport-routines): Add support_descriptors.
9721 (tests): Add tst-support_descriptors.
9723 2018-12-05 Zack Weinberg <zackw@panix.com>
9724 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9726 * stdio-common/vfprintf-internal.c
9727 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9728 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9730 and __no_long_double.
9731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9732 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9734 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9735 and __nldbl_*syslog* functions.
9736 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9737 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9738 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9739 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9740 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9741 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9742 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9743 (__nldbl_vwprintf, __nldbl_wprintf):
9744 Directly call the appropriate __v*printf_internal routine, passing
9745 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9747 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9748 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9749 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9750 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9751 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9752 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9753 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9754 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9755 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9756 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9757 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9758 (__nldbl_syslog, __nldbl_vsyslog):
9759 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9760 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9762 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9765 2018-12-05 Zack Weinberg <zackw@panix.com>
9766 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9769 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9770 Moved here from debug/vsprintf_chk.c.
9771 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9772 and completion logic for the strfile to match exactly what
9773 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9774 _IO_str_init_static_internal instead of maxlen-1.
9775 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9776 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9777 __vsprintf_internal.
9779 * debug/vsprintf_chk.c (__vsprintf_chk)
9780 * debug/sprintf_chk.c (__sprintf_chk):
9781 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9782 'flags' argument is positive, and slen as maxlen. No need to lock
9783 the FILE and/or construct a temporary FILE. Minimize and normalize
9784 header inclusions and variable names. Do not libc_hidden_def anything.
9786 * debug/asprintf_chk.c (__asprintf_chk)
9787 * debug/dprintf_chk.c (__dprintf_chk)
9788 * debug/fprintf_chk.c (__fprintf_chk)
9789 * debug/fwprintf_chk.c (__fwprintf_chk)
9790 * debug/printf_chk.c (__printf_chk)
9791 * debug/snprintf_chk.c (__snprintf_chk)
9792 * debug/swprintf_chk.c (__swprintf_chk)
9793 * debug/vasprintf_chk.c (__vasprintf_chk)
9794 * debug/vdprintf_chk.c (__vdprintf_chk)
9795 * debug/vfprintf_chk.c (__vfprintf_chk)
9796 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9797 * debug/vprintf_chk.c (__vprintf_chk)
9798 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9799 * debug/vswprintf_chk.c (__vswprintf_chk)
9800 * debug/vwprintf_chk.c (__vwprintf_chk)
9801 * debug/wprintf_chk.c (__wprintf_chk):
9802 Directly call the corresponding vxxprintf_internal function, passing
9803 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9804 the FILE and/or construct a temporary FILE. Minimize and normalize
9805 header inclusions and variable names. Do not libc_hidden_def anything.
9807 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9808 __obstack_vprintf_internal.
9809 (__obstack_vprintf_chk): Convert into a wrapper that calls
9810 __obstack_vprintf_internal (these two functions already had the
9811 same code) and move to new file...
9812 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9814 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9815 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9816 * debug/Makefile (routines): Add vobprintf_chk.
9818 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9819 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9820 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9821 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9822 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9823 (__nldbl___obstack_vfprintf_chk):
9824 Directly call the corresponding vxxprintf_internal function,
9825 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9826 duplicate comparison of slen with 0 or maxlen from the corresponding
9827 non-__nldbl function.
9829 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9830 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9831 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9832 Remove libc_hidden_proto.
9834 * stdio-common/vfprintf-internal.c
9835 (__vfprintf_internal, __vfwprintf_internal):
9836 Do not check _IO_FLAGS2_FORTIFY.
9837 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9838 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9839 a comment explaining why it has the maxlen argument.
9840 (_IO_acquire_lock_clear_flags2_fct): Remove.
9841 (_IO_acquire_lock_clear_flags2): Remove.
9842 (_IO_release_lock): Remove conditional statement which will
9844 (_IO_acquire_lock): Remove variable which is now unused.
9845 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9846 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9848 * stdio-common/Makefile (tests): Add tst-bz11319 and
9849 tst-bz11319-fortify2.
9850 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9851 * stdio-common/tst-bz11319-fortify2.c: New file.
9852 * stdio-common/tst-bz11319.c: Likewise.
9854 2018-12-05 Zack Weinberg <zackw@panix.com>
9855 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9857 * misc/syslog.c: Include libioP.h, not iolibio.h.
9858 (__vsyslog_internal): New function with the former body of
9859 __vsyslog_chk; takes mode_flags argument same as
9860 __v*printf_internal. Call __vfprintf_internal directly.
9862 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9863 Remove libc_hidden_def.
9864 (__syslog, __syslog_chk): Use __vsyslog_internal.
9865 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9867 * include/sys/syslog.h: Add multiple inclusion guard.
9868 Add prototype for __vsyslog_internal.
9869 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9872 Use __vsyslog_internal.
9874 2018-12-05 Zack Weinberg <zackw@panix.com>
9875 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9877 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9878 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9879 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9881 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9882 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9884 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9885 Include wctype.h here if COMPILE_WPRINTF is defined.
9886 Define __vfprintf_internal or __vfwprintf_internal, depending
9888 Temporarily, on entry to this function, update mode_flags
9889 according to the environmental settings corresponding to
9890 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9891 Throughout, check mode_flags instead of __ldbl_is_dbl and
9892 _IO_FLAGS2_FORTIFY on the destination FILE.
9893 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9894 Include vfprintf-internal.c. Don't include wctype.h.
9895 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9896 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9898 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9899 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9901 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9903 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9904 and add mode_flags argument; use __vfprintf_internal.
9905 (__vdprintf): New function. Alias vdprintf to this.
9906 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9907 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9908 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9909 (__obstack_printf): Use __obstack_printf_internal.
9910 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9911 public aliases __vsnprintf and vsnprintf.
9912 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9914 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9915 public aliases _IO_vsprintf and vsprintf.
9916 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9917 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9918 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9919 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9920 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9922 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9923 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9924 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9925 * stdio-common/printf.c: Use __vfprintf_internal.
9927 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9928 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9929 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9931 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9932 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9933 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9934 __vfwprintf_internal.
9936 * libio/libio.h: Remove libc_hidden_proto and declaration for
9938 Remove declaration of _IO_vfwprintf.
9939 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9941 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9943 * include/stdio.h: Add prototype for __vasprintf.
9944 (__vsnprintf): Remove declaration, because there are no more
9946 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9947 declaration, because there are no more internal calls.
9949 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9950 __vsnprintf_internal, instead of _IO_vsnprintf.
9951 * argp/argp-help.c (__argp_error, __argp_failure): Use
9952 __vasprintf_internal, instead of _IO_vasprintf.
9953 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9954 redefine, because there are no more internal calls.
9956 2018-12-05 Zack Weinberg <zackw@panix.com>
9957 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9959 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9960 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9961 Include libio/strfile.h instead of libioP.h.
9962 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9963 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9964 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9965 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9966 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9967 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9968 necessary. Do not set __no_long_double. Normalize variable names.
9969 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9970 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9971 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9972 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9973 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9974 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9975 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9976 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9977 Do not set __no_long_double. Normalize variable names.
9979 2018-12-05 Zack Weinberg <zackw@panix.com>
9980 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9982 * stdio-common/isoc99_scanf.c
9983 * stdio-common/isoc99_fscanf.c
9984 * stdio-common/isoc99_sscanf.c
9985 * stdio-common/isoc99_vscanf.c
9986 * stdio-common/isoc99_vfscanf.c
9987 * stdio-common/isoc99_vsscanf.c
9988 * wcsmbs/isoc99_wscanf.c
9989 * wcsmbs/isoc99_fwscanf.c
9990 * wcsmbs/isoc99_swscanf.c
9991 * wcsmbs/isoc99_vwscanf.c
9992 * wcsmbs/isoc99_vfwscanf.c
9993 * wcsmbs/isoc99_vswscanf.c:
9994 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9995 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9996 No need to lock and unlock the FILE passed to that function.
9998 * stdio-common/vfscanf-internal.c
9999 (__vfscanf_internal, __vfwscanf_internal):
10000 Don't look at _IO_FLAGS2_SCANF_STD.
10001 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10002 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10003 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10005 2018-12-05 Zack Weinberg <zackw@panix.com>
10006 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10008 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10009 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10010 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10011 * libio/strfile.h: Add multiple inclusion guard.
10012 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10014 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10015 consistency with the other version of this file.
10016 (ldbl_compat_symbol): New macro.
10017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10020 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10021 Define __vfscanf_internal or __vfwscanf_internal, depending on
10022 COMPILE_WSCANF; don't define any other public symbols.
10023 Remove errval and code to set errp.
10024 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10025 as the mode_flags argument.
10026 (encode_error, conv_error, input_error): Don't set errval.
10027 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10028 Include vfscanf-internal.c.
10029 * stdio-common/vfscanf.c: New file defining the public entry
10030 point vfscanf, which calls __vfscanf_internal.
10031 * stdio-common/vfwscanf.c: New file defining the public entry
10032 point vfwscanf, which calls __vfwscanf_internal.
10034 * stdio-common/iovfscanf.c: New file.
10035 * stdio-common/iovfwscanf.c: Likewise.
10037 * stdio-common/Makefile (routines): Add vfscanf-internal,
10038 vfwscanf-internal, iovfscanf, iovfwscanf.
10039 * stdio-common/Versions: Mention GLIBC_2.29, so that
10040 it can be used in SHLIB_COMPAT expressions.
10041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10042 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10043 Call __vfscanf_internal, instead of _IO_vfscanf.
10044 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10046 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10049 * libio/iovsscanf.c: Clean up includes, when possible. Use
10050 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10051 __vfscanf_internal or __vfwscanf_internal directly.
10052 * libio/iovswscanf.c: Likewise.
10053 * libio/swscanf.c: Likewise.
10054 * libio/vscanf.c: Likewise.
10055 * libio/vwscanf.c: Likewise.
10056 * libio/wscanf.c: Likewise.
10057 * stdio-common/isoc99_fscanf.c: Likewise.
10058 * stdio-common/isoc99_scanf.c: Likewise.
10059 * stdio-common/isoc99_sscanf.c: Likewise.
10060 * stdio-common/isoc99_vfscanf.c: Likewise.
10061 * stdio-common/isoc99_vscanf.c: Likewise.
10062 * stdio-common/isoc99_vsscanf.c: Likewise.
10063 * stdio-common/scanf.c: Likewise.
10064 * stdio-common/sscanf.c: Likewise.
10065 * wcsmbs/isoc99_fwscanf.c: Likewise.
10066 * wcsmbs/isoc99_swscanf.c: Likewise.
10067 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10068 * wcsmbs/isoc99_vswscanf.c: Likewise.
10069 * wcsmbs/isoc99_vwscanf.c: Likewise.
10070 * wcsmbs/isoc99_wscanf.c: Likewise.
10072 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10075 (__tz_compute): Replace time_t with __time64_t.
10076 (__tz_convert): Replace time_t* with __time64_t.
10077 (__offtime): Replace time_t* with __time64_t.
10079 (__gmtime_r): Adjust call to __tz_convert.
10080 (gmtime): Likewise.
10082 (__localtime_r): Likewise.
10083 (localtime): Likewise.
10084 * time/offtime.c: Replace time_t with __time64_t.
10085 * time/tzset.c: Likewise.
10087 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10089 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10090 dynamic linker unless [$(run-built-tests) = yes].
10092 2018-12-03 DJ Delorie <dj@delorie.com>
10094 * support/test-container.c (check_for_unshare_hints): New.
10095 (main): Call it if unshare fails. Add support for "su" scriptlet
10098 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10100 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10101 'START' to indicate that start text should be output.
10102 (gen_test): Likewise.
10103 (main): Generate 'START' for first symbol or '--' line, or at end
10104 of input if not previously generated.
10106 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10109 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10110 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10111 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10112 ALWAYS_USE_VSYSCALL.
10114 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10117 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10120 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10123 * locale/programs/localedef.c: Declare boolean hard_links default true.
10124 (options): Add --no-hard-links option.
10125 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10126 * locale/programs/localedef.h: Declare prototype for hard_links.
10127 * locale/programs/locfile.c (write_locale_data): Don't use hard
10128 links if hard_links is false.
10130 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10132 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10133 cpu_features_basic.
10134 (__cache_sysconf): Likewise.
10135 (init_cacheinfo): Likewise.
10136 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10137 populate COMMON_CPUID_INDEX_80000007 and
10138 COMMON_CPUID_INDEX_80000008.
10139 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10140 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10141 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10142 (init_cpu_features): Use _Static_assert on
10143 index_arch_Fast_Unaligned_Load.
10144 __get_cpuid_registers and __get_arch_feature. Updated for
10145 cpu_features_basic. Set stepping in cpu_features.
10146 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10147 (FEATURE_INDEX_2): New.
10148 (FEATURE_INDEX_MAX): Changed to enum.
10149 (COMMON_CPUID_INDEX_D_ECX_1): New.
10150 (COMMON_CPUID_INDEX_80000007): Likewise.
10151 (COMMON_CPUID_INDEX_80000008): Likewise.
10152 (cpuid_registers): Likewise.
10153 (cpu_features_basic): Likewise.
10154 (CPU_FEATURE_USABLE): Likewise.
10155 (bit_arch_XXX_Usable): Likewise.
10156 (cpu_features): Use cpuid_registers and cpu_features_basic.
10157 (bit_arch_XXX): Reweritten.
10158 (bit_cpu_XXX): Likewise.
10159 (index_cpu_XXX): Likewise.
10160 (reg_XXX): Likewise.
10161 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10163 (CHECK_CPU_FEATURE): New.
10164 (CHECK_CPU_FEATURE_USABLE): Likewise.
10165 (cpu_kinds): Likewise.
10166 (do_test): Print vendor, family, model and stepping. Check
10167 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10168 (TEST_FUNCTION): Removed.
10169 Include <support/test-driver.c> instead of
10170 "../../test-skeleton.c".
10171 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10172 Check POPCNT instead of POPCOUNT.
10173 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10175 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10177 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10178 there is no element in `consts'.
10180 2018-12-01 Florian Weimer <fweimer@redhat.com>
10182 * support/support_capture_subprocess.c
10183 (support_capture_subprocess): Check that pipe descriptors have
10184 expected values. Close original pipe descriptors in subprocess.
10186 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10189 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10190 attr with __pthread_default_barrierattr.
10191 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10192 attr with __pthread_default_condattr.
10193 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10194 attr with __pthread_default_mutexattr.
10195 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10196 attr with __pthread_default_rwlockattr.
10198 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10200 * manual/tunables.texi (POSIX Thread Tunables): New node.
10201 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10202 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10203 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10204 __pthread_tunables_init.
10205 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10206 (max_adaptive_count): Define.
10207 * nptl/pthread_mutex_conf.c: New file.
10208 * nptl/pthread_mutex_conf.h: New file.
10209 * sysdeps/generic/adaptive_spin_count.h: New file.
10210 * sysdeps/nptl/dl-tunables.list: New file.
10211 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10212 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10213 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10216 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10219 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10220 * stdlib/on_exit.c (__on_exit): Likewise.
10221 * stdlib/Makefile (tests): Add tst-bz20544.
10222 * stdlib/tst-bz20544.c: New test.
10224 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10227 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10228 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10231 2018-11-30 Florian Weimer <fweimer@redhat.com>
10233 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10234 Extend error logging.
10235 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10238 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10240 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10241 __sigismember instead of sigismember.
10242 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10243 cancel_handler): New definitions.
10244 (do_system): Use posix_spawn instead of fork and execl and remove
10246 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10247 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10248 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10249 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10250 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10251 * sysdeps/unix/sysv/linux/system.c: Likewise.
10255 * NEWS: Add new semantic for atfork with popen and system.
10256 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10259 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10262 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10263 modification order when accessing reloc_result->addr.
10264 * include/link.h (reloc_result): Add field init.
10265 * nptl/Makefile (tests): Add tst-audit-threads.
10266 (modules-names): Add tst-audit-threads-mod1 and
10267 tst-audit-threads-mod2.
10268 Add rules to build tst-audit-threads.
10269 * nptl/tst-audit-threads-mod1.c: New file.
10270 * nptl/tst-audit-threads-mod2.c: Likewise.
10271 * nptl/tst-audit-threads.c: Likewise.
10272 * nptl/tst-audit-threads.h: Likewise.
10274 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10276 * scripts/gen-as-const.py: New file.
10277 * scripts/gen-as-const.awk: Remove.
10278 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10280 ($(objpfx)test-as-const-%.c): Likewise.
10282 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10284 * elf/dl-exception.c: Include <_itoa.h>.
10286 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10288 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10289 returned by __f_setlk.
10291 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10292 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10294 * elf/Makefile (tests-internal): Add tst-create_format1.
10295 * elf/dl-exception.c (_dl_exception_create_format): Support
10297 * elf/tst-create_format1.c: New file.
10299 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10301 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10302 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10304 * argp/argp-help.c (__argp_failure): Likewise.
10306 2018-11-29 Mao Han <han_mao@c-sky.com>
10308 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10309 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10310 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10311 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10312 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10313 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10314 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10315 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10316 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10317 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10318 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10319 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10320 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10321 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10322 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10323 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10324 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10325 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10326 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10327 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10328 (R_CKCORE_TLS_TPOFF32): New defines.
10330 2018-11-29 Florian Weimer <fweimer@redhat.com>
10332 * posix/Makefile (before-compile): Remove testcases.h and
10334 (generated): Add testcases.h and ptestcases.h.
10335 (testcases.h, ptestcases.h): Move to $(objpfx).
10336 (runtests.o): Add dependency on testcases.h.
10337 (runptests.o): Add dependency on ptestcases.h.
10338 * posix/testcases.h, posix/ptestcases.h: Remove files.
10339 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10340 not touch posix/testcases.h and posix/ptestcases.h.
10342 2018-11-28 Florian Weimer <fweimer@redhat.com>
10344 support: Add signal support to support_capture_subprocess_check.
10345 * support/capture_subprocess.h (support_capture_subprocess_check):
10346 Adjust comment and rename parameter.
10347 * support/support_capture_subprocess_check.c
10348 (print_actual_status): New function.
10349 (support_capture_subprocess_check): Support negative
10350 status_or_signal. Call print_actual_status.
10351 * support/tst-support_capture_subprocess.c (do_test): Call
10352 support_capture_subprocess_check.
10353 * libio/tst-vtables-common.c (termination_status)
10354 (init_termination_status): Remove.
10355 (check_for_termination): Adjust support_capture_subprocess_check
10357 (do_test): Remove call to init_termination_status.
10359 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10361 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10362 source directory instead of a copy.
10363 (CommandList.create_copy_dir): Remove.
10365 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10367 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10369 2018-11-28 Florian Weimer <fweimer@redhat.com>
10371 * support/support.h (support_quote_string): Do not use str
10374 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10377 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10379 2018-11-27 Florian Weimer <fweimer@redhat.com>
10381 * support/support.h (support_quote_string): Declare.
10382 * support/support_quote_string.c: New file.
10383 * support/tst-support_quote_string.c: Likewise.
10384 * support/Makefile (libsupport-routines): Add
10385 support_quote_string.
10386 (tests): Add tst-support_quote_string.
10388 2018-11-27 Florian Weimer <fweimer@redhat.com>
10392 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10393 descriptor leak in case of ENODEV error.
10395 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10398 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10399 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10400 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10402 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10404 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10405 Error for unknown lines.
10407 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10409 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10410 Touch additional files.
10412 2018-11-26 Florian Weimer <fweimer@redhat.com>
10415 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10418 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10421 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10422 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10423 SHARED. Include sysdep.h.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10425 ALWAYS_USE_VSYSCALL.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10427 ALWAYS_USE_VSYSCALL.
10429 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10432 * nptl/Makefile (tests-static): Add tst-cond11-static.
10434 * nptl/tst-cond11-static.c: New File.
10435 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10436 tst-affinity-static.
10438 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10440 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10441 (USE_VSYSCALL): Likewise.
10442 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10443 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10450 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10453 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10454 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10457 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10459 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10460 (tst-cet-legacy-1a-ARGS): New.
10461 ($(objpfx)tst-cet-legacy-1a): New target.
10462 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10464 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10466 * conform/conformtest.py (CompileSubTest.__init__): Set
10467 self.run_early to False.
10468 (ExecuteSubTest.__init__): Likewise.
10469 (HeaderTests.run): Try running all non-optional, non-XFAILed
10470 compilation tests in a single execution of the compiler.
10472 * conform/conformtest.py (CompileSubTest): New class.
10473 (ExecuteSubTest): Likewise.
10474 (ElementTest.run): Rename to gen_subtests. Append tests to
10475 self.subtests instead of running them.
10476 (ConstantTest.run): Likewise.
10477 (SymbolTest.run): Likewise.
10478 (TypeTest.run): Likewise.
10479 (TagTest.run): Likewise.
10480 (FunctionTest.run): Likewise.
10481 (VariableTest.run): Likewise.
10482 (MacroFunctionTest.run): Likewise.
10483 (MacroStrTest.run): Likewise.
10484 (HeaderTests.handle_test_line): Generate subtests for tests.
10485 (HeaderTests.run): Run subtests for tests.
10487 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10489 * math/Versions (GLIBC_2.29): Add pow.
10490 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10492 * math/w_pow.c: New file.
10493 * sysdeps/i386/fpu/w_pow.c: New file.
10494 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10496 and add necessary aliases.
10497 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10498 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10499 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10504 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10505 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10506 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10507 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10508 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10516 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10517 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10518 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10519 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10520 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10521 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10525 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10526 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10527 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10529 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10531 * math/Versions (GLIBC_2.29): Add log2.
10532 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10534 * math/w_log2.c: New file.
10535 * sysdeps/i386/fpu/w_log2.c: New file.
10536 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10537 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10538 and add necessary aliases.
10539 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10540 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10541 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10544 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10547 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10549 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10551 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10566 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10568 * math/Versions (GLIBC_2.29): Add log.
10569 * math/w_log_compat.c (__log_compat): Change to versioned compat
10571 * math/w_log.c: New file.
10572 * sysdeps/i386/fpu/w_log.c: New file.
10573 * sysdeps/ia64/fpu/e_log.S: Update.
10574 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10575 and add necessary aliases.
10576 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10577 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10578 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10595 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10596 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10597 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10598 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10600 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10601 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10602 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10604 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10605 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10606 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10607 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10609 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10611 * math/Versions (GLIBC_2.29): Add exp and exp2.
10612 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10613 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10614 * math/w_exp_compat.c (__exp_compat): Likewise.
10615 * math/w_exp.c: New file.
10616 * math/w_exp2.c: New file.
10617 * sysdeps/i386/fpu/w_exp.c: New file.
10618 * sysdeps/i386/fpu/w_exp2.c: New file.
10619 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10620 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10622 and add necessary aliases.
10623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10624 and add necessary aliases.
10625 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10626 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10627 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10628 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10629 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10631 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10632 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10633 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10634 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10635 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10636 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10637 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10638 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10639 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10640 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10641 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10653 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10654 (__ieee754_exp): Rename to __exp.
10655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10656 (__ieee754_exp): Rename to __exp.
10657 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10658 (__ieee754_exp): Rename to __exp.
10659 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10661 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10663 2018-11-20 DJ Delorie <dj@redhat.com>
10665 * malloc/malloc.c (tcache_entry): Add key field.
10666 (tcache_put): Set it.
10667 (tcache_get): Likewise.
10668 (_int_free): Check for double free in tcache.
10669 * malloc/tst-tcfree1.c: New.
10670 * malloc/tst-tcfree2.c: New.
10671 * malloc/Makefile: Run the new tests.
10672 * manual/probes.texi: Document memory_tcache_double_free probe.
10674 * dlfcn/dlerror.c (check_free): Prevent double frees.
10676 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10678 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10680 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10682 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10683 in tests. Use names for format arguments.
10684 (ConstantTest.run): Likewise.
10685 (SymbolTest.run): Likewise.
10686 (TypeTest.run): Likewise.
10687 (TagTest.run): Likewise.
10688 (FunctionTest.run): Likewise.
10689 (VariableTest.run): Likewise.
10690 (MacroFunctionTest.run): Likewise.
10691 (MacroStrTest.run): Likewise.
10692 (HeaderTests.__init__): Set self.num_tests.
10693 (HeaderTests.handle_test_line): Set test.num. Increment
10696 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10698 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10699 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10702 2018-11-19 Mao Han <han_mao@c-sky.com>
10704 * scripts/config.guess: Update to version 2018-08-29.
10705 * scripts/config.sub: Update to version 2018-08-29.
10707 2018-11-19 Florian Weimer <fweimer@redhat.com>
10709 support: Print timestamps in timeout handler.
10710 * support/support_test_main.c (print_timestamp): New function.
10711 (signal_handler): Use it to print the termination time and the
10712 time of the last write to standard output.
10714 2018-11-16 Zack Weinberg <zackw@panix.com>
10715 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10717 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10718 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10720 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10721 and add flags argument. Check flags instead of __ldbl_is_dbl when
10722 deciding whether to set is_long_double.
10723 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10724 passing zero for flags argument.
10725 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10727 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10728 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10729 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10730 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10731 variable names. Remove libc_hidden_def/libc_hidden_proto from
10732 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10733 longer called from within the library.
10734 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10735 for __nldbl___vstrfmon_l, declare it explicitly.
10737 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10739 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10741 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10743 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10744 F_SETLK64, F_SETLKW64, respectively.
10745 * sysdeps/mach/hurd/f_setlk.c: New file.
10746 * sysdeps/mach/hurd/f_setlk.h: New file.
10747 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10749 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10750 (__libc_fcntl): Move non-flock operations to...
10751 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10752 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10754 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10756 mktime: DEBUG_MKTIME cleanup
10757 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10758 And it’s no longer needed now that glibc and Gnulib both have
10759 their own testing mechanisms for mktime.
10760 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10762 mktime: fix non-EOVERFLOW errno handling
10764 mktime was not properly reporting failures when the underlying
10765 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10766 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10767 The problem could happen on non-glibc platforms, with Gnulib.
10768 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10769 (tm_diff): ... this simpler function, which does not change errno.
10770 All callers changed to deal with errno themselves.
10771 (ranged_convert, __mktime_internal): Return failure immediately if
10772 the underlying function reports any failure other than EOVERFLOW.
10773 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10776 mktime: fix bug with Y2038 DST transition
10778 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10779 mishandle a DST transition that jumps over the Y2038 boundary.
10780 No such DST transitions are known so this is only a theoretical
10781 bug, but we might as well do things right.
10783 mktime: make more room for overflow
10785 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10786 This is so that we can add tm_diff results to a previous guess,
10787 which will be useful in a later patch.
10789 mktime: simplify offset guess
10791 * time/mktime.c (__mktime_internal): Omit excess precision.
10793 mktime: new test for mktime failure
10795 Based on a test suggested by Albert Aribaud in:
10796 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10797 * time/Makefile (tests): Add bug-mktime4.
10798 * time/bug-mktime4.c: New file.
10800 mktime: fix EOVERFLOW bug
10802 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10803 Include libc-config.h, not config.h, for __set_errno.
10804 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10806 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10808 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10809 __attribute_copy__ to copy attributes from name. Drop static qualifier
10810 to avoid warnings about leaf attribute not having effect on static
10813 2018-11-13 Florian Weimer <fweimer@redhat.com>
10815 * malloc/malloc.c (fastbin_push_entry): New function.
10816 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10817 (REMOVE_FB): Remove macro.
10818 (_int_malloc): Use fastbin_pop_entry and reindent.
10819 (_int_free): Use fastbin_push_entry.
10820 (malloc_consolidate): Use atomic_exchange_acquire.
10822 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10824 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10825 alias attribute, not with strong_alias.
10827 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10828 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10829 with additional parameter thread.
10830 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10831 in terms of __hidden_ver2.
10832 (hidden_tls_def): New macro.
10833 (libc_hidden_tls_def): Likewise.
10834 (rtld_hidden_tls_def): Likewise.
10835 (libm_hidden_tls_def): Likewise.
10836 (libmvec_hidden_tls_def): Likewise.
10837 (libresolv_hidden_tls_def): Likewise.
10838 (librt_hidden_tls_def): Likewise.
10839 (libdl_hidden_tls_def): Likewise.
10840 (libnss_files_hidden_tls_def): Likewise.
10841 (libnsl_hidden_tls_def): Likewise.
10842 (libnss_nisplus_hidden_tls_def): Likewise.
10843 (libutil_hidden_tls_def): Likewise.
10844 (libutil_hidden_tls_def): Likweise.
10845 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10846 libc_hidden_tls_def.
10847 (__sim_disabled_exceptions_thread): Likewise.
10848 (__sim_round_mode_thread): Likewise.
10850 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10851 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10852 copy attributes from name.
10854 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10856 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10857 Use __attribute_copy__ to copy attributes from name.
10859 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10860 with __hidden_ver1 call.
10861 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10862 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10863 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10864 (__cosf): Do not declare here.
10865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10866 (__sincosf): Do not declare here.
10867 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10868 (__sinf): Do not declare here.
10870 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10871 (__BIG_ENDIAN): Likewise.
10872 (__BYTE_ORDER): Likewise.
10873 (strong_alias): Likewise.
10874 (_strong_alias): Likewise.
10876 2018-11-12 Florian Weimer <fweimer@redhat.com>
10878 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10879 function. Move after the definition of in_smallbin_range. Do not
10880 use __builtin_expect for paths that lead to a noreturn function.
10881 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10882 because it is unclear whether this is in fact an unlikely
10884 (_int_malloc, _int_free): Adjust.
10885 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10887 * malloc/arena.c (heap_trim): Likewise.
10889 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10891 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10892 it, free it if needed.
10893 (reauthenticate): Test and use ccwdir.
10894 (child_init_port): In non-resetids case, test and use ccwdir.
10895 (child_chdir): New nested function to set ccwdir.
10896 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10897 * hurd/hurd/port.h (_hurd_port_move): New function.
10898 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10899 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10900 * hurd/Versions (_hurd_port_move): Export function.
10901 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10903 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10904 of dtablesize for allocating dtable_cloexec.
10906 2018-11-09 Martin Sebor <msebor@redhat.com>
10908 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10909 it's already defined.
10910 (_strong_alias): Use __attribute_copy__.
10911 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10912 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10913 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10914 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10915 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10916 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10917 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10918 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10919 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10920 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10921 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10922 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10923 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10924 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10925 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10926 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10927 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10928 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10929 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10931 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10933 * misc/tst-efgcvt.c: Include support/check.h and
10934 support/test-driver.c. Do not include test-skeleton.c.
10935 (error_count): Remove.
10936 (output_error): Replace increments to error_count with calls to
10937 support_record_failure.
10938 (output_r_error): Likewise.
10939 (special): Likewise.
10940 (do_test): Unconditionally return zero.
10941 (TEST_FUNCTION): Remove.
10943 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10945 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10947 ($(linknamespace-header-tests)): Likewise.
10949 * conform/conformtest.py: New file.
10950 * conform/conformtest.pl: Remove.
10951 * conform/GlibcConform.pm: Likewise.
10952 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10953 (KEYWORDS_C99): Likewise.
10954 (KEYWORDS): Likewise.
10955 * conform/Makefile ($(conformtest-header-tests)): Use
10956 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10957 option. Use --header instead of --headers.
10958 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10960 * conform/data/spawn.h-data: Likewise.
10961 * conform/data/fcntl.h-data (openat): Add space after function
10963 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10964 (wcscasecmp_l): Likewise.
10965 * conform/data/termios.h-data (c_cc): Add space after element
10968 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10970 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10971 instead of manually comparing and reporting mismatching strings.
10972 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10973 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10975 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10977 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10978 __ASSUME_SOCKETCALL.
10979 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10980 (__ASSUME_SOCKETCALL): Remove.
10981 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10982 (__ASSUME_SOCKETCALL): Likewise.
10983 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10984 (__ASSUME_SOCKETCALL): Likewise.
10985 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10986 (__ASSUME_SOCKETCALL): Likewise.
10987 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10988 (__ASSUME_SOCKETCALL): Likewise.
10989 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10990 (__ASSUME_SOCKETCALL): Likewise.
10991 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10992 (__ASSUME_SOCKETCALL): Likewise.
10994 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10997 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10998 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10999 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11000 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11001 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11004 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11007 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11009 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11012 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11013 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11015 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11017 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11019 * support/support_test_compare_string.c
11020 (support_test_compare_string): Fix printf format.
11022 2018-11-07 Florian Weimer <fweimer@redhat.com>
11024 Implement TEST_COMPARE_STRING.
11025 * support/check.h (TEST_COMPARE_STRING): Define.
11026 (support_test_compare_string): Declare.
11027 * support/Makefile (libsupport-routines): Add
11028 support_test_compare_string.
11029 (tests): Add tst-test_compare_string.
11030 * support/support_test_compare_string.c: New file.
11031 * support/tst-test_compare_string.c: Likewise.
11033 2018-11-07 Andreas Schwab <schwab@suse.de>
11036 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11037 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11040 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11044 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11045 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11046 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11049 2018-11-06 Florian Weimer <fweimer@redhat.com>
11052 * posix/Makefile (routines): Add spawn_faction_addchdir.
11053 (tests): Add tst-spawn-chdir.
11054 * posix/Versions (GLIBC_2.29): Add
11055 posix_spawn_file_actions_addchdir_np.
11056 * posix/spawn_faction_addchdir.c: New file.
11057 * posix/spawn_faction_destroy.c
11058 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11059 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11060 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11062 * posix/tst-spawn-chdir.c: New file.
11063 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11064 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11065 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11066 posix_spawn_file_actions_addchdir_np.
11067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11069 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11071 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11072 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11074 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11076 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11078 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11080 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11082 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11084 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11085 (GLIBC_2.29): Likewise.
11086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11087 (GLIBC_2.29): Likewise.
11088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11089 (GLIBC_2.29): Likewise.
11090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11091 (GLIBC_2.29): Likewise.
11092 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11095 (GLIBC_2.29): Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11097 (GLIBC_2.29): Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11099 (GLIBC_2.29): Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11101 (GLIBC_2.29): Likewise.
11102 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11104 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11108 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11111 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11118 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11120 * misc/Makefile (tests): Add tst-ldbl-error.
11121 * misc/tst-ldbl-error.c: New file.
11123 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11125 * misc/Makefile (tests): Add tst-ldbl-warn.
11126 * misc/tst-ldbl-warn.c: New file.
11128 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11130 * argp/Makefile (tests): Add tst-ldbl-argp.
11131 * argp/tst-ldbl-argp.c: New file.
11133 2018-11-05 Arjun Shankar <arjun@redhat.com>
11135 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11136 __gconv_path_elem and call __gconv_get_path unconditionally.
11138 2018-11-05 Andreas Schwab <schwab@suse.de>
11141 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11142 creating the first helper thread failed.
11144 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11146 * sysdeps/mach/hurd/msync.c: New file.
11148 2018-11-02 Florian Weimer <fweimer@redhat.com>
11150 * support/shell-container.c (copy_func): Call
11151 support_copy_file_range instead of copy_file_range to support
11152 cross-device copies.
11154 2018-11-02 Florian Weimer <fweimer@redhat.com>
11156 * support/test-container.c: Include <libc-pointer-arith.h> for
11159 2018-11-01 Zong Li <zong@andestech.com>
11161 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11162 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11163 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11164 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11166 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11167 variable to avoid overlap arguments.
11169 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11171 * posix/bug-regex22.c (main): Use puts with distinct error
11172 messages for unexpected success of re_compile_pattern, not printf
11173 with NULL argument to %s.
11175 * stdio-common/bug22.c: Include <libc-diag.h>.
11176 (do_test): Disable -Wformat-overflow= warnings around fprintf
11177 calls outputting more than INT_MAX characters.
11178 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11179 around printf call with NULL %s argument.
11182 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11183 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11185 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11186 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11187 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11188 (__ASSUME_SENDTO_SYSCALL): Likewise.
11189 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11190 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11192 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11193 (__ASSUME_CONNECT_SYSCALL): Likewise.
11194 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11195 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11196 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11198 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11200 [__LINUX_KERNEL_VERSION >= 0x040400]
11201 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11202 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11204 (listen): Likewise.
11205 (setsockopt): Likewise.
11207 2018-11-01 Fredrik Noring <noring@nocrew.org>
11209 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11210 with the ISA override.
11212 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11214 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11217 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11219 * manual/errno.texi (EIEIO): Document how translators should
11220 translate the error message.
11221 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11222 printing trailing whitespaces refused by git.
11223 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11224 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11225 * hurd/Makefile (user-interfaces): Add pci.
11227 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11229 * conform/linknamespace.py: New file.
11230 * conform/linknamespace.pl: Remove file.
11231 * conform/Makefile ($(linknamespace-header-tests)): Use
11232 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11235 2018-10-30 Florian Weimer <fweimer@redhat.com>
11237 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11240 2018-10-30 Florian Weimer <fweimer@redhat.com>
11242 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11244 2018-10-30 Florian Weimer <fweimer@redhat.com>
11246 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11247 support_blob_repeat.
11249 2018-10-30 Florian Weimer <fweimer@redhat.com>
11251 Avoid spurious test failures in stdlib/test-bz22786.
11252 * support/Makefile (libsupport-routines): Add blob_repeat.
11253 (tests): Add tst-support_blob_repeat.
11254 * support/blob_repeat.h: New file.
11255 * support/blob_repeat.c: Likewise.
11256 * support/tst-support_blob_repeat.c: Likewise.
11257 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11258 support_blob_repeat_allocate.
11260 2018-10-30 Andreas Schwab <schwab@suse.de>
11263 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11264 Don't use tail call.
11265 * elf/tst-unwind-main.c: New file.
11266 * elf/Makefile (tests): Add tst-unwind-main.
11267 (CFLAGS-tst-unwind-main.c): Define.
11269 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11272 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11273 n_cs_precedes to 0.
11274 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11276 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11278 * conform/glibcconform.py: Do not import shutil.
11279 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11282 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11283 critic_missing for versions before 3.4.
11284 * configure: Regenerated.
11285 * manual/install.texi (Tools for Compilation): Document
11286 requirement for Python to build glibc.
11287 * INSTALL: Regenerated.
11288 * Rules [PYTHON]: Make code unconditional.
11289 * benchtests/Makefile [PYTHON]: Likewise.
11290 * conform/Makefile [PYTHON]: Likewise.
11291 * manual/Makefile [PYTHON]: Likewise.
11292 * math/Makefile [PYTHON]: Likewise.
11294 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11296 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11297 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11298 answer to interrupt_operation, return EIEIO instead of EINTR.
11299 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11300 _hurd_intr_rpc_msg_about_to global point to start of controlled
11301 assembly snippet. Make it check canceled flag.
11302 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11303 the _hurd_intr_rpc_msg_about_to point.
11304 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11305 issue, remove cancel flag check.
11307 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11309 * scripts/build-many-glibcs.py: Remove compatibility for missing
11310 os.cpu_count and re.fullmatch.
11312 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11315 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11316 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11317 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11319 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11321 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11324 2018-10-25 Florian Weimer <fweimer@redhat.com>
11328 XFAIL siginfo_t si_band conform test on sparc64.
11329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11330 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11331 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11332 (conformtest-xfail-conds): Add sparc64-linux.
11333 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11335 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11337 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11339 * elf/elf.h (NT_MIPS_DSP): New macro.
11340 (NT_MIPS_FP_MODE): Likewise.
11342 2018-10-25 Zong Li <zong@andestech.com>
11344 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11345 name by adding the file extension (.so).
11347 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11349 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11350 (test-xfail-ISO11/threads.h/linknamespace,
11351 test-xfail-ISO11/threads.h/conform): Add.
11353 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11355 * math/gen-libm-test.py: Import os.
11356 (ALL_FLOATS_MANUAL): New constant.
11357 (ALL_FLOATS_SUFFIX): Likewise.
11358 (Ulps.all_functions): New function.
11359 (real_all_ulps): Likewise.
11360 (generate_err_table_sub): Likewise.
11361 (generate_err_table): Likewise.
11362 (main): Handle -s and -m options.
11363 * manual/libm-err-tab.pl: Remove.
11364 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11365 instead of libm-err-tab.pl.
11366 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11368 * manual/install.texi (Tools for Compilation): Document
11369 requirement for Python to build manual.
11370 * INSTALL: Regenerated.
11372 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11374 * bits/time64.h: New file.
11375 * include/time.h: Replace internal_time_t with __time64_t.
11376 * posix/bits/types (__time64_t): Add.
11377 * stdlib/Makefile: Add bits/time64.h to includes.
11378 * time/tzfile.c: Replace internal_time_t with __time64_t.
11380 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11382 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11383 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11384 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11385 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11386 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11388 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11389 * posix/spawn_faction_addclose.c
11390 (__posix_spawn_file_actions_addclose): Add hidden definition.
11391 * posix/spawn_faction_adddup2.c
11392 (__posix_spawn_file_actions_adddup2): Likewise.
11393 * posix/spawn_faction_destroy.c
11394 (__posix_spawn_file_actions_destroy): Likewise.
11395 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11397 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11398 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11399 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11401 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11402 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11405 2018-10-24 Andreas Schwab <schwab@suse.de>
11408 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11410 * elf/cache.c (print_cache): Likewise.
11412 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11414 * bits/timesize.h: New file.
11415 * stdlib/Makefile (headers): Add bits/timesize.h.
11416 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11417 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11418 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11419 (__SEM_PAD_AFTER_TIME): Likewise.
11420 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11421 (__SHM_PAD_AFTER_TIME): Likewise.
11422 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11423 (__MSQ_PAD_BEFORE_TIME): Likewise.
11424 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11425 (__SEM_PAD_BEFORE_TIME): Likewise.
11426 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11427 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11428 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11429 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11431 (__MSQ_PAD_BEFORE_TIME): Likewise.
11432 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11433 (__SEM_PAD_BEFORE_TIME): Likewise.
11434 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11435 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11437 (__MSQ_PAD_BEFORE_TIME): Likewise.
11438 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11439 (__SEM_PAD_BEFORE_TIME): Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11441 (__SHM_PAD_BEFORE_TIME): Likewise.
11442 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11443 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11444 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11446 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11448 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11449 USE_RDTSCP is defined.
11450 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11451 USE_RDTSCP is defined.
11453 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11455 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11459 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11460 independently of other flags.
11462 2018-10-23 Florian Weimer <fweimer@redhat.com>
11464 * time/tst-mktime2.c (N_STRINGS): Remove.
11465 (set_timezone): New function.
11466 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11467 (mktime_test1): Report localtime failure and check errno value.
11469 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11470 (do_test): Remove alarm call. Use set_timezone and array_length.
11472 2018-10-23 Andreas Schwab <schwab@suse.de>
11474 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11475 (__start_context): Use END instead of PSEUDO_END.
11477 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11482 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11486 * wcsmbs/c32rtomb.c: New file.
11487 * wcsmbs/mbrtoc32.c: Likewise.
11488 * wcsmbs/tst-c32-state.c: Likewise.
11489 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11490 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11491 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11492 (tests): Add tst-c32-state.
11493 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11496 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11498 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11499 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11501 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11504 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11505 pair and return 0 in that case, and use saved character to
11506 interpret following character.
11507 * wcsmbs/tst-c16-surrogate.c: New file.
11508 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11509 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11510 Depend on $(gen-locales)
11512 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11515 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11516 (struct siginfo_t): Use correct type for si_band.
11518 2018-10-19 Florian Weimer <fweimer@redhat.com>
11521 * resource/bits/types/struct_rusage.h (struct rusage): Update
11522 comment on struct. Remove extraneous field comment.
11524 2018-10-18 David S. Miller <davem@davemloft.net>
11526 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11527 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11528 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11529 sysdep_routines in subdir elf.
11530 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11531 version for __vdso_clock_gettime.
11532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11534 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11535 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11537 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11539 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11541 * sysdeps/i386/init-arch.h: Removed.
11542 * sysdeps/i386/i586/init-arch.h: Likewise.
11543 * sysdeps/i386/i686/init-arch.h: Likewise.
11544 * sysdeps/i386/i686/hp-timing.h: Likewise.
11545 * sysdeps/x86_64/hp-timing.h: Likewise.
11546 * sysdeps/i386/isa.h: New file.
11547 * sysdeps/i386/i586/isa.h: Likewise.
11548 * sysdeps/i386/i686/isa.h: Likewise.
11549 * sysdeps/x86_64/isa.h: Likewise.
11550 * sysdeps/x86/hp-timing.h: New file.
11551 * sysdeps/x86/init-arch.h: Include <isa.h>.
11553 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11555 * math/libm-test-pow.inc (pow_test_data): Do not allow
11556 divide-by-zero exception for pow(+/- 0, -Inf).
11558 2018-10-17 Zack Weinberg <zackw@panix.com>
11560 * manual/job.texi (Job Control is Optional): Remove node, as
11561 job control has not been optional in quite some time.
11562 (Job Control): Mention briefly that systems older than
11563 POSIX.1-2001 might not support job control.
11564 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11565 defined on systems conforming to POSIX.1-2001.
11567 2018-10-17 Arjun Shankar <arjun@redhat.com>
11570 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11572 * (__gconv_read_conf): Mark function static.
11573 * (once): New static variable.
11574 * (__gconv_load_conf): New function.
11575 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11576 * iconv/gconv_db.c (once): Remove static variable.
11577 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11579 * (__gconv_find_transform): Likewise.
11580 * iconv/tst-iconv-mt.c: New test.
11581 * iconv/Makefile: Add tst-iconv_mt.
11583 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11587 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11588 (shmatt_t): Define as __syscall_ulong_t.
11589 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11590 and [__SHM_PAD_AFTER_TIME].
11591 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11592 Define shm_segsz and associated padding based on
11593 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11594 Use __syscall_ulong_t instead of unsigned long int.
11595 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11597 [__USE_MISC] (struct shm_info): Likewise.
11598 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11599 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11600 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11602 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11603 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11604 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11605 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11607 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11608 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11612 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11613 (SHMLBA): Remove macro.
11614 (__getpagesize): Remove function declaration.
11615 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11617 (SHMLBA): Remove macro.
11618 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11620 (SHMLBA): Remove macro.
11621 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11623 (SHMLBA): Remove macro.
11624 (__getpagesize): Remove function declaration.
11625 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11627 (SHMLBA): Remove macro.
11628 (__getshmlba): Remove function declaration.
11629 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11630 (SHMLBA): Remove macro.
11631 (__getpagesize): Remove function declaration.
11632 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11633 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11634 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11635 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11636 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11637 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11638 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11639 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11640 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11641 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11643 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11646 * nptl/tst-mutex10.c: New File.
11647 * nptl/Makefile (tests): Add tst-mutex10.
11648 (tst-mutex10-ENV): New variable.
11649 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11650 Ensure that elision path is used if elision is available.
11651 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11653 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11655 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11656 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11657 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11658 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11660 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11661 (__pthread_mutex_cond_lock_adjust): Likewise.
11662 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11664 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11665 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11666 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11667 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11669 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11670 Use atomic_load_relaxed and atomic_store_relaxed.
11671 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11672 Use atomic_store_relaxed.
11674 2018-10-17 Andreas Schwab <schwab@suse.de>
11676 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11677 * crypt/badsalttest.c (TIMEOUT): Likewise.
11678 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11679 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11680 * io/test-lfs.c (TIMEOUT): Likewise.
11681 * libio/tst-atime.c (TIMEOUT): Likewise.
11682 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11683 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11684 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11685 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11686 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11687 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11688 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11689 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11690 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11691 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11692 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11693 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11694 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11695 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11696 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11697 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11698 * nptl/tst-once2.c (TIMEOUT): Likewise.
11699 * nptl/tst-once3.c (TIMEOUT): Likewise.
11700 * nptl/tst-once4.c (TIMEOUT): Likewise.
11701 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11702 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11703 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11704 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11705 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11706 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11707 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11708 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11709 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11710 * posix/tst-chmod.c (TIMEOUT): Likewise.
11711 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11712 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11713 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11714 * posix/tst-regex2.c (TIMEOUT): Likewise.
11715 * posix/tst-waitid.c (TIMEOUT): Likewise.
11716 * rt/tst-aio.c (TIMEOUT): Likewise.
11717 * rt/tst-aio10.c (TIMEOUT): Likewise.
11718 * rt/tst-aio4.c (TIMEOUT): Likewise.
11719 * rt/tst-aio5.c (TIMEOUT): Likewise.
11720 * rt/tst-aio6.c (TIMEOUT): Likewise.
11721 * rt/tst-aio64.c (TIMEOUT): Likewise.
11722 * rt/tst-aio7.c (TIMEOUT): Likewise.
11723 * rt/tst-aio9.c (TIMEOUT): Likewise.
11724 * rt/tst-clock.c (TIMEOUT): Likewise.
11725 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11726 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11727 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11728 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11729 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11730 * rt/tst-timer4.c (TIMEOUT): Likewise.
11731 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11732 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11733 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11734 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11735 * time/tst-ftime.c (TIMEOUT): Likewise.
11736 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11738 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11740 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11741 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11744 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11748 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11749 instead of <bits/wordsize.h>.
11750 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11751 and [__SEM_PAD_AFTER_TIME].
11752 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11753 __syscall_ulong_t instead of unsigned long int.
11754 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11755 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11756 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11757 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11759 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11760 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11761 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11762 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11763 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11764 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11766 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11768 regex: simplify by using intprops.h
11770 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11771 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11772 intprops.h defines them.
11774 regex: __builtin_expect → __glibc_unlikely
11776 This refactoring was prompted by a problem when the regex code is
11777 used as part of Gnulib and when the builder’s compiler does not grok
11778 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11779 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11780 Although this refactoring does not fix the problem directly,
11781 we might as well have Gawk use the now-preferred glibc style for when
11782 __builtin_expect is unavailable.
11783 * posix/regex_internal.h (BE): Remove.
11784 All uses replaced by __glibc_unlikely or __glibc_likely.
11786 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11790 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11791 instead of <bits/wordsize.h>.
11792 (msgqnum_t): Define as __syscall_ulong_t.
11793 (msglen_t): Likewise.
11794 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11795 and [__MSQ_PAD_AFTER_TIME].
11796 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11797 __syscall_ulong_t instead of unsigned long int.
11798 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11799 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11800 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11801 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11802 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11803 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11804 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11805 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11806 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11807 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11808 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11810 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11812 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11813 (struct shmid_ds): Condition padding after time fields on
11814 [__WORDSIZE == 32].
11815 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11816 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11817 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11819 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11820 (struct semid_ds): Condition padding after time fields on
11821 [__WORDSIZE == 32].
11822 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11823 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11824 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11825 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11827 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11828 (struct msqid_ds): Condition padding after time fields on
11829 [__WORDSIZE == 32].
11830 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11831 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11832 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11833 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11835 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11837 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11839 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11841 * libio/tst-readline.c (TIMEOUT): Define.
11843 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11845 mktime fix for Gnulib + coreutils
11847 This fix affects only Gnulib. Problem discovered when
11848 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11850 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11851 Do not define since it is not used. Defining an unused static
11852 function prompts a warning from GCC when Coreutils is configured
11853 with --enable-gcc-warnings.
11855 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11857 * benchtests/scripts/compare_bench.py (main): set float type on
11858 threshold argument.
11860 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11863 * localedata/locales/kl_GL (mon): Update, the relative case.
11864 (alt_mon): Add, fill with month names in the nominative case.
11865 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11866 (d_fmt): Set to "%b %d %Y".
11868 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11871 <bits/mman-linux.h>.
11872 (PROT_READ): Don't define here.
11873 (PROT_WRITE): Likewise.
11874 (PROT_EXEC): Likewise.
11875 (PROT_NONE): Likewise.
11876 (PROT_GROWSDOWN): Likewise.
11877 (PROT_GROWSUP): Likewise.
11878 (MAP_SHARED): Likewise.
11879 (MAP_PRIVATE): Likewise.
11880 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11881 [__USE_MISC] (MAP_FILE): Likewise.
11882 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11883 [__USE_MISC] (MAP_ANON): Likewise.
11884 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11885 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11886 (MCL_CURRENT): Likewise.
11887 (MCL_FUTURE): Likewise.
11888 (MCL_ONFAULT): Likewise.
11889 [__USE_MISC] (MADV_NORMAL): Likewise.
11890 [__USE_MISC] (MADV_RANDOM): Likewise.
11891 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11892 [__USE_MISC] (MADV_WILLNEED): Likewise.
11893 [__USE_MISC] (MADV_DONTNEED): Likewise.
11894 [__USE_MISC] (MADV_FREE): Likewise.
11895 [__USE_MISC] (MADV_REMOVE): Likewise.
11896 [__USE_MISC] (MADV_DONTFORK): Likewise.
11897 [__USE_MISC] (MADV_DOFORK): Likewise.
11898 [__USE_MISC] (MADV_HWPOISON): Likewise.
11899 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11900 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11901 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11902 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11903 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11904 (__MAP_ANONYMOUS): New macro.
11905 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11906 <bits/mman-linux.h> inclusion.
11907 (MAP_FIXED): Likewise.
11908 (MS_SYNC): Likewise.
11909 (MS_ASYNC): Likewise.
11910 (MS_INVALIDATE): Likewise.
11911 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11912 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11913 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11914 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11915 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11916 [__USE_MISC] (MADV_DODUMP): Likewise.
11917 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11918 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11923 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11924 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11925 Add test-nldbl-redirect.
11926 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11927 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11928 $(objpfx)libnldbl_nonshared.a.
11930 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11932 * support/support.h (support_objdir_elf_ldso): New variable.
11933 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11934 * support/Makefile (CFLAGS-support_paths.c): Add definition
11935 for OBJDIR_ELF_LDSO_PATH.
11936 * support/test-container.c (main): Search for the ld.so
11937 which is also used by the testsuite.
11939 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11942 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11943 should be "sap" rather than "sab".
11944 (day): Fix spelling of Sunday, should be "sapaat" rather than
11947 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11949 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11951 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11954 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11955 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11956 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11958 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11960 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11962 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11964 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11966 (CFLAGS-elision-unlock.c): Likewise.
11967 (CFLAGS-elision-timed.c): Likewise.
11968 (CFLAGS-elision-trylock.c): Likewise.
11969 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11971 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11974 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11975 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11976 new fd_to_filename interface.
11977 * libio/freopen64.c (freopen64): Likewise.
11978 * libio/tst-memstream.h: New file.
11979 * libio/tst-memstream4.c: Likewise.
11980 * libio/tst-wmemstream4.c: Likewise.
11981 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11982 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11983 and remove internal dynamic allocation.
11985 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11987 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11988 (MREMAP_MAYMOVE): Do not define here.
11989 [__USE_GNU] (MREMAP_FIXED): Likewise.
11990 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11991 (MREMAP_MAYMOVE): Define here instead.
11992 [__USE_GNU] (MREMAP_FIXED): Likewise.
11993 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11994 (MREMAP_MAYMOVE): Remove.
11995 [__USE_GNU] (MREMAP_FIXED): Likewise.
11997 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11999 * math/fromfp.h: Do not include <math_private.h>.
12000 * math/s_cacosh_template.c: Likewise.
12001 * math/s_casin_template.c: Likewise.
12002 * math/s_casinh_template.c: Likewise.
12003 * math/s_ccos_template.c: Likewise.
12004 * math/s_cproj_template.c: Likewise.
12005 * math/s_fdim_template.c: Likewise.
12006 * math/s_fmaxmag_template.c: Likewise.
12007 * math/s_fminmag_template.c: Likewise.
12008 * math/s_iseqsig_template.c: Likewise.
12009 * math/s_ldexp_template.c: Likewise.
12010 * math/s_nextdown_template.c: Likewise.
12011 * math/w_log1p_template.c: Likewise.
12012 * math/w_scalbln_template.c: Likewise.
12013 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12014 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12015 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12016 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12017 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12018 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12019 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12020 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12021 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12022 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12023 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12024 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12025 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12026 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12027 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12028 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12029 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12034 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12035 * sysdeps/ieee754/k_standardf.c: Likewise.
12036 * sysdeps/ieee754/k_standardl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12038 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12039 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12040 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12041 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12045 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12046 * sysdeps/ieee754/s_signgam.c: Likewise.
12047 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12048 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12049 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12050 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12051 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12052 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12053 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12054 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12055 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12056 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12057 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12058 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12059 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12060 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12061 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12062 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12063 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12064 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12065 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12066 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12067 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12068 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12069 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12070 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12071 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12072 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12073 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12074 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12075 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12076 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12077 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12078 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12079 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12080 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12081 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12082 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12083 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12085 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12087 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12090 * sysdeps/i386/dl-cet.c: Removed.
12091 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12093 (_dl_runtime_profile_shstk): Likewise.
12094 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12095 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12097 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12100 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12101 do_test_with_invalid_iov): New tests.
12102 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12103 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12104 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12106 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12107 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12108 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12110 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12112 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12113 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12114 (MATH_REDIRECT_BINARY_ARGS): New macro.
12115 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12116 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12117 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12119 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12121 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12122 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12132 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12133 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12138 * sysdeps/generic/math_private_calls.h
12139 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12140 Do not declare and define as an inline function.
12141 * math/divtc3.c (__divtc3): Use copysign functions instead of
12142 __copysign variants.
12143 * math/multc3.c (__multc3): Likewise.
12144 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12145 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12146 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12147 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12149 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12150 (__ieee754_yn): Likewise.
12151 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12152 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12153 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12154 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12155 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12157 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12164 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12165 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12167 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12168 (__ieee754_ynf): Likewise.
12169 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12170 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12172 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12174 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12175 (__ieee754_ynl): Likewise.
12176 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12177 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12181 (__ieee754_ynl): Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12185 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12190 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12191 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12192 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12193 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12195 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12196 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12197 using MATH_REDIRECT.
12198 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12200 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12203 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12204 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12211 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12212 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12214 (round): Redirect to __round.
12215 (__roundl): Call round instead of __round.
12216 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12218 [_ARCH_PWR5X] (__roundf): Likewise.
12219 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12220 functions instead of __round variants.
12221 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12222 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12226 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12228 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12231 (__ieee754_expl): Call roundl instead of __roundl.
12233 2018-09-27 Andreas Schwab <schwab@suse.de>
12236 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12237 (do_test): Make st1 static.
12239 2018-09-26 Andreas Schwab <schwab@suse.de>
12242 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12243 * elf/Makefile (tests): Add tst-unwind-ctor.
12244 (modules-names): Add tst-unwind-ctor-lib.
12245 ($(objpfx)tst-unwind-ctor): Depend on
12246 $(objpfx)tst-unwind-ctor-lib.so.
12248 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12250 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12251 file. Most contents moved from ....
12252 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12253 and include <bits/mman-map-flags-generic.h>.
12254 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12255 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12256 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12257 <bits/mman-map-flags-generic.h>.
12258 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12259 macros defined in <bits/mman-map-flags-generic.h>.
12260 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12261 <bits/mman-map-flags-generic.h>.
12262 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12263 defined in <bits/mman-map-flags-generic.h>.
12265 2018-09-26 Andreas Schwab <schwab@suse.de>
12267 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12270 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12271 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12272 Fangrui Song <maskray@google.com>
12275 * config.make.in (have-textrel_ifunc): New define.
12276 * configure.ac: Add check if linker supports textrel relocation with
12278 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12280 (CFLAGS-tst-ifunc-textrel.c): New rule.
12281 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12282 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12283 * elf/tst-ifunc-textrel.c: New file.
12285 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12287 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12288 <bits/procfs-prregset.h>.
12289 (prgregset_t): Define using __prgregset_t.
12290 (prfpregset_t): Define using __prfpregset_t.
12291 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12292 (sysdep_headers): Add bits/procfs-prregset.h.
12293 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12294 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12295 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12296 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12298 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12299 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12300 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12302 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12303 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12304 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12305 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12306 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12307 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12308 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12309 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12312 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12313 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12314 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12315 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12317 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12318 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12319 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12320 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12321 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12322 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12323 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12324 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12327 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12328 AArch64 version. Include <bits/procfs.h>.
12329 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12330 (sysdep_headers): Add bits/procfs.h.
12331 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12332 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12333 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12334 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12335 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12336 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12337 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12338 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12339 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12340 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12341 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12342 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12343 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12344 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12345 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12346 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12347 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12349 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12351 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12354 2018-09-25 Arjun Shankar <arjun@redhat.com>
12356 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12357 (__gconv_max_path_elem_len): Likewise.
12358 (__gconv_nmodules): Likewise.
12359 (__gconv_get_path): Likewise.
12360 (path_elem): Move to ...
12361 * iconv/gconv_conf.c: ... here.
12362 (__gconv_get_path): Mark function static.
12363 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12364 * iconv/gconv_open.c: ... here.
12366 2018-09-24 Andreas Schwab <schwab@suse.de>
12368 * scripts/haveversions.awk: New file.
12369 * Makerules ($(common-objpfx)Versions.def)
12370 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12371 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12373 * Makeconfig ($(common-objpfx)Versions.def)
12374 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12375 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12377 ($(common-objpfx)Versions.mk): New rule. Include it.
12378 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12379 Emit error if build-obsolete-nsl = yes.
12380 * manual/install.texi (Configuring and compiling): Describe
12381 --enable-obsolete-nsl as unavaiable after version 2.28.
12382 * INSTALL: Regenerate.
12384 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12386 * NEWS: Add note about new TLE support on powerpc64le.
12387 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12388 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12390 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12391 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12392 * sysdeps/powerpc/powerpc32/sysdep.h,
12393 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12394 ABORT_TRANSACTION): Remove macros.
12395 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12396 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12397 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12399 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12400 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12402 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12404 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12407 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12408 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12409 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12410 which is the same as in it_IT.
12411 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12412 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12414 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12416 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12417 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12418 using MATH_REDIRECT.
12419 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12421 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12423 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12431 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12432 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12433 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12434 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12435 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12436 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12437 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12439 (ceil): Redirect to __ceil.
12440 (floor): Redirect to __floor.
12441 (trunc): Redirect to __trunc.
12442 (__truncl): Call trunc instead of __trunc.
12443 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12445 [_ARCH_PWR5X] (__truncf): Likewise.
12446 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12447 trunc functions instead of __trunc variants.
12448 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12452 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12457 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12458 [__i586__ || __pentium__].
12459 [__i486__]: Handle explicitly.
12460 (HAS_CPUID): Define to 1 if above macros are undefined.
12461 (HAS_I586): Likewise.
12462 (HAS_I686): Likewise.
12464 2018-09-20 Florian Weimer <fweimer@redhat.com>
12466 * misc/tst-gethostid.c: New file.
12467 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12468 (tst-gethostid): Link with -ldl.
12470 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12472 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12473 value from gethostbyname_r.
12475 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12477 * stdlib/tst-setcontext9.c (f1): Rename to...
12479 (f1b): New function implementing lower half of f1 in alternate stack.
12481 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12483 Fix mktime localtime offset confusion
12485 * include/time.h (__mktime_internal): The localtime offset is now
12486 of type long int instead of time_t. This is the longstanding type
12487 in glibc, and it is more than enough to represent difference
12488 between localtime and gmtime even if it is 32 bits and time_t is
12489 64. Changing it now will let us avoid an unnecessary change when
12490 time_t is widened to 64 bits on 32-bit platforms.
12491 * time/mktime-internal.h (mktime_offset_t): Now long int.
12493 Merge mktime, timegm from upstream Gnulib
12494 [BZ #23603][BZ #16346]
12495 This fixes some obscure problems with integer overflow.
12496 Although it looks scary, it is almost all a byte-for-byte copy
12497 from Gnulib, and the Gnulib code has been tested reasonably well.
12498 * include/intprops.h: New file, copied from Gnulib.
12499 * include/verify.h, time/mktime-internal.h:
12500 New tiny files, simplified from Gnulib.
12501 * time/mktime.c: Copy from Gnulib. This has the following changes:
12502 Do not include config.h if DEBUG_MKTIME is nonzero.
12503 Include stdbool.h, intprops.h, verify.h.
12504 Include string.h only if needed.
12505 Include stdlib.h on MS-Windows.
12506 Include mktime-internal.h.
12507 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12508 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12509 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12510 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12511 simplify later conditionals; default the others to zero. Use
12512 these conditionals to express only the code needed on the current
12513 platform. In uses of these conditionals, explicitly spell out how
12514 _LIBC affects things, so it’s easier to review from a glibc
12516 (WRAPV): Remove; no longer needed now that we have
12517 systematic overflow checking.
12518 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12519 compartmentalize tzset issues. Move system-dependent tzsettish
12520 code here from mktime.
12521 (verify): Remove; now done by verify.h. All uses changed.
12522 (long_int): Use a more-conservative definition, to avoid
12524 (SHR): Remove, replacing with ...
12525 (shr): New function, which means we needn’t worry about side
12526 effects in args, and conversion analysis is simpler.
12527 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12528 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12529 (time_t_avg, time_t_add_ok): Remove.
12530 (mktime_min, mktime_max): New constants.
12531 (leapyear, isdst_differ): Use bool for booleans.
12532 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12533 Use long_int, not time_t, for mktime differences.
12534 (long_int_avg): New function, replacing time_t_avg.
12535 INT_ADD_WRAPV replaces time_t_add_ok.
12536 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12538 (convert_time): New function.
12539 (ranged_convert): Use it.
12540 (__mktime_internal): Last arg now points to mktime_offset_t, not
12541 time_t. All uses changed. This is a no-op on glibc, where
12542 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12543 offset guess. Directly check for integer overflow instead of
12544 using a heuristic that works only 99.9...% of the time.
12545 Access *OFFSET only once, to avoid an unlikely race if the
12546 compiler delays a load and if this cascades into a signed integer
12548 (mktime): Move tzsettish code to my_tzset, and move
12549 localtime_offset to within mktime so that it doesn’t
12550 need a separate ifdef.
12551 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12552 instead of localtime.
12553 * time/timegm.c: Copy from Gnulib. This has the following changes:
12554 Include mktime-internal.h.
12555 [!_LIBC]: Include config.h and time.h. Do not include
12556 timegm.h or time_r.h. Make __mktime_internal a macro,
12557 and include mktime-internal.h to get its declaration.
12558 (timegm): Temporary is now mktime_offset_t, not time_t.
12559 This affects only Gnulib.
12561 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12564 * string/test-strstr.c (pr23637): New function.
12565 (test_main): Add tests with longer needles.
12566 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12567 * string/strstr.c (AVAILABLE): Likewise.
12569 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12571 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12573 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12575 * NEWS: Mention pow improvements.
12576 * math/Makefile (type-double-routines): Add e_pow_log_data.
12577 * sysdeps/generic/math_private.h (__exp1): Remove.
12578 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12579 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12580 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12582 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12583 (exp_inline): Remove.
12584 (__ieee754_exp): Only single double input is handled.
12585 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12586 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12587 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12588 (__pow_log_data): Define.
12589 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12590 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12591 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12592 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12594 (CFLAGS-e_pow-fma4.c): Likewise.
12596 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12598 Simplify tzfile fstat failure code
12600 * time/tzfile.c (__tzfile_read): Simplify slightly.
12602 Fix tzfile low-memory assertion failure
12604 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12605 when registering time zone abbreviations.
12607 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12609 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12610 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12611 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12612 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12613 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12614 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12615 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12616 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12621 (__ceill): Call ceil instead of __ceil.
12622 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12624 (__floorl): Call floor instead of __floor.
12626 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12628 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12629 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12630 using MATH_REDIRECT.
12631 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12633 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12636 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12640 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12645 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12646 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12649 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12650 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12651 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12653 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12654 functions instead of __ceil variants.
12655 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12660 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12661 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12663 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12664 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12667 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12669 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12670 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12671 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12672 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12673 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12674 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12675 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12676 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12677 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12678 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12679 (ILL_BADIADDR): Remove constant.
12680 (TRAP_BRANCH): Likewise.
12681 (TRAP_HWBKPT): Likewise.
12683 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12686 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12687 Remove [_MIPS_SIM = _ABIN32] conditional case.
12688 (struct elf_prpsinfo): Likewise.
12691 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12692 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12693 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12695 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12696 elf_prpsinfo): Likewise.
12697 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12698 elf_prpsinfo): Likewise.
12699 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12702 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12703 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12704 using MATH_REDIRECT.
12705 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12707 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12708 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12709 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12710 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12713 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12714 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12717 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12718 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12719 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12720 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12721 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12722 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12723 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12724 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12725 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12730 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12731 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12732 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12733 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12735 * math/e_scalbf.c (invalid_fn): Likewise.
12736 * math/e_scalbl.c (invalid_fn): Likewise.
12737 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12739 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12742 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12747 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12749 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12750 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12752 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12753 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12755 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12756 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12757 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12758 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12759 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12760 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12761 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12762 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12763 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12764 && !NO_MATH_REDIRECT] (floor): Likewise.
12765 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12767 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12770 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12774 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12779 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12780 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12783 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12784 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12785 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12787 [_ARCH_PWR5X] (__floorf): Likewise.
12788 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12790 [__SSE4_1__] (__floorf): Likewise.
12791 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12792 instead of __floor variants.
12793 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12794 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12795 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12796 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12797 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12798 * math/w_tgamma_compat.c (__tgamma): Likewise.
12799 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12800 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12801 * math/w_tgammal_compat.c (__tgammal): Likewise.
12802 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12805 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12807 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12810 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12811 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12813 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12819 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12821 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12822 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12823 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12824 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12826 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12828 * elf/Makefile (modules-names-tests): New variable.
12830 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12832 * NEWS: Mention log2 improvements.
12833 * math/Makefile (type-double-routines): Add e_log2_data.
12834 * sysdeps/i386/fpu/e_log2_data.c: New file.
12835 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12836 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12837 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12838 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12840 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12842 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12844 * NEWS: Mention log improvement.
12845 * math/Makefile (type-double-routines): Add e_log_data.
12846 * sysdeps/i386/fpu/e_log_data.c: New file.
12847 * sysdeps/ia64/fpu/e_log_data.c: New file.
12848 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12849 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12850 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12851 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12852 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12853 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12855 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12856 Xuepeng Guo <xuepeng.guo@intel.com>
12859 * sysdeps/i386/start.S: Include <sysdep.h>
12860 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12861 enabled. Add cfi_undefined (eip).
12863 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12867 (EXTRACT_WORDS64): Likewise.
12868 (INSERT_WORDS64): Likewise.
12869 (GET_FLOAT_WORD): Likewise.
12870 (SET_FLOAT_WORD): Likewise.
12872 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12874 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12875 build, but not for second build if --full-gcc. Use
12876 --enable-languages=all for second build if --full-gcc.
12877 (get_parser): Add --full-gcc option.
12878 (main): Update call to Context.
12880 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12883 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12884 Single Quotation Mark).
12885 (thousands_sep): Likewise.
12886 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12887 * localedata/locales/it_IT (thousands_sep): Use ".".
12888 (grouping): Use "3;3".
12890 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12892 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12893 x86_64 and i686 configs using --enable-obsolete-rpc
12894 --enable-obsolete-nsl.
12896 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12898 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12900 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12902 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12903 Increment size of new_argv by one.
12905 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12908 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12909 * localedata/locales/ar_IN (d_fmt): Likewise.
12910 * localedata/locales/bhb_IN (d_fmt): Likewise.
12911 * localedata/locales/bho_IN (d_fmt): Likewise.
12912 * localedata/locales/bn_BD (d_fmt): Likewise.
12913 * localedata/locales/bn_IN (d_fmt): Likewise.
12914 * localedata/locales/doi_IN (d_fmt): Likewise.
12915 * localedata/locales/gu_IN (d_fmt): Likewise.
12916 * localedata/locales/hi_IN (d_fmt): Likewise.
12917 * localedata/locales/hne_IN (d_fmt): Likewise.
12918 * localedata/locales/kn_IN (d_fmt): Likewise.
12919 * localedata/locales/mag_IN (d_fmt): Likewise.
12920 * localedata/locales/mai_IN (d_fmt): Likewise.
12921 * localedata/locales/mjw_IN (d_fmt): Likewise.
12922 * localedata/locales/ml_IN (d_fmt): Likewise.
12923 * localedata/locales/mni_IN (d_fmt): Likewise.
12924 * localedata/locales/mr_IN (d_fmt): Likewise.
12925 * localedata/locales/pa_IN (d_fmt): Likewise.
12926 * localedata/locales/raj_IN (d_fmt): Likewise.
12927 * localedata/locales/sat_IN (d_fmt): Likewise.
12928 * localedata/locales/sd_IN (d_fmt): Likewise.
12929 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12930 * localedata/locales/ta_IN (d_fmt): Likewise.
12931 * localedata/locales/ta_LK (d_fmt): Likewise.
12932 * localedata/locales/tcy_IN (d_fmt): Likewise.
12933 * localedata/locales/ur_IN (d_fmt): Likewise.
12935 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12936 * localedata/locales/ks_IN (d_fmt): Likewise.
12937 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12939 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12940 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12941 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12942 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12944 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12946 * NEWS: Mention exp and exp2 improvements.
12947 * math/Makefile (libm-support): Remove t_exp.
12948 (type-double-routines): Add math_err and e_exp_data.
12949 * sysdeps/aarch64/libm-test-ulps: Update.
12950 * sysdeps/arm/libm-test-ulps: Update.
12951 * sysdeps/i386/fpu/e_exp_data.c: New file.
12952 * sysdeps/i386/fpu/math_err.c: New file.
12953 * sysdeps/i386/fpu/t_exp.c: Remove.
12954 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12955 * sysdeps/ia64/fpu/math_err.c: New file.
12956 * sysdeps/ia64/fpu/t_exp.c: Remove.
12957 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12958 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12959 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12961 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12962 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12963 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12964 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12965 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12966 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12967 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12968 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12969 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12970 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12974 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12976 * sysdeps/alpha/fpu/math_private.h: Remove.
12978 * sysdeps/generic/math_private.h
12979 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12980 Move this inline function ....
12981 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12982 * include/math.h [!_ISOMAC]: To here....
12984 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12986 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12988 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12989 * include/fenv.h [!_ISOMAC]: ... to here.
12990 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12991 (feraiseexcept): Likewise.
12992 * math/fromfp.h: Do not include <fenv_private.h>.
12993 * math/s_cexp_template.c: Likewise.
12994 * math/s_csin_template.c: Likewise.
12995 * math/s_csinh_template.c: Likewise.
12996 * math/s_ctan_template.c: Likewise.
12997 * math/s_ctanh_template.c: Likewise.
12998 * math/s_iseqsig_template.c: Likewise.
12999 * math/w_acos_compat.c: Likewise.
13000 * math/w_acosf_compat.c: Likewise.
13001 * math/w_acosl_compat.c: Likewise.
13002 * math/w_asin_compat.c: Likewise.
13003 * math/w_asinf_compat.c: Likewise.
13004 * math/w_asinl_compat.c: Likewise.
13005 * math/w_j0_compat.c: Likewise.
13006 * math/w_j0f_compat.c: Likewise.
13007 * math/w_j0l_compat.c: Likewise.
13008 * math/w_j1_compat.c: Likewise.
13009 * math/w_j1f_compat.c: Likewise.
13010 * math/w_j1l_compat.c: Likewise.
13011 * math/w_jn_compat.c: Likewise.
13012 * math/w_jnf_compat.c: Likewise.
13013 * math/w_log10_compat.c: Likewise.
13014 * math/w_log10f_compat.c: Likewise.
13015 * math/w_log10l_compat.c: Likewise.
13016 * math/w_log2_compat.c: Likewise.
13017 * math/w_log2f_compat.c: Likewise.
13018 * math/w_log2l_compat.c: Likewise.
13019 * math/w_log_compat.c: Likewise.
13020 * math/w_logf_compat.c: Likewise.
13021 * math/w_logl_compat.c: Likewise.
13022 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13023 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13025 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13027 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13028 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13029 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13030 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13031 * sysdeps/ieee754/k_standardl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13045 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13049 * math/w_ilogb_template.c: Include <fenv.h> instead of
13051 * math/w_llogb_template.c: Likewise.
13052 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13055 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13057 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13058 * math/fromfp.h: Include <fenv_private.h>.
13059 * math/math-narrow.h: Likewise.
13060 * math/s_cexp_template.c: Likewise.
13061 * math/s_csin_template.c: Likewise.
13062 * math/s_csinh_template.c: Likewise.
13063 * math/s_ctan_template.c: Likewise.
13064 * math/s_ctanh_template.c: Likewise.
13065 * math/s_iseqsig_template.c: Likewise.
13066 * math/w_acos_compat.c: Likewise.
13067 * math/w_acosf_compat.c: Likewise.
13068 * math/w_acosl_compat.c: Likewise.
13069 * math/w_asin_compat.c: Likewise.
13070 * math/w_asinf_compat.c: Likewise.
13071 * math/w_asinl_compat.c: Likewise.
13072 * math/w_ilogb_template.c: Likewise.
13073 * math/w_j0_compat.c: Likewise.
13074 * math/w_j0f_compat.c: Likewise.
13075 * math/w_j0l_compat.c: Likewise.
13076 * math/w_j1_compat.c: Likewise.
13077 * math/w_j1f_compat.c: Likewise.
13078 * math/w_j1l_compat.c: Likewise.
13079 * math/w_jn_compat.c: Likewise.
13080 * math/w_jnf_compat.c: Likewise.
13081 * math/w_llogb_template.c: Likewise.
13082 * math/w_log10_compat.c: Likewise.
13083 * math/w_log10f_compat.c: Likewise.
13084 * math/w_log10l_compat.c: Likewise.
13085 * math/w_log2_compat.c: Likewise.
13086 * math/w_log2f_compat.c: Likewise.
13087 * math/w_log2l_compat.c: Likewise.
13088 * math/w_log_compat.c: Likewise.
13089 * math/w_logf_compat.c: Likewise.
13090 * math/w_logl_compat.c: Likewise.
13091 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13092 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13093 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13094 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13119 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13120 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13121 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13123 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13124 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13127 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13128 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13129 * sysdeps/ieee754/k_standardl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13166 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13167 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13168 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13169 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13170 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13171 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13172 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13173 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13174 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13175 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13176 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13177 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13178 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13179 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13180 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13181 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13182 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13183 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13184 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13185 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13186 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13187 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13188 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13189 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13190 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13191 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13192 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13193 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13194 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13195 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13196 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13197 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13198 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13199 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13200 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13202 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13205 * include/stdio.h (__libc_fatal): Mention newline in comment.
13206 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13207 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13209 * nss/nsswitch.c (__nss_next2): Likewise.
13210 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13211 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13212 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13213 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13214 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13215 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13216 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13217 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13218 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13219 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13220 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13221 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13222 (__netlink_assert_response): Likewise.
13224 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13226 * conform/glibcconform.py: New file.
13227 * conform/list-header-symbols.py: Likewise.
13228 * conform/list-header-symbols.pl: Remove.
13229 * conform/Makefile (tests-special): Only add linknamespace tests
13231 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13233 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13236 * support/Makefile (libsupport-routines): Add
13237 support_copy_file_range and xcopy_file_range.
13238 * support/support.h: Include <sys/types.h>.
13239 (support_copy_file_range): New prototype.
13240 * support/support_copy_file_range.c: New file. Copied and
13241 modified from io/copy_file_range-compat.c.
13242 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13243 instead of copy_file_range.
13244 * support/xcopy_file_range.c: New file.
13245 * support/xunistd.h (xcopy_file_range): New prototype.
13247 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13249 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13250 xpthread_create and xpthread_join.
13252 2018-08-30 Florian Weimer <fweimer@redhat.com>
13254 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13256 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13258 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13261 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13263 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13264 and minus_oflow as non-finite.
13266 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13268 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13269 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13270 moved to fenv_private.h except for ...
13271 (TOINT_INTRINSICS): Kept in math_private.h.
13272 (roundtoint): Likewise.
13273 (converttoint): Likewise.
13274 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13275 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13276 * sysdeps/arm/math_private.h: Remove.
13277 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13279 * sysdeps/generic/math_private.h: ... this file. Include
13280 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13281 Include <fenv_private.h>. Remove functions and macros moved to
13283 * sysdeps/i386/fpu/math_private.h: Remove.
13284 * sysdeps/mips/math_private.h: Move to ....
13285 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13286 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13287 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13288 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13289 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13290 * sysdeps/powerpc/fpu/math_private.h: Do not include
13292 * sysdeps/riscv/rvf/math_private.h: Move to ....
13293 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13294 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13296 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13297 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13298 * sysdeps/sparc/fpu/math_private.h: Remove.
13299 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13300 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13301 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13303 * sysdeps/x86_64/fpu/math_private.h: Do not include
13304 <sysdeps/i386/fpu/fenv_private.h>.
13306 2018-08-28 Florian Weimer <fweimer@redhat.com>
13309 * posix/tst-regcomp-truncated.c: New file.
13310 * posix/Makefile (tests): Add it.
13311 (tst-regcomp-truncated.out): Depend on generated locales.
13313 2018-08-28 Florian Weimer <fweimer@redhat.com>
13315 * support/test-container.c (main): Treat unshare failure with
13316 EPERM as an unsupported test.
13318 2018-08-28 Florian Weimer <fweimer@redhat.com>
13321 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13322 * nscd/netgroupcache.c
13323 (addgetnetgrentX): Add tofreep parameter. Do not free
13324 heap-allocated buffer.
13325 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13326 (addgetnetgrentX_ignore): New function.
13327 (addgetnetgrent): Call it.
13328 (readdgetnetgrent): Likewise.
13330 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13332 * string/memmem.c: Use memcmp for first match.
13334 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13337 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13339 2018-08-27 DJ Delorie <dj@redhat.com>
13341 * support/Makefile (others): Don't list programs explicitly as a
13342 dependency of "others".
13344 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13346 * sysdeps/generic/math-tests-trap-force.h: New file.
13347 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13348 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13349 * sysdeps/powerpc/math-tests.h: Remove file.
13350 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13352 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13353 Torvald Riegel <triegel@redhat.com>
13356 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13357 Update r to include the set wake-request flag if waiters are
13358 remaining after spinning.
13360 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13362 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13364 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13367 regex: fix uninitialized memory access
13368 I introduced this bug into gnulib in commit
13369 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13370 eventually it was merged into glibc. The bug was found by
13371 project-repo <bugs@feusi.co> and reported here:
13372 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13373 Diagnosis and draft fix reported by Assaf Gordon here:
13374 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13375 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13376 * posix/regex_internal.c (build_wcs_upper_buffer):
13377 Fix bug when mbrtowc returns 0.
13379 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13381 * po/be.po: Update translation.
13383 2018-08-24 DJ Delorie <dj@delorie.com>
13385 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13388 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13391 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13392 create temporary files in source tree.
13394 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13396 * sysdeps/generic/math-tests-trap.h: New file.
13397 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13398 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13399 * sysdeps/aarch64/math-tests.h: Remove file.
13400 * sysdeps/arm/math-tests.h: Likewise.
13401 * sysdeps/riscv/math-tests.h: Likewise.
13402 * sysdeps/aarch64/math-tests-trap.h: New file.
13403 * sysdeps/arm/math-tests-trap.h: Likewise.
13404 * sysdeps/riscv/math-tests-trap.h: Likewise.
13406 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13408 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13409 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13410 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13411 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13412 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13413 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13421 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13422 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13423 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13424 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13425 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13427 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13429 * sysdeps/generic/math-tests-exceptions.h: New file.
13430 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13431 (EXCEPTION_TESTS_float): Do not define here.
13432 (EXCEPTION_TESTS_double): Likewise.
13433 (EXCEPTION_TESTS_long_double): Likewise.
13434 (EXCEPTION_TESTS_float128): Likewise.
13435 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13437 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13438 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13439 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13440 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13441 * sysdeps/mips/math-tests.h: Likewise.
13442 * sysdeps/nios2/math-tests.h: Likewise.
13443 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13444 (EXCEPTION_TESTS_float): Do not define here.
13445 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13446 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13447 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13449 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13451 * NEWS: Move optimized sinf entry to 2.29.
13453 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13455 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13457 2018-08-22 DJ Delorie <dj@redhat.com>
13459 * Makefile (testroot.pristine): New rules to initialize the
13460 test-in-container "testroot".
13461 * Makerules (all-testsuite): Add tests-container.
13462 * Rules (tests-expected): Add tests-container.
13463 (binaries-all-tests): Likewise.
13464 (tests-container): New, run these tests in the testroot container.
13465 * support/Makefile (others): Add *-container, support_paths.c,
13466 xmkdirp, and links-dso-program.
13467 * support/links-dso-program-c.c: New.
13468 * support/links-dso-program.cc: New.
13469 * support/test-container.c: New.
13470 * support/shell-container.c: New.
13471 * support/echo-container.c: New.
13472 * support/true-container.c: New.
13473 * support/xmkdirp.c: New.
13474 * support/xsymlink.c: New.
13475 * support/support_paths.c: New.
13476 * support/support.h: Add support paths prototypes.
13477 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13479 * nss/tst-nss-test3.c: Convert to test-in-container.
13480 * nss/tst-nss-test3.root/: New.
13482 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13484 regex: port Gnulib code to z/OS POSIX environment
13485 Problem reported by Arnold Robbins in:
13486 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13487 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13490 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13492 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13493 (ROUNDING_TESTS_double): Remove.
13494 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13495 (ROUNDING_TESTS_double): Remove.
13496 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13497 (ROUNDING_TESTS_double): Remove.
13498 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13499 (ROUNDING_TESTS_float): Remove.
13500 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13501 (ROUNDING_TESTS_float): Remove.
13502 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13503 (ROUNDING_TESTS_float): Remove.
13504 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13505 !TEST_MATHVEC here.
13506 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13507 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13509 * sysdeps/generic/math-tests-rounding.h: New file.
13510 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13511 (ROUNDING_TESTS_float): Do not define here.
13512 (ROUNDING_TESTS_double): Likewise.
13513 (ROUNDING_TESTS_long_double): Likewise.
13514 (ROUNDING_TESTS_float128): Likewise.
13515 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13516 (ROUNDING_TESTS_double): Undefine before defining.
13517 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13518 (ROUNDING_TESTS_double): Undefine before defining.
13519 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13520 (ROUNDING_TESTS_double): Undefine before defining.
13521 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13522 (ROUNDING_TESTS_float): Undefine before defining.
13523 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13524 (ROUNDING_TESTS_float): Undefine before defining.
13525 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13526 (ROUNDING_TESTS_float): Undefine before defining.
13527 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13528 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13530 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13531 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13532 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13533 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13534 (ROUNDING_TESTS_float): Do not define here.
13535 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13536 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13537 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13538 (ROUNDING_TESTS_float): Likewise.
13539 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13540 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13541 * sysdeps/mips/math-tests.h [__mips_soft_float]
13542 (ROUNDING_TESTS_float): Likewise.
13543 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13544 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13545 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13546 (ROUNDING_TESTS_double): Likewise.
13547 (ROUNDING_TESTS_long_double): Likewise.
13549 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13552 (PF_XDP): New macro.
13553 (AF_XDP): New macro.
13554 (SOL_XDP): New macro.
13556 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13558 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13559 (TCP_INQ): Likewise.
13560 (TCP_CM_INQ): Likewise.
13561 (TCP_REPAIR_ON): Likewise.
13562 (TCP_REPAIR_OFF): Likewise.
13563 (TCP_REPAIR_OFF_NO_WP): Likewise.
13564 (struct tcp_zerocopy_receive): New type.
13566 2018-08-21 Florian Weimer <fweimer@redhat.com>
13568 * support/support.h (support_descriptor_supports_holes): Declare.
13569 * support/Makefile (libsupport-routines): Add
13570 support_descriptor_supports_holes.
13571 * support/support_descriptor_supports_holes.c: New file.
13572 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13573 and stop testing if holes are not supported.
13574 * io/test-lfs.c (do_prepare): Likewise.
13575 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13577 * timezone/tst-tzset.c (create_tz_file): Likewise.
13578 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13580 (do_prepare): Set it.
13581 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13583 2018-08-21 Florian Weimer <fweimer@redhat.com>
13586 * Makeconfig (+cflags): Do not sort (and deduplicate).
13588 2018-08-21 Florian Weimer <fweimer@redhat.com>
13590 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13591 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13593 2018-08-20 Florian Weimer <fweimer@redhat.com>
13595 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13596 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13598 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13600 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13601 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13602 and ssi_arch members.
13604 * elf/elf.c (NT_VMCOREDD): New macro.
13605 (AT_MINSIGSTKSZ): Likewise.
13607 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13610 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13611 s_cosf-ppc64 and s_cosf-power8.
13612 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13613 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13614 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13615 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13622 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13623 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13625 2018-08-17 Florian Weimer <fweimer@redhat.com>
13627 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13629 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13631 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13633 2018-08-16 Florian Weimer <fweimer@redhat.com>
13635 * configure.ac: Add --with-nonshared-cflags option.
13636 * config.make.in (extra-nonshared-cflags): Set variable.
13637 * Makeconfig (CFLAGS-.oS): Use it.
13638 * manual/install.texi (Configuring and compiling): Document
13639 --with-nonshared-cflags.
13640 * configure: Regenerate.
13641 * INSTALL: Likewise.
13643 2018-08-16 Florian Weimer <fweimer@redhat.com>
13645 * Makeconfig (ASFLAGS): Always append required assembler flags.
13647 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13649 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13650 (malloc_consolidate): Likewise.
13652 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13654 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13656 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13658 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13661 * benchtests/bench-strlen.c: Print performance numbers in json.
13663 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13665 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13666 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13667 only for little endian.
13668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13669 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13670 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13671 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13672 Add check for little endian.
13673 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13674 (__strcmp_power9): Add check for little endian.
13675 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13676 Add check for little endian.
13677 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13678 (__strncmp_power9): Add check for little endian.
13679 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13680 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13681 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13682 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13683 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13685 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13687 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13688 [!STRLEN](STRLEN): Set to __strlen.
13689 * sysdeps/aarch64/multiarch/strlen.c: New file.
13690 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13691 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13692 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13693 (__libc_ifunc_impl_list): Add strlen.
13694 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13695 strlen_generic and strlen_asimd.
13697 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13699 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13700 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13701 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13703 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13705 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13707 2018-08-14 Florian Weimer <fweimer@redhat.com>
13710 * include/stdio.h (__vfxprintf): Declare.
13711 * stdio-common/fxprintf.c (__vfxprintf): New function.
13712 (__fxprintf): Call it.
13713 * misc/err.c (convert_and_print): Remove function.
13714 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13715 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13716 * misc/Makefile (tests): Add tst-warn-wide.
13717 * misc/tst-warn-wide.c: New file.
13719 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13720 Szabolcs Nagy <szabolcs.nagy@arm.com>
13722 * NEWS: Mention sinf, cosf, sincosf.
13723 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13724 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13725 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13726 constants rather than including generic sincosf.h.
13727 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13728 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13729 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13730 (reduced_cos): Remove.
13731 (sinf_poly): New function.
13732 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13734 2018-08-14 Florian Weimer <fweimer@redhat.com>
13738 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13739 processing, bail out if no room, and close the stream before
13741 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13742 (tst-nss-files-alias-leak): Link with libdl.
13743 (tst-nss-files-alias-leak.out): Depend on nss_files.
13745 * nss/tst-nss-files-alias-leak.c: New file.
13747 2018-08-14 Florian Weimer <fweimer@redhat.com>
13749 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13750 server_user, stat_user.
13752 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13754 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13756 (io_pgetevents): New syscall.
13759 * manual/install.texi (Configuring and compiling): Do not list
13760 tools used for testing pretty printers here.
13761 (Tools for Compilation): List Python, PExpect and GDB here.
13762 Update descriptions of uses of Perl and Python.
13763 * INSTALL: Regenerate.
13765 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13768 2018-08-13 Florian Weimer <fweimer@redhat.com>
13770 * misc/error.c (error): Add missing va_end call.
13771 (error_at_line): Likewise.
13773 2018-08-13 Florian Weimer <fweimer@redhat.com>
13775 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13777 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13779 * benchtests/scripts/benchout.schema.json (properties): Add
13782 * benchtests/bench-skeleton.c (main): Add duration and
13783 iterations attributes.
13785 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13787 regex: Gnulib unibyte RRI uses bytes not chars
13788 Adjust the non-glibc code to agree with what Gawk needs for
13789 rational range interpretation (RRI) for regular expression ranges.
13790 In unibyte locales, Gawk wants ranges to use the underlying byte
13791 rather than the character code point. This change does not affect
13793 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13794 In unibyte locales, use the byte value rather than
13795 running it through btowc.
13797 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13799 * sysdeps/generic/math-tests-snan.h: New file.
13800 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13801 (SNAN_TESTS_float): Do not define here.
13802 (SNAN_TESTS_double): Likewise.
13803 (SNAN_TESTS_long_double): Likewise.
13804 (SNAN_TESTS_float128): Likewise.
13805 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13806 * sysdeps/i386/fpu/math-tests.h: Remove file.
13807 * sysdeps/ia64/math-tests-snan.h: New file.
13808 * sysdeps/ia64/math-tests.h: Remove file.
13809 * sysdeps/x86/math-tests.h: Likewise.
13810 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13812 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13813 Szabolcs Nagy <szabolcs.nagy@arm.com>
13815 * math/Makefile: Add s_sincosf_data.c.
13816 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13817 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13818 (sincosf_poly): Likewise.
13819 (reduce_small): Likewise.
13820 (reduce_large): Likewise.
13821 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13822 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13823 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13824 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13826 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13827 Szabolcs Nagy <szabolcs.nagy@arm.com>
13829 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13830 (converttoint): Use lround.
13831 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13832 document the semantics when TOINT_INTRINSICS is set.
13833 (converttoint): Likewise.
13834 (TOINT_RINT): Remove.
13835 (TOINT_SHIFT): Remove.
13836 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13839 2018-08-10 Florian Weimer <fweimer@redhat.com>
13842 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13844 (__old_getdents64): Use getdents64. Convert entries without
13846 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13847 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13848 tst-readdir64-compat.
13850 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13852 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13855 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13857 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13858 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13859 code to s390x-mcount.h and #include it.
13860 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13861 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13864 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13866 * stdlib/Versions: Remove __fentry__.
13867 * sysdeps/i386/Versions: Add __fentry__.
13868 * sysdeps/x86_64/Versions: Add __fentry__.
13870 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13872 * sysdeps/s390/Makefile: Register the new tests.
13873 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13874 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13875 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13876 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13877 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13878 * sysdeps/s390/tst-dl-runtime.c: New file.
13880 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13882 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13885 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13887 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13890 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13892 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13895 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13897 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13900 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13902 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13903 Use symbolic offsets for stack variables.
13905 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13907 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13908 Use symbolic offsets for stack variables.
13910 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13912 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
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_resolve):
13918 Use symbolic offsets for stack variables.
13920 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13922 * math/gen-libm-test.py: New file.
13923 * math/gen-libm-test.pl: Remove.
13924 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13925 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13927 ($(libm-test-c-noauto-obj)): Likewise.
13928 ($(libm-test-c-auto-obj)): Likewise.
13929 ($(libm-test-c-narrow-obj)): Likewise.
13930 (regen-ulps): Likewise.
13931 * math/README.libm-test: Update references to gen-libm-test.pl.
13932 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13933 referencing gen-libm-test.pl.
13934 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13935 * math/libm-test-support.c: Likewise.
13936 * math/libm-test-support.h: Likewise.
13937 * sysdeps/generic/libm-test-ulps: Likewise.
13939 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13941 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13944 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13946 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13947 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13949 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13951 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13953 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13954 __pthread_setspecific): Add hidden proto.
13955 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13956 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13958 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13960 * benchtests/bench-string.h (buf1_size, buf2_size): New
13962 (init_sizes): New function.
13963 (test_init): Use it.
13964 (alloc_buf, exit_error): New functions.
13965 (alloc_bufs): Use ALLOC_BUF.
13966 (realloc_bufs): Remove.
13967 * benchtests/bench-memcmp.c (do_test): Adjust.
13968 * benchtests/bench-memset-large.c (do_test): Likewise.
13969 * benchtests/bench-memset-walk.c (do_test): Likewise.
13970 * benchtests/bench-memset.c (do_test): Likewise.
13971 * benchtests/bench-strncmp.c (do_test): Likewise.
13973 2018-08-06 Andreas Schwab <schwab@suse.de>
13975 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13976 of CONST_THREAD_AREA.
13978 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13981 (STATE_SAVE_MASK): Likewise.
13982 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13983 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13984 (STATE_SAVE_MASK): Likewise.
13985 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13986 instead of <cpu-features.h>.
13988 2018-08-03 DJ Delorie <dj@redhat.com>
13990 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13991 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13993 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13995 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13997 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13998 after TEST_* calls.
13999 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14000 * math/libm-test-logb.inc (logb_test_data): Likewise.
14002 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14004 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14005 * string/strstr.c (AVAILABLE): Likewise.
14007 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14009 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14011 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14012 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14013 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14015 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14017 * po/be.po: Update translation.
14019 * po/be.po: Update translation.
14021 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14023 * sysdeps/x86/cpu-features-offsets.sym
14024 (rtld_global_ro_offsetof): Removed.
14025 (CPU_FEATURES_SIZE): Likewise.
14026 (CPUID_OFFSET): Likewise.
14027 (CPUID_SIZE): Likewise.
14028 (CPUID_EAX_OFFSET): Likewise.
14029 (CPUID_EBX_OFFSET): Likewise.
14030 (CPUID_ECX_OFFSET): Likewise.
14031 (CPUID_EDX_OFFSET): Likewise.
14032 (FAMILY_OFFSET): Likewise.
14033 (MODEL_OFFSET): Likewise.
14034 (FEATURE_OFFSET): Likewise.
14035 (FEATURE_SIZ): Likewise.
14036 (COMMON_CPUID_INDEX_1): Likewise.
14037 (COMMON_CPUID_INDEX_7): Likewise.
14038 (FEATURE_INDEX_1): Likewise.
14039 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14041 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14043 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14044 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14045 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14046 (install-locales): Depend on install-locale-archive.
14047 (install-locale-archive): Define.
14048 (install-locale-files): Define.
14049 (build-one-locale): Define macro.
14050 * manual/install.texi (Running make install): Document.
14051 * manual/INSTALL: Regenerate.
14053 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14055 * benchtests/scripts/compare_strings.py: Import traceback.
14056 (parse_file): Pretty-print error.
14058 * NEWS: Mention the change.
14059 * elf/dl-tunables.list: Rename tune namespace to cpu.
14060 * sysdeps/powerpc/dl-tunables.list: Likewise.
14061 * sysdeps/x86/dl-tunables.list: Likewise.
14062 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14064 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14065 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14066 * manual/README.tunables: Likewise.
14067 * manual/tunables.texi: Likewise.
14068 * sysdeps/powerpc/cpu-features.c: Likewise.
14069 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14070 (init_cpu_features): Likewise.
14071 * sysdeps/x86/cpu-features.c: Likewise.
14072 * sysdeps/x86/cpu-features.h: Likewise.
14073 * sysdeps/x86/cpu-tunables.c: Likewise.
14074 * sysdeps/x86_64/Makefile: Likewise.
14075 * sysdeps/x86/dl-cet.c: Likewise.
14077 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14080 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14081 [__mips_hard_float].
14082 (FE_UNDERFLOW): Likewise.
14083 (FE_OVERFLOW): Likewise.
14084 (FE_DIVBYZERO): Likewise.
14085 (FE_INVALID): Likewise.
14086 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14087 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14088 (FE_UPWARD): Likewise.
14089 (FE_DOWNWARD): Likewise.
14090 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14091 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14092 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14093 [__mips_hard_float].
14094 (FP_ROUNDMODE): Likewise.
14095 (FP_RND_NEAREST): Likewise.
14096 (FP_RND_ZERO): Likewise.
14097 (FP_RND_PINF): Likewise.
14098 (FP_RND_MINF): Likewise.
14099 (FP_EX_INVALID): Likewise.
14100 (FP_EX_OVERFLOW): Likewise.
14101 (FP_EX_UNDERFLOW): Likewise.
14102 (FP_EX_DIVZERO): Likewise.
14103 (FP_EX_INEXACT): Likewise.
14104 (FP_INIT_ROUNDMODE): Likewise.
14105 * sysdeps/mips/nofpu/fesetenv.c: New file.
14106 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14108 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14110 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14111 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14112 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14113 conditional on [FE_UPWARD].
14115 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14117 regex: fix memory leak in Gnulib
14118 Problem and fix reported by Assaf Gordon in:
14119 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14120 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14121 range_ends members too, as they are defined in 'struct
14122 re_charset_t' even if not _LIBC. This affects only Gnulib.
14124 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14126 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14128 (get_common_indices): This.
14129 (init_cpu_features): Updated.
14131 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/generic/math-tests-snan-payload.h: New file.
14134 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14135 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14136 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14137 * sysdeps/generic/math-tests.h: Include
14138 <math-tests-snan-payload.h>.
14139 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14140 * sysdeps/hppa/math-tests.h: Remove file.
14141 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14142 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14143 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14146 * sysdeps/generic/math-tests-snan-cast.h: New file.
14147 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14148 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14149 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14150 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14152 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14154 * version.h (RELEASE): Set to "development".
14155 (VERSION): Set to "2.28.9000".
14156 * NEWS (2.29): New section.
14158 * version.h (RELEASE): Set to "stable".
14159 (VERSION): Set to "2.28".
14160 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14161 * NEWS: Add the list of bugs fixed in 2.28.
14163 * po/ca.po: Update to latest version.
14164 * po/cs.po: Likewise
14165 * po/da.po: Likewise
14166 * po/el.po: Likewise
14167 * po/eo.po: Likewise
14168 * po/es.po: Likewise
14169 * po/fi.po: Likewise
14170 * po/fr.po: Likewise
14171 * po/gl.po: Likewise
14172 * po/hu.po: Likewise
14173 * po/ia.po: Likewise
14174 * po/id.po: Likewise
14175 * po/it.po: Likewise
14176 * po/ja.po: Likewise
14177 * po/ko.po: Likewise
14178 * po/lt.po: Likewise
14179 * po/nb.po: Likewise
14180 * po/nl.po: Likewise
14181 * po/pt_BR.po: Likewise
14182 * po/ru.po: Likewise
14183 * po/rw.po: Likewise
14184 * po/sk.po: Likewise
14185 * po/sl.po: Likewise
14186 * po/tr.po: Likewise
14187 * po/zh_CN.po: Likewise
14188 * po/zh_TW.po: Likewise
14190 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14192 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14194 (init): ... before initializing libpthread.
14196 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14197 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14198 (__mach_setup_tls): ... new function.
14199 (mach_setup_tls): New alias.
14200 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14201 __mach_setup_thread.
14202 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14204 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14205 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14207 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14209 * manual/install.texi: Update versions.
14210 * INSTALL: Regenerate.
14212 * manual/contrib.texi (Contributors): Update contributions.
14214 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14216 * po/be.po: Update translations.
14218 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14220 * sysdeps/sh/libm-test-ulps: Update.
14222 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14224 * po/bg.po: Update translations.
14225 * po/de.po: Likewise.
14226 * po/hr.po: Likewise.
14227 * po/pt_BR.po: Likewise.
14228 * po/sv.po: Likewise.
14229 * po/vi.po: Likewise.
14231 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14234 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14235 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14236 (CFLAGS-tst-cet-property-1.o): New.
14237 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14238 ($(objpfx)tst-cet-property-2): Likewise.
14239 ($(objpfx)tst-cet-property-2.out): Likewise.
14240 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14241 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14242 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14243 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14244 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14246 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14249 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14251 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14253 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14254 __sbrk): Do not set attribute_hidden.
14255 * sysdeps/mach/hurd/not-errno.h: New file.
14256 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14257 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14259 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14261 * po/uk.po: Update translations.
14262 * po/cs.po: Likewise.
14263 * po/pl.po: Likewise.
14265 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14267 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14268 parse beyond the note end.
14270 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14272 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14273 kernel does not support OFD locks.
14274 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14276 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14278 * sysdeps/mach/hurd/Versions (libc): Make __access and
14279 __access_noerrno external so they can override the ld symbols.
14280 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14281 __writev, __open64, __access_noerrno extern so they can be overrided.
14282 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14283 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14285 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14287 * po/libc.pot: Regenerate.
14289 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14291 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14293 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14296 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14298 (init_cpu_features): Call get_extended_indices for both Intel
14300 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14301 Remove "for AMD" comment.
14303 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14306 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14307 COMMON_CPUID_INDEX_80000001.
14309 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14311 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14312 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14314 2018-07-26 Florian Weimer <fweimer@redhat.com>
14316 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14317 aliases for symbols not in the implementation namespace.
14319 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14322 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14323 lowercase in LATIN script.
14324 * localedata/Makefile (test-input): Add en_US.UTF-8.
14325 * localedata/en_US.UTF-8.in: New file.
14326 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14327 and restore old tests.
14328 * posix/tst-regexloc.c (do_test): Add back range expression test.
14330 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14332 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14334 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14336 * nptl/threads.h: Move to ...
14337 * sysdeps/nptl/threads.h: ... here.
14338 * sysdeps/hurd/stdc-predef.h: New file.
14340 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14342 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14343 tst-cet-setcontext-1 if CET is enabled.
14344 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14345 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14347 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14349 * include/threads.h: Move to ...
14350 * sysdeps/nptl/threads.h: ... here.
14351 * sysdeps/htl/threads.h: New file.
14352 * conform/Makefile (linknamespace-libs-ISO11): Use
14353 static-thread-library instead of linking libpthread.
14354 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14356 2018-07-25 Florian Weimer <fweimer@redhat.com>
14358 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14359 nanoseconds into seconds.
14360 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14361 (do_test): Likewise.
14362 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14363 (do_test): Likewise. Avoid nanosecond overflow and spurious
14364 timeouts due to system load.
14365 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14366 (child_wait): Increment it.
14367 (do_test): Wait as long as necessary until all expected threads
14370 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14371 H.J. Lu <hongjiu.lu@intel.com>
14373 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14375 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14376 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14377 (__push___start_context): New.
14378 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14380 (__getcontext): Record the current shadow stack base. Save the
14381 caller's shadow stack pointer and base.
14382 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14383 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14384 (__push___start_context): New prototype.
14385 (__makecontext): Call __push___start_context to allocate a new
14386 shadow stack, push __start_context onto the new stack as well
14387 as the new shadow stack.
14388 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14390 (__setcontext): Restore the target shadow stack.
14391 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14393 (__swapcontext): Record the current shadow stack base. Save
14394 the caller's shadow stack pointer and base. Restore the target
14396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14397 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14398 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14400 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14402 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14403 tst-setcontext8 and tst-setcontext9.
14404 * stdlib/tst-setcontext6.c: New file.
14405 * stdlib/tst-setcontext7.c: Likewise.
14406 * stdlib/tst-setcontext8.c: Likewise.
14407 * stdlib/tst-setcontext9.c: Likewise.
14409 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14411 * stdlib/Makefile ((tests): Add tst-setcontext5.
14412 * stdlib/tst-setcontext5.c: New file.
14414 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14416 * stdlib/Makefile (tests): Add tst-setcontext4.
14417 * stdlib/tst-setcontext4.c: New file.
14419 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14421 * stdlib/Makefile (tests): Add tst-swapcontext1.
14422 * stdlib/tst-swapcontext1.c: New test.
14424 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14426 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14427 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14428 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14429 and tst-cet-legacy-4c.
14430 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14431 and tst-cet-legacy-mod-4.
14432 (CFLAGS-tst-cet-legacy-2.c): New.
14433 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14434 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14435 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14436 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14437 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14438 ($(objpfx)tst-cet-legacy-1): Likewise.
14439 ($(objpfx)tst-cet-legacy-2): Likewise.
14440 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14441 ($(objpfx)tst-cet-legacy-2a): Likewise.
14442 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14443 ($(objpfx)tst-cet-legacy-4): Likewise.
14444 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14445 ($(objpfx)tst-cet-legacy-4a): Likewise.
14446 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14447 (tst-cet-legacy-4a-ENV): Likewise.
14448 ($(objpfx)tst-cet-legacy-4b): Likewise.
14449 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14450 (tst-cet-legacy-4b-ENV): Likewise.
14451 ($(objpfx)tst-cet-legacy-4c): Likewise.
14452 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14453 (tst-cet-legacy-4c-ENV): Likewise.
14454 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14455 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14456 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14457 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14458 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14459 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14460 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14461 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14462 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14463 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14464 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14466 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14468 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14469 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14471 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14472 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14475 2018-07-25 Andreas Schwab <schwab@suse.de>
14478 * locale/weightwc.h (findidx): Handle the case where usrc is a
14479 prefix of cp but one character too short.
14481 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14483 * NEWS: Add ISO C threads addition.
14485 2018-07-24 Florian Weimer <fweimer@redhat.com>
14487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14488 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14489 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14492 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14494 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14495 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14496 <sys/prctl.h> and <asm/prctl.h>.
14497 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14498 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14500 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14501 ARCH_CET_LEGACY_BITMAP.
14502 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14503 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14504 * sysdeps/x86/libc-start.c: Include <startup.h>.
14506 2018-07-24 Florian Weimer <fweimer@redhat.com>
14508 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14509 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14511 2018-07-24 Rical Jasan <rj@2c3t.io>
14512 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14513 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14516 * manual/debug.texi: Update adjacent chapter name.
14517 * manual/probes.texi: Likewise.
14518 * manual/threads.texi (ISO C Threads): New section.
14519 (POSIX Threads): Convert to a section.
14521 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14522 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14525 * nptl/Makefile (tests): Add new test files.
14526 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14527 * nptl/tst-cnd-basic.c: Likewise.
14528 * nptl/tst-cnd-broadcast.c: Likewise.
14529 * nptl/tst-cnd-timedwait.c: Likewise.
14530 * nptl/tst-mtx-basic.c: Likewise.
14531 * nptl/tst-mtx-recursive.c: Likewise.
14532 * nptl/tst-mtx-timedlock.c: Likewise.
14533 * nptl/tst-mtx-trylock.c: Likewise.
14534 * nptl/tst-thrd-basic.c: Likewise.
14535 * nptl/tst-thrd-detach.c: Likewise.
14536 * nptl/tst-thrd-sleep.c: Likewise.
14537 * nptl/tst-tss-basic.c: Likewise.
14539 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14542 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14543 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14545 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14573 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14574 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14575 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14576 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14578 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14596 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14606 * conform/data/threads.h-data (thread_local): New macro.
14607 (TSS_DTOR_ITERATIONS): Likewise.
14609 (tss_dtor_t): Likewise.
14610 (tss_create): New function.
14611 (tss_get): Likewise.
14612 (tss_set): Likewise.
14613 (tss_delete): Likewise.
14614 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14615 tss_get, and tss_set objects.
14616 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14617 * nptl/tss_create.c: New file.
14618 * nptl/tss_delete.c: Likewise.
14619 * nptl/tss_get.c: Likewise.
14620 * nptl/tss_set.c: Likewise.
14621 * sysdeps/nptl/threads.h (thread_local): New define.
14622 (TSS_DTOR_ITERATIONS): Likewise.
14623 (tss_t): New typedef.
14624 (tss_dtor_t): Likewise.
14625 (tss_create): New prototype.
14626 (tss_get): Likewise.
14627 (tss_set): Likewise.
14628 (tss_delete): Likewise.
14631 * conform/data/threads.h-data (cnd_t): New type.
14632 (cnd_init): New function.
14633 (cnd_signal): Likewise.
14634 (cnd_broadcast): Likewise.
14635 (cnd_wait): Likewise.
14636 (cnd_timedwait): Likewise.
14637 (cnd_destroy): Likewise.
14638 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14639 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14641 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14642 * nptl/cnd_broadcast.c: New file.
14643 * nptl/cnd_destroy.c: Likewise.
14644 * nptl/cnd_init.c: Likewise.
14645 * nptl/cnd_signal.c: Likewise.
14646 * nptl/cnd_timedwait.c: Likewise.
14647 * nptl/cnd_wait.c: Likewise.
14648 * sysdeps/nptl/threads.h (cnd_t): New type.
14649 (cnd_init): New prototype.
14650 (cnd_signa): Likewise.
14651 (cnd_broadcast): Likewise.
14652 (cnd_wait): Likewise.
14653 (cnd_timedwait): Likewise.
14654 (cnd_destroy): Likewise.
14657 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14658 (once_flag): New type.
14659 (call_once): New function.
14660 * nptl/Makefile (libpthread-routines): Add call_once object.
14661 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14662 * nptl/call_once.c: New file.
14663 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14664 (once_flag): New type.
14665 (call_once): New prototype.
14668 * conform/data/threads.h-data (mtx_plain): New constant.
14669 (mtx_recursive): Likewise.
14670 (mtx_timed): Likewise.
14672 (mtx_init): New function.
14673 (mtx_lock): Likewise.
14674 (mtx_timedlock): Likewise.
14675 (mtx_trylock): Likewise.
14676 (mtx_unlock): Likewise.
14677 (mtx_destroy): Likewise.
14678 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14679 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14680 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14681 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14682 * nptl/mtx_destroy.c: New file.
14683 * nptl/mtx_init.c: Likewise.
14684 * nptl/mtx_lock.c: Likewise.
14685 * nptl/mtx_timedlock.c: Likewise.
14686 * nptl/mtx_trylock.c: Likewise.
14687 * nptl/mtx_unlock.c: Likewise.
14688 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14689 (mtx_recursive): Likewise.
14690 (mtx_timed): Likewise.
14692 (mtx_init): New prototype.
14693 (mtx_lock): Likewise.
14694 (mtx_timedlock): Likewise.
14695 (mtx_trylock): Likewise.
14696 (mtx_unlock): Likewise.
14697 (mtx_destroy): Likewise.
14700 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14701 (linknamespace-libs-ISO11): Add libpthread.a.
14702 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14704 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14705 * nptl/Makefile (headers): Add threads.h.
14706 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14707 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14709 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14710 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14711 thrd_join, thrd_sleep, and thrd_yield symbols.
14712 * nptl/descr.h (struct pthread): Add c11 field.
14713 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14714 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14715 routine with expected function prototype.
14716 (__pthread_create_2_1): Add C11 threads check based on attribute
14718 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14719 * nptl/thrd_create.c: New file.
14720 * nptl/thrd_current.c: Likewise.
14721 * nptl/thrd_detach.c: Likewise.
14722 * nptl/thrd_equal.c: Likewise.
14723 * nptl/thrd_exit.c: Likewise.
14724 * nptl/thrd_join.c: Likewise.
14725 * nptl/thrd_priv.h: Likewise.
14726 * nptl/thrd_sleep.c: Likewise.
14727 * nptl/thrd_yield.c: Likewise.
14728 * include/threads.h: Likewise.
14730 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14732 * bits/indirect-return.h: New file.
14733 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14734 * sysdeps/x86/bits/indirect-return.h: Likewise.
14735 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14736 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14737 (swapcontext): Add __INDIRECT_RETURN.
14738 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14739 (prepare_test_buffer): Use it.
14741 2018-07-24 Andreas Schwab <schwab@suse.de>
14744 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14745 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14747 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14749 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14750 Redefine if shadow stack is enabled.
14751 (SYSCALL_ERROR_LABEL): Likewise.
14752 (__vfork): Pop shadow stack and jump back to to caller directly
14753 when shadow stack is in use.
14754 * sysdeps/unix/sysv/linux/x86_64/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.
14760 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14762 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14765 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14768 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14770 * scripts/build-many-glibcs.py (Context.checkout): Default
14771 binutils version to 2.31 branch.
14773 2018-07-20 Zong Li <zong@andestech.com>
14775 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14776 URL of gcc's tarball.
14778 2018-07-20 Florian Weimer <fweimer@redhat.com>
14781 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14782 not compare an extra byte after the end of the weights.
14784 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14786 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14788 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14790 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14791 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14792 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14793 list of libraries whose stack executability is expected.
14794 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14795 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14797 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14798 libc.so libpthread.so.
14800 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14802 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14804 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14806 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14808 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14810 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14812 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14813 library to improve command line parsing.
14814 (__main__): make schema file as optional parameter (--schema),
14815 defaulting to benchtests/scripts/benchout.schema.json.
14816 (main): move out of the parsing stuff to __main_ and leave it
14817 only as caller of main comparison functions.
14819 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14821 * NEWS: Add a note for Intel CET status.
14822 * manual/install.texi: Likewise.
14823 * INSTALL: Regenerated.
14825 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14828 * localedata/locales/oc_FR (mon): Rename to...
14829 (alt_mon): This, then update October (typo fix).
14830 (mon): New content (genitive case, month names preceded by
14834 * localedata/locales/oc_FR (abday): Update all items.
14835 (day): Update Wednesday and Saturday (typo fixes).
14836 (abmon): Update all items, except May.
14837 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14838 (LC_IDENTIFICATION): Bump the revision number and date.
14839 Keep the "category" entries in alphabetic order.
14840 (LC_ADDRESS): Remove no longer needed comment.
14841 (LC_COLLATE): Use “copy "ca_ES"”.
14842 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14845 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14847 * grp/tst_fgetgrent.c: Include <unistd.h>.
14848 (main): Use mkstemp instead of tmpnam.
14849 * io/test-utime.c (main): Likewise.
14850 * posix/annexc.c (macrofile): Change to modifiable array.
14851 (main): Remove macrofile here.
14852 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14854 (check_header): Do not remove macrofile here.
14855 * posix/bug-getopt1.c: Include <stdlib.h>.
14856 (do_test): Use mkstemp instead of tmpnam.
14857 * posix/bug-getopt2.c: Include <stdlib.h>.
14858 (do_test): Use mkstemp instead of tmpnam.
14859 * posix/bug-getopt3.c: Include <stdlib.h>.
14860 (do_test): Use mkstemp instead of tmpnam.
14861 * posix/bug-getopt4.c: Include <stdlib.h>.
14862 (do_test): Use mkstemp instead of tmpnam.
14863 * posix/bug-getopt5.c: Include <stdlib.h>.
14864 (do_test): Use mkstemp instead of tmpnam.
14865 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14866 (main): Use mkstemp instead of tmpnam.
14867 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14868 (main): Use mkstemp instead of tmpnam.
14869 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14870 (main): use mkstemp instead of tmpnam.
14871 * stdlib/isomac.c (macrofile): Change to modifiable array.
14872 (main): Remove macrofile here.
14873 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14875 (check_header): Do not remove macrofile here.
14877 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14879 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14880 glibc.tune.x86_shstk.
14882 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14884 * NEWS: Mention --enable-cet.
14885 * manual/install.texi: Document --enable-cet.
14886 * INSTALL: Regenerated.
14888 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14890 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14891 Add _CET_NOTRACK before indirect jump to jump table.
14893 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14895 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14896 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14899 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14901 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14902 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14905 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14907 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14908 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14911 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14914 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14917 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14919 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14920 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14922 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14924 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14927 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14930 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14932 * sysdeps/i386/i686/multiarch/memset-sse2.S
14933 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14936 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14938 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14939 indirect jump to jump table.
14941 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14944 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14946 (MEMCPY): Likewise.
14948 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14951 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14953 (MEMCPY): Likewise.
14955 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14957 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14958 _CET_NOTRACK before indirect jump to jump table.
14960 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14962 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14963 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14966 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14968 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14969 indirect jump to jump table.
14971 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14974 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14975 (LOCALES): Likewise.
14976 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14977 * localedata/locales/sah_RU: New file.
14978 * localedata/sah_RU.UTF-8.in: New file.
14980 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14982 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14984 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14985 _CET_ENDBR to indirect jump targets and adjust jump destination
14987 * sysdeps/i386/i686/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/sub_n.S: Include <sysdep.h>, instead of
14994 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14995 _CET_ENDBR to indirect jump targets and adjust jump destination
14998 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15000 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15003 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15005 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15007 (_dl_tlsdesc_undefweak): Likewise.
15008 (_dl_tlsdesc_dynamic): Likewise.
15009 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15010 (_dl_tlsdesc_resolve_rel): Likewise.
15011 (_dl_tlsdesc_resolve_rela): Likewise.
15012 (_dl_tlsdesc_resolve_hold): Likewise.
15013 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15014 (_dl_tlsdesc_undefweak): Likewise.
15015 (_dl_tlsdesc_dynamic): Likewise.
15016 (_dl_tlsdesc_resolve_rela): Likewise.
15017 (_dl_tlsdesc_resolve_hold): Likewise.
15019 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15021 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15023 * sysdeps/x86_64/crti.S (_init): Likewise.
15026 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15029 * localedata/locales/os_RU (mon): Rename to...
15031 (mon): Import from CLDR (genitive case).
15033 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15035 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15036 cet-tunables.h> when CET is enabled.
15038 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15041 * configure.ac: Add --enable-cet.
15042 * configure: Regenerated.
15043 * elf/Makefille (all-built-dso): Add a comment.
15044 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15045 Include <dl-prop.h>.
15046 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15048 * elf/dl-open.c: Include <dl-prop.h>.
15049 (dl_open_worker): Call _dl_open_check.
15050 * elf/rtld.c: Include <dl-prop.h>.
15051 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15053 * sysdeps/generic/dl-prop.h: New file.
15054 * sysdeps/i386/dl-cet.c: Likewise.
15055 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15056 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15057 * sysdeps/x86/cet-tunables.h: Likewise.
15058 * sysdeps/x86/check-cet.awk: Likewise.
15059 * sysdeps/x86/configure: Likewise.
15060 * sysdeps/x86/configure.ac: Likewise.
15061 * sysdeps/x86/dl-cet.c: Likewise.
15062 * sysdeps/x86/dl-procruntime.c: Likewise.
15063 * sysdeps/x86/dl-prop.h: Likewise.
15064 * sysdeps/x86/libc-start.h: Likewise.
15065 * sysdeps/x86/link_map.h: Likewise.
15066 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15068 (_dl_runtime_profile): Likewise.
15069 (_dl_runtime_resolve_shstk): New.
15070 (_dl_runtime_profile_shstk): Likewise.
15071 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15073 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15074 (CFLAGS-.os): Likewise.
15075 (CFLAGS-.op): Likewise.
15076 (CFLAGS-.oS): Likewise.
15077 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15079 (tests-special): Add $(objpfx)check-cet.out.
15080 (cet-built-dso): New.
15081 (+$(cet-built-dso:=.note)): Likewise.
15082 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15083 ($(objpfx)check-cet.out): New.
15084 (generated): Add check-cet.out.
15085 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15087 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15088 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15089 (init_cpu_features): Call get_cet_status to check CET status
15090 and update dl_x86_feature_1 with CET status. Call
15091 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15092 (set_x86_shstk). Disable and lock CET in libc.a.
15093 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15094 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15095 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15096 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15097 (_CET_ENDBR): Define if not defined.
15098 (ENTRY): Add _CET_ENDBR.
15099 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15101 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15103 (_dl_runtime_profile): Likewise.
15105 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15108 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15109 restore r2 on longjmp.
15110 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15112 Added rules to build test tst-setjmp-bug21895-static.
15113 Added module setjmp-bug21895 and rules to build a shared object from it.
15114 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15115 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15117 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15119 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15120 * benchtests/bench-strstr.c: Likewise.
15121 * string/memmem.c (FASTSEARCH): Define.
15122 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15123 Add support for FASTSEARCH.
15124 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15125 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15126 (FASTSEARCH): Define.
15127 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15128 * string/test-strstr.c: Likewise.
15130 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15133 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15135 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15136 H.J. Lu <hongjiu.lu@intel.com>
15138 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15139 (__longjmp): Restore shadow stack pointer if shadow stack is
15140 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15141 isn't defined for __longjmp_cancel.
15142 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15143 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15144 and SHADOW_STACK_POINTER_OFFSET is defined.
15145 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15146 (setjmp): Save shadow stack pointer if shadow stack is enabled
15147 and SHADOW_STACK_POINTER_OFFSET is defined.
15148 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15149 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15150 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15151 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15153 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15154 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15155 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15156 Remove jmp_buf-ssp.sym.
15157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15159 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15160 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15161 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15163 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15164 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15165 (__longjmp): Restore shadow stack pointer if shadow stack is
15166 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15167 isn't defined for __longjmp_cancel.
15168 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15169 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15170 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15172 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15175 * nptl/pthread_create.c: Include <tls-setup.h>.
15176 (__pthread_create_2_1): Call tls_setup_tcbhead.
15177 * sysdeps/generic/tls-setup.h: New file.
15178 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15179 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15180 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15182 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15184 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15185 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15186 (X86_FEATURE_1_SHSTK): Likewise.
15187 (CET_ENABLED): Likewise.
15188 (IBT_ENABLED): Likewise.
15189 (SHSTK_ENABLED): Likewise.
15191 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15194 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15195 (LOCALES): Likewise.
15196 * localedata/dsb_DE.UTF-8.in: New file.
15197 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15199 2018-07-12 Florian Weimer <fweimer@redhat.com>
15201 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15202 __mprotect, not mprotect.
15204 2018-07-11 Florian Weimer <fweimer@redhat.com>
15206 * io/Makefile (headers): Add bits/statx.h.
15208 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15210 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15211 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15213 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15214 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15217 2018-07-10 Florian Weimer <fweimer@redhat.com>
15219 * io/Makefile (routines): Add statx.
15220 (tests-internal): Add tst-statx.
15221 * io/Versions (GLIBC_2.28): Export statx.
15222 * io/bits/statx.h: New file.
15223 * io/sys/stat.h [__USE_GNU]: Include it.
15224 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15225 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15227 * io/statx.c: New file.
15228 * io/statx_generic.: Likewise.
15229 * io/tst-statx.: Likewise.
15230 * include/bits/statx.h: Likewise.
15231 * sysdeps/unix/sysv/linux/kernel-features.h
15232 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15234 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15237 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15238 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15239 * sysdeps/unix/sysv/linux/statx.c: New file.
15240 * manual/filesys.texi: Note that statx is undocumented.
15241 * sysdeps/**/libc*.abilist: Update.
15243 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15245 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15246 a kernel issue which lead to test failure in some cases.
15248 2018-07-10 Florian Weimer <fweimer@redhat.com>
15251 * posix/regexec.c (check_node_accept_bytes): When comparing
15252 weights, do not compare an extra byte after the end of the
15255 2018-07-10 Florian Weimer <fweimer@redhat.com>
15257 * libio/readline.c: Fix copyright year.
15258 * libio/tst-readline.c Likewise.
15259 * nss/tst-nss-files-hosts-getent.c: Likewise.
15261 2018-07-06 Florian Weimer <fweimer@redhat.com>
15264 * nss/nss_files/files-XXX.c (internal_getent): Use
15265 __libc_readline_unlocked. Seek back to the start of the line if
15266 parsing failes with ERANGE.
15267 (get_contents_ret, get_contents): Remove.
15268 * nss/tst-nss-files-hosts-getent.c: New file.
15269 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15270 (tst-nss-files-hosts-getent): Link with -ldl.
15272 2018-07-06 Florian Weimer <fweimer@redhat.com>
15274 * include/stdio.h (__libc_readline_unlocked): Declare.
15275 (__ftello64, __fseeko64): Declare aliases.
15276 * libio/readline.c: New file.
15277 * libio/tst-readline.c: Likewise.
15278 (routines): Add readline.
15279 (tests-internal): Add tst-readlime.
15280 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15281 __libc_readline_unlocked.
15282 * libio/fseeko.c (__fseeko): Rename from fseeko.
15283 (fseeko): Add alias.
15284 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15285 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15286 (fseeko64): Add alias.
15287 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15288 * libio/ftello64.c (__ftello64): Rename from ftello64.
15289 (ftello64): Add alias.
15291 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15293 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15296 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15298 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15299 Use dl_hwcap without masking.
15300 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15301 Remove HWCAP_CPUID.
15303 2018-07-06 Florian Weimer <fweimer@redhat.com>
15305 * conform/conformtest.pl (checknamespace): Escape literal braces
15306 in regular expressions.
15308 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15310 * sysdeps/x86/cpu-features.c (get_common_indeces):
15311 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15312 * sysdeps/x86/cpu-features.c (init_cpu_features):
15313 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15315 2018-07-05 Florian Weimer <fweimer@redhat.com>
15317 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15319 (CFLAGS-elf-init.oS): Likewise.
15321 2018-07-05 Florian Weimer <fweimer@redhat.com>
15322 Carlos O'Donell <carlos@redhat.com>
15324 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15325 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15326 with stack protector enabled because there is no risk of infinite
15329 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15333 * libc-abis (ABSOLUTE): New ABI.
15334 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15335 * NEWS: Mention the new ABI.
15337 2018-07-05 Florian Weimer <fweimer@redhat.com>
15340 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15341 (RENAME_WHITEOUT): Define.
15342 [__USE_GNU] (renameat2): Declare.
15343 * stdio-common/Makefile (routines): Add renameat2.
15344 (tests): Add tst-renameat2.
15345 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15346 * stdio-common/renameat2.c: New file.
15347 * stdio-common/tst-renameat2.c: Likewise.
15348 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15349 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15351 * sysdeps/unix/sysv/linux/kernel-features.h
15352 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15353 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15354 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15356 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15357 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15358 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15359 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15360 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15361 * include/stdio.h (__renameat): Add alias for renameat.
15362 * stdio-common/renameat.c (__renameat): Rename from renameat.
15363 Add hidden definition and alias.
15364 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15365 * sysdeps/mach/hurd/renameat.c: Likewise.
15366 * sysdeps/**/libc*.abilist: Add renameat2.
15368 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15370 * posix/bug-regex33.c: Fix build after regex sync.
15372 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15375 * localedata/tst-langinfo-setlocale.c: New file.
15376 * localedata/tst-langinfo-setlocale-static.c: New file.
15377 * localedata/tst-langinfo-newlocale.c: New file.
15378 * localedata/tst-langinfo-newlocale-static.c: New file.
15379 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15380 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15381 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15382 (tests-static): Remove tst-langinfo-static. Add
15383 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15384 (tests-special): Remove $(objpfx)tst-langinfo.out,
15385 $(objpfx)tst-langinfo-static.out. Add
15386 $(objpfx)tst-langinfo-setlocale.out,
15387 $(objpfx)tst-langinfo-newlocale.out,
15388 $(objpfx)tst-langinfo-setlocale-static.out,
15389 $(objpfx)tst-langinfo-newlocale-static.out.
15390 ($(objpfx)tst-langinfo.out): Remove.
15391 ($(objpfx)tst-langinfo-static.out): Remove.
15392 ($(objpfx)tst-langinfo-newlocale.out): New target.
15393 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15394 (test-xfail-tst-langinfo-newlocale-static): Add.
15395 ($(objpfx)tst-langinfo-setlocale.out): New target.
15396 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15397 * localedata/tst-langinfo.c: Call test_locale.
15398 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15401 2018-07-04 Florian Weimer <fweimer@redhat.com>
15403 testrun.sh: Implement --tool=strace, --tool=valgrind
15404 * Makefile (testrun-script): Define variable.
15405 (testrun.sh): Use variable.
15406 * manual/install.texi (Tools for Compilation): make 4.0 or later
15408 * configure.ac: Check for make 4.0 or later.
15409 * INSTALL: Regenerate.
15410 * configure: Likewise.
15412 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15418 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15419 * posix/PCRE.tests: Remove invalid test.
15420 * posix/bug-regex28.c: Fix expected values for used syntax.
15421 * posix/bug-regex37.c: New file.
15422 * posix/bug-regex38.c: Likewise.
15423 * posix/regcomp.c: Sync with gnulib.
15424 * posix/regex.c: Likewise.
15425 * posix/regex.h: Likewise.
15426 * posix/regex_internal.c: Likewise.
15427 * posix/regex_internal.h: Likewise.
15428 * posix/regexec.c: Likewise.
15430 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15433 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15434 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15435 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15436 * localedata/unicode-gen/PropList.txt: likewise.
15437 * localedata/unicode-gen/UnicodeData.txt: likewise.
15438 * localedata/charmaps/UTF-8: Regenerate.
15439 * localedata/locales/i18n_ctype: likewise.
15440 * localedata/locales/tr_TR: likewise.
15441 * localedata/locales/translit_circle: likewise.
15442 * localedata/locales/translit_cjk_compat: likewise.
15443 * localedata/locales/translit_combining: likewise.
15444 * localedata/locales/translit_compat: likewise.
15445 * localedata/locales/translit_font: likewise.
15446 * localedata/locales/translit_fraction: likewise.
15448 2018-07-03 Florian Weimer <fweimer@redhat.com>
15451 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15452 * stdio-common/tst-printf.sh: Adjust expected output.
15453 * LICENSES: Update.
15455 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15457 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15460 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15462 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15463 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15464 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15465 * stdio-common/tst-printfsz-islongdouble.c: New file.
15466 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15468 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15469 [subdir == stdio-common] (tests-internal): Add
15470 test-printf-size-ieee128, and test-printf-size-ibm128.
15471 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15472 (CFLAGS-test-printf-size-ibm128.c): New variables.
15473 [subdir == stdio-common] (tests-special): Add
15474 $(objpfx)test-printf-size-ieee128.out and
15475 $(objpfx)test-printf-size-ibm128.out.
15476 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15477 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15478 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15479 __printf_sizeieee128.
15480 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15482 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15484 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15487 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15489 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15490 (exp2f_inline): Likewise.
15491 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15492 (__math_uflowf): Likewise.
15493 (__math_may_uflowf): Likewise.
15494 (__math_divzerof): Likewise.
15495 (__math_invalidf): Likewise.
15496 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15497 (__math_oflowf): Likewise.
15498 (__math_uflowf): Likewise.
15499 (__math_may_uflowf): Likewise.
15500 (__math_divzerof): Likewise.
15501 (__math_invalidf): Likewise.
15503 2018-06-29 DJ Delorie <dj@redhat.com>
15504 Carlos O'Donell <carlos@redhat.com>
15507 * include/libc-symbols.h: Comment the freeres framework.
15508 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15509 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15510 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15511 * dlfcn/dlerror.c: Include libc-symbols.h
15512 (__dlerror_main_freeres): New function.
15513 * dlfcn/dlfreeres.c: New file.
15514 * dlfcn/sdlfreeres.c: New file.
15515 * include/dlfcn.h: Declare __dlerror_main_freeres.
15516 * malloc/set-freeres.c: Declare __libdl_freeres, and
15517 __libpthread_freeres.
15518 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15519 the releavant libraries are loaded.
15520 * malloc/thread-freeres.c: Add comments.
15521 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15522 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15523 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15524 (__free_stacks): Rename to...
15525 (free_stacks): ...this. Mark static.
15526 (queue_stack): Call free_stacks.
15527 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15528 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15529 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15530 ptr_freeres element from struct.
15531 (pthread_functions): Remove .ptr_freeres from struct initializer.
15532 [SHARED] (nptl_freeres): Remove.
15533 * nptl/nptlfreeres.c: New file.
15535 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15536 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15538 (__free_stacks): Rename to...
15539 (__nptl_stacks_freeres): ...this.
15540 (__shm_directory_freeres): Declare.
15541 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15542 (__nptl_unwind_freeres): ...this.
15543 * resolv/res-close.c: Add comment.
15544 * resolv/resolv_conf.c: Include libc-symbols.h.
15545 * string/strerror_l.c: Include libc-symbols.h.
15546 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15547 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15548 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15549 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15551 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15553 * stdlib/tst-strfmon_l.c: Add tests for long double.
15555 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15558 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15559 * localedata/locales/dsb_DE: New file.
15561 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15564 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15566 (alt_mon): New entry, import from CLDR (nominative case).
15568 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15571 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15573 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15575 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15576 Use vector registers.
15578 * sysdeps/aarch64/multiarch/memmove_falkor.S
15579 (__memcpy_falkor): Use vector registers.
15581 2018-06-29 Martin Sebor <msebor@redhat.com>
15583 * manual/stdio.texi (Customizing Printf): Mention interaction
15584 with GCC built-ins.
15586 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15589 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15590 `st_value' is 0 if `st_shndx' is SHN_ABS.
15591 * elf/tst-absolute-zero.c: New file.
15592 * elf/tst-absolute-zero-lib.c: New file.
15593 * elf/tst-absolute-zero-lib.lds: New file.
15594 * elf/Makefile (tests): Add `tst-absolute-zero'.
15595 (modules-names): Add `tst-absolute-zero-lib'.
15596 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15597 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15598 ($(objpfx)tst-absolute-zero: New dependency.
15600 2018-06-29 Zack Weinberg <zackw@panix.com>
15602 * configure.ac: New command-line option --disable-crypt.
15603 Force --disable-nss-crypt when --disable-crypt is given, with a
15604 warning if it was explicitly enabled.
15605 * configure: Regenerate.
15606 * config.make.in: New boolean substitution variable $(build-crypt).
15607 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15608 when $(build-crypt).
15609 * manual/install.texi: Document --disable-crypt.
15610 * INSTALL: Regenerate.
15612 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15613 which is never set.
15614 * conform/Makefile: Only include libcrypt.a in
15615 linknamespace-libs-xsi and linknamespace-libs-XPG4
15616 when $(build-crypt).
15617 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15618 USE_CRYPT to 1 when $(build-crypt).
15619 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15620 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15621 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15623 2018-06-29 Zack Weinberg <zackw@panix.com>
15625 * crypt/crypt.h, posix/unistd.h: Update comments and
15626 prototypes for crypt and crypt_r.
15628 * manual/crypt.texi (Cryptographic Functions): New initial
15630 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15631 (Unpredictable Bytes): Improve initial exposition. Clarify error
15632 behavior of getentropy and getrandom.
15633 * manual/examples/genpass.c: Generate a salt using getentropy
15634 instead of the current time. Use hash $5$ (SHA-2-256).
15635 * manual/examples/testpass.c: Demonstrate validation against
15636 hashes generated with three different one-way functions.
15638 * manual/intro.texi: crypt.texi does not need an overview
15641 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15642 * manual/terminal.texi: Consistently refer to "passphrases"
15643 * instead of "passwords", and to the "user database" instead
15644 * of the "password database".
15645 * manual/users.texi: Similarly. Add notes about how actual
15646 passphrase hashes are now stored in the shadow database.
15647 Remove 20-year-old junk todo note.
15649 2018-06-29 Zack Weinberg <zackw@panix.com>
15651 * manual/crypt.texi: Use a normal top-level @node declaration.
15652 Move most of the introductory text to the 'crypt' section.
15653 Move the example programs below the @deftypefun for 'crypt_r'.
15654 Move the 'getpass' section...
15655 * manual/terminal.texi: ...here.
15657 2018-06-29 Zack Weinberg <zackw@panix.com>
15658 Florian Weimer <fweimer@redhat.com>
15660 * posix/unistd.h: Do not declare encrypt.
15661 (_XOPEN_CRYPT): Remove macro definition.
15662 (crypt): Declare only for _USE_MISC.
15663 * stdlib/stdlib.h: Do not declare setkey.
15664 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15665 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15667 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15668 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15669 into compat symbols. Don't define initial_perm if it's not
15671 * crypt/cert.c: Link explicitly with the expected versions for
15672 setkey and encrypt. If they are not available at all, mark
15673 the test as unsupported.
15675 * sunrpc/des_crypt.c: Unconditionally block linkage with
15676 cbc_crypt and ecb_crypt for new binaries.
15677 * sunrpc/des_soft.c: Unconditionally block linkage with
15678 des_setparity for new binaries.
15680 * manual/crypt.texi: Remove the entire "DES Encryption"
15681 section. Also remove the paragraph talking about FIPS 140-2
15682 from the introduction.
15683 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15684 of libgcrypt for "real" encryption, not DES.
15685 * manual/conf.texi (Constants for Sysconf): Mention that
15686 _XOPEN_CRYPT is no longer impelemented.
15688 * conform/data/unistd.h-data: Remove crypt function declaration.
15690 2018-06-29 Florian Weimer <fweimer@redhat.com>
15693 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15694 (disallow_malloc_check): Remove variable.
15695 (__malloc_check_init): Adjust.
15696 (malloc_set_state): Update comment.
15697 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15700 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15703 * localedata/locales/ast_ES (mon): Rename to...
15705 (mon): Import from CLDR (genitive case).
15707 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15708 Jakub Sitnicki <jkbs@redhat.com>
15711 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15712 on NLM_F_DUMP_INTR.
15714 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15716 * manual/llio.texi: Remove spurious space.
15718 2018-06-28 Florian Weimer <fweimer@redhat.com>
15721 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15724 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15726 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15727 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15728 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15729 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15730 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15731 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15732 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15734 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15737 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15738 Copy and null-terminate entries that are not terminated, in
15739 addition to empty ones.
15741 2018-06-27 Florian Weimer <fweimer@redhat.com>
15744 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15745 (extend_alloca_account): Remove.
15746 * manual/stdio.texi (Variable Arguments Output): Update comment.
15748 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15750 * nptl/sockperf.c: Remove file.
15752 2018-06-27 Florian Weimer <fweimer@redhat.com>
15755 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15756 scratch_buffer instead of extend_alloca.
15758 2018-06-27 Florian Weimer <fweimer@redhat.com>
15761 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15762 scratch_buffer instead of extend_alloca. Update comments.
15764 2018-06-27 Florian Weimer <fweimer@redhat.com>
15767 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15768 instead of extend_alloca.
15770 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15773 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15774 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15776 * scripts/test-installation.pl: Put temporary files in build
15777 directory, not /tmp.
15778 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15779 (CFLAGS-bug4.c): Likewise.
15780 (CFLAGS-bug5.c): Likewise.
15781 (CFLAGS-test-fseek.c): Likewise.
15782 (CFLAGS-test-popen.c): Likewise.
15783 (CFLAGS-test_rdwr.c): Likewise.
15784 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15786 * stdio-common/bug4.c (main): Likewise.
15787 * stdio-common/bug5.c (main): Likewise.
15788 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15789 * stdio-common/test-popen.c (do_test): Likewise.
15790 * stdio-common/test_rdwr.c (main): Likewise.
15792 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15794 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15795 (sem_open): Set sem.newsem.pad to zero for valgrind.
15797 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15800 * NEWS: Mention fcntl64 addition.
15801 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15802 * login/utmp_file.c: Likewise.
15803 * sysdeps/posix/fdopendir.c: Likewise.
15804 * sysdeps/posix/opendir.c: Likewise.
15805 * sysdeps/unix/pt-fcntl.c: Likewise.
15806 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15807 __fcntl64_nocancel_adjusted): New prototype.
15808 (__fcntl_nocancel_adjusted): Remove prototype.
15809 * io/Makefile (routines): Add fcntl64.
15810 (CFLAGS-fcntl64.c): New rule.
15811 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15812 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15813 * io/fcntl.h (fcntl64): Add prototype and redirect if
15814 __USE_FILE_OFFSET64 is defined.
15815 * io/fcntl64.c: New file.
15816 * manual/llio.text: Add a note for which commands fcntl acts a
15817 cancellation point.
15818 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15819 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15820 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15822 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15823 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15825 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15826 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15827 to __fcntl64_nocancel.
15828 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15829 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15830 to __fcntl64_nocancel.
15831 * sysdeps/generic/not-cancel.h: Likewise.
15832 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15833 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15834 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15835 (fcntl64): New symbol.
15836 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15847 fcntl64): Likewise.
15848 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15861 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15865 2018-06-26 Florian Weimer <fweimer@redhat.com>
15867 Run thread shutdown functions in an explicit order.
15868 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15870 (__libc_thread_freeres): Call thread shutdown functions
15872 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15873 * include/string.h (__strerror_thread_freeres): Declare.
15874 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15875 arena_thread_freeres. No longer static. Remove thread shutdown
15877 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15879 * resolv/res-close.c (__res_thread_freeres): Renamed from
15880 res_thread_freeres. No longer static. Remove thread shutdown
15882 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15883 * resolv/resolv_conf.c (freeres): Remove incorrect section
15884 attribute and use libc_freeres_fn.
15885 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15886 strerror_thread_freeres. No longer static. Remove thread
15887 shutdown hook registration.
15888 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15889 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15890 shutdown hook registration.
15891 * Makerules (shlib.lds): Do not provide section boundary symbols
15892 for __libc_thread_subfreeres.
15893 * manual/memory.texi (Basic Allocation): Update comment.
15895 2018-06-26 Florian Weimer <fweimer@redhat.com>
15897 Remove always-defined _RPC_THREAD_SAFE_ macro.
15898 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15899 Do not define _RPC_THREAD_SAFE_.
15900 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15902 * sunrpc/clnt_perr.c: Likewise.
15903 * sunrpc/clnt_raw.c: Likewise.
15904 * sunrpc/clnt_simp.c: Likewise.
15905 * sunrpc/key_call.c: Likewise.
15906 * sunrpc/rpc_common.c: Likewise.
15907 * sunrpc/rpc_main.c: Likewise.
15908 * sunrpc/rpc_thread.c: Likewise.
15909 * sunrpc/svc.c: Likewise.
15910 * sunrpc/svc_raw.c: Likewise.
15911 * sunrpc/svc_simple.c: Likewise.
15912 * sumrpc/svcauth_des.c: Likewise.
15914 2018-06-26 Florian Weimer <fweimer@redhat.com>
15916 * libio/Makefile (tests-internal): Add tst-vtables,
15917 tst-vtables-interposed.
15918 * libio/tst-vtables.c: New file.
15919 * libio/tst-vtables-common.c: Likewise.
15920 * libio/tst-vtables-interposed.c: Likewise.
15922 2018-06-26 Florian Weimer <fweimer@redhat.com>
15924 * support/support_test_main.c (support_test_main): Only call
15925 setvbuf if not disables.
15926 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15927 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15929 2018-06-26 Florian Weimer <fweimer@redhat.com>
15932 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15934 2018-06-25 Florian Weimer <fweimer@redhat.com>
15937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15938 Use struct scratch_buffer instead of extend_alloca.
15940 2018-06-25 Florian Weimer <fweimer@redhat.com>
15943 * nss/getent.c (initgroups_keys): Use dynarray instead of
15946 2018-06-25 Florian Weimer <fweimer@redhat.com>
15949 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15950 Use struct scratch_buffer instead of extend_alloca.
15952 2018-06-25 Florian Weimer <fweimer@redhat.com>
15955 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15956 back to malloc directly, without stack allocations.
15958 2018-06-25 Florian Weimer <fweimer@redhat.com>
15961 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15964 2018-06-25 Florian Weimer <fweimer@redhat.com>
15967 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15969 * nscd/hstcache.c (addhstbyX): Likewise.
15970 * nscd/pwdcache.c (addpwbyX): Likewise.
15971 * nscd/servicescache.c (addservbyX): Likewise.
15973 2018-06-25 Florian Weimer <fweimer@redhat.com>
15976 * nscd/connections.c (read_cmdline): New function.
15977 (restart): Use it. Update comment.
15979 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15982 * localedata/locales/csb_PL (mon): Rename to...
15984 (abmon): Rename to...
15985 (ab_alt_mon): This.
15986 (mon): Add with proper genitive forms, copy from Wikipedia.
15989 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15992 * localedata/locales/csb_PL (mon): Fix typos:
15993 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15994 (yesstr): Add, value is "jo".
15995 (nostr): Add, value is "nié".
15997 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15999 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16000 all log1p and significand functions on m680x0.
16001 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16002 of s_significand.c..
16003 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16004 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16005 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16006 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16007 s_log1p.c and include it..
16009 2018-06-21 Vincent Chen <vincentc@andestech.com>
16011 * elf/elf.h (R_NDS32_NONE): New define.
16012 (R_NDS32_32_RELA): Likewise.
16013 (R_NDS32_COPY): Likewise.
16014 (R_NDS32_GLOB_DAT): Likewise.
16015 (R_NDS32_JUMP_SLOT): Likewise.
16016 (R_NDS32_RELATIVE): Likewise.
16017 (R_NDS32_TLS_TPOFF): Likewise.
16018 (R_NDS32_TLS_DESC): Likewise.
16020 2018-06-21 Mark Wielaard <mark@klomp.org>
16022 * elf/elf.h (R_BPF_MAP_FD): Removed.
16023 (R_BPF_64_64, R_BPF_64_32): New.
16025 2018-06-21 Florian Weimer <fweimer@redhat.com>
16028 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16029 Renamed from libc_feholdsetround_ctx.
16030 (default_libc_feresetround_ctx): Renamed from
16031 libc_feresetround_ctx.
16032 (default_libc_feholdsetround_noex_ctx): Renamed from
16033 libc_feholdsetround_noex_ctx.
16034 (default_libc_feresetround_noex_ctx): Renamed from
16035 libc_feresetround_noex_ctx.
16036 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16037 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16038 forwardning to the old implementations under the new names.
16039 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16040 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16041 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16042 (libc_feresetround_ctx): Forward to default implements for i386
16043 and MATH_SET_BOTH_ROUNDING_MODES.
16044 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16045 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16047 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16049 * string/tst-cmp.c: Include <libc-diag.h>.
16050 (strncmp_max): Disable -Wstringop-overflow= around call to
16052 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16055 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16056 (main): Disable -Wunused-value around call to strpbrk.
16057 * string/bug-strspn1.c: Include <libc-diag.h>.
16058 (main): Disable -Wunused-value around call to strspn.
16060 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16061 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16063 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16064 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16066 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16068 * math/Makefile (libm-calls): Move s_significandF to...
16069 (gen-libm-calls): ... here.
16070 * math/s_significand_template.c: New file.
16071 * math/s_significand.c: Removed.
16072 * math/s_significandf.c: Removed.
16073 * math/s_significandl.c: Removed.
16074 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16075 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16077 * math/e_exp2_template.c (declare_mgen_finite_alias,
16078 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16079 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16080 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16082 2018-06-20 Florian Weimer <fweimer@redhat.com>
16084 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16086 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16089 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16090 floating-point number to strtod functions rather than possibly
16091 negating result of those functions.
16092 * stdio-common/tst-scanf-round.c: New file.
16093 * stdio-common/Makefile (tests): Add tst-scanf-round.
16094 ($(objpfx)tst-scanf-round): Depend on $(libm).
16096 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16098 * sysdeps/mach/hurd/localplt.data: Move to...
16099 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16100 R_386_GLOB_DAT like on Linux i386.
16102 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16104 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16105 (SHM_STAT_ANY): New macro.
16106 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16107 (SHM_STAT_ANY): Likewise.
16108 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16109 (SHM_STAT_ANY): Likewise.
16110 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16111 (SHM_STAT_ANY): Likewise.
16112 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16113 (SHM_STAT_ANY): Likewise.
16114 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16115 (SHM_STAT_ANY): Likewise.
16116 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16117 (SHM_STAT_ANY): Likewise.
16118 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16119 (SHM_STAT_ANY): Likewise.
16120 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16121 (SHM_STAT_ANY): Likewise.
16122 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16123 (SHM_STAT_ANY): Likewise.
16124 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16125 (SHM_STAT_ANY): Likewise.
16126 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16127 (SHM_STAT_ANY): Likewise.
16129 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16130 (SEM_STAT_ANY): New macro.
16131 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16132 (SEM_STAT_ANY): Likewise.
16133 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16134 (SEM_STAT_ANY): Likewise.
16135 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16136 (SEM_STAT_ANY): Likewise.
16137 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16138 (SEM_STAT_ANY): Likewise.
16139 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16140 (SEM_STAT_ANY): Likewise.
16141 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16142 (SEM_STAT_ANY): Likewise.
16143 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16144 (SEM_STAT_ANY): Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16146 (SEM_STAT_ANY): Likewise.
16147 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16148 (SEM_STAT_ANY): Likewise.
16150 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16151 (MSG_STAT_ANY): New macro.
16152 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16153 (MSG_STAT_ANY): Likewise.
16154 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16155 (MSG_STAT_ANY): Likewise.
16156 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16157 (MSG_STAT_ANY): Likewise.
16158 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16159 (MSG_STAT_ANY): Likewise.
16160 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16161 (MSG_STAT_ANY): Likewise.
16162 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16163 (MSG_STAT_ANY): Likewise.
16164 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16165 (MSG_STAT_ANY): Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16167 (MSG_STAT_ANY): Likewise.
16168 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16169 (MSG_STAT_ANY): Likewise.
16171 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16172 (MAP_TYPE): Change value to 0x2b.
16174 2018-06-18 Florian Weimer <fweimer@redhat.com>
16177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16178 socket with SOCK_CLOEXEC.
16180 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16183 * sysdeps/powerpc/powerpc64/le/Makefile
16184 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16185 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16186 (gnulib-tests): Also add $(f128-loader-link) for
16187 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16189 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16191 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16192 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16194 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16195 (sendfile64): New strong alias.
16196 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16197 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16198 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16199 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16201 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16202 ___pthread_get_cleanup_stack.
16203 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16204 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16205 * mach/shortcut.awk: Make syscall stubs include
16206 <mach-shortcuts-hidden.h> and add hidden definition.
16207 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16208 (__mach_msg): Add hidden prototype.
16209 * mach/msg.c: Include <mach.h>.
16210 (__mach_msg): Add hidden definition.
16211 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16212 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16213 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16214 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16215 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16216 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16217 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16218 prototype and definition.
16219 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16220 hidden target for _hurd_self_sigstate.
16222 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16225 * stdlib/tst-strtod-nan-sign-main.c: New file.
16226 * stdlib/tst-strtod-nan-sign.c: Likewise.
16227 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16228 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16229 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16230 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16231 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16233 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16239 2018-06-14 Florian Weimer <fweimer@redhat.com>
16242 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16243 that the result stays within the ISO-8859-1 range.
16244 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16245 characters are defined in IBM273.
16247 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16249 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16250 __mach_task_self): Remove attribute_hidden.
16252 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16254 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16255 ignore -Wrestrict for one test.
16257 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16258 Szabolcs Nagy <szabolcs.nagy@arm.com>
16260 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16262 2018-06-14 Florian Weimer <fweimer@redhat.com>
16264 * scripts/update-abilist.sh: Accept empty list of files to patch.
16266 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16268 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16269 test-xfail-check-abi-libmachuser): Add.
16270 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16271 __libc_read and __libc_write to __read and __write.
16272 * sysdeps/hurd/include/hurd/port.h: New file.
16273 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16274 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16275 __thread_switch, __evc_wait): Move declarations to...
16276 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16278 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16279 use PLT to call _hurd_self_sigstate.
16281 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16284 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16285 MAX_EXP as overflowing.
16286 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16288 (round_str): Output also whether result overflows in each rounding
16290 * stdlib/tst-strtod-round-data: Add more tests.
16291 * stdlib/tst-strtod-round-data.h: Regenerated.
16292 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16293 (TEST): Handle extra arguments for overflow flags.
16294 (struct test_overflow): New type.
16295 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16296 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16297 (test_in_one_mode): Take argument with overflow information.
16298 (do_test): Update calls to test_in_one_mode.
16300 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16302 * elf/dl-load (_dl_dst_substitute): Correct comment.
16303 (_dl_dst_count): Likewise.
16305 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16306 lll_futex_timed_wait.
16308 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16311 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16313 * math/test-nan-const.c: New file.
16314 * math/Makefile (tests): Add test-nan-const.
16315 (CFLAGS-test-nan-const.c): New variable.
16317 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16319 * benchtests/scripts/compare_strings.py (process_results): Add
16320 funcs argument. Compare only functions which are selected.
16321 (main): Check if base function is among selected functions.
16322 Pass selected functions to process_results.
16323 (__main__): Add -f/--functions argument.
16325 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16326 Hongbo Zhang <hongbo.zhang@linaro.org>
16328 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16329 __memcpy_falkor for phecda core.
16330 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16331 __memmove_falkor for phecda core.
16332 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16333 __memset_falkor for phecda core.
16334 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16336 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16337 macro to identify phecda core.
16339 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16340 Andreas Schwab <schwab@suse.de>
16341 Dmitry V. Levin <ldv@altlinux.org>
16342 Florian Weimer <fweimer@redhat.com>
16349 * elf/dl-dst.h: Remove DL_DST_COUNT.
16350 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16351 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16352 (is_dst): Comment. Support ELF gABI.
16353 (_dl_dst_count): Comment. Simplify and count DSTs.
16354 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16355 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16358 2018-06-12 Zack Weinberg <zackw@panix.com>
16360 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16361 * sysdeps/unix/sysv/linux/dl-sysdep.c
16362 Include not-cancel.h. Use __close_nocancel instead of __close,
16363 __open64_nocancel instead of __open, __read_nocancel instead of
16364 __libc_read, and __write_nocancel instead of __libc_write.
16366 * csu/check_fds.c (check_one_fd)
16367 * sysdeps/posix/fdopendir.c (__fdopendir)
16368 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16369 instead of __fcntl and/or __libc_fcntl.
16371 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16372 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16373 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16374 Use __open64_nocancel instead of __open_nocancel.
16376 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16377 hidden_proto declarations to the end and issue them if either
16378 IS_IN(libc) or IS_IN(rtld).
16379 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16380 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16381 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16382 read_nocancel, waitpid_nocancel, write_nocancel.
16384 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16385 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16386 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16388 * nptl/pt-fcntl.c: New file.
16389 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16390 (libpthread-routines): Add pt-fcntl.
16391 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16392 (__libc_fcntl): Remove attribute_hidden.
16393 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16394 __fcntl_nocancel_adjusted, not fcntl_common.
16395 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16396 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16397 to fcntl_nocancel.c.
16398 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16401 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16403 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16404 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16405 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16406 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16407 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16408 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16409 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16410 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16411 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16412 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16413 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16414 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16415 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16416 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16417 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16418 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16419 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16420 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16421 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16422 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16424 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16425 libpthread-routines.
16426 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16429 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16430 __libc_read, and __write instead of __libc_write. Define
16431 __open64 in addition to __open.
16433 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16437 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16438 to _private_tm[3] and add __glibc_reserved2.
16439 Add _Static_assert of offset of __private_ss == 0x30.
16440 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16441 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16443 2018-06-12 Florian Weimer <fweimer@redhat.com>
16445 x86: Make strncmp usable from rtld.
16446 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16447 __strncmp_ia32 if in libc (and not in rtld).
16448 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16449 strncmp if not in libc (and not to __strncmp_sse2).
16451 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16454 * localedata/locales/gd_GB (mon): Rename to...
16456 (mon): Import from CLDR (genitive case).
16457 * localedata/locales/hsb_DE (mon): Rename to...
16459 (mon): Import from CLDR (genitive case).
16460 * localedata/locales/wa_BE (mon): Rename to...
16462 (mon): Add, fill with the proper genitive forms, but CLDR data
16463 is incomplete; completed according to the comments in this file.
16464 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16466 * localedata/locales/wa_BE (country_name): Reword
16467 "Beljike" -> "Beldjike".
16469 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16473 cases of non-finite arguments.
16474 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16476 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16479 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16481 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16484 * include/unistd.h (__execvpex): New prototype.
16485 * posix/Makefile (tests): Add tst-spawn4.
16486 (tests-internal): Add tst-spawn4-compat.
16487 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16488 * posix/tst-spawn4-compat.c: New file.
16489 * posix/tst-spawn4.c: Likewise.
16490 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16491 binaries as shell scripts.
16492 * sysdeps/posix/spawni.c (__spawni): Likewise.
16494 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16497 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16498 ($(all-built-dso:=.dynsym): New target.
16499 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16500 ($(objpfx)check-initfini.out): New target.
16501 (generated): Add check-initfini.out.
16502 * scripts/check-initfini.awk: New file.
16503 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16505 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16507 * sysdeps/arm/crti.S (_init): Mark as hidden.
16509 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16511 * sysdeps/i386/crti.S (_init): Mark as hidden.
16513 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16515 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16517 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16519 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16521 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16523 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16525 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16527 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16529 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16531 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16533 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16535 * sysdeps/sh/crti.S (_init): Mark as hidden.
16537 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16539 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16542 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16544 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16545 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16546 and TF redirection to KFtype and KF only when the default
16547 long double type is not the IEEE 128-bit floating point type.
16549 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16551 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16553 (HWCAP_USCAT): Likewise.
16554 (HWCAP_ILRCPC): Likewise.
16555 (HWCAP_FLAGM): Likewise.
16556 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16558 (_dl_aarch64_cap_flags): Add new flag names.
16560 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16561 (MAP_FIXED_NOREPLACE): New macro.
16562 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16563 (MAP_FIXED_NOREPLACE): Likewise.
16564 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16565 (MAP_FIXED_NOREPLACE): Likewise.
16566 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16567 (MAP_FIXED_NOREPLACE): Likewise.
16568 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16569 (MAP_FIXED_NOREPLACE): Likewise.
16570 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16571 (MAP_FIXED_NOREPLACE): Likewise.
16572 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16573 (MAP_FIXED_NOREPLACE): Likewise.
16574 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16575 (MAP_FIXED_NOREPLACE): Likewise.
16576 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16577 (MAP_FIXED_NOREPLACE): Likewise.
16578 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16579 (MAP_FIXED_NOREPLACE): Likewise.
16580 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16581 (MAP_FIXED_NOREPLACE): Likewise.
16582 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16583 (MAP_FIXED_NOREPLACE): Likewise.
16584 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16585 (MAP_FIXED_NOREPLACE): Likewise.
16586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16587 (MAP_FIXED_NOREPLACE): Likewise.
16588 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16589 (MAP_FIXED_NOREPLACE): Likewise.
16591 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16594 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16596 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16599 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16601 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16603 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16605 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16607 * benchtests/scripts/compare_string.py: (process_results) Catch
16608 exception in non-existent base_func and catch exception in
16609 non-existent attribute.
16610 (parse_file) Catch exception if input file does not exist.
16612 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16614 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16615 options to avoid diff calculation and omit header, respectively.
16616 (main): process --no-diff and --no-header
16618 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16619 H.J. Lu <hongjiu.lu@intel.com>
16621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16622 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16625 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16626 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16627 and __wcsncmp_sse2.
16628 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16629 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16630 AVX unaligned load is fast and vzeroupper is preferred.
16631 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16632 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16633 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16634 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16635 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16636 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16637 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16638 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16639 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16640 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16643 2018-06-01 Florian Weimer <fweimer@redhat.com>
16645 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16646 configuring with --disable-multi-arch, building with
16647 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16650 2018-06-01 Florian Weimer <fweimer@redhat.com>
16652 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16653 results from building with “-march=x86-64 -mtune=generic
16654 -mfpmath=sse” and running on a Haswell-era CPU.
16656 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16659 * soft-fp/sqrttf2.c: Remove file.
16660 * soft-fp/sqrtdf2.c: Move to ....
16661 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16663 (__sqrtdf2): Make conditional on
16664 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16666 * soft-fp/sqrtsf2.c: Move to ....
16667 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16669 (__sqrtsf2): Make conditional on
16670 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16672 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16673 (gcc-double-routines): Remove sqrtdf2.
16674 (gcc-quad-routines): Remove sqrttf2.
16675 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16676 Do not filter out sqrtsf2 and sqrtdf2.
16677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16678 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16680 2018-06-01 Florian Weimer <fweimer@redhat.com>
16682 * sysdeps/generic/libcidn.abilist: Remove file.
16684 2018-06-01 Florian Weimer <fweimer@redhat.com>
16687 * libio/strfile.h (struct _IO_str_fields): Rename members to
16688 discourage their use and add comment.
16689 (_IO_STR_DYNAMIC): Remove unused macro.
16690 * libio/strops.c (_IO_str_init_static_internal): Do not use
16691 callback pointers. Call malloc and free.
16692 (_IO_str_overflow): Do not use callback pointers. Call malloc
16694 (enlarge_userbuf): Likewise.
16695 (_IO_str_finish): Call free.
16696 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16697 _allocate_buffer_unused.
16698 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16700 (enlarge_userbuf): Likewise.
16701 (_IO_wstr_finish): Call free.
16702 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16703 _allocate_buffer_unused, _free_buffer_unused.
16704 * libio/memstream.c (__open_memstream): Likewise.
16705 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16706 * libio/wmemstream.c (open_wmemstream): Likewise.
16708 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16710 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16713 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16715 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16716 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16717 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16719 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16721 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16723 2018-05-29 Florian Weimer <fweimer@redhat.com>
16725 * support/Makefile (libsupport-routines): Add
16726 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16727 xpthread_barrierattr_setpshared.
16728 * support/xpthread_barrierattr_destroy.c: New file.
16729 * support/xpthread_barrierattr_init.c: Likewise.
16730 * support/xpthread_barrierattr_setpshared.c: Likewise.
16732 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16735 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16736 _r_debug and update DT_DEBUG for debugger.
16738 2018-05-29 Florian Weimer <fweimer@redhat.com>
16740 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16741 (tst-strtod5i.out): Likewise.
16743 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16745 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16746 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16747 (sparc64-quad-routines): New variable. Moved from ....
16748 [$(subdir) = soft-fp] (sysdep_routines): Add
16749 $(sparc64-quad-routines). Moved from ....
16750 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16751 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16752 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16754 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16755 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16756 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16757 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16758 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16759 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16760 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16761 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16762 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16763 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16764 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16765 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16766 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16767 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16768 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16769 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16770 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16771 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16772 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16773 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16774 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16775 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16776 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16777 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16778 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16779 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16780 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16781 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16782 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16783 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16784 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16785 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16787 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16788 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16789 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16790 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16791 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16793 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16794 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16795 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16796 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16797 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16798 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16799 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16800 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16801 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16802 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16803 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16804 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16805 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16806 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16807 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16808 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16809 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16811 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16813 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16814 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16815 (sparc32-quad-routines): New variable. Moved from ....
16816 [$(subdir) = soft-fp] (sysdep_routines): Add
16817 $(sparc32-quad-routines). Moved from ....
16818 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16819 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16821 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16822 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16823 * sysdeps/sparc/sparc32/q_add.c: ... here.
16824 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16825 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16826 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16827 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16828 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16829 * sysdeps/sparc/sparc32/q_div.c: ... here.
16830 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16831 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16832 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16833 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16834 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16835 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16836 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16837 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16838 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16839 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16840 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16841 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16842 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16843 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16844 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16845 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16846 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16847 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16848 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16849 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16850 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16851 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16852 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16853 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16854 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16855 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16856 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16857 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16858 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16859 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16860 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16861 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16862 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16863 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16864 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16865 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16866 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16867 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16868 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16869 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16870 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16871 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16872 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16873 * sysdeps/sparc/sparc32/q_util.c: ... here.
16874 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16875 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16876 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16877 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16879 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16880 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16882 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16883 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16884 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16885 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16887 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16893 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16894 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16896 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16899 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16902 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16904 * sysdeps/sh/Implies: Remove sh/soft-fp.
16905 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16906 * sysdeps/sh/sfp-machine.h: ... here.
16908 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16910 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16911 (__mempcpy_erms): Skip zero length.
16912 (__memmove_erms): Likewise.
16913 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16914 (__memset_erms): Likewise.
16916 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16918 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16919 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16920 Add functions moved from ....
16921 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16922 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16923 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16925 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16926 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16927 * sysdeps/alpha/e_sqrtl.c: ... here.
16928 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16929 * sysdeps/alpha/local-soft-fp.h: ... here.
16930 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16931 * sysdeps/alpha/ots_add.c: ... here.
16932 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16933 * sysdeps/alpha/ots_cmp.c: ... here.
16934 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16935 * sysdeps/alpha/ots_cmpe.c: ... here.
16936 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16937 * sysdeps/alpha/ots_cvtqux.c: ... here.
16938 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16939 * sysdeps/alpha/ots_cvtqx.c: ... here.
16940 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16941 * sysdeps/alpha/ots_cvttx.c: ... here.
16942 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16943 * sysdeps/alpha/ots_cvtxq.c: ... here.
16944 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16945 * sysdeps/alpha/ots_cvtxt.c: ... here.
16946 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16947 * sysdeps/alpha/ots_div.c: ... here.
16948 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16949 * sysdeps/alpha/ots_mul.c: ... here.
16950 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16951 * sysdeps/alpha/ots_nintxq.c: ... here.
16952 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16953 * sysdeps/alpha/ots_sub.c: ... here.
16954 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16955 * sysdeps/alpha/sfp-machine.h: ... here.
16957 2018-05-23 Florian Weimer <fweimer@redhat.com>
16965 Switch to extern IDNA implementation (libidn2).
16966 * libidn: Remove subdirectory.
16967 * LICENSES: Do not mention licensing conditions for the removed
16969 * config.h.in (HAVE_LIBIDN): Remove.
16970 * include/dlfcn.h (__libc_dlopen): Update comment.
16971 * include/idna.h: Remove file.
16972 * inet/Makefile (routines): Add idna.
16973 (tests-static, tests-internal): Add tst-idna_name_classify.
16974 (LOCALES): Generate locales for tests.
16975 (tst-idna_name_classify.out): Depend on generated locales.
16976 * inet/idna_name_classify.c: New file.
16977 * inet/tst-idna_name_classify.c: Likewise.
16978 * inet/net-internal.h (__idna_to_dns_encoding)
16979 (__idna_from_dns_encoding): Declare.
16980 * inet/net-internal.h (enum idna_name_classification): Define.
16981 (__idna_name_classify): Declare.
16982 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16983 __idna_from_dns_encoding.
16984 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16985 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16986 name as a fallback in case of encoding errors.
16987 (getnameinfo): Use DEPRECATED_NI_IDN.
16988 * inet/idna.c: New file.
16989 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16990 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16991 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16992 (modules-names): Add tst-no-libidn2.
16993 (extra-test-objs): Add tst-no-libidn2.os.
16994 (LDFLAGS-tst-no-libidn2.so): Set soname.
16995 (LOCALES): Set, and generate locales.
16996 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16997 (tst-resolv-ai_idn-latin1): Likewise.
16998 (tst-resolv-ai_idn-nolibidn2): Likewise.
16999 (tst-resolv-ai_idn.out): Depend on locales.
17000 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17001 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17003 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17004 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17005 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17006 * resolv/tst-resolv-ai_idn.c: New file.
17007 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17008 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17009 * resolv/tst-no-libidn2.c: Likewise.
17010 * support/support_format_addrinfo.c (format_ai_flags): Do not
17011 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17012 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17013 (gaih_inet): Call __idna_to_dns_encoding and
17014 __idna_from_dns_encoding, and use the original (punycode) name if
17015 __idna_from_dns_encoding fails due to an encoding error.
17016 (getaddrinfo): Use DEPRECATED_AI_IDN.
17017 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17018 * sysdeps/unix/inet/configure: Remove file.
17019 * sysdeps/unix/inet/configure.ac: Likewise.
17021 2018-05-23 Florian Weimer <fweimer@redhat.com>
17023 Implement allocate_once.
17024 * include/allocate_once.h: New file.
17025 * misc/allocate_once.c: Likewise.
17026 * misc/tst-allocate_once.c: Likewise.
17027 * misc/Makefile (routines): Add allocate_once.
17028 (tests-internal): Add tst-allocate_once.
17029 (generated): Add tst-allocate_once.mtrace,
17030 tst-allocate_once-mem.out.
17031 (tests-special): Add tst-allocate_once-mem.out.
17032 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17033 (tst-allocate_once-mem.out): Call mtrace.
17034 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17036 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17039 * string/test-memcpy.c (do_test1): New function.
17040 (test_main): Call it.
17042 2018-05-23 Andreas Schwab <schwab@suse.de>
17046 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17047 (L(preloop_large)): Save initial destination pointer in %r11 and
17048 use it instead of %rax after the loop.
17049 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17051 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17053 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17054 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17055 -I../soft-fp. Moved from ....
17056 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17057 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17058 * sysdeps/aarch64/e_sqrtl.c: ... here.
17059 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17060 * sysdeps/aarch64/sfp-machine.h: ... here.
17062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17063 -Wmaybe-uninitialized around access to fq[0].
17064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17068 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17069 aliases for non-libc case of versioned symbols.
17070 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17071 (llseek): Define as compat symbol if
17072 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17074 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17075 Make into a compat symbol, disabled for minimum symbol version
17076 GLIBC_2.28 and later.
17077 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17079 2018-05-22 Florian Weimer <fweimer@redhat.com>
17081 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17082 not add -mpreferred-stack-boundary=4.
17083 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17084 (stack-align-test-flags): Likewise.
17085 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17087 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17088 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17089 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17090 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17091 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17092 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17093 (CFLAGS-tst-align2.c): Likewise.
17095 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17097 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17098 (index_arch_Prefer_FSRM): Likewise.
17099 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17100 Also check Prefer_FSRM.
17101 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17102 Also return OPTIMIZE (erms) for Prefer_FSRM.
17104 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17106 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17107 (index_cpu_FSRM): Likewise.
17108 (reg_FSRM): Likewise.
17110 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17112 * math/gen-tgmath-tests.py: Import sys.
17113 (Tests.__init__): Initialize macros_seen.
17114 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17115 if requested to do so for this macro.
17116 (Tests.add_all_tests): Take argument for macro for which to
17118 (Tests.check_macro_list): New function.
17119 (main): Handle check-list argument and argument specifying macro
17120 for which to generate tests.
17121 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17122 [PYTHON] (tgmath3-macro-tests): Likewise.
17123 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17124 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17125 not test-tgmath3.c.
17126 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17127 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17129 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17130 [PYTHON] ($(foreach
17131 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17133 [PYTHON] (tests-special): Add
17134 $(objpfx)test-tgmath3-macro-list.out.
17135 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17137 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17138 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17142 * time/tzset.c (SECSPERDAY): Cast to time_t.
17143 * time/tst-y2039.c: New file.
17144 * time/Makefile (tests): Add tst-y2039.
17146 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17148 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17149 (PREFETCH_ONE_SET): Remove duplicate line.
17151 2018-05-17 Florian Weimer <fweimer@redhat.com>
17153 * sysdeps/generic/math-type-macros-double.h: Include
17154 <math-nan-payload-double.h> after <libm-alias-double.h>.
17155 * sysdeps/generic/math-type-macros-float.h: Include
17156 <math-nan-payload-float.h> after <libm-alias-float.h>.
17157 * sysdeps/generic/math-type-macros-float128.h: Include
17158 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17159 * sysdeps/generic/math-type-macros-ldouble.h: Include
17160 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17162 2018-05-17 Andreas Schwab <schwab@suse.de>
17164 * resolv/res_send.c (__res_context_send): Don't set errno when
17165 returing error after malloc failure.
17167 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17169 * nptl/allocatestack.c (allocate_stack): Remove the
17170 !__ASSUME_PRIVATE_FUTEX paths.
17171 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17172 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17174 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17175 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17176 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17177 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17178 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17179 !__ASSUME_PRIVATE_FUTEX path.
17180 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17181 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17182 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17183 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17184 !__ASSUME_PRIVATE_FUTEX macros.
17185 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17186 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17187 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17188 * sysdeps/unix/sysv/linux/kernel-features.h
17189 (__ASSUME_PRIVATE_FUTEX): Removed.
17191 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17193 * math/Makefile (libm-narrow-fns): Add div.
17194 (libm-test-funcs-narrow): Likewise.
17195 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17196 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17197 * math/gen-auto-libm-tests.c (test_functions): Add div.
17198 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17199 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17200 (NARROW_DIV_TRIVIAL): Likewise.
17201 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17203 (__ddivl): Likewise.
17204 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17206 (CFLAGS-nldbl-ddiv.c): New variable.
17207 (CFLAGS-nldbl-fdiv.c): Likewise.
17208 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17210 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17212 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17213 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17214 * math/auto-libm-test-in: Add tests of div.
17215 * math/auto-libm-test-out-narrow-div: New generated file.
17216 * math/libm-test-narrow-div.inc: New file.
17217 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17220 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17221 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17222 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17231 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17232 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17233 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17234 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17236 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17262 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17265 * nscd/nscd-client.h (sendfileall): Remove prototype.
17266 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17267 (handle_request): Use writeall instead of sendfileall.
17268 * nscd/aicache.c (addhstaiX): Likewise.
17269 * nscd/grpcache.c (cache_addgr): Likewise.
17270 * nscd/hstcache.c (cache_addhst): Likewise.
17271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17272 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17273 * nscd/pwdcache.c (cache_addpw): Likewise.
17274 * nscd/servicescache.c (cache_addserv): Likewise.
17275 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17276 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17280 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17282 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17283 Include <string/strncat.c>.
17284 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17286 (__GI___strncat): New hidden alias.
17288 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17290 * sysdeps/mips/mips32/libm-test-ulps: Update.
17291 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17293 2018-05-16 Florian Weimer <fweimer@redhat.com>
17295 * support/Makefile (libsupport-routines): Add support_quote_blob,
17296 support_test_compare_blob.
17297 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17298 * support/check.h (TEST_COMPARE_BLOB): Define.
17299 (support_test_compare_blob): Declare.
17300 * support/support.h (support_quote_blob): Declare.
17301 * support/support_quote_blob.c: New file.
17302 * support/support_test_compare_blob.c: Likewise.
17303 * support/tst-support_quote_blob.c: Likewise.
17304 * support/tst-test_compare_blob.c: Likewise.
17306 2018-05-16 Florian Weimer <fweimer@redhat.com>
17308 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17309 of <strtod_nan_double.h>.
17310 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17311 instead of SET_MANTISSA.
17312 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17313 of include <strtod_nan_float.h>.
17314 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17315 instead of <strtod_nan_ldouble.h>.
17316 * stdlib/strtod_nan_double.h: Move to ...
17317 * sysdeps/generic/math-nan-payload-double.h: ... here.
17318 (FLOAT): Remove definition.
17319 (SET_MANTISSA): Rename to ...
17320 (SET_NAN_PAYLOAD): ... this.
17321 * stdlib/strtod_nan_float.h: Move to ...
17322 * sysdeps/generic/math-nan-payload-float.h: ... here.
17323 (FLOAT): Remove definition.
17324 (SET_MANTISSA): Rename to ...
17325 (SET_NAN_PAYLOAD): ... this.
17326 * sysdeps/generic/math-type-macros-double.h: Include
17327 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17328 instead of <math-svid-compat.h>.
17329 * sysdeps/generic/math-type-macros-float.h: Include
17330 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17331 instead of <math-svid-compat.h>.
17332 * sysdeps/generic/math-type-macros-float128.h: Include
17333 <math-nan-payload-float128.h>.
17334 * sysdeps/generic/math-type-macros-ldouble.h: Include
17335 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17336 instead of <math-svid-compat.h>.
17337 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17338 check for definition.
17339 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17340 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17341 Include <ieee754_float128.h>.
17342 (FLOAT): Remove definition.
17343 (SET_MANTISSA): Rename to ...
17344 (SET_NAN_PAYLOAD): ... this.
17345 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17346 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17347 Do not include <float128_private.h>.
17348 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17350 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17351 (FLOAT): Remove definition.
17352 (SET_MANTISSA): Rename to ...
17353 (SET_NAN_PAYLOAD): ... this.
17354 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17355 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17356 (FLOAT): Remove definition.
17357 (SET_MANTISSA): Rename to ...
17358 (SET_NAN_PAYLOAD): ... this.
17359 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17360 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17361 (FLOAT): Remove definition.
17362 (SET_MANTISSA): Rename to ...
17363 (SET_NAN_PAYLOAD): ... this.
17364 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17365 of "../stdlib/strtod_nan_double.h".
17366 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17367 of "../stdlib/strtod_nan_float.h".
17368 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17369 instead of "../stdlib/strtod_nan_ldouble.h".
17370 * manual/arith.texi (Parsing of Floats): Adjust comment.
17372 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17374 * math/Makefile (libm-narrow-fns): Add mul.
17375 (libm-test-funcs-narrow): Likewise.
17376 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17377 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17378 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17379 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17380 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17381 (NARROW_MUL_TRIVIAL): Likewise.
17382 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17383 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17385 (__dmull): Likewise.
17386 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17388 (CFLAGS-nldbl-dmul.c): New variable.
17389 (CFLAGS-nldbl-fmul.c): Likewise.
17390 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17392 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17394 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17395 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17396 * math/auto-libm-test-in: Add tests of mul.
17397 * math/auto-libm-test-out-narrow-mul: New generated file.
17398 * math/libm-test-narrow-mul.inc: New file.
17399 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17402 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17403 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17404 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17412 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17413 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17414 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17415 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17416 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17418 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17444 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17446 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17447 with *%eax in call.
17449 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17451 * sysdeps/i386/ldsodefs.h: Removed.
17452 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17453 * sysdeps/x86/ldsodefs.h: This.
17454 (La_i86_regs): New.
17455 (La_i86_retval): Likewise.
17456 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17457 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17459 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17461 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17464 2018-05-13 Alan Modra <amodra@gmail.com>
17466 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17467 R_PARISC_TLS_DTPOFF32 reloc addend.
17469 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17471 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17472 * math/math.h: Restrict the prototype definition for the functions
17473 issignaling(_Float128) and iszero(_Float128); and template
17474 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17475 __HAVE_FLOAT128_UNLIKE_LDBL.
17476 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17477 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17478 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17479 __f128() constants; define the type _Float128 as long double;
17480 and reuse long double in __CFLOAT128.
17482 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17484 * sysdeps/generic/math_private.h: Do not include
17486 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17488 * math/fromfp.h: Include <math-barriers.h>.
17489 * math/math-narrow.h: Likewise.
17490 * math/s_nextafter.c: Likewise.
17491 * math/s_nexttowardf.c: Likewise.
17492 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17493 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17494 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17495 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17514 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17516 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17517 * sysdeps/ieee754/k_standardl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17538 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17539 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17541 2018-05-11 Florian Weimer <fweimer@redhat.com>
17543 Use 64-bit epoch values in the time zone file parser.
17544 * include/time.h (internal_time_t): Define.
17545 (__tzfile_compute): Use it.
17546 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17548 (transitions): Switch to internal_time_t.
17549 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17551 (__tzfile_compute): Use internal_time_t for timer argument. Check
17552 for truncation before calling __offtime.
17554 2018-05-11 Florian Weimer <fweimer@redhat.com>
17557 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17558 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17560 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17561 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17562 export without --enable-obsolete-rpc.
17563 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17564 symbol. This should not have been exported, ever.
17566 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17569 * localedata/locales/gd_GB (abmon): Fix typo in May:
17570 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17572 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17574 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17575 Use multiple registers to copy data in loop tail.
17577 * sysdeps/aarch64/multiarch/memmove_falkor.S
17578 (__memmove_falkor): Use multiple registers to move data in
17581 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17583 * math/math-underflow.h: New file.
17584 * sysdeps/generic/math_private.h: Do not include <float.h>.
17585 (fabs_tg): Remove macro. Moved to math-underflow.h.
17586 (min_of_type_f): Likewise.
17587 (min_of_type_): Likewise.
17588 (min_of_type_l): Likewise.
17589 (min_of_type_f128): Likewise.
17590 (min_of_type): Likewise.
17591 (math_check_force_underflow): Likewise.
17592 (math_check_force_underflow_nonneg): Likewise.
17593 (math_check_force_underflow_complex): Likewise.
17594 * math/e_exp2_template.c: Include <math-underflow.h>.
17595 * math/k_casinh_template.c: Likewise.
17596 * math/s_catan_template.c: Likewise.
17597 * math/s_catanh_template.c: Likewise.
17598 * math/s_ccosh_template.c: Likewise.
17599 * math/s_cexp_template.c: Likewise.
17600 * math/s_clog10_template.c: Likewise.
17601 * math/s_clog_template.c: Likewise.
17602 * math/s_csin_template.c: Likewise.
17603 * math/s_csinh_template.c: Likewise.
17604 * math/s_csqrt_template.c: Likewise.
17605 * math/s_ctan_template.c: Likewise.
17606 * math/s_ctanh_template.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17631 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17632 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17633 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17634 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17635 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17638 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17684 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17685 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17687 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17692 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17694 * sysdeps/generic/math-barriers.h: New file.
17695 * sysdeps/generic/math_private.h [!math_opt_barrier]
17696 (math_opt_barrier): Move to math-barriers.h.
17697 [!math_opt_barrier] (math_force_eval): Likewise.
17698 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17699 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17701 (math_force_eval): Likewise.
17702 * sysdeps/alpha/fpu/math-barriers.h: New file.
17703 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17705 (math_force_eval): Likewise.
17706 * sysdeps/x86/fpu/math-barriers.h: New file.
17707 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17709 (math_force_eval): Likewise.
17710 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17711 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17712 multiple-include guard for rename.
17713 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17714 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17716 (math_force_eval): Likewise.
17718 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17722 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17724 * stdlib/Makefile (test-bz22786): New test.
17725 * stdlib/test-bz22786.c: New test.
17727 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17729 * include/math-narrow-eval.h: New file. Contents moved from ....
17730 * sysdeps/generic/math_private.h: ... here.
17731 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17732 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17733 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17734 * stdlib/strtod_l.c: Likewise.
17735 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17736 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17737 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17750 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17752 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17754 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17756 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17759 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17761 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17765 2018-05-08 Andreas Schwab <schwab@suse.de>
17767 * sysdeps/nptl/internaltypes.h: Fix comment.
17769 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17772 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17775 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17777 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17778 of I into loop header.
17779 * benchtests/bench-memmove-walk.c
17780 (test_main): Likewise.
17782 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17785 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17786 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17788 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17791 * elf/dl-load.c (open_verify): Fix stack overflow.
17792 * elf/Makefile (tst-big-note): New test.
17793 * elf/tst-big-note-lib.S: New.
17794 * elf/tst-big-note.c: New.
17796 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17798 * scripts/abilist.awk: Ignore absolute symbols.
17799 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17800 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17801 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17802 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17803 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17804 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17805 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17806 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17807 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17808 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17809 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17810 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17892 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17906 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17934 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17955 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18045 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18060 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18073 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18099 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18113 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18152 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18155 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18156 Use atomic_load_acquire to load __tid.
18158 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18160 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18161 Restore the pointer into %rdx, after syscall and use %rdx,
18162 instead of %rsi, to restore context.
18164 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18166 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18167 Pop the pointer into %rdx after syscall and use %rdx, instead
18168 of %rsi, to restore context.
18170 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18172 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18173 handlers after setjmp.
18174 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18176 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18177 <libc-pointer-arith.h>.
18178 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18179 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18180 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18181 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18182 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18183 * sysdeps/x86/__longjmp_cancel.S: New file.
18184 * sysdeps/x86/longjmp.c: Likewise.
18185 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18187 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18189 * NEWS: Add ustat.h deprecation entry.
18190 * bits/ustat.h: Remove file.
18191 * misc/sys/ustat.h: Likewise.
18192 * misc/ustat.h: Likewise.
18193 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18194 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18195 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18196 compatibility mode.
18197 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18198 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18199 generic Linux implementation.
18201 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18203 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18204 * math/w_expl_compat.c: Likewise.
18205 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18207 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18209 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18211 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18213 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18214 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18215 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18217 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18220 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18221 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18224 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18226 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18228 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18229 * math/w_asin_template.c: Likewise.
18230 * math/w_atanh_template.c: Likewise.
18232 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18234 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18235 to powerpc/powerpc64/be for big-endian.
18236 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18239 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18240 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18241 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18242 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18243 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18245 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18246 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18247 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18248 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18249 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18250 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18251 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18252 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18253 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18254 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18255 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18256 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18257 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18258 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18259 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18260 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18261 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18262 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18263 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18264 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18265 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18266 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18267 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18268 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18269 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18270 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18272 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18273 adjusted to imply powerpc64 and older processors on powerpc64/be.
18274 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18275 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18276 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18277 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18278 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18279 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18280 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18281 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18282 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18283 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18284 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18285 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18286 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18287 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18288 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18289 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18290 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18291 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18292 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18293 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18294 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18295 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18296 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18297 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18298 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18299 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18300 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18301 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18302 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18303 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18304 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18306 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18307 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18308 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18309 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18311 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18312 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18313 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18314 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18316 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18317 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18318 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18319 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18320 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18321 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18322 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18323 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18324 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18325 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18326 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18328 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18329 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18330 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18331 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18332 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18333 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18334 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18335 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18336 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18337 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18338 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18340 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18341 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18342 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18343 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18344 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18345 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18346 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18347 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18348 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18349 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18354 and adjusted to imply olders processors.
18355 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18359 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18360 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18384 powerpc64 and adjusted.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18390 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18392 * sysdeps/tile: Remove.
18393 * sysdeps/unix/sysv/linux/tile: Likewise.
18394 * README (tilegx-*-linux-gnu): Remove from list of supported
18396 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18397 contribution of support for generic Linux kernel syscall
18399 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18400 tilegx configurations.
18401 (Config.install_linux_headers): Do not handle tile.
18402 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18404 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18405 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18406 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18407 conditional undefine and redefine.
18408 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18410 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18411 conditional undefine and redefine.
18413 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18415 * signal/tst-sigaction.c: New file to test BZ #23069.
18416 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18418 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18421 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18422 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18423 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18424 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18426 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18428 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18429 _DIRENT_MATCHES_DIRENT64 is not defined.
18430 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18431 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18433 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18434 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18436 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18438 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18439 version to GCC 8 branch.
18441 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18443 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18444 (check_no_hidden): Use type of original function when declaring
18447 * sysdeps/unix/sysv/linux/sys/ptrace.h
18448 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18449 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18450 (struct __ptrace_seccomp_metadata): New type.
18451 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18452 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18453 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18454 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18455 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18456 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18458 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18460 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18462 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18463 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18464 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18465 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18466 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18468 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18470 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18472 * dirent/versionsort.c (versionsort): Likewise.
18473 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18474 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18475 * dirent/versionsort64.c (versionsort64): Likewise.
18476 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18477 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18478 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18479 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18480 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18481 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18482 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18483 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18484 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18485 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18488 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18489 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18491 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18493 * elf/elf.h (NT_PPC_PKEY): New macro.
18495 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18498 * localedata/locales/hr_HR: fix thousands_sep and
18501 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18503 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18504 (XTABS): Define to TAB3.
18506 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18508 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18510 * dirent/scandir-tail-common.c: New file.
18511 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18512 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18513 * dirent/scandir.c: Use scandir-tail-common.c.
18514 * dirent/scandirat.c: Likewise.
18515 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18516 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18517 if _DIRENT_MATCHES_DIRENT64 is defined.
18518 * dirent/scandirat64.c (scandirat64): Likewise.
18519 * include/dirent.h (__scandir_tail): Only define iff
18520 _DIRENT_MATCHES_DIRENT64 is not defined.
18521 (__scandir64_tail): Define regardless.
18522 (__scandirat, scandirat64): Remove libc_hidden_proto.
18523 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18524 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18526 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18527 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18528 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18529 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18531 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18533 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18535 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18537 (_dl_aarch64_cap_flags): Add asimdfhm.
18539 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18541 * sysdeps/nios2/libm-test-ulps: Update.
18543 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18545 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18546 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18548 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18550 (_DIRENT_MATCHES_DIRENT64): Undef
18551 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18552 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18553 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18554 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18556 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18557 use getdents64 syscalls as base.
18558 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18559 symbol if required.
18560 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18561 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18562 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18563 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18564 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18565 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18566 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18567 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18569 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18570 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18572 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18574 * scripts/test_printers_common.py (init_test): Disable lock elision.
18576 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18578 * math/test-tgmath.c (count_double, count_float,
18579 count_ldouble, count_cdouble, count_cfloat,
18580 count_cldouble): Use volatile int.
18582 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18584 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18585 (conformtest-xfail-conds): Add i386-gnu.
18586 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18588 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18589 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18590 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18591 msqid_ds.msg_lrpid): Likewise.
18592 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18594 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18595 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18596 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18597 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18599 (struct statvfs64): Likewise.
18600 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18602 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18603 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18604 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18605 instead of wait_queue.
18606 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18607 instead of vm_area_struct.
18608 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18609 struct sched_param definition to it.
18610 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18611 * bits/types/struct_sched_param.h: New file.
18612 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18613 <bits/types/struct_sched_param.h> instead of <sched.h>.
18614 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18615 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18616 generic version but include <bits/pthreadtypes.h> to make struct
18617 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18618 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18620 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18621 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18622 [__USE_XOPEN] (OFDEL): New macro.
18623 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18624 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18625 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18627 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18628 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18629 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18631 * sysdeps/i386/sys/ucontext.h: Likewise.
18632 * sysdeps/m68k/sys/ucontext.h: Likewise.
18633 * sysdeps/mips/sys/ucontext.h: Likewise.
18634 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18635 * sysdeps/mach/hurd/i386/Makefile
18636 (test-xfail-POSIX/fcntl.h/conform): Add.
18637 (test-xfail-POSIX/signal.h/conform): Add.
18638 (test-xfail-POSIX/semaphore.h/conform): Add.
18639 (test-xfail-POSIX/regex.h/conform): Add.
18640 (test-xfail-POSIX/aio.h/conform): Add.
18641 (test-xfail-POSIX/mqueue.h/conform): Add.
18642 (test-xfail-POSIX/sys/types.h/conform): Add.
18643 (test-xfail-UNIX98/fcntl.h/conform): Add.
18644 (test-xfail-UNIX98/netdb.h/conform): Add.
18645 (test-xfail-UNIX98/signal.h/conform): Add.
18646 (test-xfail-UNIX98/semaphore.h/conform): Add.
18647 (test-xfail-UNIX98/regex.h/conform): Add.
18648 (test-xfail-UNIX98/aio.h/conform): Add.
18649 (test-xfail-UNIX98/ftw.h/conform): Add.
18650 (test-xfail-UNIX98/mqueue.h/conform): Add.
18651 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18652 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18653 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18654 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18655 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18656 (test-xfail-UNIX98/sys/types.h/conform): Add.
18657 (test-xfail-UNIX98/stdlib.h/conform): Add.
18658 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18659 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18660 (test-xfail-POSIX2008/netdb.h/conform): Add.
18661 (test-xfail-POSIX2008/signal.h/conform): Add.
18662 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18663 (test-xfail-POSIX2008/regex.h/conform): Add.
18664 (test-xfail-POSIX2008/aio.h/conform): Add.
18665 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18666 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18667 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18668 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18669 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18670 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18671 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18672 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18673 (test-xfail-XOPEN2K/signal.h/conform): Add.
18674 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18675 (test-xfail-XOPEN2K/regex.h/conform): Add.
18676 (test-xfail-XOPEN2K/aio.h/conform): Add.
18677 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18678 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18679 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18680 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18681 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18682 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18683 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18684 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18685 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18686 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18687 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18688 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18689 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18690 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18691 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18692 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18693 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18694 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18695 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18696 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18697 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18698 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18699 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18700 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18701 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18702 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18703 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18705 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18706 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18708 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18710 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18711 --enable-obsolete for powerpc-linux-gnuspe.
18713 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18715 * conform/data/sys/un.h-data: Allow sun_ prefix.
18716 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18718 * sysdeps/mach/include/mach.h: Likewise.
18719 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18720 * sysdeps/mach/include/mach_error.h: Likewise.
18722 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18724 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18725 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18726 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18727 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18729 2018-04-16 Andreas Schwab <schwab@suse.de>
18732 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18734 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18736 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18737 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18739 2018-04-12 DJ Delorie <dj@redhat.com>
18741 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18744 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18746 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18747 (struct kernel_sigaction): Use the same definition on 31bit as is used
18750 2018-04-09 Florian Weimer <fweimer@redhat.com>
18753 * resolv/res_send.c (send_dg): Use designated initializers instead
18754 of assignment to zero-initialize other fields of struct mmsghdr.
18756 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18758 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18759 __READDIR_ALIAS): Undefine after usage.
18760 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18761 __READDIR_R_ALIAS): Likewise.
18762 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18763 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18764 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18765 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18766 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18768 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18769 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18770 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18771 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18772 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18773 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18774 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18775 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18776 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18778 * sysdeps/unix/sysv/linux/readdir.c: New file.
18779 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18780 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18781 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18783 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18785 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18787 * manual/charset.texi (Converting a Character): Fix typo.
18789 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18793 * sysdeps/arm/libm-test-ulps: Update.
18795 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18796 as base implementation.
18797 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18798 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18801 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18802 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18803 remove unrequired definitions and update comments.
18804 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18805 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18806 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18807 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18808 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18809 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18810 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18811 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18813 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18814 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18815 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18816 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18817 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18818 and RESET_SA_RESTORER hooks.
18820 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18822 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18824 2018-04-05 Florian Weimer <fweimer@redhat.com>
18826 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18827 integer overflow, memory leak on error, and indeterminate errno
18828 value. Add a null wide character to terminate the result string.
18829 * manual/charset.texi (Converting a Character): Mention embedded
18830 null bytes in the mbrtowc input string. Explain what happens in
18831 the -2 result case. Do not claim that mbrtowc is simple or
18832 obvious to use. Adjust the description of the code example. Use
18833 @code, not @var, for concrete variables.
18835 2018-04-05 Florian Weimer <fweimer@redhat.com>
18837 * manual/examples/mbstouwcs.c: New file.
18838 * manual/charset.texi (Converting a Character): Include it.
18840 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18842 * include/dirent.h (dirfd): Add hidden proto.
18843 * dirent/dirfd.c (dirfd): Add hidden def.
18844 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18845 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18847 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18849 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18850 sin, cos and sincos to 1 ULP.
18852 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18855 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18857 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18858 * elf/tst-absolute-sym.c: New file.
18859 * elf/tst-absolute-sym-lib.c: New file.
18860 * elf/tst-absolute-sym-lib.lds: New file.
18861 * elf/Makefile (tests): Add `tst-absolute-sym'.
18862 (modules-names): Add `tst-absolute-sym-lib'.
18863 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18864 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18865 ($(objpfx)tst-absolute-sym): New dependency.
18868 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18870 (SYMBOL_ADDRESS): New macro.
18871 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18872 SYMBOL_ADDRESS for symbol address calculation.
18873 * elf/dl-runtime.c (_dl_fixup): Likewise.
18874 (_dl_profile_fixup): Likewise.
18875 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18876 * elf/rtld.c (dl_main): Likewise.
18877 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18878 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18879 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18880 (elf_machine_rela): Likewise.
18881 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18882 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18884 (elf_machine_rela): Likewise.
18885 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18886 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18887 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18888 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18890 (elf_machine_reloc): Likewise.
18891 (elf_machine_got_rel): Likewise.
18892 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18893 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18894 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18898 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18899 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18901 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18903 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18908 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18911 2018-04-04 Zack Weinberg <zackw@panix.com>
18913 * sysdeps/generic/internal-signals.h: Include signal.h,
18914 sigsetops.h, and stdbool.h.
18915 (__libc_signal_block_all): Actually block all signals.
18916 (__libc_signal_block_app): Likewise.
18917 (__libc_signal_restore_set): Actually restore the signal mask.
18919 2018-04-04 Florian Weimer <fweimer@redhat.com>
18921 inet: Actually build and run tst-deadline.
18922 * inet/Makefile (tests-internal): Add tst-deadline and do not
18923 overwrite the variable.
18924 (tests-static-internal): Remove variable.
18926 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18929 * bits/uio-ext.h (RWF_APPEND): New.
18930 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18931 * manual/llio.texi: Document RWF_APPEND.
18932 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18933 (RWF_SUPPORTED): Add RWF_APPEND.
18935 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18938 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18939 check for internal nptl signals.
18940 * nptl/sigaction.c (__sigaction): Likewise.
18941 * signal/sigaddset.c (sigaddset): Likewise.
18942 * signal/sigdelset.c (sigdelset): Likewise.
18943 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18944 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18946 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18947 to filter out internal nptl signals.
18948 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18949 also check realtime signals using standard macros.
18950 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18951 __is_internal_signal, __libc_signal_block_all,
18952 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18953 * sysdeps/nptl/sigfillset.c: Remove file.
18954 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18955 Change return to bool.
18956 (__clear_internal_signals): Remove SIGTIMER clean since it is
18957 equal to SIGCANEL on Linux.
18958 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18959 signal set was constructed using standard functions.
18961 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18963 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18964 ifname is too long.
18965 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18966 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18967 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18969 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18970 * signal/sigaddset.c: Include <sigsetopts.h>.
18971 * signal/sigdelset.c: Likewise.
18973 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18977 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18978 logic as sin and cos.
18980 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18982 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18983 inputs. Return correct sign.
18984 (do_sincos): Remove small input check before do_sin, let do_sin set
18989 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18991 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18992 (do_cos_slow): Likewise.
18993 (do_sin_slow): Likewise.
18994 (reduce_and_compute): Likewise.
18999 (sloww1): Likewise.
19000 (sloww2): Likewise.
19002 (bslow1): Likewise.
19003 (bslow2): Likewise.
19004 (cslow2): Likewise.
19006 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19008 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19009 (do_cos): Remove corp parameter and calculations.
19010 (do_sin): Likewise.
19011 (do_sincos): Remove cor variable.
19012 (__sin): Use do_sincos for huge inputs.
19014 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19015 (reduce_and_compute_sincos): Remove unused function.
19017 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19019 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19020 reduce_sincos, improve accuracy to 136 bits.
19021 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19022 (__sin): Use improved reduction and simplified do_sincos calculation.
19024 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19026 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19028 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19029 (do_sincos_2): Likewise.
19030 (__sin): Remove middle range reduction case.
19032 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19035 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19037 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19038 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19041 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19043 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19045 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19048 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19050 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19051 Remove definitions.
19052 (opendir_oflags): Use O_DIRECTORY regardless.
19053 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19054 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19056 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19058 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19059 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19061 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19062 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19063 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19064 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19065 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19066 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19068 * htl/Makefile: Bump licence to LGPL 2.1+.
19069 * htl/alloca_cutoff.c: Likewise.
19070 * htl/cthreads-compat.c: Likewise.
19071 * htl/lockfile.c: Likewise.
19072 * htl/pt-alloc.c: Likewise.
19073 * htl/pt-cancel.c: Likewise.
19074 * htl/pt-cleanup.c: Likewise.
19075 * htl/pt-create.c: Likewise.
19076 * htl/pt-dealloc.c: Likewise.
19077 * htl/pt-detach.c: Likewise.
19078 * htl/pt-exit.c: Likewise.
19079 * htl/pt-getattr.c: Likewise.
19080 * htl/pt-initialize.c: Likewise.
19081 * htl/pt-internal.h: Likewise.
19082 * htl/pt-join.c: Likewise.
19083 * htl/pt-self.c: Likewise.
19084 * htl/pt-setcancelstate.c: Likewise.
19085 * htl/pt-setcanceltype.c: Likewise.
19086 * htl/pt-sigmask.c: Likewise.
19087 * htl/pt-spin-inlines.c: Likewise.
19088 * htl/pt-testcancel.c: Likewise.
19089 * htl/pt-yield.c: Likewise.
19090 * htl/tests/test-1.c: Likewise.
19091 * htl/tests/test-10.c: Likewise.
19092 * htl/tests/test-11.c: Likewise.
19093 * htl/tests/test-12.c: Likewise.
19094 * htl/tests/test-13.c: Likewise.
19095 * htl/tests/test-14.c: Likewise.
19096 * htl/tests/test-15.c: Likewise.
19097 * htl/tests/test-16.c: Likewise.
19098 * htl/tests/test-17.c: Likewise.
19099 * htl/tests/test-2.c: Likewise.
19100 * htl/tests/test-3.c: Likewise.
19101 * htl/tests/test-4.c: Likewise.
19102 * htl/tests/test-5.c: Likewise.
19103 * htl/tests/test-6.c: Likewise.
19104 * htl/tests/test-7.c: Likewise.
19105 * htl/tests/test-8.c: Likewise.
19106 * htl/tests/test-9.c: Likewise.
19107 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19108 * sysdeps/htl/bits/cancelation.h: Likewise.
19109 * sysdeps/htl/bits/pthread-np.h: Likewise.
19110 * sysdeps/htl/bits/pthread.h: Likewise.
19111 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19112 * sysdeps/htl/bits/semaphore.h: Likewise.
19113 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19114 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19115 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19116 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19117 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19118 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19119 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19120 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19121 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19122 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19123 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19124 * sysdeps/htl/old_pt-atfork.c: Likewise.
19125 * sysdeps/htl/pt-atfork.c: Likewise.
19126 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19127 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19128 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19129 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19130 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19131 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19132 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19133 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19134 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19135 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19136 * sysdeps/htl/pt-attr-init.c: Likewise.
19137 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19138 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19139 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19140 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19141 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19142 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19143 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19144 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19145 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19146 * sysdeps/htl/pt-attr.c: Likewise.
19147 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19148 * sysdeps/htl/pt-barrier-init.c: Likewise.
19149 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19150 * sysdeps/htl/pt-barrier.c: Likewise.
19151 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19152 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19153 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19154 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19155 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19156 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19157 * sysdeps/htl/pt-cond-init.c: Likewise.
19158 * sysdeps/htl/pt-cond-signal.c: Likewise.
19159 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19160 * sysdeps/htl/pt-cond-wait.c: Likewise.
19161 * sysdeps/htl/pt-cond.c: Likewise.
19162 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19163 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19164 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19165 * sysdeps/htl/pt-condattr-init.c: Likewise.
19166 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19167 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19168 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19169 * sysdeps/htl/pt-equal.c: Likewise.
19170 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19171 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19172 * sysdeps/htl/pt-getschedparam.c: Likewise.
19173 * sysdeps/htl/pt-getspecific.c: Likewise.
19174 * sysdeps/htl/pt-init-specific.c: Likewise.
19175 * sysdeps/htl/pt-key-create.c: Likewise.
19176 * sysdeps/htl/pt-key-delete.c: Likewise.
19177 * sysdeps/htl/pt-key.h: Likewise.
19178 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19179 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19180 * sysdeps/htl/pt-mutex-init.c: Likewise.
19181 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19182 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19183 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19184 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19185 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19186 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19187 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19188 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19189 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19190 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19191 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19192 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19193 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19194 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19195 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19196 * sysdeps/htl/pt-mutexattr.c: Likewise.
19197 * sysdeps/htl/pt-once.c: Likewise.
19198 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19199 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19200 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19201 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19202 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19203 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19204 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19205 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19206 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19207 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19208 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19209 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19210 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19211 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19212 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19213 * sysdeps/htl/pt-setschedparam.c: Likewise.
19214 * sysdeps/htl/pt-setschedprio.c: Likewise.
19215 * sysdeps/htl/pt-setspecific.c: Likewise.
19216 * sysdeps/htl/pt-spin.c: Likewise.
19217 * sysdeps/htl/pt-startup.c: Likewise.
19218 * sysdeps/htl/pthread.h: Likewise.
19219 * sysdeps/htl/sem-close.c: Likewise.
19220 * sysdeps/htl/sem-destroy.c: Likewise.
19221 * sysdeps/htl/sem-getvalue.c: Likewise.
19222 * sysdeps/htl/sem-init.c: Likewise.
19223 * sysdeps/htl/sem-open.c: Likewise.
19224 * sysdeps/htl/sem-post.c: Likewise.
19225 * sysdeps/htl/sem-timedwait.c: Likewise.
19226 * sysdeps/htl/sem-trywait.c: Likewise.
19227 * sysdeps/htl/sem-unlink.c: Likewise.
19228 * sysdeps/htl/sem-wait.c: Likewise.
19229 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19230 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19231 * sysdeps/mach/htl/pt-block.c: Likewise.
19232 * sysdeps/mach/htl/pt-spin.c: Likewise.
19233 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19234 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19235 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19236 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19237 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19238 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19239 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19240 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19241 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19242 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19243 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19244 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19245 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19246 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19247 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19248 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19249 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19250 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19251 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19252 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19253 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19254 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19255 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19256 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19257 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19258 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19259 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19260 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19261 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19262 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19263 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19264 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19265 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19266 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19267 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19268 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19269 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19270 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19271 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19272 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19273 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19274 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19275 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19277 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19278 * README: Remove the mention of out-of-tree patches needed for
19281 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19282 (UTIME_NOW, UTIME_OMIT): Define macros.
19284 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19285 instead of pthread_detach.
19286 (__cthread_fork): Call __pthread_create instead of pthread_create.
19287 (__cthread_keycreate): Call __pthread_key_create instead of
19288 pthread_key_create.
19289 (__cthread_getspecific): Call __pthread_getspecific instead of
19290 pthread_getspecific.
19291 (__cthread_setspecific): Call __pthread_setspecific instead of
19292 pthread_setspecific.
19293 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19294 __pthread_mutex_unlock instead of pthread_mutex_lock and
19295 pthread_mutex_unlock.
19296 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19297 ___pthread_get_cleanup_stack.
19298 (__pthread_get_cleanup_stack): New strong alias.
19299 * htl/pt-create.c: Include <pthreadP.h>.
19300 (entry_point): Call __pthread_exit instead of pthread_exit.
19301 (pthread_create): Rename to __pthread_create.
19302 (pthread_create): New strong alias.
19303 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19304 (pthread_detach): New strong alias.
19305 (__pthread_detach): Call __pthread_cond_broadcast instead of
19306 pthread_cond_broadcast.
19307 * htl/pt-exit.c: Include <pthreadP.h>.
19308 (__pthread_exit): Call __pthread_setcancelstate and
19309 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19310 __pthread_get_cleanup_stack.
19311 * htl/pt-testcancel.c: Include <pthreadP.h>.
19312 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19313 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19314 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19315 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19316 pthread_attr_getstacksize.
19317 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19318 Rename to __pthread_attr_getstackaddr.
19319 (pthread_attr_getstackaddr): New strong alias.
19320 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19321 Rename to __pthread_attr_getstacksize.
19322 (pthread_attr_getstacksize): New strong alias.
19323 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19324 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19325 (pthread_attr_setstack): New strong alias.
19326 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19327 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19328 pthread_attr_getstacksize, pthread_attr_setstacksize and
19329 pthread_attr_setstackaddr.
19330 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19331 Rename to __pthread_attr_setstackaddr.
19332 (pthread_attr_setstackaddr): New strong alias.
19333 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19334 Rename to __pthread_attr_setstacksize.
19335 (pthread_attr_setstacksize): New strong alias.
19336 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19337 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19339 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19340 (__pthread_key_create): New hidden def.
19341 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19342 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19343 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19344 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19345 __pthread_setspecific, __pthread_setcancelstate,
19346 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19347 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19348 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19350 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19351 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19352 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19353 (pthread_attr_setstackaddr): New strong alias.
19354 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19355 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19356 (pthread_attr_setstacksize): New strong alias.
19357 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19358 (call_exit): Call __pthread_exit instead of pthread_exit.
19359 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19360 (_pthread_mutex_init): New hidden definition.
19361 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19362 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19363 instead of pthread_attr_init and pthread_attr_setstack.
19365 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19366 __vm_deallocate instead of vm_allocate and vm_deallocate.
19367 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19369 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19371 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19373 * hurd/siginfo.c: Include <libioP.h>.
19374 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19375 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19377 * mach/devstream.c: Include <libioP.h>.
19378 (dealloc_ref): Call __mach_port_deallocate instead of
19379 mach_port_deallocate.
19380 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19381 Call __mach_port_deallocate instead of mach_port_deallocate.
19382 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19384 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19386 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19387 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19388 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19390 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19392 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19393 instead of sysconf.
19394 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19395 __clock_gettime instead of clock_gettime.
19396 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19397 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19398 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19399 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19400 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19402 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19403 __clock_gettime and __nanosleep instead of clock_gettime and
19405 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19406 __hurd_catch_signal.
19407 (hurd_catch_signal): New strong alias.
19408 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19409 __hurd_catch_signal instead of hurd_catch_signal.
19410 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19411 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19412 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19413 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19414 (_hurd_thread_sigstate): Add hidden def.
19415 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19417 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19418 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19419 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19420 __hurd_file_name_path_lookup.
19421 (hurd_file_name_path_lookup): New strong alias.
19422 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19423 hurd_file_name_path_lookup.
19424 * mach/errstring.c (mach_error_type): Add hidden def.
19425 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19426 * mach/mutex-init.c (__mutex_init): Add hidden def.
19427 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19428 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19429 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19430 * sysdeps/mach/hurd/getcwd.c
19431 (_hurd_canonicalize_directory_name_internal): Rename to
19432 __hurd_canonicalize_directory_name_internal.
19433 (_hurd_canonicalize_directory_name_internal): New strong alias.
19434 (__canonicalize_directory_name_internal, __getcwd): Call
19435 __hurd_canonicalize_directory_name_internal instead of
19436 _hurd_canonicalize_directory_name_internal.
19437 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19438 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19440 * sysdeps/hurd/include/hurd.h: New file.
19441 * sysdeps/hurd/include/hurd/fd.h: New file.
19442 * sysdeps/hurd/include/hurd/signal.h: New file.
19443 * sysdeps/mach/include/lock-intern.h: New file.
19444 * sysdeps/mach/include/mach.h: New file.
19445 * sysdeps/mach/include/mach/mig_support.h: New file.
19446 * sysdeps/mach/include/mach_error.h: New file.
19447 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19449 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19450 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19451 _HEADER_H_HIDDEN_DEF macro.
19452 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19453 _hurd_fd_error_signal): Add hidden prototype.
19454 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19456 * libio/iolibio.h (_IO_puts): New hidden prototype.
19457 * libio/ioputs.c (_IO_puts): New hidden def.
19458 * sysdeps/mach/hurd/localplt.data: New file.
19460 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19461 Amos Jeffries <squid3@treenet.co.nz>
19462 David Michael <fedora.dm0@gmail.com>
19463 Marco Gerards <marco@gnu.org>
19464 Marcus Brinkmann <marcus@gnu.org>
19465 Neal H. Walfield <neal@gnu.org>
19466 Pino Toscano <toscano.pino@tiscali.it>
19467 Richard Braun <rbraun@sceen.net>
19468 Roland McGrath <roland@gnu.org>
19469 Samuel Thibault <samuel.thibault@ens-lyon.org>
19470 Thomas DiModica <ricinwich@yahoo.com>
19471 Thomas Schwinge <tschwinge@gnu.org>
19473 * htl: New directory.
19474 * sysdeps/htl: New directory.
19475 * sysdeps/hurd/htl: New directory.
19476 * sysdeps/i386/htl: New directory.
19477 * sysdeps/mach/htl: New directory.
19478 * sysdeps/mach/hurd/htl: New directory.
19479 * sysdeps/mach/hurd/i386/htl: New directory.
19480 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19481 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19482 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19484 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19486 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19487 signals in thread created for runing timers.
19489 2018-04-01 Florian Weimer <fweimer@redhat.com>
19491 * support/support_format_addrinfo.c (support_format_addrinfo):
19492 Include unknown error number in formatted result.
19494 2018-03-29 Florian Weimer <fweimer@redhat.com>
19496 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19499 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19501 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19502 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19503 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19504 (__ASSUME_CLONE_BACKWARDS): Define.
19506 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19509 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19510 early when linux sentinel value is set.
19512 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19514 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19516 2018-03-27 Andreas Schwab <schwab@suse.de>
19519 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19520 allocation of private copy of nsaddr_list fails.
19522 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19525 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19526 * sysdeps/unix/sysv/linux/umount.c: ... here.
19527 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19528 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19529 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19530 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19532 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19535 2018-03-26 Andreas Schwab <schwab@suse.de>
19537 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19538 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19539 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19540 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19541 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19542 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19543 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19544 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19545 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19546 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19547 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19548 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19549 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19550 (R_RISCV_NUM): Define.
19552 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19554 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19555 TLS declaration of errno.
19556 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19558 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19559 (ARCH_SETUP_TLS): Likewise.
19560 * sysdeps/mach/hurd/libc-start.h: New file copied from
19561 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19562 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19563 instead of __libc_setup_tls.
19564 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19565 __libc_setup_tls before initializing libpthread and running _hurd_init
19566 which starts the signal thread.
19567 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19569 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19571 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19574 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19575 after it is defined.
19577 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19578 Max Horn <max@quendi.de>
19582 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19584 * string/test-memmove.c (do_test2): New testcase.
19586 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19588 * sysdeps/generic/frame.h: Remove file.
19589 * sysdeps/arm/frame.h: Likewise.
19590 * sysdeps/hppa/frame.h: Likewise.
19591 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19593 (GET_FRAME): Likewise.
19594 (GET_STACK): Likewise.
19595 (CALL_SIGHANDLER): Likewise.
19596 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19598 (GET_FRAME): Likewise.
19599 (GET_STACK): Likewise.
19600 (CALL_SIGHANDLER): Likewise.
19601 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19602 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19603 (GET_FRAME): Likewise.
19604 (GET_STACK): Likewise.
19605 (CALL_SIGHANDLER): Likewise.
19606 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19607 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19608 (GET_FRAME): Likewise.
19609 (GET_STACK): Likewise.
19610 (ADVANCE_STACK_FRAME): Likewise.
19611 (CALL_SIGHANDLER): Likewise.
19612 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19613 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19614 (GET_FRAME): Likewise.
19615 (GET_STACK): Likewise.
19616 (CALL_SIGHANDLER): Likewise.
19617 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19618 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19619 (GET_FRAME): Likewise.
19620 (GET_STACK): Likewise.
19621 (CALL_SIGHANDLER): Likewise.
19622 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19623 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19624 (GET_FRAME): Likewise.
19625 (GET_STACK): Likewise.
19626 (CALL_SIGHANDLER): Likewise.
19627 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19628 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19629 (GET_FRAME): Likewise.
19630 (GET_STACK): Likewise.
19631 (CALL_SIGHANDLER): Likewise.
19632 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19633 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19634 (GET_FRAME): Likewise.
19635 (GET_STACK): Likewise.
19636 (CALL_SIGHANDLER): Likewise.
19637 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19638 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19639 (GET_FRAME): Likewise.
19640 (GET_STACK): Likewise.
19641 (CALL_SIGHANDLER): Likewise.
19642 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19643 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19644 (GET_FRAME): Likewise.
19645 (GET_STACK): Likewise.
19646 (CALL_SIGHANDLER): Likewise.
19647 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19648 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19649 (GET_FRAME): Likewise.
19650 (GET_STACK): Likewise.
19651 (CALL_SIGHANDLER): Likewise.
19652 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19653 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19654 (GET_FRAME): Likewise.
19655 (GET_STACK): Likewise.
19656 (CALL_SIGHANDLER): Likewise.
19657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19659 (FIRST_FRAME_POINTER): Likewise.
19660 (ADVANCE_STACK_FRAME): Likewise.
19661 (GET_STACK): Likewise.
19662 (GET_FRAME): Likewise.
19663 (CALL_SIGHANDLER): Likewise.
19664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19665 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19666 (ADVANCE_STACK_FRAME): Likewise.
19667 (GET_STACK): Likewise.
19668 (GET_FRAME): Likewise.
19669 (CALL_SIGHANDLER): Likewise.
19670 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19671 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19672 (GET_FRAME): Likewise.
19673 (GET_STACK): Likewise.
19674 (CALL_SIGHANDLER): Likewise.
19675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19676 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19677 (GET_FRAME): Likewise.
19678 (GET_STACK): Likewise.
19679 (CALL_SIGHANDLER): Likewise.
19681 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19683 * sysdeps/x86_64/backtrace.c: Move to ....
19684 * debug/backtrace.c: ... here.
19685 * sysdeps/aarch64/backtrace.c: Remove file.
19686 * sysdeps/alpha/backtrace.c: Likewise.
19687 * sysdeps/hppa/backtrace.c: Likewise.
19688 * sysdeps/ia64/backtrace.c: Likewise.
19689 * sysdeps/mips/backtrace.c: Likewise.
19690 * sysdeps/nios2/backtrace.c: Likewise.
19691 * sysdeps/riscv/backtrace.c: Likewise.
19692 * sysdeps/sh/backtrace.c: Likewise.
19693 * sysdeps/tile/backtrace.c: Likewise.
19695 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19698 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19701 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19704 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19705 possibly overflowing computations.
19707 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19709 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19710 values from Linux-specific section now that it is in the GNU section.
19711 * sysdeps/gnu/errlist.c: Regenerate.
19713 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19715 * math/Makefile (libm-narrow-fns): Add sub.
19716 (libm-test-funcs-narrow): Likewise.
19717 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19718 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19719 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19720 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19721 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19722 (NARROW_SUB_TRIVIAL): Likewise.
19723 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19725 (__dsubl): Likewise.
19726 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19728 (CFLAGS-nldbl-dsub.c): New variable.
19729 (CFLAGS-nldbl-fsub.c): Likewise.
19730 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19734 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19735 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19736 * math/auto-libm-test-in: Add tests of sub.
19737 * math/auto-libm-test-out-narrow-sub: New generated file.
19738 * math/libm-test-narrow-sub.inc: New file.
19739 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19742 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19743 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19744 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19753 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19754 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19755 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19756 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19758 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19759 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19760 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19761 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19762 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19770 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19778 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19786 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19789 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19791 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19793 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19795 2018-03-18 Richard Braun <rbraun@sceen.net>
19797 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19800 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19802 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19803 (__libc_cleanup_fct): Define function.
19804 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19805 __libc_cleanup_end): Rewrite implementation using
19806 __attribute__ ((__cleanup__)).
19807 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19808 * hurd/Makefile (routines): Add hurdlock.
19809 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19811 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19812 * hurd/hurdpid.c: Include <lowlevellock.h>
19813 (_S_msg_proc_newids): Use lll_wait to synchronize.
19814 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19815 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19816 * mach/Makefile (lock-headers): Remove machine-lock.h.
19817 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19819 (__spin_lock_t): New type.
19820 (__SPIN_LOCK_INITIALIZER): New macro.
19821 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19822 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19823 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19824 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19825 (__mutex_init): Initialize with lll.
19826 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19827 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19829 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19830 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19831 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19832 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19833 (__setpgid): Use lll for synchronization.
19834 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19835 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19836 instead of <cthreads.h>.
19837 (_IO_lock_inexpensive): New macro
19838 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19839 (__libc_lock_self0): New declaration.
19840 (__libc_lock_owner_self): New macro.
19841 (__libc_key_t): Remove type.
19842 (_LIBC_LOCK_INITIALIZER): New macro.
19843 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19844 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19845 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19846 __libc_lock_define_initialized_recursive,
19847 __rtld_lock_define_initialized_recursive,
19848 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19849 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19850 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19851 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19852 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19853 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19854 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19856 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19857 * hurd/hurdlock.c: New file.
19858 * hurd/hurdlock.h: New file.
19859 * mach/lowlevellock.h: New file
19861 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19863 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19864 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19865 when opening a symlink with O_NOFOLLOW.
19866 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19867 path when flags contains O_NOFOLLOW.
19868 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19869 if flags contains O_DIRECTORY and the result is a directory.
19870 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19871 oneself when the pointer given in D is nul (as set by ext2fs).
19872 * sysdeps/mach/hurd/mlockall.c: New file.
19873 * sysdeps/mach/hurd/munlockall.c: New file.
19875 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19877 * hurd/hurdsig.c: Include <pthread.h>.
19878 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19879 get the signal thread stack layout.
19880 * hurd/Makefile (headers): Remove threadvar.h.
19881 (inline-headers): Remove threadvar.h.
19882 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19883 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19884 __hurd_threadvar_max, __hurd_errno_location.
19885 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19886 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19887 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19888 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19889 unless TLS is not initialized yet, in which case we do not need a
19890 critical section yet anyway.
19891 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19893 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19895 (__hurd_threadvar_index): Remove enum.
19896 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19897 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19899 (__hurd_reply_port0): New variable declaration.
19900 (__hurd_local_reply_port): New macro.
19901 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19902 (interrupted_reply_port_location): Add thread_t parameter. Use it
19903 with THREAD_TCB to access thread-local variables.
19904 (_hurdsig_abort_rpcs): Pass ss->thread to
19905 interrupted_reply_port_location.
19906 (_hurd_internal_post_signal): Likewise.
19907 (_hurdsig_init): Use presence of cthread_fork instead of
19908 __hurd_threadvar_stack_mask to start signal thread by hand.
19909 Remove signal thread threadvar initialization.
19910 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19911 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19912 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19914 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19916 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19917 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19918 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19919 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19920 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19921 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19922 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19924 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19925 <hurd/threadvar.h>.
19926 [IS_IN(rtld)] (rtld_errno): New variable.
19927 [IS_IN(rtld)] (__errno_location): New weak function.
19928 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19929 * sysdeps/mach/hurd/errno.c: Remove file.
19930 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19931 (__fork): Remove THREADVAR_SPACE macro and its use.
19932 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19934 (init): Do not initialize threadvar.
19935 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19937 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19938 __hurd_local_reply_port instead of threadvar.
19939 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19940 _hurd_sigstate fields.
19941 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19942 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19943 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19944 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19945 instead of threadvar.
19946 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19947 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19948 (use_threadvar, global_reply_port): Remove variables.
19949 (__hurd_reply_port0): New variable.
19950 (__mig_get_reply_port): Use __hurd_local_reply_port and
19951 __hurd_reply_port0 instead of threadvar.
19952 (__mig_dealloc_reply_port): Likewise.
19953 (__mig_init): Do not initialize threadvar.
19954 * sysdeps/mach/hurd/profil.c: Fix comment.
19955 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19956 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19957 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19958 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19959 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19960 __cthread_setspecific.
19961 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19962 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19963 __cthread_t instead of cthread_fork, cthread_detach,
19964 pthread_getattr_np, pthread_attr_getstack.
19965 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19966 __cthread_keycreate.
19967 (cthread_getspecific): Rename to __cthread_getspecific.
19968 (cthread_setspecific): Rename to __cthread_setspecific.
19969 (__libc_getspecific): Use __cthread_getspecific instead of
19970 cthread_getspecific.
19971 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19972 __cthread_keycreate instead of cthread_keycreate.
19973 (__libc_setspecific): Use __cthread_setspecific instead of
19974 cthread_setspecific.
19975 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19978 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19979 testing whether it is defined.
19981 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19983 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19985 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19986 * sysdeps/mach/i386/thread_state.h
19987 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19989 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19991 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19993 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19994 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19996 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19998 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19999 descriptor instead of creating a new one.
20000 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20002 * mach/setup-thread.c: Include <ldsodefs.h>.
20003 (__mach_setup_thread): Call _dl_allocate_tls, pass
20004 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20005 MACHINE_THREAD_STATE_FLAVOR, before getting
20006 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20007 MACHINE_THREAD_STATE_FLAVOR with the result.
20008 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20009 MACHINE_THREAD_STATE_FIX_NEW.
20010 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20011 too. Add original thread parameter.
20013 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20015 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20016 Remove inline function.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20021 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20023 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20026 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20028 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20029 (__sincos_code): Remove define and undefine.
20030 [__FAST_MATH__] (__sincos): Remove inline function.
20031 [__FAST_MATH__] (__sincosf): Remove inline function.
20032 [__FAST_MATH__] (__sincosl): Remove inline function.
20033 (__atan2l): Remove inline functions.
20034 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20035 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20037 (floor): Remove inline function.
20039 [__FAST_MATH__] (__ldexp_code): Remove macro.
20040 [__FAST_MATH__] (ldexp): Remove inline function.
20041 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20042 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20043 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20044 [__USE_ISOC99] (__lrint_code): Remove macro.
20045 [__USE_ISOC99] (__llrint_code): Likewise.
20046 [__USE_ISOC99] (lrintf): Remove inline function.
20047 [__USE_ISOC99] (lrint): Likewise.
20048 [__USE_ISOC99] (lrintl): Likewise.
20049 [__USE_ISOC99] (llrint): Likewise.
20050 [__USE_ISOC99] (llrintf): Likewise.
20051 [__USE_ISOC99] (llrintl): Likewise.
20053 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20055 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20056 (__ieee754_sqrtf): Remove.
20057 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20058 (__ieee754_sqrtf): Remove.
20059 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20060 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20061 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20062 (__ieee754_sqrtf): Remove.
20063 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20064 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20067 (__ieee754_sqrt): Remove.
20068 (__ieee754_sqrtf): Remove.
20069 (__ieee754_sqrtl): Remove.
20070 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20071 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20072 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20073 (__ieee754_sqrtf): Remove.
20074 (__ieee754_sqrtl): Remove.
20076 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20078 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20079 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20080 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20081 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20082 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20083 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20084 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20085 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20087 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20088 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20089 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20090 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20091 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20092 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20093 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20094 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20095 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20096 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20097 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20098 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20099 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20100 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20101 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20102 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20104 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20105 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20109 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20112 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20114 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20116 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20117 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20119 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20120 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20121 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20123 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20124 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20125 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20126 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20128 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20130 * include/math.h (sqrt): Declare with asm redirect.
20133 (sqrtf128): Likewise.
20134 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20135 nonlib and libnldbl with -fmath-errno.
20136 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20137 * math/w_sqrt_template.c: Likewise.
20138 * math/w_sqrtf_compat.c: Likewise.
20139 * math/w_sqrtl_compat.c: Likewise.
20140 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20141 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20142 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20145 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20147 * benchtests/Makefile: Define _ISOMAC.
20148 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20149 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20150 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20151 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20152 * benchtests/bench-timing.h: Define attribute_hidden.
20154 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20156 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20159 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20162 * localedata/locales/cs_CZ (mon): Rename to...
20164 (mon): Import from CLDR (genitive case).
20166 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20169 * localedata/locales/el_CY (abmon): Rename to...
20170 (ab_alt_mon): This.
20171 (abmon): Import from CLDR (abbreviated genitive case).
20172 * localedata/locales/el_GR (abmon): Rename to...
20173 (ab_alt_mon): This.
20174 (abmon): Import from CLDR (abbreviated genitive case).
20176 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20179 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20181 2018-03-15 Robert Buj <robert.buj@gmail.com>
20184 * localedata/locales/ca_ES (abmon): Rename to...
20185 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20186 (mon): Rename to...
20188 (abmon): Import from CLDR (genitive case, month names preceded by
20191 (abday): Synchronize with CLDR.
20192 (d_t_fmt): Likewise.
20196 (LC_TIME): Improve indentation.
20197 (LC_TELEPHONE): Likewise.
20198 (LC_NAME): Likewise.
20199 (LC_ADDRESS): Likewise.
20201 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20203 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20204 (lrintf): Remove definitions used only with old GCC.
20205 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20206 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20207 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20208 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20209 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20210 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20211 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20212 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20213 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20214 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20215 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20216 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20217 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20218 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20219 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20220 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20221 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20222 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20223 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20224 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20225 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20226 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20227 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20228 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20229 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20230 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20231 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20232 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20234 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20236 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20237 instruction to unbreak builds with binutils 2.26 and older.
20239 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20241 * sysdeps/aarch64/strncmp.S (count): New macro.
20242 (strncmp): Store misaligned length in SRC1 in COUNT.
20243 (mutual_align): Adjust.
20244 (misaligned8): Load dword at a time when it is safe.
20246 2018-03-12 Zack Weinberg <zackw@panix.com>
20250 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20251 if the _IO_EOF_SEEN bit is already set; update commentary.
20252 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20253 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20255 * support/support_openpty.c, support/tty.h: New files.
20256 * support/Makefile (libsupport-routines): Add support_openpty.
20258 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20260 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20261 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20263 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20265 * po/pt_BR.po: Update translations.
20267 2018-03-12 David Michael <fedora.dm0@gmail.com>
20269 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20270 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20271 get a port to the startup server.
20273 2018-03-11 Zack Weinberg <zackw@panix.com>
20275 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20276 before nldbl-compat.h.
20278 2018-03-10 Zack Weinberg <zackw@panix.com>
20280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20281 math.h or math_private.h.
20283 * sysdeps/alpha/fpu/s_isnan.c
20284 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20285 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20286 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20287 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20288 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20289 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20290 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20291 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20292 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20295 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20298 Include math_private.h.
20300 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20301 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20302 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20303 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20304 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20305 * sysdeps/powerpc/power7/fpu/s_logb.c:
20306 Include math.h and math_private.h.
20308 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20309 uses of $at in .set noat / .set at.
20311 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20313 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20314 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20315 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20316 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20319 2018-03-09 Florian Weimer <fweimer@redhat.com>
20321 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20324 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20327 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20328 Add nop before __startcontext, add explaining comments.
20330 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20333 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20335 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20336 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20337 Do not build hardware transactional code for __SPE__.
20338 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20339 (__lll_trylock_elision): Likewise.
20340 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20341 (__lll_unlock_elision): Likewise.
20343 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20344 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20345 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20346 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20347 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20348 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20349 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20350 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20351 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20352 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20353 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20354 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20355 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20356 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20357 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20358 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20359 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20360 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20361 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20362 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20363 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20365 (__ASSUME_CLONE_BACKWARDS): Define.
20366 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20367 __clone2 if __NR_clone2 is defined.
20368 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20369 (__ASSUME_CLONE_BACKWARDS): Likewise.
20370 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20371 (__ASSUME_CLONE_BACKWARDS): Likewise.
20372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20373 (__ASSUME_CLONE2): Likewise.
20374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20375 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20376 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20377 variants and the define architecture can use.
20378 (__ASSUME_CLONE_DEFAULT): Define as default.
20379 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20380 (__ASSUME_CLONE_BACKWARDS): Likewise.
20381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20382 (__ASSUME_CLONE_BACKWARDS): Likewise.
20383 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20384 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20386 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20388 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20390 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20393 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20394 (do_test_limit): Likewise.
20396 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20397 for every implementation.
20398 (do_test): Likewise.
20400 * benchtests/bench-strncmp.c: Convert output to json.
20402 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20404 * io/futimens.c: Add missing start-of-file descriptive comment.
20405 * io/utime.c: Likewise.
20406 * misc/futimesat.c: Likewise.
20407 * misc/utimes.c: Likewise.
20408 * sysdeps/mach/hurd/futimesat.c: Likewise.
20409 * sysdeps/mach/hurd/utimes.c: Likewise.
20410 * sysdeps/posix/utime.c: Likewise.
20411 * sysdeps/posix/utimes.c: Likewise.
20412 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20413 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20414 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20415 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20417 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20419 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20421 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20422 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20423 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20424 (__futimens): Move implementation to...
20425 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20426 utime_tvalue_from_tspec): ... new helper functions.
20427 (hurd_futimens): New function.
20428 * sysdeps/mach/hurd/futimesat.c: New file.
20429 * sysdeps/mach/hurd/utimensat.c: New file.
20431 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20433 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20434 UTIME_OMIT): New macros.
20435 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20436 before reverting to converting time spec to time value and calling
20438 * sysdeps/mach/hurd/utime-helper.c: New file.
20439 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20440 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20441 reverting to utime_tvalue_from_tval and __file_utimes.
20442 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20443 (__lutimes): Just call hurd_futimens after lookup.
20444 * sysdeps/mach/hurd/utimes.c: Likewise.
20446 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20448 * bits/sigaction.h: Add include guard.
20449 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20450 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20451 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20452 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20453 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20454 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20455 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20456 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20457 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20459 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20461 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20462 -Wmaybe-uninitialized for -Os.
20463 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20466 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20468 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20469 __INO_T_MATCHES_INO64_T is defined.
20470 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20471 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20473 * dirent/alphasort64.c: Likewise.
20474 * dirent/scandir.c: Likewise.
20475 * dirent/scandir64-tail.c: Likewise.
20476 * dirent/scandir64.c: Likewise.
20477 * dirent/scandirat.c: Likewise.
20478 * dirent/scandirat64.c: Likewise.
20479 * dirent/versionsort.c: Likewise.
20480 * dirent/versionsort64.c: Likewise.
20481 * include/dirent.h: Likewise.
20483 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20484 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20485 for socketpair endpoint.
20486 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20487 WRITE_BUFFER_SIZE as buffer size for sending socket.
20488 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20489 issue on system where send is implemented with sendto syscall.
20490 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20491 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20492 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20493 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20496 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20497 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20498 sa_restorer for vDSO case.
20499 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20501 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20503 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20504 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20505 * hurd/hurd/ioctl.h: Include <mach/port.h>
20506 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20507 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20508 <mach/mach_types.h> and <mach/message.h>.
20509 (headers): Move mach/param.h to bits/mach/param.h.
20510 * sysdeps/mach/i386/mach/param.h: Move file to ...
20511 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20512 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20514 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20515 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20516 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20517 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20518 trivial, for C++ conformity.
20519 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20520 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20521 Process mig output through $(migheadersed).
20522 * hurd/Makefile (migheadersed): Define variable.
20523 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20524 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20526 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20527 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20528 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20529 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20530 <bits/types/sigset_t.h>.
20531 [!defined __USE_GNU]: Do not #error out.
20532 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20533 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20534 Include <stddef.h> and <bits/types/sigset_t.h>
20535 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20536 instead of sighandler_t.
20537 * stdlib/errno.h (error_t): Move definition to...
20538 * bits/types/error_t.h: ... new header.
20539 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20540 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20541 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20542 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20543 * hurd/hurd.h: Include <bits/types/error_t.h>
20544 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20545 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20546 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20547 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20548 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20549 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20550 * sysdeps/mach/hurd/futimens.c: New file.
20552 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20555 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20556 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20557 * nscd/gai.c (__nss_hosts_database): Readd definition.
20558 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20559 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20560 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20562 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20564 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20565 (ifunc_one): Likewise.
20567 2018-03-01 DJ Delorie <dj@delorie.com>
20570 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20573 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20575 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20576 `match_pid' parameter.
20577 (td_ta_thr_iter): Update accordingly.
20579 2018-03-01 Florian Weimer <fweimer@redhat.com>
20581 * nptl/Makefile (install-lib-ldscripts): Remove.
20582 (install): Remove rule.
20583 ($(inst_libdir)/libpthread.so): Likewise.
20585 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20588 * localedata/locales/an_ES: update month and day names,
20589 improve d_fmt, improve postal_fmt, add country_post,
20592 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20594 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20595 Ukrainian instead of Bulgarian.
20597 2018-03-01 Florian Weimer <fweimer@redhat.com>
20599 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20602 2018-03-01 Florian Weimer <fweimer@redhat.com>
20604 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20605 * nptl/Makefile (routines): Add pthread_atfork.
20606 (static-only-routines): Set to pthread_atfork.
20607 (libpthread-routines): Remove pthread_atfork.
20608 (libpthread-static-only-routines): Remove.
20609 (install): Update comment.
20610 (libpthread.so): Do not install libpthread_nonshared.a.
20611 (tests): Do not link with libpthread_nonshared.a.
20612 (generated): Remove libpthread_nonshared.a.
20613 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20614 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20615 with libpthread_nonshared.a.
20617 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20620 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20621 (libc_feholdexcept_setroundf128): New macro.
20622 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20625 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20627 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20628 * include/inttypes.h: New file.
20630 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20632 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20633 -Os in two more places.
20635 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20637 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20638 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20639 be sorted correctly at the moment because of a bug.
20641 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20643 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20644 treat ñ as a primary different character, sync the collation
20645 for Spanish with CLDR.
20646 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20647 * localedata/Makefile: Add new test files.
20648 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20649 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20651 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20652 * localedata/am_ET.UTF-8.in: New test file.
20653 * localedata/az_AZ.UTF-8.in: Likewise.
20654 * localedata/be_BY.UTF-8.in: Likewise.
20655 * localedata/ber_DZ.UTF-8.in: Likewise.
20656 * localedata/ber_MA.UTF-8.in: Likewise.
20657 * localedata/bg_BG.UTF-8.in: Likewise.
20658 * localedata/br_FR.UTF-8.in: Likewise.
20659 * localedata/cmn_TW.UTF-8.in: Likewise.
20660 * localedata/crh_UA.UTF-8.in: Likewise.
20661 * localedata/csb_PL.UTF-8.in: Likewise.
20662 * localedata/cv_RU.UTF-8.in: Likewise.
20663 * localedata/cy_GB.UTF-8.in: Likewise.
20664 * localedata/dz_BT.UTF-8.in: Likewise.
20665 * localedata/eo.UTF-8.in: Likewise.
20666 * localedata/es_ES.UTF-8.in: Likewise.
20667 * localedata/fa_IR.UTF-8.in: Likewise.
20668 * localedata/fi_FI.UTF-8.in: Likewise.
20669 * localedata/fil_PH.UTF-8.in: Likewise.
20670 * localedata/fur_IT.UTF-8.in: Likewise.
20671 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20672 * localedata/ha_NG.UTF-8.in: Likewise.
20673 * localedata/ig_NG.UTF-8.in: Likewise.
20674 * localedata/ik_CA.UTF-8.in: Likewise.
20675 * localedata/kk_KZ.UTF-8.in: Likewise.
20676 * localedata/ku_TR.UTF-8.in: Likewise.
20677 * localedata/ky_KG.UTF-8.in: Likewise.
20678 * localedata/ln_CD.UTF-8.in: Likewise.
20679 * localedata/mi_NZ.UTF-8.in: Likewise.
20680 * localedata/ml_IN.UTF-8.in: Likewise.
20681 * localedata/mn_MN.UTF-8.in: Likewise.
20682 * localedata/mr_IN.UTF-8.in: Likewise.
20683 * localedata/mt_MT.UTF-8.in: Likewise.
20684 * localedata/nb_NO.UTF-8.in: Likewise.
20685 * localedata/om_KE.UTF-8.in: Likewise.
20686 * localedata/os_RU.UTF-8.in: Likewise.
20687 * localedata/ps_AF.UTF-8.in: Likewise.
20688 * localedata/ro_RO.UTF-8.in: Likewise.
20689 * localedata/ru_RU.UTF-8.in: Likewise.
20690 * localedata/sc_IT.UTF-8.in: Likewise.
20691 * localedata/se_NO.UTF-8.in: Likewise.
20692 * localedata/sq_AL.UTF-8.in: Likewise.
20693 * localedata/sv_SE.UTF-8.in: Likewise.
20694 * localedata/szl_PL.UTF-8.in: Likewise.
20695 * localedata/tg_TJ.UTF-8.in: Likewise.
20696 * localedata/tk_TM.UTF-8.in: Likewise.
20697 * localedata/tt_RU.UTF-8.in: Likewise.
20698 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20699 * localedata/ug_CN.UTF-8.in: Likewise.
20700 * localedata/uz_UZ.UTF-8.in: Likewise.
20701 * localedata/vi_VN.UTF-8.in: Likewise.
20702 * localedata/yi_US.UTF-8.in: Likewise.
20703 * localedata/yo_NG.UTF-8.in: Likewise.
20704 * localedata/zh_CN.UTF-8.in: Likewise.
20705 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20706 file and fix bugs in the collation.
20707 * localedata/locales/az_AZ: Likewise.
20708 * localedata/locales/be_BY: Likewise.
20709 * localedata/locales/ber_DZ: Likewise.
20710 * localedata/locales/ber_MA: Likewise.
20711 * localedata/locales/bg_BG: Likewise.
20712 * localedata/locales/br_FR: Likewise.
20713 * localedata/locales/br_FR@euro: Likewise.
20714 * localedata/locales/ca_ES: Likewise.
20715 * localedata/locales/cns11643_stroke: Likewise.
20716 * localedata/locales/crh_UA: Likewise.
20717 * localedata/locales/cs_CZ: Likewise.
20718 * localedata/locales/csb_PL: Likewise.
20719 * localedata/locales/cv_RU: Likewise.
20720 * localedata/locales/cy_GB: Likewise.
20721 * localedata/locales/da_DK: Likewise.
20722 * localedata/locales/dz_BT: Likewise.
20723 * localedata/locales/en_CA: Likewise.
20724 * localedata/locales/eo: Likewise.
20725 * localedata/locales/es_CU: Likewise.
20726 * localedata/locales/es_EC: Likewise.
20727 * localedata/locales/es_ES: Likewise.
20728 * localedata/locales/es_US: Likewise.
20729 * localedata/locales/et_EE: Likewise.
20730 * localedata/locales/fa_IR: Likewise.
20731 * localedata/locales/fi_FI: Likewise.
20732 * localedata/locales/fil_PH: Likewise.
20733 * localedata/locales/fur_IT: Likewise.
20734 * localedata/locales/gez_ER@abegede: Likewise.
20735 * localedata/locales/ha_NG: Likewise.
20736 * localedata/locales/hr_HR: Likewise.
20737 * localedata/locales/hsb_DE: Likewise.
20738 * localedata/locales/hu_HU: Likewise.
20739 * localedata/locales/ig_NG: Likewise.
20740 * localedata/locales/ik_CA: Likewise.
20741 * localedata/locales/is_IS: Likewise.
20742 * localedata/locales/iso14651_t1_pinyin: Likewise.
20743 * localedata/locales/kk_KZ: Likewise.
20744 * localedata/locales/ku_TR: Likewise.
20745 * localedata/locales/ky_KG: Likewise.
20746 * localedata/locales/ln_CD: Likewise.
20747 * localedata/locales/lt_LT: Likewise.
20748 * localedata/locales/lv_LV: Likewise.
20749 * localedata/locales/mi_NZ: Likewise.
20750 * localedata/locales/ml_IN: Likewise.
20751 * localedata/locales/mn_MN: Likewise.
20752 * localedata/locales/mr_IN: Likewise.
20753 * localedata/locales/mt_MT: Likewise.
20754 * localedata/locales/nb_NO: Likewise.
20755 * localedata/locales/om_KE: Likewise.
20756 * localedata/locales/os_RU: Likewise.
20757 * localedata/locales/pl_PL: Likewise.
20758 * localedata/locales/ps_AF: Likewise.
20759 * localedata/locales/ro_RO: Likewise.
20760 * localedata/locales/ru_RU: Likewise.
20761 * localedata/locales/ru_UA: Likewise.
20762 * localedata/locales/sc_IT: Likewise.
20763 * localedata/locales/se_NO: Likewise.
20764 * localedata/locales/si_LK: Likewise.
20765 * localedata/locales/sq_AL: Likewise.
20766 * localedata/locales/sv_FI: Likewise.
20767 * localedata/locales/sv_FI@euro: Likewise.
20768 * localedata/locales/sv_SE: Likewise.
20769 * localedata/locales/szl_PL: Likewise.
20770 * localedata/locales/tg_TJ: Likewise.
20771 * localedata/locales/ti_ER: Likewise.
20772 * localedata/locales/tk_TM: Likewise.
20773 * localedata/locales/tl_PH: Likewise.
20774 * localedata/locales/tr_TR: Likewise.
20775 * localedata/locales/tt_RU: Likewise.
20776 * localedata/locales/tt_RU@iqtelif: Likewise.
20777 * localedata/locales/ug_CN: Likewise.
20778 * localedata/locales/uk_UA: Likewise.
20779 * localedata/locales/uz_UZ: Likewise.
20780 * localedata/locales/uz_UZ@cyrillic: Likewise.
20781 * localedata/locales/vi_VN: Likewise.
20782 * localedata/locales/yi_US: Likewise.
20783 * localedata/locales/yo_NG: Likewise.
20785 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20787 * gen-locales.mk: Make test files which contain @ modifiers in their
20789 * localedata/gen-locale.sh: Likewise.
20791 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20793 * posix/tst-fnmatch.input: Fix results for range expressions
20795 * posix/tst-regexloc.c: Do not use a range expression for
20796 de_DE.ISO-8859-1 locale.
20798 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20800 * posix/bug-regex5.c: Fix test case because with the new
20801 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20802 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20805 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20807 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20808 downloaded from ISO, the collation order of @-. and space has changed.
20809 Therefore, this test file needed to be adapted.
20810 * localedata/fr_CA.UTF-8.in: Likewise.
20811 * localedata/fr_FR.UTF-8.in: Likewise.
20812 * localedata/uk_UA.UTF-8.in: Likewise.
20814 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20816 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20817 order of ȥ in the new iso14651_t1_common file.
20818 * localedata/pl_PL.UTF-8.in: Likewise.
20820 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20822 * localedata/locales/iso14651_t1_common: Add sections for various
20823 scripts to the iso14651_t1_common file.
20825 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20827 * localedata/locales/iso14651_t1_common: Use the code point of a
20828 character in the fourth collation level instead of IGNORE for all
20829 entries which have IGNORE on all 4 levels.
20831 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20833 * localedata/locales/iso14651_t1_common: Add some convenient collation
20834 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20835 rules similar to those in CLDR.
20837 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20839 * localedata/locales/iso14651_t1_common: The new version of this
20840 file downloaded from ISO contained several syntax errors which
20841 are fixed by this patch.
20843 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20845 * localedata/locales/iso14651_t1_common: replace all <U.....>
20846 with <U000.....> because glibc understands only 4 digit or 8 digit
20848 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20850 * localedata/locales/iso14651_t1_common: Necessary changes
20851 to make the file downloaded from ISO usable by glibc.
20853 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20856 * localedata/locales/iso14651_t1_common: Update file to
20857 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20859 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20861 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20862 of <nptl/pthreadP.h>
20863 (thread_attr_compare): Move function to...
20864 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20865 * sysdeps/nptl/timer_routines.h: ... new header.
20866 * sysdeps/mach/hurd/gai_misc.h: New file.
20868 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20870 * string/strcoll_l.c: Include <libc-diag.h>.
20871 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20872 declarations of seq1 and seq2.
20875 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20876 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20878 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20883 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20884 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20885 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20886 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20887 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20889 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20892 macros used in __ptrace_request.
20894 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20897 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20899 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20900 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20904 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20907 * ctype/ctype.c (tolower): Use libc_hidden_def.
20908 (toupper): Likewise.
20909 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20910 [!_ISOMAC] (toupper): Likewise.
20912 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20914 * localedata/Makefile: Remove --quiet argument when
20917 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20920 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20922 * localedata/locales/pt_PT (LC_TIME): likewise
20924 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20927 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20928 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20929 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20931 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20935 * nptl/Makefile (routines): Remove unregister-atfork.
20936 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20937 (fork_handler_alloc): Remove function.
20938 (fork_handlers, fork_handler_init): New variables.
20939 (__fork_lock): Rename to atfork_lock.
20940 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20941 to use a dynamic array to add/remove atfork handlers.
20942 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20943 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20944 Remove declaration.
20945 (fork_handler): Remove next, refcntr, and need_signal member.
20946 (__run_fork_handler_type): New enum.
20947 (__run_fork_handlers): New prototype.
20948 * nptl/register-atfork.c: Remove file.
20949 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20951 * sysdeps/nptl/nptl-signals.h: Move to ...
20952 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20954 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20955 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20956 unnecessary check for SIGTIMER.
20957 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20958 remove unnecessary removal of SIGTIMER.
20959 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20960 include-signals.h rename.
20961 * nptl/pthreadP.h: Likewise.
20962 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20963 __is_internal_signal instead of __nptl_is_internal_signal.
20965 2018-02-22 Andrew Waterman <andrew@sifive.com>
20968 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20969 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20970 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20971 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20973 2018-02-22 DJ Delorie <dj@delorie.com>
20975 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20977 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20979 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20980 do_misaligned, not misaligned8.
20982 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20984 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20985 Add memcpy_thunderx2.
20986 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20988 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20989 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20990 and IS_THUNDERX2PA checks.
20991 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20992 Use macro to set name appropriately.
20993 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20994 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20995 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20997 (IS_THUNDERX2): New macro.
20999 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21001 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21003 2018-02-21 Zack Weinberg <zackw@panix.com>
21005 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21006 Define here, unconditionally.
21007 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21008 * libio/libioP.h: Remove #if 0 blocks.
21009 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21010 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21011 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21013 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21014 Assume weak_alias is always defined.
21016 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21017 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21018 Remove #if 0 and #ifdef TODO blocks.
21019 Assume text_set_element is always defined.
21021 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21022 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21023 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21025 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21026 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21027 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21028 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21029 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21030 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21031 Reformat bit flags for _flags field to make occupancy clearer.
21033 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21034 Keep definitions consistent with those in libio/libio.h.
21036 * libio/libio.h (_IO_file_flags): Remove macro.
21037 All uses changed to _flags.
21039 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21040 (__HAVE_COLUMN, _IO_BE): Don't define.
21041 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21042 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21043 * libio/libioP.h (EOF): Don't define.
21044 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21045 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21046 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21047 testing _IO_UNIFIED_JUMPTABLES.
21049 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21050 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21051 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21052 (_IO_size_t): Delete; all uses changed to size_t.
21053 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21054 (_IO_off_t): Delete; all uses changed to off_t.
21055 (_IO_off64_t): Delete; all uses changed to off64_t.
21056 (_IO_pid_t): Delete; all uses changed to pid_t.
21057 (_IO_uid_t): Delete; all uses changed to uid_t.
21058 (_IO_wint_t): Delete; all uses changed to wint_t.
21059 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21060 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21061 (_IO_cookie_io_functions_t): Delete; all uses changed to
21062 cookie_io_functions_t.
21063 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21064 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21065 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21066 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21068 * libio/iofopncook.c: Remove unnecessary forward declarations.
21069 * libio/iolibio.h: Correct outdated commentary.
21070 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21071 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21072 Remove unnecessary casts.
21073 * stdio-common/getline.c: Use _IO_getdelim directly.
21074 Don't redefine ssize_t.
21075 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21076 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21077 Remove outdated comments.
21078 * stdio-common/vfscanf.c: Don't redefine va_list.
21080 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21081 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21082 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21083 which are always true, and __cplusplus, which is always false.
21085 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21089 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21090 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21091 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21092 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21094 [!_ISOMAC] (putc_unlocked): Likewise.
21095 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21096 define inline if [__USE_EXTERN_INLINES].
21097 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21102 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21103 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21104 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21105 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21106 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21108 * time/tzfile.c (__tzfile_read): Likewise.
21110 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21113 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21115 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21117 * io/fcntl.h: Fix a typo in a comment.
21119 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21122 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21123 define _DEFAULT_SOURCE.
21124 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21126 2018-02-21 Florian Weimer <fweimer@redhat.com>
21129 * elf/cache.c (save_cache): Call fsync on temporary file before
21131 (save_aux_cache): Call fdatasync on temporary file before renaming
21134 2018-02-21 Florian Weimer <fweimer@redhat.com>
21137 * include/caller.h: Remove file.
21138 * elf/dl-caller.c: Likewise.
21139 * elf/Makefile (dl-routines): Remove dl-caller.
21140 (shared-only-routines): Do not add dl-caller.
21141 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21143 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21145 (dl_open_worker): Do not call __check_caller.
21146 (_dl_open): Do not set caller_dl_open member.
21147 * elf/rtld.c (_rtld_global_ro): Do not initialize
21148 _dl_check_caller member.
21149 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21150 _dl_check_caller member.
21151 (_dl_check_caller): Remove declaration.
21152 * sysdeps/unix/sysv/linux/dl-execstack.c
21153 (_dl_make_stack_executable): Do not call __check_caller.
21155 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21157 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21158 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21160 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21162 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21165 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21168 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21169 of 199606L, 200112L, and 200809L.
21170 (_XOPEN_SOURCE): Document special values of 600 and 700.
21171 (_ISOC11_SOURCE): Document macro.
21172 (_ATFILE_SOURCE): Likewise.
21173 (_FORTIFY_SOURCE): Likewise.
21175 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21179 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21180 and define as weak alias of __ferror_unlocked. Use
21182 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21184 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21185 function if [__USE_EXTERN_INLINES].
21186 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21189 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21192 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21194 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21197 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21198 the GLIBC_2.1 version.
21200 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21203 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21204 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21205 intl/tst-gettext-de.po from po/de.po by removing the
21206 POT-Creation-Date line.
21207 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21209 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21212 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21214 * mach/Makefile (headers): Add mach/param.h.
21215 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21216 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21217 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21218 (__ptsname_r): Move implementation to...
21219 (__ptsname_internal): ... new function. Add filling the STP
21222 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21224 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21227 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21229 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21232 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21234 * nptl/Makefile (tst-mutex8-ENV): Delete.
21235 * nptl/tst-mutex8.c (check_type):
21236 Add runtime check if mutex will be elided.
21238 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21242 * manual/install.texi (Configuring and compiling): Describe
21243 passing CC and CFLAGS on configure command line, not as
21244 environment variables. Use @code markup on those variables.
21245 Specify what options go in CC and what go in CFLAGS. Note the
21246 requirement to compile with optimization.
21247 * INSTALL: Regenerated.
21250 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21251 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21252 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21253 __sigprocmask instead of sigprocmask.
21254 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21256 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21257 __sigsetjmp and sigprocmask.
21260 * include/argz.h (argz_next): Use libc_hidden_proto.
21261 (__argz_next): Likewise.
21262 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21263 (argz_next): Use libc_hidden_weak.
21266 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21268 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21272 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21274 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21278 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21279 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21280 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21281 (__feof_unlocked): New declaration, and inline function if
21282 [__USE_EXTERN_INLINES].
21283 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21284 instead of feof_unlocked.
21285 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21286 * nss/nsswitch.c (nss_parse_file): Likewise.
21287 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21289 * time/getdate.c (__getdate_r): Likewise.
21290 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21291 Define as macro to call __feof_unlocked.
21293 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21295 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21297 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21299 * math/Makefile: Remove mpexp.c and mplog.c
21300 * sysdeps/i386/fpu/mpexp.c: Delete file.
21301 * sysdeps/i386/fpu/mplog.c: Likewise.
21302 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21303 * sysdeps/ia64/fpu/mplog.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21305 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21306 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21307 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21308 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21309 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21310 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21311 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21312 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21314 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21316 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21318 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21319 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21321 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21323 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21325 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21327 * sysdeps/sh/libm-test-ulps: Update.
21329 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21331 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21334 2018-02-12 Zack Weinberg <zackw@panix.com>
21337 * posix/sys/types.h: Don't include sys/sysmacros.h.
21338 * misc/sys/sysmacros.h: Remove the conditional deprecation
21339 warnings for the macros defined by this header.
21341 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21343 * manual/probes.texi: Remove slowexp probes.
21344 * math/Makefile: Remove slowexp.
21345 * sysdeps/generic/math_private.h (__slowexp): Remove.
21346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21347 document error bounds.
21348 * sysdeps/i386/fpu/slowexp.c: Remove.
21349 * sysdeps/ia64/fpu/slowexp.c: Remove.
21350 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21351 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21352 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21353 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21354 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21355 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21357 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21358 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21359 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21362 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21365 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21366 * benchtests/pow-inputs: Update comment for slow path cases.
21367 * manual/probes.texi (slowpow_p10): Delete removed probe.
21368 (slowpow_p10): Likewise.
21369 * math/Makefile: Remove halfulp.c and slowpow.c.
21370 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21371 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21372 (__halfulp): Remove.
21373 (__slowpow): Remove.
21374 * sysdeps/i386/fpu/halfulp.c: Delete file.
21375 * sysdeps/i386/fpu/slowpow.c: Likewise.
21376 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21377 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21379 improve comments and add error analysis.
21380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21381 (power1): Remove function:
21382 (log1): Remove error argument, add error analysis.
21383 (my_log2): Remove function.
21384 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21385 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21386 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21387 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21388 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21390 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21391 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21393 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21395 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21397 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21399 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21401 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21402 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21404 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21407 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21408 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21409 and PTRACE_SETHBPREGS.
21411 2018-02-10 Zack Weinberg <zackw@panix.com>
21414 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21416 * malloc/tst-malloc-stats-cancellation.c: New test case.
21417 * malloc/Makefile: Add new test case.
21419 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21421 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21423 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21425 * math/Makefile (libm-narrow-fns): Add add.
21426 (libm-test-funcs-narrow): Likewise.
21427 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21428 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21429 * math/gen-auto-libm-tests.c (test_functions): Add add.
21430 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21431 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21432 (NARROW_ADD_TRIVIAL): Likewise.
21433 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21435 (__daddl): Likewise.
21436 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21438 (CFLAGS-nldbl-dadd.c): New variable.
21439 (CFLAGS-nldbl-fadd.c): Likewise.
21440 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21442 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21444 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21445 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21446 * math/auto-libm-test-in: Add tests of add.
21447 * math/auto-libm-test-out-narrow-add: New generated file.
21448 * math/libm-test-narrow-add.inc: New file.
21449 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21452 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21453 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21454 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21455 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21456 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21457 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21459 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21460 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21461 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21462 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21463 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21464 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21465 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21466 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21468 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21469 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21470 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21471 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21472 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21473 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21474 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21475 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21476 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21477 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21478 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21479 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21480 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21485 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21486 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21487 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21488 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21490 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21491 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21496 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21497 (f128-pairs): New variable.
21498 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21499 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21501 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21502 Also make tests add $(f128-loader-link) to gnulib-tests.
21504 2018-02-09 DJ Delorie <dj@redhat.com>
21507 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21508 64-bit ELF type for 64-bit ELF objects.
21510 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21512 * math/libm-test-driver.c (snan_tests_arg): New variable.
21513 * math/libm-test-support.h (snan_tests_arg): New declaration.
21514 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21516 * math/Makefile (test-type-pairs): New variable.
21517 (test-type-pairs-f64xf128-yes): Likewise.
21518 (tests): Add test-narrow-macros.
21519 (libm-test-funcs-narrow): New variable.
21520 (libm-test-c-narrow): Likewise.
21521 (generated): Add $(libm-test-c-narrow).
21522 (libm-tests-base-narrow): New variable.
21523 (libm-tests-narrow): Likewise.
21524 (libm-tests): Add $(libm-tests-narrow).
21525 (libm-tests-for-type): Handle $(libm-tests-narrow).
21526 (libm-test-c-narrow-obj): New variable.
21527 ($(libm-test-c-narrow-obj)): New rule.
21528 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21529 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21530 $(o-iterator) to set dependencies and CFLAGS.
21531 * math/gen-auto-libm-tests.c: Document use for narrowing
21533 (output_for_one_input_case): Take argument NARROW.
21534 (generate_output): Likewise. Update call to
21535 output_for_one_input_case.
21536 (main): Take --narrow option. Update call to generate_output.
21537 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21538 (apply_lit): Update call to _apply_lit.
21539 (apply_arglit): New function.
21540 (parse_args): Handle "a" arguments.
21541 (parse_auto_input): Handle format names using ":".
21542 * math/README.libm-test: Document "a" parameter type.
21543 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21544 (ARG_TYPE_TRUE_MIN): Likewise.
21545 (ARG_TYPE_MAX): Likwise.
21546 (ARG_MIN_EXP): Likewise.
21547 (ARG_MAX_EXP): Likewise.
21548 (ARG_MANT_DIG): Likewise.
21549 (TEST_COND_arg_ibm128): Likewise.
21550 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21551 (TEST_COND_arg_fmt): New macro.
21552 (init_max_error): Update prototype.
21553 * math/libm-test-support.c (test_ibm128): New variable.
21554 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21555 instead of using [TEST_COND_ibm128] conditional.
21556 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21557 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21558 [TEST_NARROW] (TEST_MSG): New definition.
21559 (arg_plus_zero): New macro.
21560 (arg_minus_zero): Likewise.
21561 (arg_plus_infty): Likewise.
21562 (arg_minus_infty): Likewise.
21563 (arg_qnan_value_pl): Likewise.
21564 (arg_qnan_value): Likewise.
21565 (arg_snan_value_pl): Likewise.
21566 (arg_snan_value): Likewise.
21567 (arg_max_value): Likewise.
21568 (arg_min_value): Likewise.
21569 (arg_min_subnorm_value): Likewise.
21570 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21571 (RUN_TEST_LOOP_aa_f): New macro.
21572 (TEST_SUFF): New macro.
21573 (TEST_SUFF_STR): Likewise.
21574 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21575 (TEST_COND_any_ibm128): New macro.
21576 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21577 this_func. Update call to init_max_error.
21578 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21579 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21580 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21581 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21582 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21583 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21584 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21585 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21586 * math/test-math-vector.h (TEST_NARROW): Likewise.
21587 * math/test-arg-double.h: New file.
21588 * math/test-arg-float128.h: Likewise.
21589 * math/test-arg-float32x.h: Likewise.
21590 * math/test-arg-float64.h: Likewise.
21591 * math/test-arg-float64x.h: Likewise.
21592 * math/test-arg-ldouble.h: Likewise.
21593 * math/test-math-narrow.h: Likewise.
21594 * math/test-narrow-macros.c: Likewise.
21595 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21596 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21597 test-narrow-macros-ldbl-64.
21598 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21600 * math/bits/mathcalls-narrow.h: New file.
21601 * include/bits/mathcalls-narrow.h: Likewise.
21602 * math/math-narrow.h: Likewise.
21603 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21604 (__MATHCALL_NARROW_ARGS_2): Likewise.
21605 (__MATHCALL_NARROW_ARGS_3): Likewise.
21606 (__MATHCALL_NARROW_NORMAL): Likewise.
21607 (__MATHCALL_NARROW_REDIR): Likewise.
21608 (__MATHCALL_NARROW): Likewise.
21609 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21610 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21612 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21613 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21614 (libm-narrow-fns): New variable.
21615 (libm-narrow-types-basic): Likewise.
21616 (libm-narrow-types-ldouble-yes): Likewise.
21617 (libm-narrow-types-float128-yes): Likewise.
21618 (libm-narrow-types-float128-alias-yes): Likewise.
21619 (libm-narrow-types): Likewise.
21620 (libm-routines): Add narrowing functions.
21621 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21622 (libc_feholdexcept_setroundf128): New macro.
21623 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21624 * sysdeps/ieee754/float128/float128_private.h: Include
21625 <math/math-narrow.h>.
21626 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21627 Undefine and redefine.
21628 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21629 (libm_alias_float_ldouble): Undefine and redefine.
21630 (libm_alias_double_ldouble): Likewise.
21632 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21634 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21636 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21639 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21641 * manual/creature.texi: Convert references to gcc.info to gcc.
21642 * manual/stdio.texi: Likewise.
21643 * manual/string.texi: Likewise.
21645 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21648 * posix/bits/types.h (__int_least8_t): New typedef.
21649 (__uint_least8_t): Likewise.
21650 (__int_least16_t): Likewise.
21651 (__uint_least16_t): Likewise.
21652 (__int_least32_t): Likewise.
21653 (__uint_least32_t): Likewise.
21654 (__int_least64_t): Likewise.
21655 (__uint_least64_t): Likewise.
21656 * sysdeps/generic/stdint.h (int_least8_t): Define using
21658 (int_least16_t): Define using __int_least16_t.
21659 (int_least32_t): Define using __int_least32_t.
21660 (int_least64_t): Define using __int_least64_t.
21661 (uint_least8_t): Define using __uint_least8_t.
21662 (uint_least16_t): Define using __uint_least16_t.
21663 (uint_least32_t): Define using __uint_least32_t.
21664 (uint_least64_t): Define using __uint_least64_t.
21665 * wcsmbs/uchar.h: Include <bits/types.h>.
21666 (char16_t): Define using __uint_least16_t conditional only on
21668 (char32_t): Define using __uint_least32_t conditional only on
21670 * wcsmbs/test-char-types.c: New file.
21671 * wcsmbs/Makefile (tests): Add test-char-types.
21673 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21676 2018-02-07 Zack Weinberg <zackw@panix.com>
21678 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21679 Delete all contents except for definitions of _G_HAVE_MMAP and
21680 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21681 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21682 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21685 * libio/libio.h: Don't include bits/_G_config.h here.
21686 Include stddef.h with __need_wchar_t defined. Include
21687 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21688 Define _IO_iconv_t here, directly.
21689 Don't define _IO_HAVE_ST_BLKSIZE.
21690 * libio/libioP.h: Include _G_config.h here. Move include of
21691 shlib-compat.h up with rest of includes. Simplify conditionals
21692 controlling definition of _IO_JUMPS_OFFSET.
21694 * csu/init.c: Remove always-true #if around entire file.
21695 Don't include stdio.h. Set _IO_stdin_used to hardwired
21696 constant 0x20001, and update commentary.
21697 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21698 Replace all uses of _G_va_list with __gnuc_va_list.
21699 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21700 instead of #if _IO_HAVE_ST_BLKSIZE.
21701 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21702 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21705 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21706 multiple-include guard to match.
21707 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21709 Remove preprocessor conditionals that are always true and/or
21710 redundant to other preprocessor conditionals in the same nest.
21711 Include shlib-compat.h unconditionally.
21712 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21713 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21714 defined after including stdio.h.
21715 Use __BEGIN_DECLS/__END_DECLS.
21717 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21718 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21719 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21721 2018-02-07 Zack Weinberg <zackw@panix.com>
21723 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21724 New single-type headers split from _G_config.h.
21725 * libio/bits/types/cookie_io_functions_t.h
21726 * libio/bits/types/struct_FILE.h
21727 New single-type headers split from libio.h.
21729 * libio/Makefile: Install the above new headers. Don't install
21730 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21732 * libio/_G_config.h, libio/libio.h: Delete file.
21734 * libio/bits/libio.h: Remove improper-inclusion guard.
21735 Include stdio.h and don't repeat anything that it does.
21736 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21737 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21738 __io_read_fn as cookie_read_function_t,
21739 __io_write_fn as cookie_write_function_t,
21740 __io_seek_fn as cookie_seek_function_t,
21741 __io_close_fn as cookie_close_function_t,
21742 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21743 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21744 here, in the "compatibility defines" section. Remove an #if 0
21745 block. Use the "body" macros from bits/types/struct_FILE.h to
21746 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21747 and _IO_ferror_unlocked.
21748 Move prototypes of __uflow and __overflow...
21750 * libio/stdio.h: ...here. Don't include bits/libio.h.
21751 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21752 directly from stdarg.h. Include bits/types/__fpos_t.h,
21753 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21754 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21755 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21756 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21757 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21758 __ssize_t, not _IO_ssize_t. Unconditionally define
21759 BUFSIZ as 8192 and EOF as (-1).
21761 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21762 macros from bits/types/struct_FILE.h instead of _IO_* macros
21763 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21764 instead of _IO_ssize_t.
21765 * libio/bits/stdio2.h: Similarly.
21767 * libio/iolibio.h: Add multiple-include guard.
21768 Include bits/libio.h after stdio.h.
21769 * libio/libioP.h: Add multiple-include guard.
21770 Include stdio.h and bits/libio.h before iolibio.h.
21772 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21773 * include/bits/types/cookie_io_functions_t.h
21774 * include/bits/types/struct_FILE.h: New wrappers.
21776 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21777 Get definitions of _G_fpos_t and _G_fpos64_t from
21778 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21779 respectively. Remove improper-inclusion guards.
21781 * conform/data/stdio.h-data: Update expectations of va_list.
21782 * scripts/check-installed-headers.sh: Remove special case for
21783 libio.h and _G_config.h.
21785 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21789 * include/sys/sysmacros.h [!_ISOMAC]
21790 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21791 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21792 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21793 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21795 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21796 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21798 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21799 Undefine and redefine to add use __gnu_dev_ prefix.
21800 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21802 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21803 and define as hidden inline function.
21804 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21806 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21808 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21809 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21810 (gnu_dev_minor): Likewise.
21811 (gnu_dev_makedev): Likewise.
21812 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21814 * posix/wordexp.c (exec_comm_child): Likewise.
21815 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21816 instead of minor and __gnu_dev_major instead of major.
21817 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21818 __gnu_dev_major instead of major.
21819 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21820 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21821 instead of gnu_dev_minor.
21822 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21823 (SLAVE_P): Likewise.
21824 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21825 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21829 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21831 * locale/weightwc.h (findidx): Likewise.
21833 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21835 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21836 (slowlog_inexact): Likewise
21837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21838 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21840 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21843 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21844 missing second underscore to parameter name.
21846 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21852 * bits/byteswap.h: Update file comment. Do not include
21853 <bits/byteswap-16.h>.
21854 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21856 (__bswap_16): Define as inline function.
21857 (__bswap_constant_32): Reformat definition.
21858 (__bswap_32): Always define as inline function, not macro, using
21859 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21860 otherwise __bswap_constant_32.
21861 (__bswap_constant_64): Reformat definition. Do not use
21862 __extension__ here.
21863 (__bswap_64): Always define as inline function, not macro. Use
21864 __extension__ on function definition. Use __builtin_bswap64 if
21865 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21866 * string/test-endian-file-scope.c: New file.
21867 * string/test-endian-sign-conversion.c: Likewise.
21868 * string/Makefile (headers): Remove bits/byteswap-16.h.
21869 (tests): Add test-endian-file-scope and
21870 test-endian-sign-conversion.
21871 (CFLAGS-test-endian-sign-conversion.c): New variable.
21872 * bits/byteswap-16.h: Remove file.
21873 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21874 * sysdeps/ia64/bits/byteswap.h: Likewise.
21875 * sysdeps/m68k/bits/byteswap.h: Likewise.
21876 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21877 * sysdeps/s390/bits/byteswap.h: Likewise.
21878 * sysdeps/tile/bits/byteswap.h: Likewise.
21879 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21880 * sysdeps/x86/bits/byteswap.h: Likewise.
21883 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21884 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21885 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21886 199901L] (__restrict): Define to restrict.
21889 * string/testcopy.c: Include <support/support.h>. Do not include
21890 <malloc.h>. Use <support/test-driver.c>.
21891 (main): Rename to do_test. Make static. Use xmalloc instead of
21895 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21896 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21897 (SSIZE_MAX): Define to INT_MAX.
21898 * posix/test-ssize-max.c: New file.
21899 * posix/Makefile (tests): Add test-ssize-max.
21902 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21903 <support/support.h>. Do not include <malloc.h>.
21904 (query_auxv): Use xmalloc instead of malloc.
21907 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21908 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21911 2018-02-06 Florian Weimer <fweimer@redhat.com>
21914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21915 Use scratch_buffer instead of extend_alloca.
21917 2018-02-06 Zack Weinberg <zackw@panix.com>
21919 * libio/stdio.h: Don't define getc or putc as macros.
21920 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21921 not _IO_getc and _IO_putc.
21923 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21924 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21926 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21928 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21929 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21931 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21934 * elf/elf.h (NT_PRFPREG): New macro.
21935 (NT_S390_VXRS_LOW): Likewise.
21936 (NT_S390_VXRS_HIGH): Likewise.
21937 (NT_S390_GS_CB): Likewise.
21938 (NT_S390_GS_BC): Likewise.
21939 (NT_S390_RI_CB): Likewise.
21941 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21942 (MAP_SYNC): New macro.
21943 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21945 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21946 (MAP_SYNC): Likewise.
21947 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21948 (MAP_SYNC): Likewise.
21949 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21950 (MAP_SYNC): Likewise.
21951 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21952 (MAP_SYNC): Likewise.
21953 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21954 (MAP_SYNC): Likewise.
21955 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21956 (MAP_SYNC): Likewise.
21957 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21959 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21962 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21963 (MAP_SHARED_VALIDATE): New macro.
21964 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21965 (MAP_SHARED_VALIDATE): Likewise.
21967 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21969 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21970 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21971 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21973 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21975 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21976 (DT_NUM): Updated to 35.
21978 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21981 __builtin_expect with __glibc_likely and __glibc_unlikely.
21982 (elf_machine_rela): Likewise.
21983 (elf_machine_lazy_rel): Likewise.
21985 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21987 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21988 __builtin_expect with __glibc_likely and __glibc_unlikely.
21989 (elf_machine_lazy_rel): Likewise.
21991 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21994 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21996 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21998 2018-02-05 Andreas Schwab <schwab@suse.de>
22001 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22004 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22006 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22007 not check against PTHREAD_STACK_MIN.
22009 2018-02-02 Sean McKean <smckean83@gmail.com>
22012 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22014 2018-02-02 Florian Weimer <fweimer@redhat.com>
22017 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22018 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22019 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22020 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22021 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22022 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22023 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22024 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22025 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22026 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22027 * misc/tst-preadvwritev2.c (do_test): Call it.
22028 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22030 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22032 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22034 * benchtests/bench-memcmp.c: Print json instead of plain text.
22036 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22039 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22041 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22043 (s390_sthyi): New syscall.
22045 * sysdeps/generic/ldbl-classify-compat.h: New file.
22046 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22047 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22048 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22049 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22050 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22051 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22053 <ldbl-classify-compat.h>.
22054 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22055 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22056 <ldbl-classify-compat.h>.
22057 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22058 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22059 <ldbl-classify-compat.h>.
22060 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22061 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22062 <ldbl-classify-compat.h>.
22063 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22065 <ldbl-classify-compat.h>.
22066 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22068 <ldbl-classify-compat.h>.
22069 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22070 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22071 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22072 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22073 * sysdeps/microblaze/math_private.h: Likewise.
22074 * sysdeps/nios2/math_private.h: Likewise.
22075 * sysdeps/sh/math_private.h: Likewise.
22077 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22078 * sysdeps/m68k/coldfire/math_private.h: ... here.
22079 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22080 * sysdeps/tile/math_private.h: Likewise.
22081 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22083 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22086 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22088 (libc_fetestexcept): Likewise.
22089 (libc_feupdateenv_test): Likewise.
22090 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22091 (libc_fetestexcept): Likewise.
22092 (libc_feupdateenv_test): Likewise.
22093 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22094 (libc_fetestexcept): Likewise.
22095 (libc_feupdateenv_test): Likewise.
22096 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22097 (libc_fetestexcept): Likewise.
22098 (libc_feupdateenv_test): Likewise.
22100 * sysdeps/generic/math_private.h
22101 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22102 New inline function.
22103 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22106 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22107 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22108 * sysdeps/generic/math_private.h
22109 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22111 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22113 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22115 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22117 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22119 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22121 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22122 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22123 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22124 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22125 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22126 (__fegetenv): Likewise.
22127 (fesetenv): Likewise.
22128 (__fesetenv): Likewise.
22129 (feupdateenv): Likewise.
22130 (__feupdateenv): Likewise.
22131 (fegetround): Likewise.
22132 (__fegetround): Likewise.
22133 (fesetround): Likewise.
22134 (__fesetround): Likewise.
22136 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22137 (feraiseexcept): New macro.
22138 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22139 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22141 (__feraiseexcept): Likewise.
22142 (feclearexcept): Likewise.
22143 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22144 (__feraiseexcept): Likewise.
22145 (feclearexcept): Likewise.
22146 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22147 (__feraiseexcept): Likewise.
22148 (feclearexcept): Likewise.
22149 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22150 (__feraiseexcept): Likewise.
22151 (feclearexcept): Likewise.
22152 (fetestexcept): Likewise.
22154 * sysdeps/m68k/coldfire/math-tests.h: New file.
22156 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22157 * sysdeps/m68k/bits/fenv.h: ... here.
22158 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22160 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22162 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22164 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22166 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22168 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22170 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22171 (__FE_UNDEFINED): New enum constant.
22172 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22174 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22176 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22178 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22179 to match generic bits/fenv.h.
22180 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22183 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22185 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22186 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22187 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22188 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22190 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22191 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22192 Joseph Myers <joseph@codesourcery.com>
22195 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22196 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22197 computation using c.
22198 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22199 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22200 computation using c.
22202 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22204 * version.h (RELEASE): Set to "development".
22205 (VERSION): Set to "2.27.9000".
22206 * NEWS (2.28): New section.
22208 * version.h (RELEASE): Set to "stable".
22209 (VERSION): Set to "2.27".
22210 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22212 * NEWS: Add the list of bugs fixed in 2.27.
22214 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22216 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22217 against PTHREAD_STACK_MIN.
22219 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22221 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22223 (Rafał Lużyński, Andreas Schwab): Update.
22225 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22228 * NEWS: List the languages which actually use the alternative
22229 months feature in this release. Also explain that "alt_mon" and
22230 "ab_alt_mon" are optional.
22232 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22235 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22237 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22239 * manual/install.texi (Tools for Compilation): Update the newest
22240 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22241 * INSTALL: Regenerated.
22243 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22245 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22246 instead of __builtin_expect.
22248 2018-01-30 Florian Weimer <fweimer@redhat.com>
22250 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22252 * nss/tst-nss-getpwent.c (do_test): Likewise.
22254 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22257 * localedata/locales/hr_HR (mon): Rename to...
22259 (mon): Import from CLDR (genitive case).
22260 (d_t_fmt): Update the comment.
22262 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22264 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22265 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22266 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22268 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22270 * mach/Versions: Fix version when __mach_host_self_ was added.
22271 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22272 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22273 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22274 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22275 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22276 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22277 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22278 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22279 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22280 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22281 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22282 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22283 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22284 || to respect codestyle.
22285 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22286 (do_test_bz20181): Rename accordingly.
22287 * malloc/malloc.c: Include <assert.h>.
22288 (assert): Do not define.
22289 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22290 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22291 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22292 * sysdeps/mach/hurd/hp-timing.h: New file.
22293 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22295 2018-01-29 Darius Rad <darius@bluespec.com>
22297 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22299 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22301 * sysdeps/init_array/crti.S (.section .init_array): Add
22302 PREINIT_FUNCTION when defined.
22303 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22304 * config.h.in: Regenerate.
22305 * manual/platform.texi: Add RISC-V documenation for
22306 __riscv_flush_icache.
22307 * sysdeps/riscv/__longjmp.S: New file.
22308 * sysdeps/riscv/backtrace.c: Likewise.
22309 * sysdeps/riscv/bits/endian.h: Likewise.
22310 * sysdeps/riscv/bits/setjmp.h: Likewise.
22311 * sysdeps/riscv/bits/wordsize.h: Likewise.
22312 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22313 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22314 * sysdeps/riscv/dl-trampoline.S: Likewise.
22315 * sysdeps/riscv/gccframe.h: Likewise.
22316 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22317 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22318 * sysdeps/riscv/machine-gmon.h: Likewise.
22319 * sysdeps/riscv/memusage.h: Likewise.
22320 * sysdeps/riscv/setjmp.S: Likewise.
22321 * sysdeps/riscv/sys/asm.h: Likewise.
22322 * sysdeps/riscv/tls-macros.h: Likewise.
22323 * sysdeps/riscv/dl-tls.h: New file.
22324 * sysdeps/riscv/libc-tls.c: Likewise.
22325 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22326 * sysdeps/riscv/nptl/tls.h: Likewise.
22327 * sysdeps/riscv/stackinfo.h: Likewise.
22328 * sysdeps/riscv/bits/fenv.h: New file.
22329 * sysdeps/riscv/e_sqrtl.c: Likewise.
22330 * sysdeps/riscv/fpu_control.h: Likewise.
22331 * sysdeps/riscv/math-tests.h: Likewise.
22332 * sysdeps/riscv/nofpu/Implies: Likewise.
22333 * sysdeps/riscv/sfp-machine.h: Likewise.
22334 * sysdeps/riscv/tininess.h: Likewise.
22335 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22336 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22337 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22338 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22339 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22340 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22341 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22342 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22343 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22344 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22345 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22346 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22347 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22348 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22349 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22350 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22351 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22352 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22353 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22354 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22355 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22356 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22357 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22358 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22359 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22360 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22361 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22362 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22363 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22364 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22365 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22366 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22367 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22368 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22369 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22370 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22371 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22372 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22373 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22374 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22375 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22376 * sysdeps/riscv/rvf/math_private.h: Likewise.
22377 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22378 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22379 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22380 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22381 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22382 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22383 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22384 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22385 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22386 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22387 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22388 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22389 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22390 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22391 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22392 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22393 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22394 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22395 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22396 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22397 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22398 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22399 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22400 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22401 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22402 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22403 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22404 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22405 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22406 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22407 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22408 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22409 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22410 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22411 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22412 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22413 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22414 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22415 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22416 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22417 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22418 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22419 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22420 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22421 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22422 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22423 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22424 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22425 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22426 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22427 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22428 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22429 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22430 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22431 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22432 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22433 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22434 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22435 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22436 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22437 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22438 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22439 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22445 * sysdeps/riscv/Implies: New file.
22446 * sysdeps/riscv/Makefile: Likewise.
22447 * sysdeps/riscv/configure: Likewise.
22448 * sysdeps/riscv/configure.ac: Likewise.
22449 * sysdeps/riscv/nptl/Makefile: Likewise.
22450 * sysdeps/riscv/preconfigure: Likewise.
22451 * sysdeps/riscv/rv64/Implies-after: Likewise.
22452 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22453 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22454 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22455 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22456 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22457 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22458 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22459 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22460 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22461 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22462 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22463 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22464 (Config): Likewise.
22466 2018-01-29 Florian Weimer <fweimer@redhat.com>
22469 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22470 libnsl_hidden_proto.
22471 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22472 libnsl_hidden_proto.
22473 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22474 * nis/Makefile (libnsl-routines): Add nss-default only for
22475 build-obsolete-nsl.
22476 * nis/nis_defaults.c (__nis_default_ttl): Add
22477 libnsl_hidden_nolink_def.
22478 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22480 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22481 * nis/ypclnt.c (yp_maplist): Likewise.
22483 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22486 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22488 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22490 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22491 clean -dxfq for git updates when replacing sources.
22493 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22494 --disable-libcilkrts unconditionally, not just for the final GCC
22497 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22500 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22503 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22506 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22509 * localedata/locales/be_BY (mon): Rename to...
22510 (alt_mon): This, then synchronize with CLDR (nominative case).
22511 (abmon): Rename to...
22512 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22513 (mon): Import from CLDR (genitive case).
22515 * localedata/locales/be_BY@latin (mon): Rename to...
22517 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22519 * localedata/locales/be_BY@latin (lang_name): Reworded to
22520 "biełaruskaja mova".
22522 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22525 * localedata/locales/el_CY (mon): Renamed to...
22527 (mon): Import from CLDR (genitive case).
22528 * localedata/locales/el_GR: Likewise.
22530 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22533 * localedata/locales/ru_RU (mon): Rename to...
22535 (abmon): Rename to...
22536 (ab_alt_mon): This.
22537 (mon): Import from CLDR (genitive case).
22538 (abmon): Copy from the old content except the 5th month which is
22539 now in the genitive case, even when abbreviated.
22540 * localedata/locales/ru_UA: Likewise.
22541 * time/tst-strptime.c (day_tests): Add an actual example of
22542 a difference between %b and %Ob in Russian.
22544 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22546 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22547 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22549 * resolv/res-close.c: Include <stdlib.h>.
22550 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22551 <sys/wait.h>, <time.h>, <sys/uio.h>.
22552 (NOT_CANCEL_H): Add inclusion guard.
22553 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22554 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22555 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22558 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22559 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22561 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22562 timer_ptr2id to cast struct timer_node * to void *.
22563 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22564 --disable-libcilkrts to gcc configure.
22565 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22566 and make them the default for now.
22567 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22568 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22569 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22570 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22571 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22573 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22574 __task_terminate would ever return successfully.
22575 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22577 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22578 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22579 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22580 critical section to make code simpler and avoid warning.
22581 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22582 critical section to make code simpler and avoid warning.
22583 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22584 const char * instead of char *.
22585 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22586 __hurd_file_name_split, hurd_file_name_split,
22587 __hurd_directory_name_split, hurd_directory_name_split,
22588 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22589 hurd_file_name_path_lookup): Make lookup function parameter take a
22590 const char *name instead of char *name.
22591 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22592 __hurd_directory_name_split): Likewise.
22593 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22594 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22595 * sysdeps/mach/hurd/check_native.c: New file.
22596 * sysdeps/mach/hurd/check_pf.c: New file.
22597 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22598 (__freeifaddrs): Define macro to freeifaddrs.
22599 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22600 * sysdeps/mach/libmachuser.abilist: New file.
22601 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22602 (do_test_bz20181): Rename accordingly.
22603 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22604 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22606 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22607 version only if __USE_EXTERN_INLINES is defined.
22608 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22609 __hurd_sockfail): Likewise.
22610 (_hurd_fd_get): Always declare functions, and provide inline versions
22611 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22612 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22613 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22614 _hurd_port_set): Always declare functions, and provide inline versions
22615 only if __USE_EXTERN_INLINES and _LIBC are defined and
22617 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22618 _hurd_critical_section_unlock): Likewise.
22619 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22620 * __hurd_threadvar_location): Likewise.
22621 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22622 _hurd_userlink_clear): Likewise.
22623 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22624 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22625 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22626 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22627 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22628 __spin_lock_locked): Likewise.
22629 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22630 __spin_lock_locked): Likewise.
22631 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22632 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22633 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22634 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22635 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22636 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22637 _POSIX_NO_TRUNC): Define to 0.
22638 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22639 check size against PTHREAD_STACK_MIN.
22640 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22641 IS_IN(libpthread)]: Include <sigsetops.h>.
22642 * mach/Makefile (user-interfaces): Add mach/gnumach.
22643 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22644 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22645 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22646 instead of invalid -1.
22647 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22648 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22649 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22652 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22654 * hurd/fcntl-internal.h: New file.
22656 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22658 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22660 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22662 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22665 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22666 Build only shared objects.
22668 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22670 * README: Update for hppa.
22672 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22674 * sysdeps/sparc/fpu/libm-test-ulps: Update
22675 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22677 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22681 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22684 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22685 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22686 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22687 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22690 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22693 * bits/types/__cancel_jmp_buf_tag.h: New file.
22694 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22695 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22696 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22697 * nptl/Makefile (headers): Add
22698 bits/types/__cancel_jmp_buf_tag.h.
22699 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22700 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22701 * sysdeps/nptl/pthread.h: Include
22702 <bits/types/__cancel_jmp_buf_tag.h>.
22703 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22705 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22707 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22710 * localedata/locales/uk_UA (mon): Renamed to...
22712 (alt_digits): "0" removed and then renamed to...
22714 (date_fmt): Definition changed not to use the alternative
22717 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22719 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22720 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22721 * elf/elf.h (EF_RISCV_RVC): New define.
22722 (EF_RISCV_FLOAT_ABI): Likewise.
22723 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22724 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22725 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22726 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22727 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22729 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22731 2018-01-25 Andreas Schwab <schwab@suse.de>
22733 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22735 * sysdeps/gnu/configure: Regenerate.
22736 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22737 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22739 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22740 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22741 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22742 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22743 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22745 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22747 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22748 URL, and run autoconf, make it the default for now.
22750 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22752 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22753 soft-float ColdFire configuration.
22755 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22756 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22757 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22759 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22762 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22764 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22766 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22769 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22770 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22771 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22774 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22777 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22778 Rename to __reserved and add comment.
22779 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22780 Rename to __reserved.
22782 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22784 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22785 i686-gnu configurations.
22786 (Context.run_builds): Include mig, gnumach and hurd in components
22788 (Context.checkout): Add mig, gnumach and hurd to components.
22789 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22791 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22792 (Config.build): Install gnumach headers, build mig and install
22793 hurd headers for 'gnu' OS.
22794 (Config.install_gnumach_headers): New function.
22795 (Config.install_hurd_headers): Likewise.
22796 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22797 when building for 'gnu' OS.
22799 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22801 * manual/tunables.texi (Hardware Capability Tunables): Fix
22804 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22806 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22807 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22808 (ALTMON_11, ALTMON_12): Improve documentation.
22809 * manual/time.texi (strftime): Likewise.
22811 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22814 * localedata/locales/pl_PL: Alternative month names added,
22815 primary month names are genitive now.
22816 * time/tst-strptime.c (day_tests): Actually use a genitive case
22817 of a month name in Polish language.
22819 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22822 * manual/locale.texi: Document ALTMON_1..12 constants for
22823 nl_langinfo. Specify when to use ALTMON instead of MON.
22824 * manual/time.texi (strftime, strptime): Document GNU extension
22825 permitting O modifier with %B and %b. Specify when to use
22828 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22831 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22832 names, define them as the same as abbreviated month names explicitly.
22833 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22834 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22835 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22836 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22837 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22838 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22839 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22840 _NL_WABALTMON_12): New enum constants.
22841 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22842 wab_alt_mon, and ab_alt_mon_defined members.
22843 (time_output): Output ab_alt_mon and wab_alt_mon members.
22844 (time_read): Read them, initialize them as copies of abmon and wabmon
22845 respectively if they are missing, initialize ab_alt_mon_defined.
22846 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22847 * locale/programs/locfile-kw.h: Regenerate.
22848 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22849 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22851 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22852 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22853 (__strftime_internal): Handle %Ob and %Oh formats.
22854 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22855 (__strptime_internal): Handle %Ob and %Oh formats.
22856 * time/tst-strptime.c (day_tests): Add more tests to parse different
22857 forms of month names including the new %Ob format specifier.
22859 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22862 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22863 define them as the same as primary full month names explicitly.
22864 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22865 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22866 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22867 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22868 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22869 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22870 _NL_WALTMON_12): New enum constants.
22871 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22872 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22874 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22875 walt_mon, and alt_mon_defined members.
22876 (time_output): Output alt_mon and walt_mon members.
22877 (time_read): Read them, initialize them as copies of mon and wmon
22878 respectively if they are missing, initialize alt_mon_defined.
22879 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22880 * locale/programs/locfile-kw.h: Regenerate.
22881 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22882 * localedata/tst-langinfo.c (map): Add tests for the new constants
22883 ALTMON_1 .. ALTMON_12.
22884 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22886 * time/strftime_l.c (f_altmonth): New macro.
22887 (__strftime_internal): Handle %OB format.
22888 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22889 (__strptime_internal): Handle %OB format.
22890 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22891 of month names including the new %OB format specifier.
22893 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22896 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22897 from ABORT_TRANSACTION.
22898 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22899 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22900 ABORT_TRANSACTION_IMPL): Likewise.
22901 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22902 Linux code, but remove the code that aborts transactions.
22904 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22906 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22908 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22910 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22911 in date: "2004-14-09" should be "2004-09-14".
22912 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22913 "2003-15-09" should be "2003-09-15".
22915 2018-01-18 Arjun Shankar <arjun@redhat.com>
22921 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22923 (_int_memalign): check for integer overflow before calling
22925 * malloc/tst-malloc-too-large.c: New test.
22926 * malloc/Makefile: Add tst-malloc-too-large.
22928 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22930 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22931 in date: "2017-24-07" should be "2017-07-24".
22932 * localedata/locales/mai_IN: Likewise.
22933 * localedata/locales/mai_NP: Likewise.
22935 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22937 * po/ru.po: Update translations.
22939 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22942 * sysdeps/hppa/backtrace.c: New file.
22944 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22947 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22948 align La_x86_64_retval to VEC_SIZE.
22950 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22952 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22953 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22955 2018-01-16 Florian Weimer <fweimer@redhat.com>
22957 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22958 Move tst-thread-exit-clobber ...
22959 [$(CXX)] (tests-unsupported): ... to here.
22961 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22963 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22964 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22965 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22966 (_dl_aarch64_cap_flags): Update.
22967 (_DL_HWCAP_COUNT): Update.
22969 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22971 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22972 (_DL_HWCAP_LAST): Remove.
22973 (_DL_HWCAP_COUNT): Move to ...
22974 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22975 (_DL_HWCAP_COUNT): ... here.
22977 2018-01-16 Florian Weimer <fweimer@redhat.com>
22979 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22980 mode with GNU extensions.
22982 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22984 * elf/elf.h (NT_ARM_SVE): Define.
22986 2018-01-15 Florian Weimer <fweimer@redhat.com>
22989 * nptl/tst-minstack-throw.cc: New file.
22990 * nptl/Makefile (tests): Add tst-minstack-throw.
22991 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22992 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22994 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22996 * scripts/build-many-glibcs.py (Context.checkout): Default
22997 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23000 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23003 * elf/elf.h (DF_1_STUB): Define.
23004 (DF_1_PIE): Define.
23006 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23009 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23010 Do not add 0.5 to integer or out-of-range arguments.
23012 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23014 * po/bg.po: Update translations.
23015 * po/cs.po: Likewise.
23016 * po/de.po: Likewise.
23017 * po/ko.po: Likewise.
23018 * po/pl.po: Likewise.
23019 * po/sv.po: Likewise.
23020 * po/uk.po: Likewise.
23021 * po/vi.po: Likewise.
23023 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23025 * aarch64/start.S (_start): Use __wrap_main.
23026 (__wrap_main): New local symbol.
23028 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23032 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23033 generic_getcwd if the path returned by getcwd syscall is not absolute.
23034 * io/tst-getcwd-abspath.c: New test.
23035 * io/Makefile (tests): Add tst-getcwd-abspath.
23037 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23039 * malloc/malloc.c (malloc_consolidate): Add size check.
23041 2018-01-12 Florian Weimer <fweimer@redhat.com>
23043 * support/write_message.c (write_message): Preserve errno.
23044 * support/check.c (print_failure): Likewise.
23045 * support/support_test_verify_impl.c (support_test_verify_impl):
23047 * support/support_test_compare_failure.c
23048 (support_test_compare_failure): Likewise.
23050 2018-01-12 Florian Weimer <fweimer@redhat.com>
23053 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23054 Prevent installation of libnsl.so.
23055 (libnsl-inhibit-o): Do not build (or install) static libraries.
23057 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23060 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23061 before the day number which may produce a double space.
23062 (date_fmt): Likewise.
23064 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23066 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23067 instead of fegetenv.
23069 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23072 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23073 comment to say exceptions are discarded.
23074 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23076 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23079 2018-01-11 Florian Weimer <fweimer@redhat.com>
23081 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23084 2018-01-11 Florian Weimer <fweimer@redhat.com>
23087 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23088 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23090 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23093 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23094 negative arguments in test for NaN or infinity argument.
23096 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23098 * po/libc.pot: Regenerate.
23100 2018-01-10 Florian Weimer <fweimer@redhat.com>
23103 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23104 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23106 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23108 * hurd/hurd/fd.h: Include <fcntl.h>
23109 (__hurd_at_flags): New function.
23110 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23111 with call to __hurd_at_flags.
23112 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23113 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23115 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23116 (__access_noerrno): Use __faccessat_common instead of access_common.
23117 (__access): Likewise.
23118 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23119 with a call to __faccessat.
23120 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23121 (__faccessat_common): ... this. Move implementation of __access into it when
23122 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23123 reauthenticate_cwdir_at helper to implement AT mechanism.
23124 (__faccessat_noerrno): New function, just calls __faccessat_common.
23125 (__faccessat): New function, just calls __faccessat_common.
23126 (faccessat): Define weak alias.
23128 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23131 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23132 (CFLAGS-s_fmaxmagl.c): New variable.
23133 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23137 long int for arguments of possibly overflowing addition or
23139 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23141 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23144 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23145 (CFLAGS-e_remainderl.c): New variable.
23148 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23150 (CFLAGS-s_cacoshl.c): Likewise.
23151 (CFLAGS-s_casinhl.c): Likewise.
23152 (CFLAGS-s_catanl.c): Likewise.
23153 (CFLAGS-s_catanhl.c): Likewise.
23154 (CFLAGS-s_cexpl.c): Likewise.
23155 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23156 (CFLAGS-s_csinhl.c): Likewise.
23157 (CFLAGS-s_clogl.c): Likewise.
23158 (CFLAGS-s_clog10l.c): Likewise.
23159 (CFLAGS-s_csinl.c): Likewise.
23160 (CFLAGS-s_csqrtl.c): Likewise.
23162 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23163 2017-01-09 Svante Signell <svante.signell@gmail.com>
23165 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23166 (_hurd_exec_paths): New function.
23167 * hurd/hurd.h (_hurd_exec): Deprecate function.
23168 (_hurd_exec_paths): Declare function.
23169 * hurd/Versions: Export _hurd_exec_paths.
23170 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23171 (__execve): Use __getcwd to build absolute path, and use
23172 _hurd_exec_paths instead of _hurd_exec.
23173 * sysdeps/mach/hurd/spawni.c: Likewise.
23174 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23177 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23179 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23180 test instead of failing in case of ENOENT returned by posix_openpt.
23182 2018-01-08 Florian Weimer <fweimer@redhat.com>
23184 resolv: Support binary labels in test framework.
23185 * support/resolv_test.c (struct to_be_freed): Remove.
23186 (struct compressed_name): New.
23187 (allocate_compressed_name, ascii_tolower)
23188 (compare_compressed_name): New functions.
23189 (struct resolv_response_builder): Update type of
23190 compression_offsets for use with tsearch. Rempve to_be_freed.
23191 (response_push_pointer_to_free): Remove function.
23192 (resolv_response_add_name): Rewrite using struct compressed_name
23193 and tsearch instead of hsearch_r.
23194 (response_builder_allocate): Remove initialization of
23195 compression_offsets.
23196 (response_builder_free): Update for removal of to_be_freed. Use
23197 tdestroy instead of hdestroy_r.
23198 * resolv/Makefile (tests): Add tst-resolv-binary.
23199 (tst-resolv-binary): Link with -lresolv -lpthread.
23201 2018-01-08 Florian Weimer <fweimer@redhat.com>
23203 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23204 time. Pass positive flag instead of negative flag to
23205 support_test_compare_failure.
23206 (support_test_compare_failure): Change negative parameter to
23208 * support/support_test_compare_failure.c (report)
23209 (support_test_compare_failure): Likewise.
23210 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23211 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23213 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23216 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23217 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23218 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23220 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23222 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23225 Add s_sincosf-sse2 and s_sincosf-fma.
23226 (CFLAGS-s_sincosf-fma.c): New.
23227 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23228 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23230 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23231 __sincosf is defined.
23233 2018-01-08 Florian Weimer <fweimer@redhat.com>
23235 * nptl/tst-thread-exit-clobber.cc: New file.
23236 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23238 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23239 (tests): Add tst-thread-exit-clobber.
23240 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23242 2018-01-08 Florian Weimer <fweimer@redhat.com>
23244 * support/check.h (support_static_assert): Define.
23245 (TEST_COMPARE): Use it.
23247 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23249 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23250 [!__RLIM_T_MATCHES_RLIM64_T]
23251 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23252 __getrlimit64. Add libc_hidden_weak.
23254 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23256 * elf/elf.h (R_RISCV_NONE): New define.
23257 (R_RISCV_32): Likewise.
23258 (R_RISCV_64): Likewise.
23259 (R_RISCV_RELATIVE): Likewise.
23260 (R_RISCV_COPY): Likewise.
23261 (R_RISCV_JUMP_SLOT): Likewise.
23262 (R_RISCV_TLS_DTPMOD32): Likewise.
23263 (R_RISCV_TLS_DTPMOD64): Likewise.
23264 (R_RISCV_TLS_DTPREL32): Likewise.
23265 (R_RISCV_TLS_DTPREL64): Likewise.
23266 (R_RISCV_TLS_TPREL32): Likewise.
23267 (R_RISCV_TLS_TPREL64): Likewise.
23268 * Makerules (make-link-multidir): Make directories before linking into
23270 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23272 (VDSO_HASH_LINUX_4_15): Likewise.
23273 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23274 in subdirectories of lib.
23275 * nptl/Makefile (/librt.so): Always depend on
23276 "$(shared-thread-library)".
23278 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23280 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23281 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23282 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23284 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23287 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23288 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23289 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23290 * sysdeps/gnu/glob-lstat-compat.c: New file.
23291 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23292 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23294 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23296 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23297 Reserve 16 chars to reloc_addr before calling _itoa_word.
23299 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23302 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23303 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23305 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23306 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23308 * resource/tst-getrlimit.c: Add copyright header.
23310 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23311 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23313 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23314 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23315 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23316 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23318 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23319 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23320 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23321 RLIM64_INFINITY): Fix values to match the kernel ones.
23322 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23323 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23324 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23325 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23326 getrlimit64@@GLIBC_2_27.
23327 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23329 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23330 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23331 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23332 setrlimit, getrlimit64 and setrlimit64.
23334 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23337 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23338 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23340 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23342 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23343 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23344 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23346 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23350 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23351 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23355 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23356 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23357 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23358 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23360 2018-01-04 Florian Weimer <fweimer@redhat.com>
23363 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23364 Align the stack before calling exit.
23365 * stdlib/tst-makecontext-align.c: New file.
23366 * stdlib/Makefile (tests): Add tst-makecontext-align.
23368 2018-01-04 Florian Weimer <fweimer@redhat.com>
23370 Add support for calling dlvsym from libc.so.
23371 * include/dlfcn.h (__libc_dlvsym): Declare.
23372 * elf/Makefile (tests-static-internal): Add
23373 tst-libc_dlvsym-static.
23374 (tests-internal): Add tst-libc_dlvsym.
23375 (modules-names): Add tst-libc_dlvsym-dso.
23376 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23377 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23378 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23379 object tst-libc_dlvsym-dso.so needs to be built before running
23381 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23382 * elf/Versions: Export __libc_dlvsym.
23383 * elf/dl-libc.c (struct do_dlvsym_args): New.
23384 (do_dlvsym, __libc_dlvsym): New functions.
23385 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23386 (_dl_open_hook2): New variable.
23387 (__libc_register_dl_open_hook): Set it.
23388 * elf/tst-libc_dlvsym-dso.c: New file.
23389 * elf/tst-libc_dlvsym-static.c: Likewise.
23390 * elf/tst-libc_dlvsym.c: Likewise.
23391 * elf/tst-libc_dlvsym.h: Likewise.
23393 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23395 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23396 include <sys/mount.h>.
23398 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23400 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23401 Add __NO_MATH_ERRNO__ check.
23403 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23405 * sysdeps/mips/mips32/libm-test-ulps: Update.
23406 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23408 2018-01-02 Florian Weimer <fweimer@redhat.com>
23410 * misc/tst-pselect.c: Add copyright header.
23412 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23414 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23416 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23418 (settrlimit): Rename into setrlimit.
23419 (__sttrlimit): Rename into __setrlimit.
23421 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23422 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23423 never defined in that case.
23425 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23427 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23429 * sysdeps/arm/libm-test-ulps: Update.
23431 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23432 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23434 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23436 * NEWS: Add cosf and sincosf to list of optimized functions.
23438 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23441 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23442 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23443 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23444 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23446 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23449 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23451 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23452 making a copy of it.
23454 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23456 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23457 trailing whitespace removed.
23458 * scripts/config.guess: Update to version 2018-01-01.
23459 * scripts/config.sub: Update to version 2018-01-01.
23460 * scripts/move-if-change: Update from gnulib.
23462 * NEWS: Update copyright dates.
23463 * catgets/gencat.c (print_version): Likewise.
23464 * csu/version.c (banner): Likewise.
23465 * debug/catchsegv.sh: Likewise.
23466 * debug/pcprofiledump.c (print_version): Likewise.
23467 * debug/xtrace.sh (do_version): Likewise.
23468 * elf/ldconfig.c (print_version): Likewise.
23469 * elf/ldd.bash.in: Likewise.
23470 * elf/pldd.c (print_version): Likewise.
23471 * elf/sotruss.sh: Likewise.
23472 * elf/sprof.c (print_version): Likewise.
23473 * iconv/iconv_prog.c (print_version): Likewise.
23474 * iconv/iconvconfig.c (print_version): Likewise.
23475 * locale/programs/locale.c (print_version): Likewise.
23476 * locale/programs/localedef.c (print_version): Likewise.
23477 * login/programs/pt_chown.c (print_version): Likewise.
23478 * malloc/memusage.sh (do_version): Likewise.
23479 * malloc/memusagestat.c (print_version): Likewise.
23480 * malloc/mtrace.pl: Likewise.
23481 * manual/libc.texinfo: Likewise.
23482 * nptl/version.c (banner): Likewise.
23483 * nscd/nscd.c (print_version): Likewise.
23484 * nss/getent.c (print_version): Likewise.
23485 * nss/makedb.c (print_version): Likewise.
23486 * posix/getconf.c (main): Likewise.
23487 * scripts/test-installation.pl: Likewise.
23488 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23490 * All files with FSF copyright notices: Update copyright dates
23491 using scripts/update-copyrights.
23492 * locale/programs/charmap-kw.h: Regenerated.
23493 * locale/programs/locfile-kw.h: Likewise.
23495 2017-12-31 Zack Weinberg <zackw@panix.com>
23497 * libio/bits/libio-ldbl.h: Correct check for improper
23498 inclusion. Add own multiple include guard.
23500 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23501 Dmitry V. Levin <ldv@altlinux.org>
23505 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23506 string token expansion. Check for NULL pointer or empty string possibly
23507 returned by expand_dynamic_string_token.
23508 (decompose_rpath): Check for empty path after dynamic string
23511 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23514 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23516 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23517 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23518 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23519 and PTRACE_SYSCALL.
23520 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23525 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23528 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23529 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23530 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23532 bits/ptrace-shared.h.
23533 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23534 <bits/ptrace-shared.h>.
23535 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23536 __ptrace_peeksiginfo_flags, ptrace): Remove.
23537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23541 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23543 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23546 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23547 end of the loop. Improve comments.
23549 2017-12-29 Zack Weinberg <zackw@panix.com>
23552 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23553 might be set on success.
23555 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23558 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23559 is unchanged on success.
23561 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23563 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23565 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23566 expand_dynamic_string_token): Likewise.
23567 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23570 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23573 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23574 is set and name contains ':', and all code depending on these checks.
23576 2017-12-24 Zack Weinberg <zackw@panix.com>
23578 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23579 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23581 * libio/libio.h: Rename the original version of this file to
23582 libio/bits/libio.h. Error out if not included by stdio.h or the
23584 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23585 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23586 if not included by bits/libio.h or the stub _G_config.h.
23587 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23588 sysdeps/unix/sysv/linux/bits. Error out if not included by
23589 bits/libio.h or the stub _G_config.h.
23590 * libio/stdio.h: Include bits/libio.h, not libio.h.
23591 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23592 well as libio.h and _G_config.h.
23594 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23595 * libio/strfile.h, stdio-common/vfscanf.c
23596 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23597 Include stdio.h, not _G_config.h nor libio.h.
23598 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23599 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23601 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23603 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23606 * stdlib/getrandom.c (getrandom): Fix comment.
23607 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23609 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23612 * manual/arith.texi (strtoul): Fix a typo.
23615 * manual/arith.texi (finite): Fix the description of the return
23618 2017-12-22 Eric Blake <ebb9@byu.net>
23620 Avoid gcc warnings on cygwin
23621 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23622 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23623 Avoid unused variable.
23625 2017-12-22 Florian Weimer <fweimer@redhat.com>
23627 * io/Makefile (routines): Add copy_file_range.
23628 (tests): Add tst-copy_file_range.
23629 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23630 * io/Versions (GLIBC_2.27): Export copy_file_range.
23631 * io/copy_file_range-compat.c: New file.
23632 * io/copy_file_range.c: Likewise.
23633 * io/tst-copy_file_range-compat.c: Likewise.
23634 * io/tst-copy_file_range.c: Likewise.
23635 * manual/llio.texi (Copying File Data): New section.
23636 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23637 * support/Makefile (libsupport-routines): Add support-xfstat,
23638 xftruncate, xlseek.
23639 * support/support-xfstat.c: New file.
23640 * support/xftruncate.c: Likewise.
23641 * support/xlseek.c: Likewise.
23642 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23643 * sysdeps/unix/sysv/linux/**.abilist: Update.
23644 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23646 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23648 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23649 disable-multi-arch variant to aarch64-linux-gnu.
23651 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23653 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23654 trailing whitespace removed.
23655 * scripts/config.guess: Update to version 2017-12-17.
23656 * scripts/config.sub: Update to version 2017-11-23.
23657 * scripts/install-sh: Update to version 2017-09-23.17.
23658 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23660 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23662 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23663 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23664 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23665 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23666 * sysdeps/tile/crtn.S: Likewise.
23667 * sysdeps/tile/dl-start.S (_start): Likewise.
23668 * sysdeps/tile/dl-trampoline.S: Likewise.
23669 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23670 * sysdeps/tile/start.S (_start): Likewise.
23671 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23672 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23673 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23674 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23675 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23676 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23677 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23679 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23681 * sysdeps/tile/preconfigure: Remove tilegx folder.
23682 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23683 * sysdeps/tile/Implies: ... here.
23684 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23685 * sysdeps/tile/Makefile: ... here.
23686 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23687 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23688 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23689 * sysdeps/tile/bits/wordsize.h: ... here.
23690 * sysdeps/tile/tilegx/*: Move to ...
23691 * sysdeps/tile/*: ... here.
23692 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23693 * sysdeps/tile/tilegx32/Implies: ... here.
23694 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23695 * sysdeps/tile/tilegx64/Implies: ... here.
23696 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23698 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23699 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23700 * sysdeps/unix/sysv/linux/tile/*: ... here.
23701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23702 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23704 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23706 * README: Remove tilepro-*-linux-gnu from supported architecture.
23707 * scripts/build-many-glibcs.py: Likewise.
23708 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23709 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23710 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23711 elf_machine_matches_host, elf_machine_dynamic,
23712 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23713 howto, elf_machine_rela): Likewise.
23714 * sysdeps/tile/dl-start.S (_start): Likewise.
23715 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23716 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23717 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23718 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23719 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23720 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23722 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23723 * sysdeps/tile/preconfigure: Likewise.
23724 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23725 POINTER_CHK_GUARD): Likewise.
23726 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23727 * sysdeps/tile/start.S (_start): Likewise.
23728 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23730 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23731 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23733 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23734 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23735 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23737 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23738 * sysdeps/tile/tilepro/Implies: Remove file.
23739 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23740 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23741 * sysdeps/tile/tilepro/memchr.c: Likewise.
23742 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23743 * sysdeps/tile/tilepro/memset.c: Likewise.
23744 * sysdeps/tile/tilepro/memusage.h: Likewise.
23745 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23746 * sysdeps/tile/tilepro/strchr.c: Likewise.
23747 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23748 * sysdeps/tile/tilepro/strlen.c: Likewise.
23749 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23750 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23751 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23752 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23753 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23754 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23755 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23757 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23758 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23760 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23761 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23762 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23766 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23767 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23768 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23769 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23770 tilepro mention in comment.
23772 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23773 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23774 * nptl/pthread_join_common.c: New file: common function used on
23775 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23776 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23777 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23778 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23779 (cleanup): Move definition to pthread_join_common.c.
23780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23781 Remove superflous checks.
23782 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23785 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23787 * sysdeps/aarch64/libm-test-ulps: Update.
23789 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23791 * sysdeps/aarch64/memset.S (MEMSET): Define.
23793 2017-12-20 Florian Weimer <fweimer@redhat.com>
23796 nptl: Provide full implementation of pthread_self in libc.so.
23797 * nptl/Makefile (routines): Add pthread_self.
23798 (libpthread-routines): Replace pthread_self with
23799 compat-pthread_self.
23800 * nptl/forward.c (pthread_self): Remove.
23801 * nptl/nptl-init.c (pthread_functions): Do not initialize
23803 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23804 * nptl/compat-pthread_self.c: New file.
23805 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23806 Remove ptr_pthread_self.
23808 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23810 * posix/regcomp.c: Fix spelling in comments.
23811 * posix/regex.h: Likewise.
23812 * posix/regex_internal.c: Likewise.
23813 * posix/regexec.c: Likewise.
23815 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23818 * math/Makefile [C++] (tests): Add test for iseqsig.
23819 * math/math.h [C++] (iseqsig): New implementation, which does
23820 not rely on __MATH_TG/__builtin_types_compatible_p.
23821 * math/test-math-iseqsig.cc: New file.
23822 * sysdeps/powerpc/powerpc64le/Makefile
23823 (CFLAGS-test-math-iseqsig.cc): New variable.
23825 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23827 * elf/dl-load.c (is_trusted_path): Remove.
23828 (fillin_rpath): Remove check_trusted argument and its use,
23829 all callers changed.
23831 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23834 * Makeconfig (link-pie-before-libc): Replace -pie with
23835 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23836 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23837 (tst-dlopen-aout-no-pie): New.
23838 (LDFLAGS-tst-prelink): Removed.
23839 (tst-prelink-no-pie): New.
23840 (LDFLAGS-tst-main1): Removed.
23841 (tst-main1-no-pie): New.
23842 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23843 (tst-gmon-no-pie): New.
23845 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23847 * manual/install.texi: Document that --enable-static-pie
23849 * INSTALL: Regenerated.
23851 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23854 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23857 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23861 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23865 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23867 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23868 <errno.h>. Include "eexp.tbl".
23869 (half): New constant.
23871 (__ieee754_exp): Rewrite.
23872 (__slowexp): Remove prototype.
23873 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23874 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23875 * sysdeps/i386/fpu/slowexp.c: Likewise.
23876 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23877 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23878 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23879 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23880 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23881 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23882 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23884 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23885 (CPPFLAGS-slowexp.c): Remove variable.
23886 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23887 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23888 (CFLAGS-slowexp-fma.c): Remove variable.
23889 (CFLAGS-slowexp-fma4.c): Likewise.
23890 (CFLAGS-slowexp-avx.c): Likewise.
23891 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23895 * math/Makefile (type-double-routines): Remove slowexp.
23896 * manual/probes.texi (slowexp_p6): Remove.
23897 (slowexp_p32): Likewise.
23899 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23901 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23904 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23906 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23910 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23913 <errno.h>. Include "eexp.tbl".
23914 (half): New constant.
23916 (__ieee754_exp): Rewrite.
23917 (__slowexp): Remove prototype.
23918 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23919 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23920 * sysdeps/i386/fpu/slowexp.c: Likewise.
23921 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23922 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23923 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23926 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23927 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23929 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23930 (CPPFLAGS-slowexp.c): Remove variable.
23931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23932 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23933 (CFLAGS-slowexp-fma.c): Remove variable.
23934 (CFLAGS-slowexp-fma4.c): Likewise.
23935 (CFLAGS-slowexp-avx.c): Likewise.
23936 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23940 * math/Makefile (type-double-routines): Remove slowexp.
23941 * manual/probes.texi (slowexp_p6): Remove.
23942 (slowexp_p32): Likewise.
23944 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23945 James Clarke <jrtc27@jrtc27.com>
23948 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23951 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23954 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23957 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23960 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23961 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23962 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23963 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23966 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23969 * bits/types/__cancel_jmp_buf_tag.h: New file.
23970 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23971 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23972 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23973 * nptl/Makefile (headers): Add
23974 bits/types/__cancel_jmp_buf_tag.h.
23975 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23976 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23977 * sysdeps/nptl/pthread.h: Include
23978 <bits/types/__cancel_jmp_buf_tag.h>.
23979 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23981 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23983 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23985 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23986 --enable-static-pie variants to x86_64, x32 and i686.
23988 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23991 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23992 argument for attrubutes. All callers changed.
23993 (__inline_mathop1): Likewise. All callers changed.
23994 (__inline_mathop): Likewise. All callers changed.
23995 [__USE_MISC] (scalbn): Use __inline_forward instead of
23996 __inline_forward_c.
23997 [__USE_ISOC99] (scalbln): Likewise.
23998 [__USE_ISOC99] (nearbyint): Likewise.
23999 [__USE_ISOC99] (lrint): Likewise.
24000 [__USE_MISC] (scalbnf): Likewise.
24001 [__USE_ISOC99] (scalblnf): Likewise.
24002 [__USE_ISOC99] (nearbyintf): Likewise.
24003 [__USE_ISOC99] (lrintf): Likewise.
24004 [__USE_MISC] (scalbnl): Likewise.
24005 [__USE_ISOC99] (scalblnl): Likewise.
24006 [__USE_ISOC99] (nearbyintl): Likewise.
24007 [__USE_ISOC99] (lrintl): Likewise.
24008 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24009 __inline_mathop and __m81_defun changed.
24011 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24012 CPU or FPU for ARM hard-float configurations.
24014 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24016 * nptl/tst-attr3.c: Include <libc-diag.h>.
24017 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24019 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24021 * string/tester.c (test_strncat): Also disable -Warray-bounds
24022 warnings for two tests.
24024 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24027 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24028 $(cc-pie-default) == yes.
24029 * config.make.in (cc-pie-default): New.
24030 * configure.ac (libc_cv_pie_default): Renamed to ...
24031 (libc_cv_cc_pie_default): This.
24032 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24033 * configure: Regenerated.
24035 2017-12-18 Florian Weimer <fweimer@redhat.com>
24038 ld.so: Harden dl-libc/libdl hooks.
24039 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24040 (rtld_active): New function.
24041 * dlfcn/dladdr.c (__dladdr): Call it.
24042 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24043 * dlfcn/dlclose.c (__dlcose): Likewise.
24044 * dlfcn/dlerror.c (__dlerror): Likewise.
24045 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24046 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24047 * dlfcn/dlopen.c (__dlopen): Likewise.
24048 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24049 * dlfcn/dlsym.c (__dlsym): Likewise.
24050 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24051 * libio/vtables.c (_IO_vtable_check): Likewise.
24052 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24053 (__libc_dlclose): Likewise.
24054 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24057 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24060 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24061 buffers for readlink input and output.
24063 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24066 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24067 inhibit_stack_protector.
24070 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24071 inhibit_stack_protector.
24073 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24076 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24077 code and invocation.
24079 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24081 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24083 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24086 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24088 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24090 * sysdeps/s390/fpu/libm-test-ulps: Update.
24092 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24096 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24098 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24099 constants to s_sincosf.h file.
24100 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24101 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24103 * sysdeps/ieee754/flt-32/s_sincosf.h:
24106 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24109 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24112 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24115 * INSTALL: Regenerated.
24116 * Makeconfig (real-static-start-installed-name): New.
24117 (pic-default): Updated for --enable-static-pie.
24118 (pie-default): New for --enable-static-pie.
24119 (default-pie-ldflag): Likewise.
24120 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24121 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24122 Replace $(static-start-installed-name) with
24123 $(real-static-start-installed-name).
24124 (+prectorT): Updated for --enable-static-pie.
24125 (+postctorT): Likewise.
24126 (CFLAGS-.o): Add $(pie-default).
24127 (CFLAGS-.op): Likewise.
24128 * NEWS: Mention --enable-static-pie.
24129 * config.h.in (ENABLE_STATIC_PIE): New.
24130 * configure.ac (--enable-static-pie): New configure option.
24131 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24132 (have-static-pie): Likewise.
24133 Enable static PIE if linker supports --no-dynamic-linker.
24134 (ENABLE_STATIC_PIE): New AC_DEFINE.
24135 (enable-static-pie): New LIBC_CONFIG_VAR.
24136 * configure: Regenerated.
24137 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24138 gr$(start-installed-name) for --enable-static-pie.
24139 (extra-objs): Likewise.
24140 (install-lib): Likewise.
24141 (extra-objs): Add static-reloc.o and static-reloc.os
24142 ($(objpfx)$(start-installed-name)): Also depend on
24143 $(objpfx)static-reloc.o.
24144 ($(objpfx)r$(start-installed-name)): New.
24145 ($(objpfx)g$(start-installed-name)): Also depend on
24146 $(objpfx)static-reloc.os.
24147 ($(objpfx)gr$(start-installed-name)): New.
24148 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24150 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24152 * csu/static-reloc.c: New file.
24153 * elf/Makefile (routines): Add dl-reloc-static-pie.
24154 (elide-routines.os): Likewise.
24155 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24156 (tst-tls1-static-non-pie-no-pie): New.
24157 * elf/dl-reloc-static-pie.c: New file.
24158 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24159 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24160 STATIC_PIE_BOOTSTRAP.
24161 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24162 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24163 (tests-static): Likewise.
24164 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24165 (tst-gmon-static-no-pie): New.
24166 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24167 (CRT-tst-gmon-static-pie): Likewise.
24168 (tst-gmon-static-pie-ENV): Likewise.
24169 (tests-special): Likewise.
24170 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24171 (clean-tst-gmon-static-pie-data): Likewise.
24172 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24173 * gmon/tst-gmon-static-pie.c: New file.
24174 * manual/install.texi: Document --enable-static-pie.
24175 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24176 (_dl_get_dl_main_map): Likewise.
24177 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24178 * sysdeps/x86_64/configure.ac: Likewise.
24179 * sysdeps/i386/configure: Regenerated.
24180 * sysdeps/x86_64/configure: Likewise.
24181 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24182 (ASFLAGS-.op): Likewise.
24184 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24186 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24187 * posix/tst-mmap-offset.c (fname): Use /tmp.
24188 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24190 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24192 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24194 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24196 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24199 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24201 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24202 --with-float=hard for arm-linux-gnueabihf configurations.
24205 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24206 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24207 ($(mo-installed)): Use $(objpfx)%.mo.
24208 (realclean): Remove rule.
24210 * po/Makefile (linguas): Remove rule and dependencies.
24211 (linguas.mo): Likewise.
24212 (.PHONY): Do not depend on linguas and linguas.mo.
24213 (podir): Remove variable.
24214 (pofiles): Likewise.
24215 [$(pofiles)] (%.po): Remove rule.
24217 * sysdeps/sparc/sparc32/Makefile
24218 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24219 start-of-line whitespace in argument of echo.
24220 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24221 with whitespace. Generate __wrap_.udiv alias.
24222 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24223 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24224 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24225 * sysdeps/sparc/sparc32/urem.S: Likewise.
24227 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24229 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24230 for aligned inputs.
24232 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24234 * benchtests/bench-strcmp.c: Print output in JSON format.
24236 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24238 2017-12-14 Florian Weimer <fweimer@redhat.com>
24242 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24243 the expanded path string.
24245 2017-12-14 Florian Weimer <fweimer@redhat.com>
24249 * elf/dl-load.c (system_dirs): Update comment.
24250 (nsystem_dirs_len): Use array_length.
24251 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24253 2017-12-14 Florian Weimer <fweimer@redhat.com>
24255 Simplify compiling most of support/ outside of glibc.
24256 * support/check_addrinfo.c: Include <string.h>.
24257 * support/check_dns_packet.c: Likewise.
24258 * support/check_hostent.c: Likewise.
24259 * support/support_can_chroot.c: Include <support/xunistd.h>.
24260 * support/support_format_addrinfo.c: Include <stdlib.h>
24261 * support/support_format_dns_packet.c: Include <stdbool.h>.
24262 * support/support_format_hostent.c: Include <stdlib.h>.
24263 * support/support_format_netent.c: Likewise.
24264 * support/support_write_string.c: Include <support/xunistd.h>.
24265 * support/xdlfcn.c: Include <stddef.h>.
24267 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24269 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24271 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24272 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24275 (sysdeps_routines): Add memset-niagara7.
24276 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24278 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24280 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24281 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24282 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24283 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24284 Add niagara7 option.
24285 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24288 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24289 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24290 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24292 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24294 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24295 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24296 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24297 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24298 and __memmove_niagara7.
24299 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24300 Add niagara7 option.
24301 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24302 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24303 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24304 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24305 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24307 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24309 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24310 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24311 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24312 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24314 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24315 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24316 _dl_sparc_cap_flags array.
24317 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24319 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24321 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24322 time whenever possible.
24324 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24326 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24327 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24329 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24331 * soft-fp/fmadf4.c: Move to ....
24332 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24333 * soft-fp/fmasf4.c: Move to ....
24334 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24335 * soft-fp/fmatf4.c: Move to ....
24336 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24337 * sysdeps/ieee754/soft-fp/Makefile: New file.
24338 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24339 * sysdeps/arm/preconfigure: Regenerated.
24340 * sysdeps/arm/nofpu/Implies: New file.
24341 * sysdeps/arm/s_fma.c: Remove file.
24342 * sysdeps/arm/s_fmaf.c: Likewise.
24343 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24344 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24345 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24346 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24347 * sysdeps/microblaze/s_fma.c: Remove file.
24348 * sysdeps/microblaze/s_fmaf.c: Likewise.
24349 * sysdeps/mips/mips32/nofpu/Implies: New file.
24350 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24351 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24352 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24353 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24354 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24355 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24356 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24358 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24359 * sysdeps/nios2/s_fma.c: Remove file.
24360 * sysdeps/nios2/s_fmaf.c: Likewise.
24361 * sysdeps/sh/nofpu/Implies: New file.
24362 * sysdeps/sh/s_fma.c: Remove file.
24363 * sysdeps/sh/s_fmaf.c: Likewise.
24364 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24365 * sysdeps/tile/s_fma.c: Remove file.
24366 * sysdeps/tile/s_fmaf.c: Likewise.
24368 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24370 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24371 Add s_cosf-sse2 and s_cosf-fma.
24372 (CFLAGS-s_cosf-fma.c): New.
24373 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24374 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24375 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24377 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24379 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24381 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24383 * libio/Makefile (tests): Add tst-bz22415.
24384 (tst-bz22415-ENV): New rule.
24385 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24386 (tests-special): Add tst-bz22415-mem.out.
24387 ($(objpfx)tst-bz22415-mem.out): New rule.
24388 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24389 in case of a successful seek operation.
24390 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24391 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24392 buffer is required.
24393 * libio/tst-bz22415.c: New test.
24395 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24397 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24399 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24400 __IPC_64 to 0 to avoid IPC_64 being set.
24402 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24405 * math/bits/mathcalls.h (nextafter): Remove const.
24406 (nexttoward): Likewise.
24408 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24410 * configure.ac (--with-fp): Remove configure option.
24411 (with_fp_cond): New variable.
24412 (libc_cv_with_fp): New configure test. Use this variable instead
24414 * configure: Regenerated.
24415 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24416 * manual/install.texi (Configuring and compiling): Remove
24418 * INSTALL: Regenerated.
24419 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24420 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24421 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24422 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24423 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24424 use --without-fp to configure glibc.
24426 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24428 * manual/locale.texi (nl_langinfo): Fix a typo.
24430 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24433 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24435 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24437 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24438 (CFLAGS-argp-parse.c): Likewise.
24439 (CFLAGS-argp-fmtstream.c): Likewise.
24440 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24441 (CPPFLAGS-sha512-crypt.c): Likewise.
24442 (CPPFLAGS-md5-crypt.c): Likewise.
24443 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24444 (CFLAGS-stack_chk_fail_local.c): Likewise.
24445 (CFLAGS-backtrace.c): Likewise.
24446 (CFLAGS-sprintf_chk.c): Likewise.
24447 (CFLAGS-snprintf_chk.c): Likewise.
24448 (CFLAGS-vsprintf_chk.c): Likewise.
24449 (CFLAGS-vsnprintf_chk.c): Likewise.
24450 (CFLAGS-asprintf_chk.c): Likewise.
24451 (CFLAGS-vasprintf_chk.c): Likewise.
24452 (CFLAGS-obprintf_chk.c): Likewise.
24453 (CFLAGS-dprintf_chk.c): Likewise.
24454 (CFLAGS-vdprintf_chk.c): Likewise.
24455 (CFLAGS-printf_chk.c): Likewise.
24456 (CFLAGS-fprintf_chk.c): Likewise.
24457 (CFLAGS-vprintf_chk.c): Likewise.
24458 (CFLAGS-vfprintf_chk.c): Likewise.
24459 (CFLAGS-gets_chk.c): Likewise.
24460 (CFLAGS-fgets_chk.c): Likewise.
24461 (CFLAGS-fgets_u_chk.c): Likewise.
24462 (CFLAGS-fread_chk.c): Likewise.
24463 (CFLAGS-fread_u_chk.c): Likewise.
24464 (CFLAGS-swprintf_chk.c): Likewise.
24465 (CFLAGS-vswprintf_chk.c): Likewise.
24466 (CFLAGS-wprintf_chk.c): Likewise.
24467 (CFLAGS-fwprintf_chk.c): Likewise.
24468 (CFLAGS-vwprintf_chk.c): Likewise.
24469 (CFLAGS-vfwprintf_chk.c): Likewise.
24470 (CFLAGS-fgetws_chk.c): Likewise.
24471 (CFLAGS-fgetws_u_chk.c): Likewise.
24472 (CFLAGS-read_chk.c): Likewise.
24473 (CFLAGS-pread_chk.c): Likewise.
24474 (CFLAGS-pread64_chk.c): Likewise.
24475 (CFLAGS-recv_chk.c): Likewise.
24476 (CFLAGS-recvfrom_chk.c): Likewise.
24477 (CFLAGS-tst-longjmp_chk.c): Likewise.
24478 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24479 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24480 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24481 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24482 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24483 (CFLAGS-tst-chk1.c): Likewise.
24484 (CFLAGS-tst-chk2.c): Likewise.
24485 (CFLAGS-tst-chk3.c): Likewise.
24486 (CFLAGS-tst-chk4.cc): Likewise.
24487 (CFLAGS-tst-chk5.cc): Likewise.
24488 (CFLAGS-tst-chk6.cc): Likewise.
24489 (CFLAGS-tst-lfschk1.c): Likewise.
24490 (CFLAGS-tst-lfschk2.c): Likewise.
24491 (CFLAGS-tst-lfschk3.c): Likewise.
24492 (CFLAGS-tst-lfschk4.cc): Likewise.
24493 (CFLAGS-tst-lfschk5.cc): Likewise.
24494 (CFLAGS-tst-lfschk6.cc): Likewise.
24495 (CFLAGS-tst-ssp-1.c): Likewise.
24496 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24497 (CFLAGS-scandir64.c): Likewise.
24498 (CFLAGS-scandir-tail.c): Likewise.
24499 (CFLAGS-scandir64-tail.c): Likewise.
24500 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24501 (CFLAGS-dl-tunables.c): Likewise.
24502 (CFLAGS-dl-runtime.c): Likewise.
24503 (CFLAGS-dl-lookup.c): Likewise.
24504 (CFLAGS-dl-iterate-phdr.c): Likewise.
24505 (CFLAGS-vismain.c): Likewise.
24506 (CFLAGS-tst-linkall-static.c): Likewise.
24507 (CFLAGS-tst-linkall-static.c): Likewise.
24508 (CPPFLAGS-dl-load.c): Likewise.
24509 (CFLAGS-ldconfig.c): Likewise.
24510 (CFLAGS-dl-cache.c): Likewise.
24511 (CFLAGS-cache.c): Likewise.
24512 (CFLAGS-rtld.c): Likewise.
24513 (CFLAGS-multiload.c): Likewise.
24514 (CFLAGS-filtmod1.c): Likewise.
24515 (CFLAGS-tst-align.c): Likewise.
24516 (CFLAGS-tst-align2.c): Likewise.
24517 (CFLAGS-tst-alignmod.c): Likewise.
24518 (CFLAGS-tst-alignmod2.c): Likewise.
24519 (CPPFLAGS-tst-execstack.c): Likewise.
24520 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24521 (CFLAGS-tst-latepthreadmod.c): Likewise.
24522 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24523 (CFLAGS-getgrnam_r.c): Likewise.
24524 (CFLAGS-getgrent_r.c): Likewise.
24525 (CFLAGS-getgrent.c): Likewise.
24526 (CFLAGS-fgetgrent.c): Likewise.
24527 (CFLAGS-fgetgrent_r.c): Likewise.
24528 (CFLAGS-putgrent.c): Likewise.
24529 (CFLAGS-initgroups.c): Likewise.
24530 (CFLAGS-getgrgid.c): Likewise.
24531 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24532 (CFLAGS-getsgent.c): Likewise.
24533 (CFLAGS-fgetsgent.c): Likewise.
24534 (CFLAGS-fgetsgent_r.c): Likewise.
24535 (CFLAGS-putsgent.c): Likewise.
24536 (CFLAGS-getsgnam.c): Likewise.
24537 (CFLAGS-getsgnam_r.c): Likewise.
24538 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24539 (CFLAGS-iconv_charmap.c): Likewise.
24540 (CFLAGS-dummy-repertoire.c): Likewise.
24541 (CFLAGS-charmap.c): Likewise.
24542 (CFLAGS-linereader.c): Likewise.
24543 (CFLAGS-simple-hash.c): Likewise.
24544 (CFLAGS-gconv_conf.c): Likewise.
24545 (CFLAGS-iconvconfig.c): Likewise.
24546 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24547 (CFLAGS-gethstbyad.c): Likewise.
24548 (CFLAGS-gethstbynm_r.c): Likewise.
24549 (CFLAGS-gethstbynm.c): Likewise.
24550 (CFLAGS-gethstbynm2_r.c): Likewise.
24551 (CFLAGS-gethstbynm2.c): Likewise.
24552 (CFLAGS-gethstent_r.c): Likewise.
24553 (CFLAGS-gethstent.c): Likewise.
24554 (CFLAGS-rcmd.c): Likewise.
24555 (CFLAGS-getnetbynm_r.c): Likewise.
24556 (CFLAGS-getnetbynm.c): Likewise.
24557 (CFLAGS-getnetbyad_r.c): Likewise.
24558 (CFLAGS-getnetbyad.c): Likewise.
24559 (CFLAGS-getnetent_r.c): Likewise.
24560 (CFLAGS-getnetent.c): Likewise.
24561 (CFLAGS-getaliasent_r.c): Likewise.
24562 (CFLAGS-getaliasent.c): Likewise.
24563 (CFLAGS-getrpcent_r.c): Likewise.
24564 (CFLAGS-getrpcent.c): Likewise.
24565 (CFLAGS-getservent_r.c): Likewise.
24566 (CFLAGS-getservent.c): Likewise.
24567 (CFLAGS-getprtent_r.c): Likewise.
24568 (CFLAGS-getprtent.c): Likewise.
24569 (CFLAGS-either_ntoh.c): Likewise.
24570 (CFLAGS-either_hton.c): Likewise.
24571 (CFLAGS-getnetgrent.c): Likewise.
24572 (CFLAGS-getnetgrent_r.c): Likewise.
24573 (CFLAGS-tst-checks-posix.c): Likewise.
24574 (CFLAGS-tst-sockaddr.c): Likewise.
24575 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24576 (CFLAGS-tst-translit.c): Likewise.
24577 (CFLAGS-tst-gettext2.c): Likewise.
24578 (CFLAGS-tst-codeset.c): Likewise.
24579 (CFLAGS-tst-gettext3.c): Likewise.
24580 (CFLAGS-tst-gettext4.c): Likewise.
24581 (CFLAGS-tst-gettext5.c): Likewise.
24582 (CFLAGS-tst-gettext6.c): Likewise.
24583 * io/Makefile (CFLAGS-open.c): Likewise.
24584 (CFLAGS-open64.c): Likewise.
24585 (CFLAGS-creat.c): Likewise.
24586 (CFLAGS-creat64.c): Likewise.
24587 (CFLAGS-fcntl.c): Likewise.
24588 (CFLAGS-poll.c): Likewise.
24589 (CFLAGS-ppoll.c): Likewise.
24590 (CFLAGS-lockf.c): Likewise.
24591 (CFLAGS-statfs.c): Likewise.
24592 (CFLAGS-fstatfs.c): Likewise.
24593 (CFLAGS-statvfs.c): Likewise.
24594 (CFLAGS-fstatvfs.c): Likewise.
24595 (CFLAGS-fts.c): Likewise.
24596 (CFLAGS-fts64.c): Likewise.
24597 (CFLAGS-ftw.c): Likewise.
24598 (CFLAGS-ftw64.c): Likewise.
24599 (CFLAGS-lockf.c): Likewise.
24600 (CFLAGS-posix_fallocate.c): Likewise.
24601 (CFLAGS-posix_fallocate64.c): Likewise.
24602 (CFLAGS-fallocate.c): Likewise.
24603 (CFLAGS-fallocate64.c): Likewise.
24604 (CFLAGS-read.c): Likewise.
24605 (CFLAGS-write.c): Likewise.
24606 (CFLAGS-test-stat.c): Likewise.
24607 (CFLAGS-test-lfs.c): Likewise.
24608 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24609 (CFLAGS-fputc.c): Likewise.
24610 (CFLAGS-fputwc.c): Likewise.
24611 (CFLAGS-freopen64.c): Likewise.
24612 (CFLAGS-freopen.c): Likewise.
24613 (CFLAGS-fseek.c): Likewise.
24614 (CFLAGS-fseeko64.c): Likewise.
24615 (CFLAGS-fseeko.c): Likewise.
24616 (CFLAGS-ftello64.c): Likewise.
24617 (CFLAGS-ftello.c): Likewise.
24618 (CFLAGS-fwide.c): Likewise.
24619 (CFLAGS-genops.c): Likewise.
24620 (CFLAGS-getc.c): Likewise.
24621 (CFLAGS-getchar.c): Likewise.
24622 (CFLAGS-getwc.c): Likewise.
24623 (CFLAGS-getwchar.c): Likewise.
24624 (CFLAGS-iofclose.c): Likewise.
24625 (CFLAGS-iofflush.c): Likewise.
24626 (CFLAGS-iofgetpos64.c): Likewise.
24627 (CFLAGS-iofgetpos.c): Likewise.
24628 (CFLAGS-iofgets.c): Likewise.
24629 (CFLAGS-iofgetws.c): Likewise.
24630 (CFLAGS-iofputs.c): Likewise.
24631 (CFLAGS-iofputws.c): Likewise.
24632 (CFLAGS-iofread.c): Likewise.
24633 (CFLAGS-iofsetpos64.c): Likewise.
24634 (CFLAGS-iofsetpos.c): Likewise.
24635 (CFLAGS-ioftell.c): Likewise.
24636 (CFLAGS-iofwrite.c): Likewise.
24637 (CFLAGS-iogetdelim.c): Likewise.
24638 (CFLAGS-iogetline.c): Likewise.
24639 (CFLAGS-iogets.c): Likewise.
24640 (CFLAGS-iogetwline.c): Likewise.
24641 (CFLAGS-ioputs.c): Likewise.
24642 (CFLAGS-ioseekoff.c): Likewise.
24643 (CFLAGS-ioseekpos.c): Likewise.
24644 (CFLAGS-iosetbuffer.c): Likewise.
24645 (CFLAGS-iosetvbuf.c): Likewise.
24646 (CFLAGS-ioungetc.c): Likewise.
24647 (CFLAGS-ioungetwc.c): Likewise.
24648 (CFLAGS-oldfileops.c): Likewise.
24649 (CFLAGS-oldiofclose.c): Likewise.
24650 (CFLAGS-oldiofgetpos64.c): Likewise.
24651 (CFLAGS-oldiofgetpos.c): Likewise.
24652 (CFLAGS-oldiofsetpos64.c): Likewise.
24653 (CFLAGS-oldiofsetpos.c): Likewise.
24654 (CFLAGS-peekc.c): Likewise.
24655 (CFLAGS-putc.c): Likewise.
24656 (CFLAGS-putchar.c): Likewise.
24657 (CFLAGS-putwc.c): Likewise.
24658 (CFLAGS-putwchar.c): Likewise.
24659 (CFLAGS-rewind.c): Likewise.
24660 (CFLAGS-wfileops.c): Likewise.
24661 (CFLAGS-wgenops.c): Likewise.
24662 (CFLAGS-oldiofopen.c): Likewise.
24663 (CFLAGS-iofopen.c): Likewise.
24664 (CFLAGS-iofopen64.c): Likewise.
24665 (CFLAGS-oldtmpfile.c): Likewise.
24666 (CFLAGS-tst_putwc.c): Likewise.
24667 * locale/Makefile (CFLAGS-md5.c): Likewise.
24668 (CFLAGS-charmap.c): Likewise.
24669 (CFLAGS-locfile.c): Likewise.
24670 (CFLAGS-charmap-dir.c): Likewise.
24671 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24672 (CFLAGS-getpt.c): Likewise.
24673 (CFLAGS-pt_chown.c): Likewise.
24674 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24675 (CFLAGS-obstack.c): Likewise.
24676 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24677 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24678 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24679 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24680 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24681 (CFLAGS-test-tgmath.c): Likewise.
24682 (CFLAGS-test-tgmath2.c): Likewise.
24683 (CFLAGS-test-tgmath-ret.c): Likewise.
24684 (CFLAGS-test-powl.c): Likewise.
24685 (CFLAGS-test-snan.c): Likewise.
24686 (CFLAGS-test-signgam-finite.c): Likewise.
24687 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24688 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24689 (CFLAGS-test-signgam-uchar.c): Likewise.
24690 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24691 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24692 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24693 (CFLAGS-test-signgam-uint.c): Likewise.
24694 (CFLAGS-test-signgam-uint-init.c): Likewise.
24695 (CFLAGS-test-signgam-uint-static.c): Likewise.
24696 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24697 (CFLAGS-test-signgam-ullong.c): Likewise.
24698 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24699 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24700 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24701 (CFLAGS-test-math-cxx11.cc): Likewise.
24702 (CFLAGS-test-math-isinff.cc): Likewise.
24703 (CFLAGS-test-math-iszero.cc): Likewise.
24704 (CFLAGS-test-math-issignaling.cc): Likewise.
24705 (CFLAGS-test-math-iscanonical.cc): Likewise.
24706 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24707 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24708 (CFLAGS-test-flt-eval-method.c): Likewise.
24709 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24710 (CFLAGS-test-finite-macros.c): Likewise.
24711 * misc/Makefile (CFLAGS-select.c): Likewise.
24712 (CFLAGS-tsearch.c): Likewise.
24713 (CFLAGS-lsearch.c): Likewise.
24714 (CFLAGS-pselect.c): Likewise.
24715 (CFLAGS-readv.c): Likewise.
24716 (CFLAGS-writev.c): Likewise.
24717 (CFLAGS-preadv.c): Likewise.
24718 (CFLAGS-preadv64.c): Likewise.
24719 (CFLAGS-pwritev.c): Likewise.
24720 (CFLAGS-pwritev64.c): Likewise.
24721 (CFLAGS-preadv2.c): Likewise.
24722 (CFLAGS-preadv64v2.c): Likewise.
24723 (CFLAGS-pwritev2.c): Likewise.
24724 (CFLAGS-pwritev64v2.c): Likewise.
24725 (CFLAGS-usleep.c): Likewise.
24726 (CFLAGS-syslog.c): Likewise.
24727 (CFLAGS-error.c): Likewise.
24728 (CFLAGS-getpass.c): Likewise.
24729 (CFLAGS-mkstemp.c): Likewise.
24730 (CFLAGS-mkstemp64.c): Likewise.
24731 (CFLAGS-getsysstats.c): Likewise.
24732 (CFLAGS-getusershell.c): Likewise.
24733 (CFLAGS-err.c): Likewise.
24734 (CFLAGS-tst-tsearch.c): Likewise.
24735 (CFLAGS-msync.c): Likewise.
24736 (CFLAGS-fdatasync.c): Likewise.
24737 (CFLAGS-fsync.c): Likewise.
24738 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24739 (CFLAGS-unwind.c): Likewise.
24740 (CFLAGS-unwind-forcedunwind.c): Likewise.
24741 (CFLAGS-pthread_cancel.c): Likewise.
24742 (CFLAGS-pthread_setcancelstate.c): Likewise.
24743 (CFLAGS-pthread_setcanceltype.c): Likewise.
24744 (CFLAGS-cancellation.c): Likewise.
24745 (CFLAGS-libc-cancellation.c): Likewise.
24746 (CFLAGS-pthread_exit.c): Likewise.
24747 (CFLAGS-forward.c): Likewise.
24748 (CFLAGS-pthread_testcancel.c): Likewise.
24749 (CFLAGS-pthread_join.c): Likewise.
24750 (CFLAGS-pthread_timedjoin.c): Likewise.
24751 (CFLAGS-pthread_once.c): Likewise.
24752 (CFLAGS-pthread_cond_wait.c): Likewise.
24753 (CFLAGS-sem_wait.c): Likewise.
24754 (CFLAGS-sem_timedwait.c): Likewise.
24755 (CFLAGS-fcntl.c): Likewise.
24756 (CFLAGS-lockf.c): Likewise.
24757 (CFLAGS-pread.c): Likewise.
24758 (CFLAGS-pread64.c): Likewise.
24759 (CFLAGS-pwrite.c): Likewise.
24760 (CFLAGS-pwrite64.c): Likewise.
24761 (CFLAGS-wait.c): Likewise.
24762 (CFLAGS-waitpid.c): Likewise.
24763 (CFLAGS-sigwait.c): Likewise.
24764 (CFLAGS-msgrcv.c): Likewise.
24765 (CFLAGS-msgsnd.c): Likewise.
24766 (CFLAGS-tcdrain.c): Likewise.
24767 (CFLAGS-open.c): Likewise.
24768 (CFLAGS-open64.c): Likewise.
24769 (CFLAGS-pause.c): Likewise.
24770 (CFLAGS-recv.c): Likewise.
24771 (CFLAGS-send.c): Likewise.
24772 (CFLAGS-accept.c): Likewise.
24773 (CFLAGS-sendto.c): Likewise.
24774 (CFLAGS-connect.c): Likewise.
24775 (CFLAGS-recvfrom.c): Likewise.
24776 (CFLAGS-recvmsg.c): Likewise.
24777 (CFLAGS-sendmsg.c): Likewise.
24778 (CFLAGS-close.c): Likewise.
24779 (CFLAGS-read.c): Likewise.
24780 (CFLAGS-write.c): Likewise.
24781 (CFLAGS-nanosleep.c): Likewise.
24782 (CFLAGS-sigsuspend.c): Likewise.
24783 (CFLAGS-msync.c): Likewise.
24784 (CFLAGS-fdatasync.c): Likewise.
24785 (CFLAGS-fsync.c): Likewise.
24786 (CFLAGS-pt-system.c): Likewise.
24787 (CFLAGS-tst-cleanup2.c): Likewise.
24788 (CFLAGS-tst-cleanupx2.c): Likewise.
24789 (CFLAGS-flockfile.c): Likewise.
24790 (CFLAGS-ftrylockfile.c): Likewise.
24791 (CFLAGS-funlockfile.c): Likewise.
24792 (CFLAGS-tst-initializers1.c): Likewise.
24793 (CFLAGS-tst-initializers1-c89.c): Likewise.
24794 (CFLAGS-tst-initializers1-c99.c): Likewise.
24795 (CFLAGS-tst-initializers1-c11.c): Likewise.
24796 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24797 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24798 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24799 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24800 (CFLAGS-nscd_getgr_r.c): Likewise.
24801 (CFLAGS-nscd_gethst_r.c): Likewise.
24802 (CFLAGS-nscd_getai.c): Likewise.
24803 (CFLAGS-nscd_initgroups.c): Likewise.
24804 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24805 (CFLAGS-pause.c): Likewise.
24806 (CFLAGS-pread.c): Likewise.
24807 (CFLAGS-pread64.c): Likewise.
24808 (CFLAGS-pwrite.c): Likewise.
24809 (CFLAGS-pwrite64.c): Likewise.
24810 (CFLAGS-sleep.c): Likewise.
24811 (CFLAGS-wait.c): Likewise.
24812 (CFLAGS-waitid.c): Likewise.
24813 (CFLAGS-waitpid.c): Likewise.
24814 (CFLAGS-getopt.c): Likewise.
24815 (CFLAGS-wordexp.c): Likewise.
24816 (CFLAGS-sysconf.c): Likewise.
24817 (CFLAGS-pathconf.c): Likewise.
24818 (CFLAGS-fpathconf.c): Likewise.
24819 (CFLAGS-spawn.c): Likewise.
24820 (CFLAGS-spawnp.c): Likewise.
24821 (CFLAGS-spawni.c): Likewise.
24822 (CFLAGS-glob.c): Likewise.
24823 (CFLAGS-glob64.c): Likewise.
24824 (CFLAGS-getconf.c): Likewise.
24825 (CFLAGS-nanosleep.c): Likewise.
24826 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24827 (CFLAGS-getpwent.c): Likewise.
24828 (CFLAGS-getpw.c): Likewise.
24829 (CFLAGS-fgetpwent_r.c): Likewise.
24830 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24831 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24832 (CFLAGS-mq_timedreceive.c): Likewise.
24833 (CFLAGS-mq_timedsend.c): Likewise.
24834 (CFLAGS-clock_nanosleep.c): Likewise.
24835 (CFLAGS-librt-cancellation.c): Likewise.
24836 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24837 (CFLAGS-getspent.c): Likewise.
24838 (CFLAGS-fgetspent.c): Likewise.
24839 (CFLAGS-fgetspent_r.c): Likewise.
24840 (CFLAGS-putspent.c): Likewise.
24841 (CFLAGS-getspnam.c): Likewise.
24842 (CFLAGS-getspnam_r.c): Likewise.
24843 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24844 (CFLAGS-sigsuspend.c): Likewise.
24845 (CFLAGS-sigtimedwait.c): Likewise.
24846 (CFLAGS-sigwait.c): Likewise.
24847 (CFLAGS-sigwaitinfo.c): Likewise.
24848 (CFLAGS-sigreturn.c): Likewise.
24849 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24850 (CFLAGS-vfwprintf.c): Likewise.
24851 (CFLAGS-tmpfile.c): Likewise.
24852 (CFLAGS-tmpfile64.c): Likewise.
24853 (CFLAGS-tempname.c): Likewise.
24854 (CFLAGS-psignal.c): Likewise.
24855 (CFLAGS-vprintf.c): Likewise.
24856 (CFLAGS-cuserid.c): Likewise.
24857 (CFLAGS-errlist.c): Likewise.
24858 (CFLAGS-siglist.c): Likewise.
24859 (CFLAGS-scanf15.c): Likewise.
24860 (CFLAGS-scanf17.c): Likewise.
24861 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24862 (CFLAGS-msort.c): Likewise.
24863 (CFLAGS-qsort.c): Likewise.
24864 (CFLAGS-system.c): Likewise.
24865 (CFLAGS-fmtmsg.c): Likewise.
24866 (CFLAGS-strfmon.c): Likewise.
24867 (CFLAGS-strfmon_l.c): Likewise.
24868 (CFLAGS-strfromd.c): Likewise.
24869 (CFLAGS-strfromf.c): Likewise.
24870 (CFLAGS-strfroml.c): Likewise.
24871 (CFLAGS-tst-bsearch.c): Likewise.
24872 (CFLAGS-tst-qsort.c): Likewise.
24873 (CFLAGS-tst-makecontext2.c): Likewise.
24874 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24875 (CFLAGS-xnlm_prot.c): Likewise.
24876 (CFLAGS-xrstat.c): Likewise.
24877 (CFLAGS-xyppasswd.c): Likewise.
24878 (CFLAGS-xklm_prot.c): Likewise.
24879 (CFLAGS-xrex.c): Likewise.
24880 (CFLAGS-xsm_inter.c): Likewise.
24881 (CFLAGS-xmount.c): Likewise.
24882 (CFLAGS-xrusers.c): Likewise.
24883 (CFLAGS-xspray.c): Likewise.
24884 (CFLAGS-xnfs_prot.c): Likewise.
24885 (CFLAGS-xrquota.c): Likewise.
24886 (CFLAGS-xkey_prot.c): Likewise.
24887 (CFLAGS-auth_unix.c): Likewise.
24888 (CFLAGS-key_call.c): Likewise.
24889 (CFLAGS-pmap_rmt.c): Likewise.
24890 (CFLAGS-clnt_perr.c): Likewise.
24891 (CFLAGS-openchild.c): Likewise.
24892 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24893 (CFLAGS-msgsnd.c): Likewise.
24894 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24895 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24896 (CFLAGS-tzset.c): Likewise.
24897 (CFLAGS-getdate.c): Likewise.
24898 (CFLAGS-test_time.c): Likewise.
24899 (CPPFLAGS-tst-tzname.c): Likewise.
24900 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24901 (CFLAGS-zic.c): Likewise.
24902 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24903 (CFLAGS-wcswidth.c): Likewise.
24904 (CFLAGS-wcstol.c): Likewise.
24905 (CFLAGS-wcstoul.c): Likewise.
24906 (CFLAGS-wcstoll.c): Likewise.
24907 (CFLAGS-wcstoull.c): Likewise.
24908 (CFLAGS-wcstod.c): Likewise.
24909 (CFLAGS-wcstold.c): Likewise.
24910 (CFLAGS-wcstof128.c): Likewise.
24911 (CFLAGS-wcstof.c): Likewise.
24912 (CFLAGS-wcstol_l.c): Likewise.
24913 (CFLAGS-wcstoul_l.c): Likewise.
24914 (CFLAGS-wcstoll_l.c): Likewise.
24915 (CFLAGS-wcstoull_l.c): Likewise.
24916 (CFLAGS-wcstod_l.c): Likewise.
24917 (CFLAGS-wcstold_l.c): Likewise.
24918 (CFLAGS-wcstof128_l.c): Likewise.
24919 (CFLAGS-wcstof_l.c): Likewise.
24920 (CPPFLAGS-tst-wchar-h.c): Likewise.
24921 (CPPFLAGS-wcstold_l.c): Likewise.
24923 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24925 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24927 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24928 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24930 * manual/tunables.texi (Hardware Capability Tunables): Document
24931 glibc.tune.cached_memopt.
24932 * sysdeps/powerpc/cpu-features.c: New file.
24933 * sysdeps/powerpc/cpu-features.h: New file.
24934 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24935 _dl_powerpc_cpu_features.
24936 * sysdeps/powerpc/dl-tunables.list: New file.
24937 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24938 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24939 (INIT_ARCH): Initialize use_aligned_memopt.
24940 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24941 IS_IN(rtld))]: Restrict dl_platform_init availability and
24942 initialize CPU features used by tunables.
24943 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24944 Add memcpy-power8-cached.
24945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24946 __memcpy_power8_cached.
24947 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24951 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24953 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24954 (CFLAGS-noinl-tester.c): Likewise.
24955 (CFLAGS-tst-strlen.c): Likewise.
24956 (CFLAGS-stratcliff.c): Likewise.
24957 (CFLAGS-test-ffs.c): Likewise.
24958 (CFLAGS-tst-inlcall.c): Likewise.
24959 (CFLAGS-tst-xbzero-opt.c): Likewise.
24960 (CFLAGS-memcpy.c): Likewise.
24961 (CFLAGS-wordcopy.c): Likewise.
24963 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24965 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24966 Store r15 on stack and add cfi rule.
24967 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24970 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24973 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24976 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24978 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24979 Add s_sinf-sse2 and s_sinf-fma.
24980 (CFLAGS-s_sinf-fma.c): New.
24981 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24982 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24983 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24985 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24987 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24989 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24992 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24993 part of result to imaginary part of argument if it is zero and the
24994 real part of the argument is not finite.
24995 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24996 of result to real part of argument if it is zero and the imaginary
24997 part of the argument is not finite.
24999 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25002 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25003 and to the list of locales to be built for testing.
25004 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25005 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25006 and build the collation rules upon that.
25008 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25010 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25011 * manual/math.texi (Mathematics): Document support for _Float32.
25012 * math/Makefile (test-types): Add float32.
25013 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25014 * stdlib/Versions (GLIBC_2.27): Likewise.
25015 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25016 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25018 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25020 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25021 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25022 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25023 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25024 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25025 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25026 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25027 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25028 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25029 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25030 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25031 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25032 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25033 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25034 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25035 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25036 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25038 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25039 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25040 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25041 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25042 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25060 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25061 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25062 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25063 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25064 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25065 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25066 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25067 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25068 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25069 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25078 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25079 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25080 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25084 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25085 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25087 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25089 * stdlib/strtof.c: Include <bits/floatn.h>
25090 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25091 and later undefine as macro. Define as weak alias if
25093 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25094 and later undefine as macro. Define as weak alias if
25096 * stdlib/strtof_l.c: Include <bits/floatn.h>
25097 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25098 and later undefine as macro. Define as weak alias if
25100 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25101 and later undefine as macro. Define as weak alias if
25104 * stdlib/strfromf.c: Include <bits/floatn.h>.
25105 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25106 and later undefine as macro and define as weak alias.
25108 * math/test-float32.h: New file.
25110 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25111 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25112 (libm_alias_float_other_r): Create f32 alias.
25113 (libm_alias_float_r): Use semicolon before call to
25114 libm_alias_float_other_r.
25116 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25117 second argument to libm_alias_float_other.
25118 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25119 second argument to libm_alias_float_other.
25120 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25121 argument to libm_alias_float_other.
25124 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25125 real part of result for argument 0 + i * NaN.
25126 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25127 results for tests of 0 + i * NaN.
25129 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25131 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25133 2017-12-06 David S. Miller <davem@davemloft.net>
25135 * sysdeps/sparc/fpu/libm-test-ulps: Update
25136 exp_{downward,towardzero,upward} ulps.
25138 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25140 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25143 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25145 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25147 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25149 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25152 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25155 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25156 and to the list of locales to be built for testing.
25157 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25158 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25159 and build the collation rules upon that.
25161 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25163 * NEWS: Add sinf to list of optimized functions.
25165 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25167 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25168 (__HAVE_FLOAT32X): Likewise.
25169 * manual/math.texi (Mathematics): Document support for _Float64
25171 * math/Makefile (test-types): Add float64 and float32x.
25172 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25174 * stdlib/Versions (GLIBC_2.27): Likewise.
25175 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25177 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25178 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25180 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25181 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25182 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25184 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25198 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25199 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25202 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25219 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25220 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25221 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25222 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25223 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25224 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25225 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25226 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25237 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25238 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25239 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25241 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25242 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25243 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25244 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25246 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25248 * bits/floatn-common.h: Include <bits/long-double.h>.
25249 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25250 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25251 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25252 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25253 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25254 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25255 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25256 (__builtin_huge_valf64): Use __builtin_huge_vall.
25257 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25258 (__builtin_inff64): Use __builtin_infl.
25259 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25260 (__builtin_nanf64): Use __builtin_nanl.
25261 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25262 (__builtin_nansf64): Use __builtin_nansl.
25264 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25265 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25266 Carlos O'Donell <carlos@redhat.com>
25268 * elf/dl-tunables.list: Add elision parameters.
25269 * manual/tunables.texi: Add entries about elision tunable.
25270 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25271 Add callback functions to dynamically enable/disable elision.
25272 Add multiple callbacks functions to set elision parameters.
25273 Deleted __libc_enable_secure check.
25274 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25275 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25276 * configure: Regenerated.
25277 * configure.ac: Option enable_lock_elision was deleted.
25278 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25279 * config.make.in: Remove references to enable_lock_elision.
25280 * manual/install.texi: Elision configure option was removed.
25281 * INSTALL: Regenerated to remove enable_lock_elision.
25283 Disable elision so it can verify error case for destroying a mutex.
25284 * sysdeps/powerpc/nptl/elide.h:
25285 Cleanup ENABLE_LOCK_ELISION check.
25286 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25287 * sysdeps/s390/configure: Regenerated.
25288 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25289 * nptl/tst-mutex8.c:
25290 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25291 * sysdeps/powerpc/powerpc32/sysdep.h:
25292 Deleted all ENABLE_LOCK_ELISION checks.
25293 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25294 * sysdeps/powerpc/sysdep.h: Likewise.
25295 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25296 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25297 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25298 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25299 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25300 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25301 enable-lock-elision.
25303 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25305 * stdlib/strtod.c: Include <bits/floatn.h>.
25306 (BUILD_DOUBLE): New macro.
25307 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25308 (strtof64): Define and later undefine as macro. Define as weak
25309 alias if [!USE_WIDE_CHAR].
25310 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25311 (wcstof64): Define and later undefine as macro. Define as weak
25312 alias if [USE_WIDE_CHAR].
25313 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25314 (strtof32x): Define and later undefine as macro. Define as weak
25315 alias if [!USE_WIDE_CHAR].
25316 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25317 (wcstof32x): Define and later undefine as macro. Define as weak
25318 alias if [USE_WIDE_CHAR].
25319 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25320 (BUILD_DOUBLE): New macro.
25321 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25322 (strtof64_l): Define and later undefine as macro. Define as weak
25323 alias if [!USE_WIDE_CHAR].
25324 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25325 (wcstof64_l): Define and later undefine as macro. Define as weak
25326 alias if [USE_WIDE_CHAR].
25327 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25328 (strtof32x_l): Define and later undefine as macro. Define as weak
25329 alias if [!USE_WIDE_CHAR].
25330 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25331 (wcstof32x_l): Define and later undefine as macro. Define as weak
25332 alias if [USE_WIDE_CHAR].
25334 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25336 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25337 (reduced): Use ones as double instead of integer.
25339 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25341 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25343 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25345 * stdlib/strfromd.c: Include <bits/floatn.h>.
25346 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25347 and later undefine as macro and define as weak alias.
25348 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25351 * math/test-float32x.h: New file.
25352 * math/test-float64.h: Likewise.
25354 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25355 (libm_alias_double_other_r_f64): New macro.
25356 (libm_alias_double_other_r_f32x): Likewise.
25357 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25358 libm_alias_double_other_r_f32x.
25359 (libm_alias_double_r): Use semicolon before call to
25360 libm_alias_double_other_r.
25361 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25363 (libm_alias_double_other_r_f64): New macro.
25364 (libm_alias_double_other_r_f32x): Likewise.
25365 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25366 libm_alias_double_other_r_f32x.
25368 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25370 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25372 (SINF_FUNC): Likewise. Replace floor with simple casts.
25374 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25377 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25378 and to the list of locales to be built for testing.
25379 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25380 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25381 and build the collation rules upon that.
25383 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25385 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25386 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25387 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25388 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25389 instead of __insn__xxx.
25390 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25391 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25392 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25393 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25394 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25395 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25397 2017-12-05 Florian Weimer <fweimer@redhat.com>
25399 Linux: Implement interfaces for memory protection keys
25400 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25402 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25403 * support/xunistd.h (xsysconf): Declare.
25404 * support/xraise.c: New file.
25405 * support/xsigaction.c: Likewise.
25406 * support/xsignal.c: Likewise.
25407 * support/xsysconf.c: Likewise.
25408 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25409 pkey_set, pkey_get, pkey_mprotect.
25410 [misc] (tests): Add tst-pkey.
25411 (tst-pkey): Link with -lpthread.
25412 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25413 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25414 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25415 (PKEY_DISABLE_WRITE): Define.
25416 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25418 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25419 (SEGV_PKUERR): Add.
25420 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25421 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25422 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25423 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25425 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25426 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25427 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25428 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25429 * sysdeps/unix/sysv/linux/**.abilist: Update.
25431 2017-12-05 Florian Weimer <fweimer@redhat.com>
25433 * support/tst-test_compare.c (subprocess): Use long long instead
25434 of long argument for consistent type width across 32-bit and
25435 64-bit architectures.
25436 (do_test): Adjust expected output.
25438 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25440 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25441 (cosf): Define using libm_alias_float.
25442 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25443 (fabsf): Define using libm_alias_float.
25444 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25445 (fmaf): Define using libm_alias_float.
25446 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25447 (rintf): Define using libm_alias_float.
25448 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25449 (sinf): Define using libm_alias_float.
25450 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25451 <libm-alias-float.h>.
25452 (modff): Define using libm_alias_float.
25453 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25454 <libm-alias-float.h>.
25455 (logbf): Define using libm_alias_float.
25456 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25457 <libm-alias-float.h>.
25458 (ceilf): Define using libm_alias_float.
25459 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25460 <libm-alias-float.h>.
25461 (copysignf): Define using libm_alias_float.
25462 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25463 <libm-alias-float.h>.
25464 (floorf): Define using libm_alias_float.
25465 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25466 <libm-alias-float.h>.
25467 (llrintf): Define using libm_alias_float.
25468 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25469 <libm-alias-float.h>.
25470 (llroundf): Define using libm_alias_float.
25471 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25472 <libm-alias-float.h>.
25473 (lrintf): Define using libm_alias_float.
25474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25475 <libm-alias-float.h>.
25476 (lroundf): Define using libm_alias_float.
25477 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25478 <libm-alias-float.h>.
25479 (nearbyintf): Define using libm_alias_float.
25480 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25481 <libm-alias-float.h>.
25482 (rintf): Define using libm_alias_float.
25483 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25484 <libm-alias-float.h>.
25485 (roundf): Define using libm_alias_float.
25486 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25487 <libm-alias-float.h>.
25488 (truncf): Define using libm_alias_float.
25489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25490 Include <libm-alias-float.h>.
25491 (ceilf): Define using libm_alias_float.
25492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25493 Include <libm-alias-float.h>.
25494 (copysignf): Define using libm_alias_float.
25495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25496 Include <libm-alias-float.h>.
25497 (floorf): Define using libm_alias_float.
25498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25499 Include <libm-alias-float.h>.
25500 (llrintf): Define using libm_alias_float.
25501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25502 Include <libm-alias-float.h>.
25503 (llroundf): Define using libm_alias_float.
25504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25505 Include <libm-alias-float.h>.
25506 (logbf): Define using libm_alias_float.
25507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25508 Include <libm-alias-float.h>.
25509 (lrintf): Define using libm_alias_float.
25510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25511 Include <libm-alias-float.h>.
25512 (lroundf): Define using libm_alias_float.
25513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25514 Include <libm-alias-float.h>.
25515 (modff): Define using libm_alias_float.
25516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25517 Include <libm-alias-float.h>.
25518 (roundf): Define using libm_alias_float.
25519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25520 Include <libm-alias-float.h>.
25521 (truncf): Define using libm_alias_float.
25522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25523 <libm-alias-float.h>.
25524 (llrintf): Define using libm_alias_float.
25525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25526 <libm-alias-float.h>.
25527 (llroundf): Define using libm_alias_float.
25528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25529 <libm-alias-float.h>.
25530 (ceilf): Define using libm_alias_float.
25531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25532 <libm-alias-float.h>.
25533 (floorf): Define using libm_alias_float.
25534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25535 <libm-alias-float.h>.
25536 (llroundf): Define using libm_alias_float.
25537 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25538 <libm-alias-float.h>.
25539 (lroundf): Define using libm_alias_float.
25540 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25541 <libm-alias-float.h>.
25542 (roundf): Define using libm_alias_float.
25543 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25544 <libm-alias-float.h>.
25545 (truncf): Define using libm_alias_float.
25546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25547 <libm-alias-float.h>.
25548 (copysignf): Define using libm_alias_float.
25549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25550 <libm-alias-float.h>.
25551 (llrintf): Define using libm_alias_float.
25552 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25553 <libm-alias-float.h>.
25554 (llroundf): Define using libm_alias_float.
25555 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25556 <libm-alias-float.h>.
25557 (lrintf): Define using libm_alias_float.
25558 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25559 <libm-alias-float.h>.
25560 (lroundf): Define using libm_alias_float.
25561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25562 <libm-alias-float.h>.
25563 (ceilf): Define using libm_alias_float.
25564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25565 <libm-alias-float.h>.
25566 (copysignf): Define using libm_alias_float.
25567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25568 <libm-alias-float.h>.
25569 (cosf): Define using libm_alias_float.
25570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25571 <libm-alias-float.h>.
25572 (floorf): Define using libm_alias_float.
25573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25574 <libm-alias-float.h>.
25575 (llrintf): Define using libm_alias_float.
25576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25577 <libm-alias-float.h>.
25578 (llroundf): Define using libm_alias_float.
25579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25580 <libm-alias-float.h>.
25581 (logbf): Define using libm_alias_float.
25582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25583 <libm-alias-float.h>.
25584 (modff): Define using libm_alias_float.
25585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25586 <libm-alias-float.h>.
25587 (roundf): Define using libm_alias_float.
25588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25589 <libm-alias-float.h>.
25590 (sinf): Define using libm_alias_float.
25591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25592 <libm-alias-float.h>.
25593 (truncf): Define using libm_alias_float.
25594 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25595 <libm-alias-float.h>.
25596 (ceilf): Define using libm_alias_float.
25597 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25598 <libm-alias-float.h>.
25599 (copysignf): Define using libm_alias_float.
25600 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25601 <libm-alias-float.h>.
25602 (floorf): Define using libm_alias_float.
25603 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25604 <libm-alias-float.h>.
25605 (llrintf): Define using libm_alias_float.
25606 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25607 <libm-alias-float.h>.
25608 (llroundf): Define using libm_alias_float.
25609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25610 <libm-alias-float.h>.
25611 (nearbyintf): Define using libm_alias_float.
25612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25613 <libm-alias-float.h>.
25614 (rintf): Define using libm_alias_float.
25615 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25616 <libm-alias-float.h>.
25617 (roundf): Define using libm_alias_float.
25618 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25619 <libm-alias-float.h>.
25620 (truncf): Define using libm_alias_float.
25621 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25622 <libm-alias-float.h>.
25623 (ceilf): Define using libm_alias_float.
25624 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25625 <libm-alias-float.h>.
25626 (floorf): Define using libm_alias_float.
25627 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25628 <libm-alias-float.h>.
25629 (llroundf): Define using libm_alias_float.
25630 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25631 <libm-alias-float.h>.
25632 (roundf): Define using libm_alias_float.
25633 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25634 <libm-alias-float.h>.
25635 (truncf): Define using libm_alias_float.
25636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25637 <libm-alias-float.h>.
25638 (copysignf): Define using libm_alias_float.
25639 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25640 <libm-alias-float.h>.
25641 (llrintf): Define using libm_alias_float.
25642 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25643 <libm-alias-float.h>.
25644 (llroundf): Define using libm_alias_float.
25645 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25646 <libm-alias-float.h>.
25647 (cosf): Define using libm_alias_float.
25648 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25649 <libm-alias-float.h>.
25650 (llrintf): Define using libm_alias_float.
25651 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25652 <libm-alias-float.h>.
25653 (llroundf): Define using libm_alias_float.
25654 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25655 <libm-alias-float.h>.
25656 (sinf): Define using libm_alias_float.
25658 2017-12-04 Florian Weimer <fweimer@redhat.com>
25660 * support/check.h (TEST_COMPARE): Define.
25661 (support_test_compare_failure): Declare.
25662 * support/Makefile (libsupport-routines): Add
25663 support_test_compare_failure.
25664 (tests): Add tst-test_compare.
25665 * support /support_test_compare_failure.c: New file.
25666 * support/tst-test_compare.c: Likewise.
25668 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25671 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25672 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25673 available, this rewrite of the collation rules does reproduce
25674 the test file in the same order.
25676 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25679 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25680 digraphs in the month and day names. Using single code points for
25681 digraphs is deprecated. While there are dedicated Unicode
25682 codepoints, for the digraphs, these are included for backwards
25683 compatibility and modern texts use a sequence of Basic Latin
25684 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25685 This makes the month and day names agree exactly with CLDR now,
25686 CLDR does not use the single code points for the digraphs either.
25688 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25690 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25692 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25694 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25697 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25699 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25700 Define only for libc.so.
25702 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25705 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25706 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25707 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25710 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25713 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25715 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25718 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25719 PREINIT_FUNCTION_WEAK is nonzero.
25720 (gmon_initializer): New function. Put procedure label for it in
25721 .init_array section.
25722 (_init): Don't call PREINIT_FUNCTION.
25723 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25724 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25725 value when map argument is null.
25727 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25728 depi instruction from PIC pc-relative sequence.
25729 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25730 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25731 (elf_machine_load_address): Likewise.
25732 (elf_machine_runtime_setup): Likewise.
25734 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25736 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25737 <libm-alias-double.h>.
25738 (logb): Define using libm_alias_double.
25739 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25740 <libm-alias-double.h>.
25741 (copysign): Define using libm_alias_double.
25742 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25743 <libm-alias-double.h>.
25744 (llrint): Define using libm_alias_double.
25745 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25746 <libm-alias-double.h>.
25747 (llround): Define using libm_alias_double.
25748 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25749 <libm-alias-double.h>.
25750 (lrint): Define using libm_alias_double.
25751 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25752 <libm-alias-double.h>.
25753 (lround): Define using libm_alias_double.
25754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25755 Include <libm-alias-double.h>.
25756 (copysign): Define using libm_alias_double.
25757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25758 Include <libm-alias-double.h>.
25759 (llrint): Define using libm_alias_double.
25760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25761 Include <libm-alias-double.h>.
25762 (llround): Define using libm_alias_double.
25763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25764 <libm-alias-double.h>.
25765 (logb): Define using libm_alias_double.
25766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25767 Include <libm-alias-double.h>.
25768 (lrint): Define using libm_alias_double.
25769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25770 Include <libm-alias-double.h>.
25771 (lround): Define using libm_alias_double.
25772 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25773 <libm-alias-double.h>.
25774 (llrint): Define using libm_alias_double.
25775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25776 <libm-alias-double.h>.
25777 (llround): Define using libm_alias_double.
25778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25779 <libm-alias-double.h>.
25780 (llround): Define using libm_alias_double.
25781 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25782 <libm-alias-double.h>.
25783 (lround): Define using libm_alias_double.
25784 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25785 <libm-alias-double.h>.
25786 (copysign): Define using libm_alias_double.
25787 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25788 <libm-alias-double.h>.
25789 (llrint): Define using libm_alias_double.
25790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25791 <libm-alias-double.h>.
25792 (llround): Define using libm_alias_double.
25793 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25794 <libm-alias-double.h>.
25795 (lrint): Define using libm_alias_double.
25796 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25797 <libm-alias-double.h>.
25798 (lround): Define using libm_alias_double.
25799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25800 <libm-alias-double.h>.
25801 (copysign): Define using libm_alias_double.
25802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25803 <libm-alias-double.h>.
25804 (llrint): Define using libm_alias_double.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25807 <libm-alias-double.h>.
25808 (llround): Define using libm_alias_double.
25809 (lround): Likewise.
25810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25811 <libm-alias-double.h>.
25812 (logb): Define using libm_alias_double.
25813 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25814 <libm-alias-double.h>.
25815 (copysign): Define using libm_alias_double.
25816 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25817 <libm-alias-double.h>.
25818 (llrint): Define using libm_alias_double.
25820 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25821 <libm-alias-double.h>.
25822 (llround): Define using libm_alias_double.
25823 (lround): Likewise.
25824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25825 <libm-alias-double.h>.
25826 (llround): Define using libm_alias_double.
25827 (lround): Likewise.
25828 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25829 <libm-alias-double.h>.
25830 (copysign): Define using libm_alias_double.
25831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25832 <libm-alias-double.h>.
25833 (llrint): Define using libm_alias_double.
25835 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25836 <libm-alias-double.h>.
25837 (llround): Define using libm_alias_double.
25838 (lround): Likewise.
25839 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25840 <libm-alias-double.h>.
25841 (llrint): Define using libm_alias_double.
25843 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25844 <libm-alias-double.h>.
25845 (llround): Define using libm_alias_double.
25846 (lround): Likewise.
25848 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25851 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25852 compat symbol based on llround.
25854 * sysdeps/powerpc/power7/fpu/s_logb.c
25855 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25856 symbol based on __logb, not on logb.
25857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25858 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25860 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25862 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25863 (rint): Define using libm_alias_double.
25864 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25865 <libm-alias-double.h>.
25866 (modf): Define using libm_alias_double.
25867 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25868 <libm-alias-double.h>.
25869 (ceil): Define using libm_alias_double.
25870 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25871 <libm-alias-double.h>.
25872 (floor): Define using libm_alias_double.
25873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25874 <libm-alias-double.h>.
25875 (nearbyint): Define using libm_alias_double.
25876 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25877 <libm-alias-double.h>.
25878 (rint): Define using libm_alias_double.
25879 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25880 <libm-alias-double.h>.
25881 (round): Define using libm_alias_double.
25882 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25883 <libm-alias-double.h>.
25884 (trunc): Define using libm_alias_double.
25885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25886 <libm-alias-double.h>.
25887 (ceil): Define using libm_alias_double.
25888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25889 Include <libm-alias-double.h>.
25890 (floor): Define using libm_alias_double.
25891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25892 <libm-alias-double.h>.
25893 (modf): Define using libm_alias_double.
25894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25895 Include <libm-alias-double.h>.
25896 (round): Define using libm_alias_double.
25897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25898 Include <libm-alias-double.h>.
25899 (trunc): Define using libm_alias_double.
25900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25901 <libm-alias-double.h>.
25902 (ceil): Define using libm_alias_double.
25903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25904 <libm-alias-double.h>.
25905 (floor): Define using libm_alias_double.
25906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25907 <libm-alias-double.h>.
25908 (round): Define using libm_alias_double.
25909 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25910 <libm-alias-double.h>.
25911 (trunc): Define using libm_alias_double.
25912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25913 <libm-alias-double.h>.
25914 (ceil): Define using libm_alias_double.
25915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25916 <libm-alias-double.h>.
25917 (floor): Define using libm_alias_double.
25918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25919 <libm-alias-double.h>.
25920 (modf): Define using libm_alias_double.
25921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25922 <libm-alias-double.h>.
25923 (round): Define using libm_alias_double.
25924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25925 <libm-alias-double.h>.
25926 (trunc): Define using libm_alias_double.
25927 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25928 <libm-alias-double.h>.
25929 (ceil): Define using libm_alias_double.
25930 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25931 <libm-alias-double.h>.
25932 (floor): Define using libm_alias_double.
25933 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25934 <libm-alias-double.h>.
25935 (nearbyint): Define using libm_alias_double.
25936 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25937 <libm-alias-double.h>.
25938 (rint): Define using libm_alias_double.
25939 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25940 <libm-alias-double.h>.
25941 (round): Define using libm_alias_double.
25942 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25943 <libm-alias-double.h>.
25944 (trunc): Define using libm_alias_double.
25945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25946 <libm-alias-double.h>.
25947 (ceil): Define using libm_alias_double.
25948 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25949 <libm-alias-double.h>.
25950 (floor): Define using libm_alias_double.
25951 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25952 <libm-alias-double.h>.
25953 (round): Define using libm_alias_double.
25954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25955 <libm-alias-double.h>.
25956 (trunc): Define using libm_alias_double.
25958 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25959 (fabs): Define using libm_alias_double.
25960 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25961 (fma): Define using libm_alias_double.
25962 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25963 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25967 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25969 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25971 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25972 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25973 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25976 due redirect macro.
25978 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25980 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25982 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25984 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25985 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25986 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25987 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25990 (libm-sysdep_routines): Add s_nearbyintf-generic and
25991 s_nearbyint-generic.
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26005 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26016 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26027 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26038 (sysdep_calls): New rule.
26039 (sysdep_routines): Use sysdep_calls as base.
26040 (libm-sysdep_routines): Add generic rule for symbols shared with
26041 libc. Add s_copysign-generic and s_copysign-generic objects.
26042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26051 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26054 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26055 the list of locales to be built for testing.
26056 * localedata/is_IS.UTF-8.in: New file.
26057 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26060 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26062 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26063 <libm-alias-float.h>.
26064 (fabsf): Define using libm_alias_float.
26066 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26068 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26070 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26072 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26073 <libm-alias-float.h>.
26074 (fabsf): Define using libm_alias_float.
26075 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26076 <libm-alias-float.h>.
26077 (lrintf): Define using libm_alias_float.
26078 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26079 <libm-alias-float.h>.
26080 (rintf): Define using libm_alias_float.
26082 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26083 <libm-alias-double.h>.
26084 (fabs): Define using libm_alias_double.
26085 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26086 <libm-alias-double.h>.
26087 (lrint): Define using libm_alias_double.
26088 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26089 <libm-alias-double.h>.
26090 (rint): Define using libm_alias_double.
26092 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26093 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26094 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26095 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26096 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26097 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26098 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26099 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26100 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26101 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26102 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26103 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26104 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26105 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26106 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26107 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26108 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26109 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26111 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26112 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26113 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26115 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26116 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26117 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26119 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26120 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26121 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26122 s_expm1_template.c.
26123 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26124 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26125 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26127 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26128 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26129 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26130 s_floor_template.c.
26131 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26132 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26133 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26134 s_frexp_template.c.
26135 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26136 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26137 s_lrint_template.c.
26138 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26139 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26140 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26142 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26143 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26144 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26145 s_nearbyint_template.c.
26146 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26147 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26148 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26149 s_remquo_template.c.
26150 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26151 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26152 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26154 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26155 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26156 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26158 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26159 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26160 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26161 s_sincos_template.c.
26162 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26163 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26164 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26166 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26167 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26168 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26170 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26171 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26172 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26173 s_trunc_template.c.
26174 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26175 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26176 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26177 s_atan.c instead of including s_atan.c.
26178 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26179 s_atanf.c instead of including s_atanf.c.
26180 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26181 s_atanl.c instead of including s_atanl.c.
26182 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26183 instead of s_atan.c.
26184 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26185 instead of s_atanf.c.
26186 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26187 instead of s_atanl.c.
26189 * scripts/update-copyrights: Do not handle intl/plural.c
26192 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26195 * configure.ac (BISON): Require to be present.
26196 * configure: Regenerated.
26197 * intl/Makefile (generated): Add plural.c.
26198 [$(BISON) != no]: Make code unconditional.
26199 (plural.c): Change rule to $(objpfx)plural.c.
26200 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26201 * intl/plural.c: Remove.
26202 * manual/install.texi (Tools for Compilation): Document bison as
26204 * INSTALL: Regenerated.
26206 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26208 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26209 <libm-alias-double.h>.
26210 (llrint): Define using libm_alias_double.
26211 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26212 <libm-alias-float.h>.
26213 (llrintf): Define using libm_alias_float.
26214 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26215 <libm-alias-ldouble.h>.
26216 (llrintl): Define using libm_alias_ldouble.
26218 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26219 declare_mgen_alias instead of weak_alias.
26220 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26221 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26222 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26224 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26226 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26228 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26229 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26230 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26232 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26233 Add submul_1-generic.
26234 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26235 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26236 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26238 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26239 Add addmul_1-generic.
26240 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26241 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26242 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26244 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26246 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26247 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26248 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26250 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26252 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26253 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26254 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26256 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26258 According to CLDR, collation rules for Serbian and Bosnian
26259 should be the same as for Croatian.
26262 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26263 and to the list of locales to be built for testing.
26264 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26265 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26266 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26267 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26269 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26271 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26272 to make test case pass.
26273 * localedata/hr_HR.UTF-8.in: Add more test strings.
26275 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26277 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26279 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26281 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26282 the list of locales to built for testing.
26283 * localedata/hr_HR.UTF-8.in: New file.
26285 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26288 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26290 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26291 CLDR (except use ligatures for the digraphs, CLDR does not use
26292 the ligatures), add first_workday, some fixes in the date and time
26294 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26296 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26297 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26298 Add int_p_cs_precedes and int_n_cs_precedes.
26299 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26300 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26302 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26303 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26305 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26306 and lang_lib. Change postal_fmt.
26308 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26310 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26312 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26313 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26314 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26315 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26316 * sysdeps/generic/setjmpP.h: New file.
26317 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26318 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26319 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26320 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26321 Add jmp_buf-ssp.sym.
26322 (tests): Add tst-saved_mask-1.
26324 2017-11-30 Arjun Shankar <arjun@redhat.com>
26328 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26329 instead of request2size.
26331 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26334 (__lllrint): Remove alias.
26335 (lllrint): Likewise.
26336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26337 (__lllrintf): Likewise.
26338 (lllrintf): Likewise.
26340 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26341 <libm-alias-float.h>.
26342 (copysignf): Define using libm_alias_float.
26343 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26344 <libm-alias-float.h>.
26345 (fabsf): Define using libm_alias_float.
26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26347 Include <libm-alias-float.h>.
26348 (copysignf): Define using libm_alias_float.
26349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26350 <libm-alias-float.h>.
26351 (fabsf): Define using libm_alias_float.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26353 <libm-alias-float.h>.
26354 (fdimf): Define using libm_alias_float.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26356 <libm-alias-float.h>.
26357 (fmaf): Define using libm_alias_float.
26358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26359 <libm-alias-float.h>.
26360 (llrintf): Define using libm_alias_float.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26362 Include <libm-alias-float.h>.
26363 (nearbyintf): Define using libm_alias_float.
26364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26365 <libm-alias-float.h>.
26366 (rintf): Define using libm_alias_float.
26367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26368 <libm-alias-float.h>.
26369 (llrintf): Define using libm_alias_float.
26370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26371 <libm-alias-float.h>.
26372 (lrintf): Define using libm_alias_float.
26373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26374 <libm-alias-float.h>.
26375 (nearbyintf): Define using libm_alias_float.
26376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26377 <libm-alias-float.h>.
26378 (rintf): Define using libm_alias_float.
26379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26380 <libm-alias-float.h>.
26381 (ceilf): Define using libm_alias_float.
26382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26383 <libm-alias-float.h>.
26384 (floorf): Define using libm_alias_float.
26385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26386 <libm-alias-float.h>.
26387 (fmaf): Define using libm_alias_float.
26388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26389 <libm-alias-float.h>.
26390 (lrintf): Define using libm_alias_float.
26391 (llrintf): Likewise.
26392 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26393 <libm-alias-float.h>.
26394 (nearbyintf): Define using libm_alias_float.
26395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26396 <libm-alias-float.h>.
26397 (rintf): Define using libm_alias_float.
26398 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26399 <libm-alias-float.h>.
26400 (truncf): Define using libm_alias_float.
26401 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26402 <libm-alias-float.h>.
26403 (copysignf): Define using libm_alias_float.
26404 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26405 <libm-alias-float.h>.
26406 (fabsf): Define using libm_alias_float.
26407 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26408 <libm-alias-float.h>.
26409 (lrintf): Define using libm_alias_float.
26410 (llrintf): Likewise.
26411 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26412 <libm-alias-float.h>.
26413 (nearbyintf): Define using libm_alias_float.
26414 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26415 <libm-alias-float.h>.
26416 (rintf): Define using libm_alias_float.
26418 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26420 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26421 <libm-alias-double.h>.
26422 (copysign): Define using libm_alias_double.
26423 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26424 <libm-alias-double.h>.
26425 (fabs): Define using libm_alias_double.
26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26427 Include <libm-alias-double.h>.
26428 (copysign): Define using libm_alias_double.
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26430 <libm-alias-double.h>.
26431 (fabs): Define using libm_alias_double.
26432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26433 <libm-alias-double.h>.
26434 (fdim): Define using libm_alias_double.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26436 <libm-alias-double.h>.
26437 (fma): Define using libm_alias_double.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26439 <libm-alias-double.h>.
26440 (llrint): Define using libm_alias_double.
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26442 Include <libm-alias-double.h>.
26443 (nearbyint): Define using libm_alias_double.
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26445 <libm-alias-double.h>.
26446 (rint): Define using libm_alias_double.
26447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26448 <libm-alias-double.h>.
26449 (fabs): Define using libm_alias_double.
26450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26451 <libm-alias-double.h>.
26452 (llrint): Define using libm_alias_double.
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26454 <libm-alias-double.h>.
26455 (nearbyint): Define using libm_alias_double.
26456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26457 <libm-alias-double.h>.
26458 (rint): Define using libm_alias_double.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26460 <libm-alias-double.h>.
26461 (ceil): Define using libm_alias_double.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26463 <libm-alias-double.h>.
26464 (floor): Define using libm_alias_double.
26465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26466 <libm-alias-double.h>.
26467 (fma): Define using libm_alias_double.
26468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26469 <libm-alias-double.h>.
26470 (lrint): Define using libm_alias_double.
26471 (llrint): Likewise.
26472 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26473 <libm-alias-double.h>.
26474 (nearbyint): Define using libm_alias_double.
26475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26476 <libm-alias-double.h>.
26477 (rint): Define using libm_alias_double.
26478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26479 <libm-alias-double.h>.
26480 (trunc): Define using libm_alias_double.
26481 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26482 <libm-alias-double.h>.
26483 (copysign): Define using libm_alias_double.
26484 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26485 <libm-alias-double.h>.
26486 (fabs): Define using libm_alias_double.
26487 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26488 <libm-alias-double.h>.
26489 (lrint): Define using libm_alias_double.
26490 (llrint): Likewise.
26491 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26492 <libm-alias-double.h>.
26493 (nearbyint): Define using libm_alias_double.
26494 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26495 <libm-alias-double.h>.
26496 (rint): Define using libm_alias_double.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26501 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26503 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26504 SPARC --disable-multi-arch glibc variants.
26506 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26507 <libm-alias-float.h>.
26508 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26510 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26511 <libm-alias-float.h>.
26512 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26514 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26515 <libm-alias-float.h>.
26516 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26518 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26519 <libm-alias-float.h>.
26520 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26522 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26523 <libm-alias-float.h>.
26524 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26526 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26527 <libm-alias-float.h>.
26528 (ceilf): Define using libm_alias_float.
26529 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26530 <libm-alias-float.h>.
26531 (floorf): Define using libm_alias_float.
26532 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26533 <libm-alias-float.h>.
26534 (fmaf): Define using libm_alias_float.
26535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26536 <libm-alias-float.h>.
26537 (nearbyintf): Define using libm_alias_float.
26538 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26539 <libm-alias-float.h>.
26540 (rintf): Define using libm_alias_float.
26541 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26542 <libm-alias-float.h>.
26543 (truncf): Define using libm_alias_float.
26544 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26545 (copysignf): Define using libm_alias_float.
26546 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26547 (cosf): Define using libm_alias_float.
26548 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26549 (fabsf): Define using libm_alias_float.
26550 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26551 (fmaxf): Define using libm_alias_float.
26552 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26553 (fminf): Define using libm_alias_float.
26554 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26555 (llrintf): Define using libm_alias_float.
26556 [!__ILP32__] (lrintf): Likewise.
26557 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26558 (sincosf): Define using libm_alias_float.
26559 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26560 (sinf): Define using libm_alias_float.
26561 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26562 (lrintf): Define using libm_alias_float.
26564 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26565 <libm-alias-double.h>.
26566 (atan): Define using libm_alias_double.
26567 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26568 <libm-alias-double.h>.
26569 (ceil): Define using libm_alias_double.
26570 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26571 <libm-alias-double.h>.
26572 (floor): Define using libm_alias_double.
26573 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26574 <libm-alias-double.h>.
26575 (fma): Define using libm_alias_double.
26576 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26577 <libm-alias-double.h>.
26578 (nearbyint): Define using libm_alias_double.
26579 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26580 <libm-alias-double.h>.
26581 (rint): Define using libm_alias_double.
26582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26583 <libm-alias-double.h>.
26584 (sin): Define using libm_alias_double.
26586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26587 <libm-alias-double.h>.
26588 (tan): Define using libm_alias_double.
26589 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26590 <libm-alias-double.h>.
26591 (trunc): Define using libm_alias_double.
26592 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26593 (copysign): Define using libm_alias_double.
26594 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26595 (fabs): Define using libm_alias_double.
26596 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26597 (fmax): Define using libm_alias_double.
26598 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26599 (fmin): Define using libm_alias_double.
26600 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26601 (llrint): Define using libm_alias_double.
26602 [!__ILP32__] (lrint): Likewise.
26603 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26604 (lrint): Define using libm_alias_double.
26606 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26609 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26619 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26629 (libm-sysdep_routines): Add s_nearbyint-generic and
26630 s_nearbyintf-generic objects.
26631 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26633 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26634 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26635 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26636 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26639 Add s_finitef-generic and s_finite-generic objects.
26640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26648 Add s_isinff-generic and s_isinf-generic objects.
26649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26657 Add s_isnanf-generic and s_isnan-generic objects.
26658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26665 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26669 (sysdep_routines): Use sysdep_calls as base.
26670 (libm-sysdep_routines): Add generic rule for symbols shared with
26671 libc. Add s_signbit-generic and s_signbitf-generic objects.
26672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26679 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26681 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26682 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26683 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26684 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26685 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26686 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26687 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26688 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26689 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26690 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26691 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26692 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26693 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26694 libm_alias_float_r.
26695 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26696 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26698 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26699 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26700 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26701 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26702 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26703 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26704 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26705 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26706 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26707 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26709 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26711 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26712 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26713 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26714 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26715 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26716 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26717 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26718 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26719 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26720 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26721 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26722 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26723 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26724 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26725 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26726 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26727 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26728 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26729 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26731 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26732 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26733 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26734 * sysdeps/ia64/fpu/w_lgammaf_main.c
26735 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26736 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26738 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26739 Alexandre Oliva <aoliva@redhat.com>
26742 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26743 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26745 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26747 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26748 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26749 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26750 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26751 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26752 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26753 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26754 instead of “ifdef DIACRIT_BACKWARD”.
26756 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26758 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26759 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26760 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26761 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26762 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26763 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26772 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26773 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26774 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26775 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26777 ($(have-as-vis3) == yes): Remove conditional.
26778 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26797 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26799 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26800 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26801 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26802 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26803 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26804 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26805 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26806 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26807 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26808 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26809 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26810 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26811 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26812 libm_alias_double_r.
26813 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26815 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26816 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26817 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26818 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26819 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26820 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26821 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26822 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26823 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26824 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26825 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26827 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26829 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26830 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26831 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26832 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26833 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26834 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26835 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26836 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26837 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26838 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26839 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26840 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26841 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26842 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26843 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26844 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26845 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26846 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26848 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26849 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26850 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26851 * sysdeps/ia64/fpu/w_lgamma_main.c
26852 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26853 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26855 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26857 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26858 address of $global$ into %dp register earlier. Use pc-relative
26859 instruction sequence for PIC case.
26861 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26863 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26864 (asinhf): Define using libm_alias_float.
26865 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26866 (atanf): Define using libm_alias_float.
26867 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26868 (cbrtf): Define using libm_alias_float.
26869 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26870 (ceilf): Define using libm_alias_float.
26871 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26872 (copysignf): Define using libm_alias_float.
26873 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26874 (expm1f): Define using libm_alias_float.
26875 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26876 (fabsf): Define using libm_alias_float.
26877 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26878 (floorf): Define using libm_alias_float.
26879 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26880 (fmaxf): Define using libm_alias_float.
26881 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26882 (fminf): Define using libm_alias_float.
26883 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26884 (frexpf): Define using libm_alias_float.
26885 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26886 (llrintf): Define using libm_alias_float.
26887 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26888 (logbf): Define using libm_alias_float.
26889 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26890 (lrintf): Define using libm_alias_float.
26891 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26892 (nearbyintf): Define using libm_alias_float.
26893 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26894 (remquof): Define using libm_alias_float.
26895 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26896 (rintf): Define using libm_alias_float.
26897 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26898 (truncf): Define using libm_alias_float.
26899 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26900 <libm-alias-float.h>.
26901 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26903 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26904 <libm-alias-float.h>.
26905 (expf): Define using libm_alias_float, or libm_alias_float_other
26907 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26908 <libm-alias-float.h>.
26909 (log2f): Define using libm_alias_float, or libm_alias_float_other
26911 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26912 <libm-alias-float.h>.
26913 (logf): Define using libm_alias_float, or libm_alias_float_other
26915 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26916 <libm-alias-float.h>.
26917 (powf): Define using libm_alias_float, or libm_alias_float_other
26919 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26920 <libm-alias-float.h>.
26921 (cosf): Define using libm_alias_float.
26922 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26923 <libm-alias-float.h>.
26924 (sincosf): Define using libm_alias_float.
26925 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26926 <libm-alias-float.h>.
26927 (sinf): Define using libm_alias_float.
26928 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26929 (fmaxf): Define using libm_alias_float.
26930 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26931 (fminf): Define using libm_alias_float.
26932 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26933 <libm-alias-float.h>.
26934 (fmaf): Define using libm_alias_float.
26936 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26937 (asinh): Define using libm_alias_double.
26938 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26939 (atan): Define using libm_alias_double.
26940 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26941 (cbrt): Define using libm_alias_double.
26942 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26943 (ceil): Define using libm_alias_double.
26944 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26945 (copysign): Define using libm_alias_double.
26946 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26947 (expm1): Define using libm_alias_double.
26948 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26949 (fabs): Define using libm_alias_double.
26950 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26951 (fdim): Define using libm_alias_double.
26952 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26953 (floor): Define using libm_alias_double.
26954 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26955 (fmax): Define using libm_alias_double.
26956 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26957 (fmin): Define using libm_alias_double.
26958 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26959 (frexp): Define using libm_alias_double.
26960 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26961 (llrint): Define using libm_alias_double.
26962 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26963 (logb): Define using libm_alias_double.
26964 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26965 (lrint): Define using libm_alias_double.
26966 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26967 (nearbyint): Define using libm_alias_double.
26968 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26969 (remquo): Define using libm_alias_double.
26970 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26971 (rint): Define using libm_alias_double.
26972 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26973 (trunc): Define using libm_alias_double.
26974 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26975 (fmax): Define using libm_alias_double.
26976 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26977 (fmin): Define using libm_alias_double.
26978 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26979 (fma): Define using libm_alias_double.
26981 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26984 * elf/dl-hwcaps.c (ROUND): Removed.
26985 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26986 and ELF_NOTE_NEXT_OFFSET.
26987 * elf/dl-load.c (ROUND): Removed.
26988 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26989 * elf/readelflib.c (ROUND): Removed.
26990 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26991 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26992 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26993 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26995 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26997 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26998 [!__fmaf] (fmaf): Define using libm_alias_float.
27000 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27001 [!__fma] (fma): Define using libm_alias_double.
27002 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27004 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27007 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27008 and implement the collation rules for cs from CLDR on top of that.
27009 * Makefile: Add cs_CZ.UTF-8 to test-input.
27010 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27012 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27014 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27016 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27017 Icarus Sparry <icarus.w.sparry@intel.com>
27019 * benchtests/Makefile:Add BENCHSET to allow subsets of
27020 benchmarks to be run.
27021 * benchtests/README: Add documentation for: Running subsets of
27024 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27026 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27027 range of tests names.
27029 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27030 result from property and remove "max", min" and "mean" from
27031 required properties based on benchtests/bench-skeleton.c.
27033 2017-11-28 Florian Weimer <fweimer@redhat.com>
27036 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27037 due to Internet requirement.
27038 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27040 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27042 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27045 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27046 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27047 (sysdep_routines): Add memset-ultra1.
27048 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27050 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27051 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27052 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27053 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27054 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27055 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27059 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27061 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27062 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27063 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27064 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27065 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27066 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27067 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27069 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27070 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27071 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27072 (sysdep_routines): Add memcpy-ultra1.
27073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27076 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27079 (cfloat_versions): Take function argument without trailing 'f'.
27080 Call libm_alias_float_other.
27081 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27082 * sysdeps/alpha/fpu/cargf.c: Likewise.
27083 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27084 * sysdeps/alpha/fpu/conjf.c: Likewise.
27085 * sysdeps/alpha/fpu/crealf.c: Likewise.
27086 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27087 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27088 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27089 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27090 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27091 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27092 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27093 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27094 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27095 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27096 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27097 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27098 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27099 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27100 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27101 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27102 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27103 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27104 (clog10f): Use libm_alias_float_other.
27105 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27106 (ceilf): Define using libm_alias_float.
27107 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27108 (copysignf): Define using libm_alias_float.
27109 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27110 (fabsf): Define using libm_alias_float.
27111 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27112 (floorf): Define using libm_alias_float.
27113 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27114 (fmaxf): Define using libm_alias_float.
27115 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27116 (fminf): Define using libm_alias_float.
27117 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27118 (lrintf): Define using libm_alias_float.
27119 (llrintf): Likewise.
27120 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27121 (lroundf): Define using libm_alias_float.
27122 (llroundf): Likewise.
27123 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27124 (rintf): Define using libm_alias_float.
27125 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27126 (truncf): Define using libm_alias_float.
27128 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27129 (ceilf): Define using libm_alias_float.
27130 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27131 (floorf): Define using libm_alias_float.
27132 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27133 (fmaf): Define using libm_alias_float.
27134 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27135 (fmaxf): Define using libm_alias_float.
27136 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27137 (fminf): Define using libm_alias_float.
27138 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27139 (llrintf): Define using libm_alias_float.
27140 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27141 (llroundf): Define using libm_alias_float.
27142 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27143 (lrintf): Define using libm_alias_float.
27144 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27145 (lroundf): Define using libm_alias_float.
27146 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27147 <libm-alias-float.h>.
27148 (nearbyintf): Define using libm_alias_float.
27149 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27150 (rintf): Define using libm_alias_float.
27151 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27152 (roundf): Define using libm_alias_float.
27153 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27154 (truncf): Define using libm_alias_float.
27156 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27157 (ceil): Define using libm_alias_double.
27158 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27159 (copysign): Define using libm_alias_double.
27160 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27161 (fabs): Define using libm_alias_double.
27162 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27163 (floor): Define using libm_alias_double.
27164 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27165 (fmax): Define using libm_alias_double.
27166 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27167 (fmin): Define using libm_alias_double.
27168 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27169 (lrint): Define using libm_alias_double.
27170 (llrint): Likewise.
27171 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27172 (lround): Define using libm_alias_double.
27173 (llround): Likewise.
27174 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27175 (rint): Define using libm_alias_double.
27176 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27177 (trunc): Define using libm_alias_double.
27179 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27180 (libm_alias_double_r): Add semicolon after weak_alias call.
27182 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27184 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27185 (ceil): Define using libm_alias_double.
27186 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27187 (floor): Define using libm_alias_double.
27188 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27189 (fma): Define using libm_alias_double.
27190 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27191 (fmax): Define using libm_alias_double.
27192 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27193 (fmin): Define using libm_alias_double.
27194 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27195 (llrint): Define using libm_alias_double.
27196 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27197 (llround): Define using libm_alias_double.
27198 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27199 (lrint): Define using libm_alias_double.
27200 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27201 (lround): Define using libm_alias_double.
27202 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27203 (nearbyint): Define using libm_alias_double.
27204 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27205 (rint): Define using libm_alias_double.
27206 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27207 (round): Define using libm_alias_double.
27208 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27209 (trunc): Define using libm_alias_double.
27211 2017-11-27 Florian Weimer <fweimer@redhat.com>
27213 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27214 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27215 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27216 (tests): Add tst-mlock2.
27217 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27219 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27220 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27221 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27222 for mlock. Document mlock2.
27224 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27226 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27227 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27229 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27231 * sysdeps/x86/Makeconfig: New file.
27232 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27233 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27234 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27235 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27236 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27237 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27238 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27240 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27241 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27242 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27243 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27244 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27245 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27246 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27247 * manual/math.texi (Mathematics): Document support for _Float64x.
27248 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27249 * stdlib/Versions (GLIBC_2.27): Likewise.
27250 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27251 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27252 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27253 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27254 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27255 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27256 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27257 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27258 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27259 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27260 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27266 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27267 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27268 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27269 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27270 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27272 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27273 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27274 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27275 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27278 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27279 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27281 2017-11-27 Andreas Schwab <schwab@suse.de>
27283 * elf/Makefile (dl-routines): Add dl-sort-maps.
27284 * elf/dl-sort-maps.c: New file.
27285 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27286 (_dl_sort_maps): Declare.
27287 * elf/dl-fini.c (_dl_sort_fini): Remove.
27288 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27289 * elf/dl-close.c (_dl_close_worker): Likewise.
27290 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27292 * elf/dl-open.c (dl_open_worker): Likewise.
27294 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27296 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27297 using libm_alias_float128.
27298 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27300 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27302 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27303 (setpayloadsigf128): Likewise.
27304 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27306 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27309 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27310 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27311 -mfloat128 to CFLAGS.
27313 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27315 (CFLAGS-libm-test-support-float64x.c): New variable.
27316 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27317 $(f128-loader-link) to gnulib-tests.
27319 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27320 (libm_alias_float128_other_r): If
27321 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27323 (libm_alias_float128_r): Add semicolon after weak_alias call.
27324 * sysdeps/generic/libm-alias-ldouble.h
27325 (libm_alias_ldouble_other_r_f128): New macro.
27326 (libm_alias_ldouble_other_r_f64x): Likewise.
27327 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27328 and libm_alias_ldouble_other_r_f64x.
27329 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27330 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27331 (libm_alias_ldouble_other_r_f128): New macro.
27332 (libm_alias_ldouble_other_r_f64x): Likewise.
27333 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27334 and libm_alias_ldouble_other_r_f64x.
27336 * stdlib/strfroml.c: Always include <stdlib.h>.
27337 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27338 undefine as macro and define as weak alias.
27339 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27340 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27342 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27343 Define and later undefine as macro and define as weak alias.
27345 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27346 Define and later undefine as macro. Define as weak alias if
27348 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27349 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27350 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27351 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27352 Define and later undefine as macro. Define as weak alias if
27354 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27355 Define and later undefine as macro. Define as weak alias if
27357 * sysdeps/ieee754/float128/strtof128_l.c
27358 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27359 Define and later undefine as macro. Define as weak alias if
27361 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27362 Define and later undefine as macro. Define as weak alias if
27364 * sysdeps/ieee754/ldbl-128/strtold_l.c
27365 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27366 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27367 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27368 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27369 * sysdeps/ieee754/ldbl-64-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-96/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].
27380 * math/test-float64x.h: New file.
27381 * math/Makefile (type-float64x-yes): New variable.
27382 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27384 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27385 function-like macro.
27386 (min_of_type_): Likewise.
27387 (min_of_type_l): Likewise.
27388 (min_of_type_f128): Likewise.
27389 (min_of_type): Pass () as last argument of __MATH_TG.
27391 * stdlib/tst-strtod-round-skeleton.c
27392 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27395 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27396 for combinations of long double with _Float64 and _Float64x.
27398 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27399 (__DECL_SIMD_cosf32): Likewise.
27400 (__DECL_SIMD_cosf64): Likewise.
27401 (__DECL_SIMD_cosf32x): Likewise.
27402 (__DECL_SIMD_cosf64x): Likewise.
27403 (__DECL_SIMD_cosf128x): Likewise.
27404 (__DECL_SIMD_sinf16): Likewise.
27405 (__DECL_SIMD_sinf32): Likewise.
27406 (__DECL_SIMD_sinf64): Likewise.
27407 (__DECL_SIMD_sinf32x): Likewise.
27408 (__DECL_SIMD_sinf64x): Likewise.
27409 (__DECL_SIMD_sinf128x): Likewise.
27410 (__DECL_SIMD_sincosf16): Likewise.
27411 (__DECL_SIMD_sincosf32): Likewise.
27412 (__DECL_SIMD_sincosf64): Likewise.
27413 (__DECL_SIMD_sincosf32x): Likewise.
27414 (__DECL_SIMD_sincosf64x): Likewise.
27415 (__DECL_SIMD_sincosf128x): Likewise.
27416 (__DECL_SIMD_logf16): Likewise.
27417 (__DECL_SIMD_logf32): Likewise.
27418 (__DECL_SIMD_logf64): Likewise.
27419 (__DECL_SIMD_logf32x): Likewise.
27420 (__DECL_SIMD_logf64x): Likewise.
27421 (__DECL_SIMD_logf128x): Likewise.
27422 (__DECL_SIMD_expf16): Likewise.
27423 (__DECL_SIMD_expf32): Likewise.
27424 (__DECL_SIMD_expf64): Likewise.
27425 (__DECL_SIMD_expf32x): Likewise.
27426 (__DECL_SIMD_expf64x): Likewise.
27427 (__DECL_SIMD_expf128x): Likewise.
27428 (__DECL_SIMD_powf16): Likewise.
27429 (__DECL_SIMD_powf32): Likewise.
27430 (__DECL_SIMD_powf64): Likewise.
27431 (__DECL_SIMD_powf32x): Likewise.
27432 (__DECL_SIMD_powf64x): Likewise.
27433 (__DECL_SIMD_powf128x): Likewise.
27435 * stdlib/Versions (libc): Move entries for wcstof128 and
27436 wcstof128_l to ....
27437 * wcsmbs/Versions (libc): ... here.
27438 Include <float128-abi.h>.
27440 2017-11-24 Florian Weimer <fweimer@redhat.com>
27442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27443 bits/mman-shared.h.
27444 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27445 <bits/mman-shared.h>.
27446 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27448 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27449 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27450 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27451 <bits/mman-shared.h>.
27453 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27456 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27457 posix_memalign/free.
27458 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27460 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27463 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27464 and implement the collation rules for pl from CLDR on top of that.
27465 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27466 of locales to be built for testing.
27467 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27469 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27471 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27472 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27473 libm_alias_ldouble_other.
27474 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27475 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27476 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27477 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27478 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27479 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27480 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27481 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27482 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27483 libm_alias_ldouble_r.
27484 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27485 libm_alias_ldouble_other.
27486 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27487 (log10l): Likewise.
27488 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27489 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27490 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27491 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27492 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27493 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27494 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27495 (atan2l): Likewise.
27496 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27497 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27498 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27499 libm_alias_ldouble.
27500 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27502 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27503 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27504 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27506 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27507 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27508 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27509 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27510 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27511 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27512 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27513 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27514 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27515 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27516 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27517 libm_alias_ldouble.
27518 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27519 libm_alias_ldouble_other.
27520 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27521 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27522 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27523 libm_alias_ldouble.
27524 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27525 libm_alias_ldouble_other.
27526 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27527 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27528 * sysdeps/ia64/fpu/w_lgammal_main.c
27529 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27530 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27532 2017-11-23 Florian Weimer <fweimer@redhat.com>
27534 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27535 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27536 alike. Remove freeres marker.
27537 * malloc/arena.c (arena_thread_freeres): Call
27538 tcache_thread_shutdown.
27540 2017-11-23 Florian Weimer <fweimer@redhat.com>
27543 Export nscd hash function as __nss_hash.
27544 * include/nss.h (__nss_hash): Declare.
27545 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27547 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27548 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27550 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27551 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27552 * nss/Makefiles (routines): Add nss_hash.
27553 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27554 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27555 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27556 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27558 2017-11-23 Florian Weimer <fweimer@redhat.com>
27561 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27562 Return error code, not -1.
27563 * signal/tst-sigwait-eintr.c: New file.
27564 * signal/Makefile (tests): Add tst-sigwait-eintr.
27566 2017-11-23 Florian Weimer <fweimer@redhat.com>
27568 Linux: Add memfd_create system call wrapper
27569 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27571 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27572 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27573 [__USE_GNU] (memfd_create): Declare.
27574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27575 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27576 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27577 * sysdeps/unix/sysv/linux/**.abilist: Update.
27578 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27580 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27582 * localedata/gen-locale.sh: Fix typo in variable name.
27584 * resolv/res_debug.c (p_secstodate): Condition definition on
27585 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27586 directly as __p_secstodate, and as a compat symbol. Do not use
27587 libresolv_hidden_def.
27588 * resolv/resolv.h (p_secstodate): Remove macro and function
27590 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27591 using p_secstodate.
27592 * include/resolv.h (__p_secstodate): Do not use
27593 libresolv_hidden_proto.
27594 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27595 (tests-internal): ... here.
27596 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27597 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27598 and declare and use __p_secstodate and use compat_symbol_reference
27600 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27601 implementation returning 77.
27604 * resolv/res_debug.c: Include <libc-diag.h>.
27605 (p_secstodate): Assert time_t at least as wide as u_long. On
27606 overflow, use integer seconds since the epoch as output, or use
27607 "<overflow>" as output and set errno to EOVERFLOW if integer
27608 seconds since the epoch would be 14 or more characters.
27609 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27611 * resolv/tst-p_secstodate.c: New file.
27612 * resolv/Makefile (tests): Add tst-p_secstodate.
27613 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27615 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27616 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27617 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27619 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27621 * posix/regcomp.c (init_word_char): Add comments.
27623 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27626 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27627 strlen to compute length of ut_user and set trailing NUL byte of
27630 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27633 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27634 using “copy "iso14651_t1"” and then implementing the
27635 collation rules for lv from CLDR on top of that.
27636 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27637 of locales to be built for testing.
27638 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27641 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27643 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27644 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27645 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27646 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27647 [__USE_MISC] (MADV_HWPOISON): New macro.
27648 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27650 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27652 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27653 -Wmissing-braces on GCC 4.9.
27655 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27657 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27658 * sysdeps/s390/s390-32/start.S (_start): Likewise
27659 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27660 (thread_start): Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27662 (thread_start): Likewise.
27663 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27664 (__makecontext_ret): Likewise.
27665 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27666 (__makecontext_ret): Likewise.
27668 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27670 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27671 __wcschrnul): Remove attribute_hidden.
27673 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27675 regex: don't assume uint64_t or uint32_t
27676 This avoids -Werror=overflow errors for 32-bit systems in
27677 the 64-bit case. Problem reported by Joseph Myers in:
27678 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27679 Also, when this code is used in Gnulib it ports to platforms
27680 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27681 them, and on some 32-bit compilers there is no uint64_t.
27682 Problem reported by Gianluigi Tiesi in:
27683 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27684 * posix/regcomp.c (init_word_char): Don't assume that the types
27685 uint64_t and uint32_t exist. Adapted from Gnulib patch
27686 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27687 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27689 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27691 * sysdeps/aarch64/memset-reg.h: New file.
27692 * sysdeps/aarch64/memset.S: Use it.
27693 (__memset): Rename to MEMSET macro.
27694 [ZVA_MACRO]: Use zva_macro.
27695 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27696 Add memset_generic and memset_falkor.
27697 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27698 (__libc_ifunc_impl_list): Add memset ifuncs.
27699 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27700 local variable zva_size.
27701 * sysdeps/aarch64/multiarch/memset.c: New file.
27702 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27703 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27704 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27705 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27706 (DCZID_DZP_MASK): New macro.
27707 (DCZID_BS_MASK): Likewise.
27708 (init_cpu_features): Read and set zva_size.
27709 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27710 (struct cpu_features): New member zva_size.
27712 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27713 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27714 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27716 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27717 backwards. Fix timing computation.
27718 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27719 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27720 on memset by N at a time. Fix timing computation.
27722 2017-11-20 Florian Weimer <fweimer@redhat.com>
27724 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27725 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27727 2017-11-19 Florian Weimer <fweimer@redhat.com>
27729 manual: Document mprotect
27730 * manual/memory.texi (Memory Protection): New section.
27731 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27732 documentation of PROT_* flags and reference the Memory Protection
27735 2017-11-19 Florian Weimer <fweimer@redhat.com>
27737 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27738 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27739 (Scatter-Gather): ... to here. Remove misleading comment.
27741 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27743 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27746 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27747 when /proc/<pid>/setgroups does not exist.
27749 2017-11-18 Florian Weimer <fweimer@redhat.com>
27751 * sysdeps/unix/sysv/linux/tst-ttyname.c
27752 (become_root_in_mount_ns): Remove.
27753 (do_in_chroot_1): Call support_enter_mount_namespace.
27754 (do_in_chroot_2): Likewise.
27755 (do_test): Call support_become_root early.
27757 2017-11-18 Florian Weimer <fweimer@redhat.com>
27759 * support/namespace.h (support_enter_mount_namespace): Declare.
27760 * support/support_enter_mount_namespace.c: New file.
27761 * support/Makefile (libsupport-routines): Add
27762 support_enter_mount_namespace.
27764 2017-11-18 Florian Weimer <fweimer@redhat.com>
27766 * support/temp_file.c (support_create_temp_directory): Use
27767 test_dir and do not rely on the presence of the XXXXXX suffix.
27768 * support/temp_file.h (support_create_temp_directory): Update
27770 * support/tst-xreadlink.c (do_test): Adjust.
27771 * support/support_chroot.c (support_chroot_create): Likewise.
27773 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27775 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27780 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27782 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27783 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27784 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27785 (ceill): Define using libm_alias_ldouble.
27786 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27787 <libm-alias-ldouble.h>.
27788 (copysignl): Define using libm_alias_ldouble.
27789 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27790 (fabsl): Define using libm_alias_ldouble.
27791 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27792 (floorl): Define using libm_alias_ldouble.
27793 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27794 (fmaxl): Define using libm_alias_ldouble.
27795 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27796 (fminl): Define using libm_alias_ldouble.
27797 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27798 (llrintl): Define using libm_alias_ldouble.
27799 (lrintl): Likewise.
27800 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27801 <libm-alias-ldouble.h>.
27802 (nearbyintl): Define using libm_alias_ldouble.
27803 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27804 (truncl): Define using libm_alias_ldouble.
27805 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27806 <libm-alias-ldouble.h>.
27807 (lrintl): Define using libm_alias_ldouble.
27809 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27810 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27811 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27812 (asinhl): Define using libm_alias_ldouble.
27813 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27814 (atanl): Define using libm_alias_ldouble.
27815 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27816 (cbrtl): Define using libm_alias_ldouble.
27817 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27818 (ceill): Define using libm_alias_ldouble.
27819 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27820 (copysignl): Define using libm_alias_ldouble.
27821 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27822 (fabsl): Define using libm_alias_ldouble.
27823 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27824 (floorl): Define using libm_alias_ldouble.
27825 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27826 (fmaxl): Define using libm_alias_ldouble.
27827 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27828 (fminl): Define using libm_alias_ldouble.
27829 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27830 (frexpl): Define using libm_alias_ldouble.
27831 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27832 (llrintl): Define using libm_alias_ldouble.
27833 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27834 (logbl): Define using libm_alias_ldouble.
27835 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27836 (lrintl): Define using libm_alias_ldouble.
27837 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27838 (nearbyintl): Define using libm_alias_ldouble.
27839 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27840 (nextafterl): Define using libm_alias_ldouble.
27841 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27842 (remquol): Define using libm_alias_ldouble.
27843 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27844 (rintl): Define using libm_alias_ldouble.
27845 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27846 (truncl): Define using libm_alias_ldouble.
27847 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27848 (fmaxl): Define using libm_alias_ldouble.
27849 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27850 (fminl): Define using libm_alias_ldouble.
27852 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27853 to C syntax instead of availability and properties of types.
27854 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27855 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27856 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27857 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27858 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27859 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27861 2017-11-17 Florian Weimer <fweimer@redhat.com>
27863 support_become_root: Enable file creation in namespaces.
27864 * support/support_become_root.c (setup_mapping): New function.
27865 (support_become_root): Call it.
27867 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27869 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27872 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27874 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27875 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27877 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27879 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27881 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27884 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27886 * INSTALL: Fix botched up regeneration.
27888 * NEWS: Update sourceare link to https.
27889 * configure.ac: Likewise.
27890 * crypt/md5test-giant.c: Likewise.
27891 * dlfcn/bug-atexit1.c: Likewise.
27892 * dlfcn/bug-atexit2.c: Likewise.
27893 * localedata/README: Likewise.
27894 * malloc/tst-mallocfork.c: Likewise.
27895 * manual/install.texi: Likewise.
27896 * nptl/tst-pthread-getattr.c: Likewise.
27897 * stdio-common/tst-fgets.c: Likewise.
27898 * stdio-common/tst-fwrite.c: Likewise.
27899 * sunrpc/Makefile: Likewise.
27900 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27901 * wcsmbs/tst-mbrtowc2.c: Likewise.
27902 * configure: Regenerate.
27903 * INSTALL: Regenerate.
27905 2017-11-15 Martin Sebor <msebor@redhat.com>
27907 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27908 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27909 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27911 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27914 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27915 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27919 Defer is_pty check until end of the function.
27920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27923 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27924 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27925 (ttyname): Likewise.
27926 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27927 (__ttyname_r): Likewise.
27929 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27932 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27934 * manual/terminal.texi (Is It a Terminal):
27935 Mention ENODEV for ttyname and ttyname_r.
27937 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27939 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27940 constant and macro.
27942 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27943 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27944 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27945 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27946 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27947 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27949 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27951 * signal/sigrelse.c (sigrelse): Optimize implementation.
27953 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27954 (__sigpause): Rely on __sigsuspend to implement single thread
27955 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27957 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27959 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27960 kernel version to 4.14.
27962 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27965 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27966 Check if ifname is too long.
27968 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27970 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27972 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27974 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27975 was accidentally lost.
27977 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27979 * localedata/locales/az_IR: Add standard copyright header.
27981 2017-11-15 Florian Weimer <fweimer@redhat.com>
27984 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27985 not just the top one. Output a new "subheaps" statistic.
27987 2017-11-15 Florian Weimer <fweimer@redhat.com>
27990 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27991 under the per-arena lock.
27992 * malloc/Makefile (tests): Add tst-malloc_info.
27993 (tst-malloc_info): Link with libpthread.
27994 * malloc/tst-malloc_info.c: New file.
27996 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27999 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28000 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28001 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28002 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28003 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28004 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28005 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28006 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28007 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28008 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28009 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28010 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28011 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28012 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28015 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28016 (__floating_type): Likewise.
28017 (__real_integer_type): Likewise.
28018 (__complex_integer_type): Likewise.
28019 (__expr_is_real): Likewise.
28020 (__tgmath_real_type_sub): Likewise.
28021 (__tgmath_real_type): Likewise.
28022 (__tgmath_complex_type_sub): Likewise.
28023 (__tgmath_complex_type): Likewise.
28024 (__TGMATH_F128): Likewise.
28025 (__TGMATH_CF128): Likewise.
28026 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28028 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28029 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28031 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28033 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28034 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28035 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28036 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28038 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28039 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28041 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28042 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28043 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28045 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28046 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28047 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28051 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28053 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28054 for stpncpy calls for GCC 8.
28055 (test_strncat): Disable -Wstringop-truncation warning for strncat
28056 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28057 strncat call for GCC 7.
28058 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28060 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28063 * string/bug-strncat1.c: Include <libc-diag.h>.
28064 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28066 2017-11-13 Claude Paroz <claude@2xlibre.net>
28069 * localedata/locales/aa_DJ: Improved readibility by replacing
28070 <Uxxxx> sequences in the ASCII printable range by their ASCII
28071 character equivalents.
28072 * localedata/locales/aa_ER: Likewise.
28073 * localedata/locales/aa_ER@saaho: Likewise.
28074 * localedata/locales/aa_ET: Likewise.
28075 * localedata/locales/af_ZA: Likewise.
28076 * localedata/locales/agr_PE: Likewise.
28077 * localedata/locales/ak_GH: Likewise.
28078 * localedata/locales/am_ET: Likewise.
28079 * localedata/locales/anp_IN: Likewise.
28080 * localedata/locales/ar_AE: Likewise.
28081 * localedata/locales/ar_BH: Likewise.
28082 * localedata/locales/ar_DZ: Likewise.
28083 * localedata/locales/ar_EG: Likewise.
28084 * localedata/locales/ar_IN: Likewise.
28085 * localedata/locales/ar_IQ: Likewise.
28086 * localedata/locales/ar_JO: Likewise.
28087 * localedata/locales/ar_KW: Likewise.
28088 * localedata/locales/ar_LB: Likewise.
28089 * localedata/locales/ar_LY: Likewise.
28090 * localedata/locales/ar_MA: Likewise.
28091 * localedata/locales/ar_OM: Likewise.
28092 * localedata/locales/ar_QA: Likewise.
28093 * localedata/locales/ar_SA: Likewise.
28094 * localedata/locales/ar_SD: Likewise.
28095 * localedata/locales/ar_SS: Likewise.
28096 * localedata/locales/ar_SY: Likewise.
28097 * localedata/locales/ar_TN: Likewise.
28098 * localedata/locales/ar_YE: Likewise.
28099 * localedata/locales/as_IN: Likewise.
28100 * localedata/locales/ast_ES: Likewise.
28101 * localedata/locales/ayc_PE: Likewise.
28102 * localedata/locales/az_AZ: Likewise.
28103 * localedata/locales/az_IR: Likewise.
28104 * localedata/locales/be_BY: Likewise.
28105 * localedata/locales/be_BY@latin: Likewise.
28106 * localedata/locales/bem_ZM: Likewise.
28107 * localedata/locales/ber_DZ: Likewise.
28108 * localedata/locales/ber_MA: Likewise.
28109 * localedata/locales/bg_BG: Likewise.
28110 * localedata/locales/bhb_IN: Likewise.
28111 * localedata/locales/bho_IN: Likewise.
28112 * localedata/locales/bi_VU: Likewise.
28113 * localedata/locales/bn_BD: Likewise.
28114 * localedata/locales/bn_IN: Likewise.
28115 * localedata/locales/bo_CN: Likewise.
28116 * localedata/locales/bo_IN: Likewise.
28117 * localedata/locales/br_FR: Likewise.
28118 * localedata/locales/brx_IN: Likewise.
28119 * localedata/locales/bs_BA: Likewise.
28120 * localedata/locales/byn_ER: Likewise.
28121 * localedata/locales/ca_AD: Likewise.
28122 * localedata/locales/ca_ES: Likewise.
28123 * localedata/locales/ca_FR: Likewise.
28124 * localedata/locales/ca_IT: Likewise.
28125 * localedata/locales/ce_RU: Likewise.
28126 * localedata/locales/chr_US: Likewise.
28127 * localedata/locales/cmn_TW: Likewise.
28128 * localedata/locales/crh_UA: Likewise.
28129 * localedata/locales/cs_CZ: Likewise.
28130 * localedata/locales/csb_PL: Likewise.
28131 * localedata/locales/cv_RU: Likewise.
28132 * localedata/locales/cy_GB: Likewise.
28133 * localedata/locales/da_DK: Likewise.
28134 * localedata/locales/de_AT: Likewise.
28135 * localedata/locales/de_BE: Likewise.
28136 * localedata/locales/de_CH: Likewise.
28137 * localedata/locales/de_DE: Likewise.
28138 * localedata/locales/de_IT: Likewise.
28139 * localedata/locales/de_LI: Likewise.
28140 * localedata/locales/de_LU: Likewise.
28141 * localedata/locales/doi_IN: Likewise.
28142 * localedata/locales/dv_MV: Likewise.
28143 * localedata/locales/dz_BT: Likewise.
28144 * localedata/locales/el_CY: Likewise.
28145 * localedata/locales/el_GR: Likewise.
28146 * localedata/locales/en_AG: Likewise.
28147 * localedata/locales/en_AU: Likewise.
28148 * localedata/locales/en_BW: Likewise.
28149 * localedata/locales/en_CA: Likewise.
28150 * localedata/locales/en_DK: Likewise.
28151 * localedata/locales/en_GB: Likewise.
28152 * localedata/locales/en_HK: Likewise.
28153 * localedata/locales/en_IE: Likewise.
28154 * localedata/locales/en_IL: Likewise.
28155 * localedata/locales/en_IN: Likewise.
28156 * localedata/locales/en_NG: Likewise.
28157 * localedata/locales/en_NZ: Likewise.
28158 * localedata/locales/en_PH: Likewise.
28159 * localedata/locales/en_SG: Likewise.
28160 * localedata/locales/en_US: Likewise.
28161 * localedata/locales/en_ZA: Likewise.
28162 * localedata/locales/en_ZM: Likewise.
28163 * localedata/locales/en_ZW: Likewise.
28164 * localedata/locales/eo: Likewise.
28165 * localedata/locales/es_AR: Likewise.
28166 * localedata/locales/es_BO: Likewise.
28167 * localedata/locales/es_CL: Likewise.
28168 * localedata/locales/es_CO: Likewise.
28169 * localedata/locales/es_CR: Likewise.
28170 * localedata/locales/es_CU: Likewise.
28171 * localedata/locales/es_DO: Likewise.
28172 * localedata/locales/es_EC: Likewise.
28173 * localedata/locales/es_ES: Likewise.
28174 * localedata/locales/es_GT: Likewise.
28175 * localedata/locales/es_HN: Likewise.
28176 * localedata/locales/es_MX: Likewise.
28177 * localedata/locales/es_NI: Likewise.
28178 * localedata/locales/es_PA: Likewise.
28179 * localedata/locales/es_PE: Likewise.
28180 * localedata/locales/es_PR: Likewise.
28181 * localedata/locales/es_PY: Likewise.
28182 * localedata/locales/es_SV: Likewise.
28183 * localedata/locales/es_US: Likewise.
28184 * localedata/locales/es_UY: Likewise.
28185 * localedata/locales/es_VE: Likewise.
28186 * localedata/locales/et_EE: Likewise.
28187 * localedata/locales/eu_ES: Likewise.
28188 * localedata/locales/eu_ES@euro: Likewise.
28189 * localedata/locales/fa_IR: Likewise.
28190 * localedata/locales/ff_SN: Likewise.
28191 * localedata/locales/fi_FI: Likewise.
28192 * localedata/locales/fil_PH: Likewise.
28193 * localedata/locales/fo_FO: Likewise.
28194 * localedata/locales/fr_BE: Likewise.
28195 * localedata/locales/fr_CA: Likewise.
28196 * localedata/locales/fr_CH: Likewise.
28197 * localedata/locales/fr_FR: Likewise.
28198 * localedata/locales/fr_LU: Likewise.
28199 * localedata/locales/fur_IT: Likewise.
28200 * localedata/locales/fy_DE: Likewise.
28201 * localedata/locales/fy_NL: Likewise.
28202 * localedata/locales/ga_IE: Likewise.
28203 * localedata/locales/gd_GB: Likewise.
28204 * localedata/locales/gez_ER: Likewise.
28205 * localedata/locales/gez_ET: Likewise.
28206 * localedata/locales/gl_ES: Likewise.
28207 * localedata/locales/gu_IN: Likewise.
28208 * localedata/locales/gv_GB: Likewise.
28209 * localedata/locales/ha_NG: Likewise.
28210 * localedata/locales/hak_TW: Likewise.
28211 * localedata/locales/he_IL: Likewise.
28212 * localedata/locales/hi_IN: Likewise.
28213 * localedata/locales/hif_FJ: Likewise.
28214 * localedata/locales/hne_IN: Likewise.
28215 * localedata/locales/hr_HR: Likewise.
28216 * localedata/locales/hsb_DE: Likewise.
28217 * localedata/locales/ht_HT: Likewise.
28218 * localedata/locales/hu_HU: Likewise.
28219 * localedata/locales/hy_AM: Likewise.
28220 * localedata/locales/i18n: Likewise.
28221 * localedata/locales/ia_FR: Likewise.
28222 * localedata/locales/id_ID: Likewise.
28223 * localedata/locales/ig_NG: Likewise.
28224 * localedata/locales/ik_CA: Likewise.
28225 * localedata/locales/is_IS: Likewise.
28226 * localedata/locales/it_CH: Likewise.
28227 * localedata/locales/it_IT: Likewise.
28228 * localedata/locales/iu_CA: Likewise.
28229 * localedata/locales/ja_JP: Likewise.
28230 * localedata/locales/ka_GE: Likewise.
28231 * localedata/locales/kk_KZ: Likewise.
28232 * localedata/locales/kl_GL: Likewise.
28233 * localedata/locales/kn_IN: Likewise.
28234 * localedata/locales/ko_KR: Likewise.
28235 * localedata/locales/kok_IN: Likewise.
28236 * localedata/locales/ks_IN: Likewise.
28237 * localedata/locales/ks_IN@devanagari: Likewise.
28238 * localedata/locales/ku_TR: Likewise.
28239 * localedata/locales/kw_GB: Likewise.
28240 * localedata/locales/ky_KG: Likewise.
28241 * localedata/locales/lb_LU: Likewise.
28242 * localedata/locales/lg_UG: Likewise.
28243 * localedata/locales/li_BE: Likewise.
28244 * localedata/locales/li_NL: Likewise.
28245 * localedata/locales/lij_IT: Likewise.
28246 * localedata/locales/ln_CD: Likewise.
28247 * localedata/locales/lo_LA: Likewise.
28248 * localedata/locales/lt_LT: Likewise.
28249 * localedata/locales/lv_LV: Likewise.
28250 * localedata/locales/lzh_TW: Likewise.
28251 * localedata/locales/mag_IN: Likewise.
28252 * localedata/locales/mai_IN: Likewise.
28253 * localedata/locales/mg_MG: Likewise.
28254 * localedata/locales/mhr_RU: Likewise.
28255 * localedata/locales/mi_NZ: Likewise.
28256 * localedata/locales/mk_MK: Likewise.
28257 * localedata/locales/ml_IN: Likewise.
28258 * localedata/locales/mn_MN: Likewise.
28259 * localedata/locales/mni_IN: Likewise.
28260 * localedata/locales/mr_IN: Likewise.
28261 * localedata/locales/ms_MY: Likewise.
28262 * localedata/locales/mt_MT: Likewise.
28263 * localedata/locales/my_MM: Likewise.
28264 * localedata/locales/nan_TW: Likewise.
28265 * localedata/locales/nan_TW@latin: Likewise.
28266 * localedata/locales/nb_NO: Likewise.
28267 * localedata/locales/nds_DE: Likewise.
28268 * localedata/locales/nds_NL: Likewise.
28269 * localedata/locales/ne_NP: Likewise.
28270 * localedata/locales/nhn_MX: Likewise.
28271 * localedata/locales/niu_NU: Likewise.
28272 * localedata/locales/niu_NZ: Likewise.
28273 * localedata/locales/nl_AW: Likewise.
28274 * localedata/locales/nl_BE: Likewise.
28275 * localedata/locales/nl_NL: Likewise.
28276 * localedata/locales/nn_NO: Likewise.
28277 * localedata/locales/nr_ZA: Likewise.
28278 * localedata/locales/nso_ZA: Likewise.
28279 * localedata/locales/oc_FR: Likewise.
28280 * localedata/locales/om_ET: Likewise.
28281 * localedata/locales/om_KE: Likewise.
28282 * localedata/locales/or_IN: Likewise.
28283 * localedata/locales/os_RU: Likewise.
28284 * localedata/locales/pa_IN: Likewise.
28285 * localedata/locales/pa_PK: Likewise.
28286 * localedata/locales/pap_AW: Likewise.
28287 * localedata/locales/pap_CW: Likewise.
28288 * localedata/locales/pl_PL: Likewise.
28289 * localedata/locales/ps_AF: Likewise.
28290 * localedata/locales/pt_BR: Likewise.
28291 * localedata/locales/pt_PT: Likewise.
28292 * localedata/locales/quz_PE: Likewise.
28293 * localedata/locales/raj_IN: Likewise.
28294 * localedata/locales/ro_RO: Likewise.
28295 * localedata/locales/ru_RU: Likewise.
28296 * localedata/locales/ru_UA: Likewise.
28297 * localedata/locales/rw_RW: Likewise.
28298 * localedata/locales/sa_IN: Likewise.
28299 * localedata/locales/sat_IN: Likewise.
28300 * localedata/locales/sc_IT: Likewise.
28301 * localedata/locales/sd_IN: Likewise.
28302 * localedata/locales/sd_IN@devanagari: Likewise.
28303 * localedata/locales/se_NO: Likewise.
28304 * localedata/locales/sgs_LT: Likewise.
28305 * localedata/locales/shs_CA: Likewise.
28306 * localedata/locales/si_LK: Likewise.
28307 * localedata/locales/sid_ET: Likewise.
28308 * localedata/locales/sk_SK: Likewise.
28309 * localedata/locales/sl_SI: Likewise.
28310 * localedata/locales/sm_WS: Likewise.
28311 * localedata/locales/so_DJ: Likewise.
28312 * localedata/locales/so_ET: Likewise.
28313 * localedata/locales/so_KE: Likewise.
28314 * localedata/locales/so_SO: Likewise.
28315 * localedata/locales/sq_AL: Likewise.
28316 * localedata/locales/sq_MK: Likewise.
28317 * localedata/locales/sr_ME: Likewise.
28318 * localedata/locales/sr_RS: Likewise.
28319 * localedata/locales/sr_RS@latin: Likewise.
28320 * localedata/locales/ss_ZA: Likewise.
28321 * localedata/locales/st_ZA: Likewise.
28322 * localedata/locales/sv_FI: Likewise.
28323 * localedata/locales/sv_SE: Likewise.
28324 * localedata/locales/sw_KE: Likewise.
28325 * localedata/locales/sw_TZ: Likewise.
28326 * localedata/locales/szl_PL: Likewise.
28327 * localedata/locales/ta_IN: Likewise.
28328 * localedata/locales/ta_LK: Likewise.
28329 * localedata/locales/tcy_IN: Likewise.
28330 * localedata/locales/te_IN: Likewise.
28331 * localedata/locales/tg_TJ: Likewise.
28332 * localedata/locales/th_TH: Likewise.
28333 * localedata/locales/the_NP: Likewise.
28334 * localedata/locales/ti_ER: Likewise.
28335 * localedata/locales/ti_ET: Likewise.
28336 * localedata/locales/tig_ER: Likewise.
28337 * localedata/locales/tk_TM: Likewise.
28338 * localedata/locales/tl_PH: Likewise.
28339 * localedata/locales/tn_ZA: Likewise.
28340 * localedata/locales/to_TO: Likewise.
28341 * localedata/locales/tpi_PG: Likewise.
28342 * localedata/locales/tr_CY: Likewise.
28343 * localedata/locales/tr_TR: Likewise.
28344 * localedata/locales/ts_ZA: Likewise.
28345 * localedata/locales/tt_RU: Likewise.
28346 * localedata/locales/tt_RU@iqtelif: Likewise.
28347 * localedata/locales/ug_CN: Likewise.
28348 * localedata/locales/uk_UA: Likewise.
28349 * localedata/locales/unm_US: Likewise.
28350 * localedata/locales/ur_IN: Likewise.
28351 * localedata/locales/ur_PK: Likewise.
28352 * localedata/locales/uz_UZ: Likewise.
28353 * localedata/locales/uz_UZ@cyrillic: Likewise.
28354 * localedata/locales/ve_ZA: Likewise.
28355 * localedata/locales/vi_VN: Likewise.
28356 * localedata/locales/wa_BE: Likewise.
28357 * localedata/locales/wae_CH: Likewise.
28358 * localedata/locales/wal_ET: Likewise.
28359 * localedata/locales/wo_SN: Likewise.
28360 * localedata/locales/xh_ZA: Likewise.
28361 * localedata/locales/yi_US: Likewise.
28362 * localedata/locales/yo_NG: Likewise.
28363 * localedata/locales/yue_HK: Likewise.
28364 * localedata/locales/yuw_PG: Likewise.
28365 * localedata/locales/zh_CN: Likewise.
28366 * localedata/locales/zh_HK: Likewise.
28367 * localedata/locales/zh_SG: Likewise.
28368 * localedata/locales/zh_TW: Likewise.
28369 * localedata/locales/zu_ZA: Likewise.
28371 2017-11-13 Florian Weimer <fweimer@redhat.com>
28373 * support/next_to_fault.h, support/next_to_fault.c: New files.
28374 * support/Makefile (libsupport-routines): Add next_to_fault.
28375 * resolv/tst-inet_pton.c (struct next_to_fault)
28376 (next_to_fault_allocate, next_to_fault_free): Remove.
28377 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28379 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28381 * elf/dl-support.c: Include <dl-procruntime.c>.
28382 * include/link.h: Include <link_map.h>.
28383 * sysdeps/generic/dl-procruntime.c: New file.
28384 * sysdeps/generic/link_map.h: Likewise.
28385 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28386 the writable ld.so namespace.
28388 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28390 timezone: pacify GCC -Wstringop-truncation
28391 Problem reported by Martin Sebor in:
28392 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28393 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28395 2017-11-12 Florian Weimer <fweimer@redhat.com>
28397 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28399 (tests): Add tst-xreadlink.
28400 * support/support.h (xstrndup): Declare.
28401 * support/xunistd.h (xunlink, xreadlink): Declare.
28402 * support/temp_file.h (support_create_temp_directory): Declare.
28403 * support/temp_file.c (support_create_temp_directory): New function.
28404 * support/support_chroot.c (support_chroot_create): Use it.
28405 * support/xreadlink.c: New file.
28406 * support/xstrndup.c: Likewise.
28407 * support/xunlink.c: Likewise.
28408 * support/tst-xreadlink.c: Likewise.
28410 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28412 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28414 2017-11-11 Florian Weimer <fweimer@redhat.com>
28418 * resolv/res_comp.c (printable_string, binary_hnok)
28419 (binary_leading_dash): New functions.
28420 (res_hnok): Reimplement using these functions and ns_name_pton.
28421 (res_ownok): Likewise.
28422 (res_mailok): Reimplement using printable_string, ns_name_pton and
28424 (res_dnok): Reimplement using printable_string and ns_name_pton.
28425 * resolv/tst-res_hnok.c (tests): Add additional tests.
28426 (LETTERDIGITS, PRINTABLE): Define.
28427 (do_test): Adjust one_char results.
28429 2017-11-11 Florian Weimer <fweimer@redhat.com>
28432 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28433 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28435 2017-11-11 Florian Weimer <fweimer@redhat.com>
28437 * resolv/tst-ns_name_pton.c: New file.
28438 * resolv/Makefile (tests): Add tst-ns_name_pton.
28439 (tst-ns_name_pton): Link against libresolv.
28441 2017-11-11 Florian Weimer <fweimer@redhat.com>
28443 * resolv/tst-res_hnok.c: New file.
28444 * resolv/Makefile (tests): Add tst-res_hnok.
28445 (tst-res_hnok): Link against libresolv.
28447 2017-11-11 Florian Weimer <fweimer@redhat.com>
28449 * resolv/tst-resolv-network.c: Use test framework instead explicit
28452 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28454 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28455 <jmp_buf-macros.h>.
28456 [!_ISOMAC] (STR_HELPER): New.
28457 [!_ISOMAC] (STR): Likewise.
28458 [!_ISOMAC] (TEST_SIZE): Likewise.
28459 [!_ISOMAC] (TEST_ALIGN): Likewise.
28460 [!_ISOMAC] (TEST_OFFSET): Likewise.
28461 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28462 field offsets of jmp_buf as well as sigjmp_buf.
28463 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28464 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28465 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28466 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28467 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28468 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28469 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28470 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28471 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28472 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28474 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28476 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28481 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28482 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28483 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28484 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28485 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28490 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28491 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28492 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28494 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28497 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28498 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28499 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28500 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28501 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28502 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28503 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28504 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28505 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28506 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28507 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28508 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28509 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28510 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28512 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28514 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28516 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28518 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28520 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28522 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28524 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28526 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28528 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28530 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28532 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28534 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28536 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28538 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28540 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28542 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28544 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28546 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28548 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28550 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28552 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28554 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28556 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28558 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28560 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28562 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28564 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28566 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28568 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28570 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28572 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28574 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28576 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28578 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28580 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28582 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28584 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28586 * stdlib/tst-strtod.h (F16): New macro.
28592 (IF_FLOAT16): Likewise.
28593 (IF_FLOAT32): Likewise.
28594 (IF_FLOAT64): Likewise.
28595 (IF_FLOAT32X): Likewise.
28596 (IF_FLOAT64X): Likewise.
28597 (IF_FLOAT128X): Likewise.
28598 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28599 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28600 (STRTOD_TEST_FOREACH): Likewise.
28601 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28602 (CHOOSE_f64): Likewise.
28603 (CHOOSE_f32x): Likewise.
28604 (CHOOSE_f64x): Likewise.
28606 2017-11-07 Andreas Schwab <schwab@suse.de>
28608 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28610 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28613 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28615 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28618 2017-11-07 Claude Paroz <claude@2xlibre.net>
28621 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28623 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28625 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28628 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28631 * nptl/allocatestack.c (allocate_stack): Check if
28632 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28633 __PTHREAD_MUTEX_HAVE_PREV is defined.
28634 * nptl/descr.h (pthread): Likewise.
28635 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28637 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28638 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28639 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28640 * sysdeps/nptl/bits/thread-shared-types.h
28641 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28643 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28644 of __WORDSIZE for internal layout.
28645 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28646 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28647 instead of __WORDSIZE whether to use an union for __spins and __list
28649 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28651 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28652 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28654 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28655 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28657 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28658 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28660 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28661 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28663 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28664 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28666 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28667 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28669 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28670 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28672 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28673 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28675 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28676 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28678 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28679 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28681 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28682 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28684 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28685 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28687 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28688 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28690 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28691 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28693 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28694 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28697 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28699 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28700 checks for expected input type size.
28701 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28702 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28704 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28705 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28706 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28707 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28708 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28709 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28710 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28711 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28712 superflous runtime assert check.
28713 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28715 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28717 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28719 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28721 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28723 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28725 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28726 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28727 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28729 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28731 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28733 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28735 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28737 * nptl/pthread_attr_setinheritsched.c
28738 (__pthread_attr_setinheritsched): Likewise.
28739 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28741 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28743 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28744 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28745 __old_pthread_attr_setstack): Likewise.
28746 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28748 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28750 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28752 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28753 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28755 * nptl/tst-typesizes.c: Remove file.
28757 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28758 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28759 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28760 checks for internal pthread_mutex_t offsets.
28761 * sysdeps/aarch64/nptl/pthread-offsets.h
28762 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28763 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28764 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28765 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28766 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28767 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28768 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28769 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28770 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28771 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28772 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28773 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28774 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28775 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28776 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28777 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28778 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28779 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28781 2017-11-07 Florian Weimer <fweimer@redhat.com>
28783 * bits/mman-linux.h: Move ...
28784 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28786 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28789 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28791 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28792 Redefine STRNLEN as __strnlen_power8.
28794 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28796 * signal/sighold.c (sighold): Optimize implementation.
28798 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28799 __NR_rt_sigqueueinfo.
28801 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28803 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28804 assume __NR_rt_sigtimedwait.
28805 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28806 and add LIBC_CANCEL_HANDLED for cancellation marking.
28807 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28809 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28810 (sysdeps_routines): Add memchr_noneon.
28811 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28812 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28813 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28814 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28815 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28816 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28817 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28819 * sysdeps/arm/arm-ifunc.h: New file.
28820 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28821 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28822 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28823 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28824 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28825 (__memcpy_neon): Avoid create hidden alias.
28826 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28827 (__memcpy_vfp): Likewise.
28828 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28829 (sysdep_routines): Add memcpy_arm.
28830 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28832 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28835 * Makerules (make-link-multidir): New.
28836 * config.make.in (multidir): New.
28837 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28838 * configure: Regenerated.
28839 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28840 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28841 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28844 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28847 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28848 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28850 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28852 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28855 2017-11-04 Florian Weimer <fweimer@redhat.com>
28857 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28859 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28861 * math/math.h [__HAVE_DISTINCT_FLOAT16
28862 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28863 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28864 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28865 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28866 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28867 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28868 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28869 (__MATH_TG_F32): New macro.
28870 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28871 (__MATH_TG_F64X): Likewise.
28872 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28873 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28875 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28877 * po/de.po: Update translations.
28878 * po/ru.po: Likewise.
28880 2017-11-03 Florian Weimer <fweimer@redhat.com>
28882 * manual/filesys.texi (Hard Links): Document linkat.
28884 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28886 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28887 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28888 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28889 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28890 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28891 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28892 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28893 the same as _Float128.
28894 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28895 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28896 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28899 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28901 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28903 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28905 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28906 (strtof32x): Likewise.
28907 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28908 (strtof64x): Likewise.
28909 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28910 (strtof128x): Likewise.
28911 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28912 (strfromf16): Likewise.
28913 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28914 (strfromf32): Likewise.
28915 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28916 (strfromf64): Likewise.
28917 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28918 (strfromf32x): Likewise.
28919 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28920 (strfromf64x): Likewise.
28921 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28922 (strfromf128x): Likewise.
28923 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28924 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28925 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28926 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28927 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28928 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28930 2017-11-03 Richard Henderson <rth@twiddle.net>
28932 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28934 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28936 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28938 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28940 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28941 DT_TLSDESC_GOT initialization.
28942 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28943 (_dl_tlsdesc_resolve_hold): Likewise.
28944 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28945 (_dl_tlsdesc_resolve_hold): Likewise.
28946 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28947 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28949 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28951 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28953 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28956 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28957 non-lazily for R_ARM_TLS_DESC.
28959 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28962 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28963 R_ARM_TLS_DESC case.
28964 (elf_machine_lazy_rel): Remove the prelink check.
28966 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28968 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28969 DT_TLSDESC_GOT initialization.
28970 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28971 (_dl_tlsdesc_resolve_rela): Likewise.
28972 (_dl_tlsdesc_resolve_hold): Likewise.
28973 (_dl_tlsdesc_undefweak): Remove ldar.
28974 (_dl_tlsdesc_dynamic): Likewise.
28975 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28976 (_dl_tlsdesc_resolve_rela): Likewise.
28977 (_dl_tlsdesc_resolve_hold): Likewise.
28978 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28979 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28980 (_dl_tlsdesc_resolve_rela): Likewise.
28981 (_dl_tlsdesc_resolve_hold): Likewise.
28983 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28985 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28986 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28988 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28990 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28991 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28993 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28995 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28997 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28998 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28999 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29000 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29001 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29002 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29003 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29004 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29005 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29006 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29007 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29009 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29012 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29013 * localedata/locales/tpi_PG: Add standard header.
29015 2017-11-02 Florian Weimer <fweimer@redhat.com>
29017 test-errno-linux: quotactl can fail with EPERM in containers.
29018 * sysdeps/unix/sysv/linux/test-errno-linux.c
29019 (LIST, LIST_FORWARD): New macros.
29020 (check_error_in_list): New function.
29021 (test_wrp_rv): Accept list of permitted error codes.
29022 (test_wrp_rv2): Remove.
29023 (test_wrp): Call test_wrp_rv with list of error codes.
29024 (test_wrp2): Accept list of error codes.
29025 (do_test): Adjust. Allow EPERM for quotactl.
29027 2017-11-02 Florian Weimer <fweimer@redhat.com>
29029 * stdio-common/bug16.c (do_test): Use array_length.
29030 * stdio-common/errlist.c (_sys_nerr): Likewise.
29031 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29032 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29033 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29034 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29035 (do_test): Use array_length.
29036 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29037 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29038 * stdio-common/tst-printf-round.c (do_test): Likewise.
29039 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29040 (CHECK): Use array_length.
29041 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29042 * stdio-common/tstscanf.c (main): Likewise.
29043 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29045 2017-11-02 Florian Weimer <fweimer@redhat.com>
29047 Add array_length and array_end macros.
29048 * include/array_length.h: New file.
29050 2017-11-02 Florian Weimer <fweimer@redhat.com>
29053 * posix/tst-glob-tilde.c (do_noescape): New variable.
29054 (one_test): Process it.
29055 (do_test): Set do_noescape. Add unescaping test case.
29057 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29060 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29061 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29062 with appropriate macros defined and undefined.
29063 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29064 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29065 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29066 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29067 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29068 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29069 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29070 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29071 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29072 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29075 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29076 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29077 that for long double. Do not condition define and undefine of
29078 _Mdouble_complex_ on [__CFLOAT128].
29080 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29082 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29083 of <sysdeps/generic/sysdep.h>.
29084 (ALIGNARG): Removed.
29085 (ASM_SIZE_DIRECTIVE): Likewise.
29088 (ENTRY_CHK): Likewise.
29089 (END_CHK): Likewise.
29090 (syscall_error): Likewise.
29091 (mcount): Likewise.
29092 (PSEUDO_END): Likewise.
29094 (atom_text_section): Likewise.
29095 * sysdeps/x86/sysdep.h: New file.
29096 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29097 of <sysdeps/generic/sysdep.h>.
29098 (ALIGNARG): Removed.
29099 (ASM_SIZE_DIRECTIVE): Likewise.
29102 (ENTRY_CHK): Likewise.
29103 (END_CHK): Likewise.
29104 (syscall_error): Likewise.
29105 (mcount): Likewise.
29106 (PSEUDO_END): Likewise.
29108 (atom_text_section): Likewise.
29110 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29112 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29113 category of LC_CTYPE set to "i18n:2012".
29114 * localedata/locales/i18n_ctype: Regenerate.
29116 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29118 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29119 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29120 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29121 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29123 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29124 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29125 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29126 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29128 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29131 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29133 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29135 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29137 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29138 (CMPLXF32X): Likewise.
29139 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29140 (CMPLXF64X): Likewise.
29141 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29142 (CMPLXF128X): Likewise.
29145 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29146 (__MATH_EVAL_FMT2): Define to add 0.0f.
29148 2017-10-31 Alan Modra <amodra@gmail.com>
29150 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29166 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29167 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29168 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29169 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29173 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29174 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29175 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29176 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29177 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29178 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29180 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29181 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29182 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29183 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29184 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29185 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29186 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29187 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29188 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29190 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29192 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29193 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29194 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29195 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29196 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29197 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29198 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29199 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29200 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29201 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29202 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29203 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29204 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29205 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29206 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29207 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29208 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29209 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29210 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29211 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29212 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29213 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29214 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29215 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29216 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29217 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29218 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29219 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29220 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29223 include sysdep.h and math_ldbl_opt.h.
29225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29226 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29252 2017-10-31 Alan Modra <amodra@gmail.com>
29254 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29255 string/strncase_l.c, not string/strncase.c.
29256 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29257 (libc_hidden_def): Redefine.
29259 2017-10-31 Alan Modra <amodra@gmail.com>
29261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29262 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29263 (__strcasecmp): Don't define.
29265 2017-10-31 Alan Modra <amodra@gmail.com>
29267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29273 2017-10-31 Alan Modra <amodra@gmail.com>
29275 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29278 2017-10-31 Alan Modra <amodra@gmail.com>
29280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29281 Redefine only when SHARED.
29283 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29285 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29286 Include <bits/math-finite.h> with appropriate macros defined and
29288 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29289 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29290 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29291 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29292 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29294 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29295 [!_Mlong_double_] (_Mlong_double_): Likewise.
29296 [!_Mfloat16_] (_Mfloat16_): Likewise.
29297 [!_Mfloat32_] (_Mfloat32_): Likewise.
29298 [!_Mfloat64_] (_Mfloat64_): Likewise.
29299 [!_Mfloat128_] (_Mfloat128_): Likewise.
29300 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29301 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29302 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29303 (_Mdouble_): Define without indirection through those macros.
29304 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29305 [!_Mfloat128_] (_Mfloat128_): Likewise.
29306 [_Mlong_double_] (_Mlong_double_): Likewise.
29307 (_Mdouble_): Define without indirection through those macros.
29308 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29309 not add -D_Mlong_double_=double.
29310 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29311 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29313 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29315 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29317 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29319 * sysdeps/x86/libc-start.c: Reformat.
29321 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29325 (1): Renamed to ...
29328 (L(Src2)): Likewise.
29329 (L(1)): Renamed to ...
29332 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29334 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29335 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29336 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29337 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29338 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29339 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29340 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29341 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29342 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29343 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29344 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29345 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29346 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29347 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29348 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29349 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29350 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29351 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29352 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29353 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29354 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29355 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29356 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29357 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29358 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29359 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29360 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29361 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29362 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29363 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29364 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29365 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29366 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29367 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29368 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29369 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29370 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29371 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29372 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29373 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29374 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29375 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29376 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29377 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29378 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29379 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29380 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29381 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29382 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29383 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29384 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29385 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29386 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29387 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29388 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29389 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29390 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29391 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29392 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29393 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29394 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29395 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29396 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29397 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29398 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29399 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29401 2017-10-30 Florian Weimer <fweimer@redhat.com>
29403 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29405 * io/tst-mkdirat.c (do_test): Likewise.
29406 * io/tst-mkfifoat.c (do_test): Likewise.
29407 * io/tst-mknodat.c (do_test): Likewise.
29408 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29409 * locale/programs/locale.c (select_dirs): Likewise.
29410 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29411 * posix/bug-glob2.c (my_readdir): Likewise.
29412 * posix/tst-dir.c (main): Likewise.
29413 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29414 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29416 2017-10-30 Florian Weimer <fweimer@redhat.com>
29418 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29421 2017-10-30 Florian Weimer <fweimer@redhat.com>
29423 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29424 Convert to support/test-driver.c.
29425 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29426 New macro parameters.
29427 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29428 * posix/tst-gnuglob.c: New file.
29429 * posix/tst-gnuglob64.c: Likewise.
29430 * posix/Makefile (tests): Add tst-gnuglob64.
29432 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29435 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29436 and use a better translation for March in “mon”.
29437 * localedata/locales/csb_PL: Use more ASCII to improve the
29438 readability of the source.
29440 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29443 * localedata/locales/km_KH: Use ASCII as much
29444 as possible for better readability of the source and
29445 remove useless comments.
29446 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29447 was commented out and apparently wrong anyway because it was
29448 using Lao characters. If Buddhist era should be used
29449 for km_KH, a native speaker should write the correct formaat
29451 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29452 (According to CLDR, the first weekday for Cambodia is Sunday).
29453 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29454 (These were using Lao characters which must be wrong. If we get
29455 the correct data from a native speaker, we could add it back, until
29456 then it is better not to have name_mr and name_mrs at all than
29459 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29461 * locale/loadlocale.c: Correct size of
29462 _nl_value_type_LC_<category> arrays.
29464 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29466 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29467 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29468 with appropriate macros defined and undefined.
29469 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29470 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29471 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29472 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29473 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29475 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29477 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29480 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29482 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29483 with lowercase letters to make it agree with CLDR.
29485 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29488 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29489 first letters of yesstr and nostr in yesexpr and noexpr,
29490 not for the full words.
29491 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29492 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29493 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29494 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29495 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29496 first letters of yesstr and nostr in yesexpr and noexpr,
29497 until now only English was matched in yesexpr and noexpr.
29498 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29499 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29500 fil but not for tl. As tl and fil are very similar, using fil
29501 is probably better than using English.
29503 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29506 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29507 in yesstr and nostr.
29509 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29511 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29512 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29513 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29515 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29517 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29519 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29521 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29522 (SNANF128X): Likewise.
29524 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29525 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29526 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29527 (HUGE_VAL_F32): Likewise.
29528 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29529 (HUGE_VAL_F64): Likewise.
29530 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29531 (HUGE_VAL_F32X): Likewise.
29532 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29533 (HUGE_VAL_F64X): Likewise.
29534 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29535 (HUGE_VAL_F128X): Likewise.
29537 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29539 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29540 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29541 for the br_FR locale.
29543 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29546 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29548 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29550 * locale/programs/record-status.h: Define globals, and function
29551 prototypes. Move function bodies...
29552 * locale/programs/record-status.c: ... to here. New file.
29553 * iconv/Makefile (iconv_prog-modules): Add record-status.
29554 * locale/Makefile (lib-modules): Likewise.
29555 * iconv/iconv_prog.c: Remove verbose.
29556 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29557 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29558 record a warning about ASCII compatibility.
29559 * locale/programs/ld-monetary.c (monetary_finish): If
29560 warn_int_curr_symbol is true then record a warning about the symbol
29561 not being in our ISO 4217 list.
29562 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29563 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29564 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29565 (OPT_NO_WARN): Define.
29566 (OPT_WARN): Define.
29567 (options): Add entry for --no-warnings, and --warnings.
29568 (set_warnings): New function to enable/disable warnings.
29569 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29570 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29571 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29572 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29573 Pass flags to generate_locale.
29574 (generate_locale): Accept new flag argument and pass it to localedef
29576 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29577 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29579 * localedata/Makefile (test-input-data): Use full file name.
29580 * localedata/da_DK.in: Rename to...
29581 * localedata/da_DK.ISO-8859-1.in: ...this.
29582 * localedata/de_DE.in: Rename to...
29583 * localedata/de_DE.ISO-8859-1.in: ...this.
29584 * localedata/en_US.in: Rename to...
29585 * localedata/en_US.ISO-8859-1.in: ...this.
29586 * localedata/fr_FR.in: Rename to...
29587 * localedata/fr_FR.UTF-8.in: ... this.
29588 * localedata/hr_HR.in: Rename to...
29589 * localedata/hr_HR.ISO-8859-2.in: ...this.
29590 * localedata/hu_HU.in: Rename to...
29591 * localedata/hu_HU.UTF-8.in: ...this.
29592 * localedata/si_LK.in: Rename to...
29593 * localedata/si_LK.UTF-8.in: ...this.
29594 * localedata/sv_SE.in: Rename to...
29595 * localedata/sv_SE.ISO-8859-1.in: ...this.
29596 * localedata/tr_TR.in: Rename to...
29597 * localedata/tr_TR.UTF-8.in: ...this.
29598 * localedata/uk_UA.in: Rename to...
29599 * localedata/uk_UA.UTF-8.in: ...this.
29600 * localedata/sort-test.sh: Test file is locale name with the
29603 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29604 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29606 * localedata/locales/i18n_ctype: Regenerate.
29607 * localedata/locales/tr_TR: Likewise.
29608 * localedata/locales/translit_circle: Likewise.
29609 * localedata/locales/translit_cjk_compat: Likewise.
29610 * localedata/locales/translit_combining: Likewise.
29611 * localedata/locales/translit_compat: Likewise.
29612 * localedata/locales/translit_font: Likewise.
29613 * localedata/locales/translit_fraction: Likewise.
29615 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29618 lxvd2x/stxvd2x with lvx/stvx.
29619 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29621 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29623 * include/alloc_buffer.h: Replace "if if " with "if " in
29625 * sysdeps/mips/memcpy.S: Likkewise.
29626 * sysdeps/mips/memset.S: Likewise.
29627 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29629 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29631 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29634 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29637 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29638 yesexpr and noexpr.
29639 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29640 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29641 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29642 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29643 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29644 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29645 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29647 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29649 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29650 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29651 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29652 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29653 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29654 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29655 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29656 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29657 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29658 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29659 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29660 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29662 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29664 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29665 as possible for better readability of the source.
29666 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29667 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29668 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29669 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29670 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29671 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29672 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29673 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29674 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29675 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29676 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29677 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29678 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29679 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29680 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29681 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29682 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29683 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29684 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29685 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29686 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29687 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29688 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29689 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29690 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29691 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29692 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29693 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29694 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29695 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29696 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29697 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29698 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29699 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29700 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29701 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29702 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29703 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29704 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29705 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29706 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29707 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29708 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29709 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29710 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29711 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29712 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29713 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29714 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29715 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29716 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29717 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29718 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29719 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29720 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29721 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29722 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29723 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29724 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29725 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29726 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29727 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29728 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29729 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29730 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29731 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29732 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29733 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29734 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29735 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29736 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29737 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29738 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29739 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29740 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29741 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29742 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29743 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29744 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29745 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29746 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29747 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29748 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29749 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29750 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29751 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29752 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29753 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29754 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29755 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29756 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29757 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29758 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29759 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29760 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29761 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29762 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29763 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29764 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29765 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29766 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29767 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29768 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29769 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29770 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29771 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29772 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29773 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29774 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29775 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29776 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29777 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29778 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29779 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29780 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29781 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29782 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29783 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29784 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29785 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29786 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29787 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29788 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29789 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29790 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29791 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29792 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29793 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29794 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29795 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29796 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29797 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29798 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29799 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29800 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29801 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29802 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29803 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29804 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29805 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29806 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29807 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29808 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29809 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29810 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29811 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29812 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29813 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29814 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29815 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29816 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29817 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29818 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29819 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29820 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29821 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29822 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29823 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29824 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29825 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29826 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29827 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29828 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29829 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29830 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29831 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29832 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29833 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29834 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29835 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29836 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29837 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29838 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29839 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29841 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29843 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29844 (Use first letters of yesstr and nostr correctly instead of using
29847 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29849 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29850 (Use first letters of yesstr and nostr correctly).
29852 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29854 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29855 also check for the first characters of yesstr and nostr.
29856 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29857 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29859 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29861 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29862 also check for Chinese characters.
29864 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29866 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29867 match also for the contents of yesstr and nostr. As the first letter
29868 of yesstr and nostr is equal, checking only for the first letter
29871 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29873 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29874 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29876 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29878 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29879 of main contributor.
29881 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29883 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29884 instead of using English.
29886 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29888 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29889 by including the first letters of nostr and yesexpr in the regexp.
29890 Also make it more readable by using ASCII where possible.
29892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29894 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29895 the first letter of nostr in the regexp. It agrees with CLDR now.
29896 Also make it more readable by using ASCII where possible.
29898 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29900 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29901 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29902 these strings contain a U+17D6 (which somewhat looks like a colon)
29903 instead of a real colon to separate the full words for “yes”
29904 and “no” from the single letter responses.
29906 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29908 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29909 it agree with CLDR (include the first letter of yesstr).
29910 Also make it more readable by using ASCII where possible.
29912 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29914 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29915 and improve yesexpr and noexpr. The yesstr and nostr apparently
29916 came from CLDR. And CLDR has a bug there: these strings contain
29917 a U+0903 (which looks like a colon) instead of a real colon
29918 to separate the full words for “yes” and “no” from the single
29921 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29923 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29924 letters of the full yesstr and nostr in yesexpr and noexpr.
29926 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29928 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29929 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29930 * localedata/locales/an_ES: Make source more readable by using ASCII
29933 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29936 * localedata/locales/yuw_PG: New file.
29937 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29938 * locale/iso-639.def: Add Yau (Uruwa).
29940 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29942 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29944 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29946 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29947 (__libc_realloc): Likewise.
29948 (_mid_memalign): Likewise.
29949 (__libc_calloc): Likewise.
29951 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29953 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29954 by adding the generic +1 and -0 as in all other locales.
29955 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29956 day names and make it more readable by using ASCII where possible.
29958 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29960 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29961 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29963 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29965 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29966 WNOHANG in waitpid call.
29968 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29970 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29971 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29973 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29974 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29975 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29976 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29977 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29978 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29979 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29980 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29983 2017-10-23 Michael Collison <michael.collison@arm.com>
29985 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29986 with __builtin_sqrt.
29987 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29988 with __builtin_sqrtf.
29989 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29990 with __builtin_ceil.
29991 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29992 with __builtin_ceilf.
29993 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29994 with __builtin_floor.
29995 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29996 with __builtin_floorf.
29997 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29998 with __builtin_fma.
29999 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30000 with __builtin_fmaf.
30001 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30002 with __builtin_fmax.
30003 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30004 with __builtin_fmaxf.
30005 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30006 with __builtin_fmin.
30007 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30008 with __builtin_fminf.
30009 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30010 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30011 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30012 with builtin_rint and conversion to int.
30013 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30014 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30015 with builtin_llround.
30016 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30017 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30018 with builtin_rint and conversion to long int.
30019 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30020 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30021 with builtin_lround.
30022 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30023 with builtin_lroundf.
30024 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30025 statements with __builtin_nearbyint.
30026 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30027 statements with __builtin_nearbyintf.
30028 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30029 with __builtin_rint.
30030 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30031 with __builtin_rintf.
30032 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30033 with __builtin_round.
30034 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30035 with __builtin_roundf.
30036 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30037 with __builtin_trunc.
30038 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30039 with __builtin_truncf.
30040 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30041 and s_l[l]round[f].c too.
30043 2017-10-23 Alan Modra <amodra@gmail.com>
30045 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30046 Adjust stack after restoring regs. Add missing LR cfi_restore.
30048 2017-10-23 Alan Modra <amodra@gmail.com>
30050 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30051 Move LR save and frame setup/teardown and LR restore to
30052 immediately around memset call. Provide cfi.
30054 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30056 * sysdeps/i386/fpu/e_powf.S: Removed.
30057 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30058 * sysdeps/i386/fpu/w_powf.c: Likewise.
30059 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30060 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30061 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30063 (CFLAGS-e_powf-sse2.c): New.
30064 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30065 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30067 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30069 * sysdeps/i386/fpu/e_log2f.S: Removed.
30070 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30071 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30072 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30073 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30074 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30076 (CFLAGS-e_log2f-sse2.c): New.
30077 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30078 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30080 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30082 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30084 (CFLAGS-e_powf-fma.c): New.
30085 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30086 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30088 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30090 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30092 (CFLAGS-e_log2f-fma.c): New.
30093 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30094 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30096 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30098 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30100 (CFLAGS-e_logf-fma.c): New.
30101 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30102 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30104 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30106 * sysdeps/i386/fpu/e_logf.S: Removed.
30107 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30108 * sysdeps/i386/fpu/w_logf.c: Likewise.
30109 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30110 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30111 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30112 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30114 (CFLAGS-e_logf-sse2.c): New.
30115 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30116 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30118 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30120 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30121 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30122 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30124 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30126 (CFLAGS-e_exp2f-sse2.c): New.
30127 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30128 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30134 (CFLAGS-e_exp2f-fma.c): New.
30135 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30136 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30138 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30140 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30141 * sysdeps/i386/fpu/e_expf.S: Likewise.
30142 * sysdeps/i386/fpu/math_errf.c: Likewise.
30143 * sysdeps/i386/fpu/w_expf.c: Likewise.
30144 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30146 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30147 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30148 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30149 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30150 Remove e_expf-ia32.
30151 (CFLAGS-e_expf-sse2.c): New.
30152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30153 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30155 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30157 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30158 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30159 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30160 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30162 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30164 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30165 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30167 (__redirect_expf): This.
30168 (SYMBOL_NAME): Changed to expf.
30169 (__ieee754_expf): Renamed to ...
30171 (__GI___expf): This.
30172 (__ieee754_expf): Add strong_alias.
30173 (__expf_finite): Likewise.
30175 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30177 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30180 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30183 2017-10-21 Florian Weimer <fweimer@redhat.com>
30185 * posix/Makefile (tests): Add tst-glob-tilde.
30186 (tests-special): Add tst-glob-tilde-mem.out
30187 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30188 (tst-glob-tilde-mem.out): Add mtrace check.
30189 * posix/tst-glob-tilde.c: New file.
30191 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30193 * bits/floatn-common.h: New file.
30194 * math/Makefile (headers): Add bits/floatn-common.h.
30195 * bits/floatn.h: Include <bits/floatn-common.h>.
30196 * sysdeps/ia64/bits/floatn.h: Likewise.
30197 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30198 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30199 * sysdeps/powerpc/bits/floatn.h: Likewise.
30200 * sysdeps/x86/bits/floatn.h: Likewise.
30202 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30204 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30205 indicates whether compiler emits an warning for alias for
30206 functions with incompatible types.
30209 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30210 the auxiliary process is terminated by a signal before calling _exit
30213 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30216 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30218 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30219 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30220 and bit_arch_XSAVEC_Usable if needed.
30221 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30222 and bit_arch_Use_dl_runtime_resolve_opt.
30223 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30225 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30226 (bit_arch_Prefer_No_AVX512): Updated.
30227 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30228 (bit_arch_XSAVEC_Usable): New.
30229 (STATE_SAVE_OFFSET): Likewise.
30230 (STATE_SAVE_MASK): Likewise.
30231 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30232 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30233 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30234 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30235 (index_arch_XSAVEC_Usable): New.
30236 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30237 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30238 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30240 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30241 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30242 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30243 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30244 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30245 _dl_runtime_resolve_xsavec.
30246 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30248 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30249 instead of VEC_SIZE.
30250 (REGISTER_SAVE_BND0): Removed.
30251 (REGISTER_SAVE_BND1): Likewise.
30252 (REGISTER_SAVE_BND3): Likewise.
30253 (REGISTER_SAVE_RAX): Always defined to 0.
30255 (_dl_runtime_resolve_avx): Likewise.
30256 (_dl_runtime_resolve_avx_slow): Likewise.
30257 (_dl_runtime_resolve_avx_opt): Likewise.
30258 (_dl_runtime_resolve_avx512): Likewise.
30259 (_dl_runtime_resolve_avx512_opt): Likewise.
30260 (_dl_runtime_resolve_sse): Likewise.
30261 (_dl_runtime_resolve_sse_vex): Likewise.
30263 (_dl_runtime_resolve_fxsave): Likewise.
30264 (USE_XSAVE): Likewise.
30265 (_dl_runtime_resolve_xsave): Likewise.
30266 (USE_XSAVEC): Likewise.
30267 (_dl_runtime_resolve_xsavec): Likewise.
30268 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30270 (_dl_runtime_resolve_avx512_opt): Likewise.
30271 (_dl_runtime_resolve_avx): Likewise.
30272 (_dl_runtime_resolve_avx_opt): Likewise.
30273 (_dl_runtime_resolve_sse): Likewise.
30274 (_dl_runtime_resolve_sse_vex): Likewise.
30275 (_dl_runtime_resolve_fxsave): New.
30276 (_dl_runtime_resolve_xsave): Likewise.
30277 (_dl_runtime_resolve_xsavec): Likewise.
30279 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30283 * posix/glob.c (__glob): Fix one-byte overflow.
30285 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30287 * malloc/malloc.c (sysdep-cancel.h): Add include.
30289 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30291 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30293 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30295 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30296 (tests): Remove $(objpfx)ga_test depdendency.
30297 * resolv/ga_test.c: Remove file.
30299 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30302 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30303 * localedata/locales/kab_DZ: New file.
30305 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30307 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30308 _dl_relocate_static_pie instead of _dl_start to compute load
30309 address in static PIE.
30311 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30313 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30315 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30318 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30319 * localedata/locales/shn_MM: New file.
30321 2017-10-20 Florian Weimer <fweimer@redhat.com>
30324 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30325 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30326 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30327 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30328 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30329 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30331 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30333 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30335 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30337 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30340 * sysdeps/mips/bits/long-double.h: Move to ....
30341 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30343 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30345 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30347 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30348 H.J. Lu <hongjiu.lu@intel.com>
30351 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30352 GLRO(dl_platform) to NULL.
30353 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30354 (modules-names): Add tst-platformmod-1 and
30355 x86_64/tst-platformmod-2.
30356 (CFLAGS-tst-platform-1.c): New.
30357 (CFLAGS-tst-platformmod-1.c): Likewise.
30358 (CFLAGS-tst-platformmod-2.c): Likewise.
30359 (LDFLAGS-tst-platformmod-2.so): Likewise.
30360 ($(objpfx)tst-platform-1): Likewise.
30361 ($(objpfx)tst-platform-1.out): Likewise.
30362 (tst-platform-1-ENV): Likewise.
30363 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30364 * sysdeps/x86_64/tst-platform-1.c: New file.
30365 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30366 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30368 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30371 * locale/iso-639.def: Add Karbi.
30372 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30373 * localedata/locales/mjw_IN: New file.
30375 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30377 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30378 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30379 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30380 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30381 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30382 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30383 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30385 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30386 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30387 * manual/math.texi (Mathematics): Document additional architecture
30388 support for _Float128.
30389 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30390 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30391 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30392 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30393 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30394 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30395 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30401 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30405 2017-10-18 Renlin Li <renlin.li@arm.com>
30407 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30408 _DYNAMIC symbol to calculate load address.
30410 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30412 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30413 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30415 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30416 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30418 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30421 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30422 and improve readability by using more ASCII.
30423 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30424 and improve readability by using more ASCII.
30426 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30428 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30429 not all targets support atomics on bool.
30431 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30433 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30434 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30436 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30437 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30438 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30439 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30440 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30441 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30443 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30445 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30448 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30451 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30452 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30453 (do_check_remalloced_chunk): Fix build bug.
30454 (do_check_malloc_state): Add assert that checks arena->top.
30455 (malloc_consolidate): Remove initialization.
30456 (int_mallinfo): Remove call to malloc_consolidate.
30457 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30459 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30461 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30462 (have_fastchunks): Remove.
30463 (clear_fastchunks): Remove.
30464 (set_fastchunks): Remove.
30465 (malloc_state): Add have_fastchunks.
30466 (malloc_init_state): Use have_fastchunks.
30467 (do_check_malloc_state): Remove incorrect invariant checks.
30468 (_int_malloc): Use have_fastchunks.
30469 (_int_free): Likewise.
30470 (malloc_consolidate): Likewise.
30472 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30474 * malloc/malloc.c (tcache_put): Inline.
30475 (tcache_get): Inline.
30477 2017-10-17 Jordi Mallach <jordi@gnu.org>
30479 Aurelien Jarno <aurelien@aurel32.net>
30481 * localedata/locales/ca_ES@valencia: New file.
30482 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30484 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30487 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30490 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30492 * scripts/build-many-glibcs.py (Context.add_all_configs):
30493 Add arm-linux-gnueabihf multiarch extra_glibcs.
30495 * sysdeps/generic/ifunc-init.h: New file.
30496 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30498 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30501 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30502 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30503 * stdlib/tst-strfmon_l.c: adapt test case.
30505 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30507 * sysdeps/generic/float128-abi.h: New file.
30508 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30509 non-__prefixed symbols to ....
30510 * math/Versions: ... here. Include <float128-abi.h>.
30511 * stdlib/Versions ... and here. Include <float128-abi.h>
30513 2017-10-16 Florian Weimer <fweimer@redhat.com>
30515 * version.h (VERSION): Switch to ".9000" as the development
30518 2017-10-16 Florian Weimer <fweimer@redhat.com>
30521 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30522 compat_symbol_reference to access non-default version.
30524 2017-10-16 Florian Weimer <fweimer@redhat.com>
30526 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30528 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30530 * include/shlib-compat.h (compat_symbol_reference): Update
30533 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30535 * math/Makefile (test-types): Add
30536 $(type-float128-$(float128-alias-fcts)).
30537 * math/test-float128.h (TYPE_STR): Define conditional on
30538 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30539 (ULP_IDX): Likewise.
30540 (ULP_I_IDX): Likewise.
30542 * stdlib/strtold.c: Include <bits/floatn.h>
30543 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30544 and later undefine as macro. Define as weak alias if
30546 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30547 and later undefine as macro. Define as weak alias if
30549 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30550 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30551 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30552 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30553 Define and later undefine as macro. Define as weak alias if
30555 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30557 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30558 Define and later undefine as macro. Define as weak alias if
30560 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30561 Define and later undefine as macro. Define as weak alias if
30564 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30566 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30567 record_verbose messages.
30569 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30572 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30573 to silence -O3 -Wall warning with GCC 7.
30575 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30577 * Makeconfig (+link-static-before-libc): Use the first of
30578 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30579 * gmon/Makefile (tests): Add tst-gmon-static.
30580 (tests-static): Likewise.
30581 (CFLAGS-tst-gmon-static.c): New.
30582 (CRT-tst-gmon-static): Likewise.
30583 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30584 (tst-gmon-static-ENV): Likewise.
30585 (tests-special): Likewise.
30586 ($(objpfx)tst-gmon-static.out): Likewise.
30587 (clean-tst-gmon-static-data): Likewise.
30588 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30589 * gmon/tst-gmon-static-gprof.sh: New file.
30590 * gmon/tst-gmon-static.c: Likewise.
30592 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30595 * locale/programs/linereader.c (get_string): Don't warn on
30596 non-symbolic character.
30599 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30603 * locale/programs/record-status.h: New file
30604 * locale/programs/locale.c: Add comment.
30605 * locale/programs/charmap-dir.c: Don't include error.h.
30606 (charmap_opendir): Use record_error.
30607 * locale/programs/charmap.c: Don't include error.h.
30608 (charmap_read): Use record_error, and record_warning.
30609 (parse_charmap): Likewise.
30610 * locale/programs/ld-address.c: Don't include error.h.
30611 (address_finish): Use record_error, and record_warning.
30612 * locale/programs/ld-collate.c: Don't include error.h.
30613 (collate_finish): Use record_error, and record_error_at_line.
30614 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30615 (ctype_class_new): Likewise.
30616 (ctype_map_new): Likewise.
30617 (set_one_default): Likewise.
30618 (set_class_defaults): Likewise.
30619 (translit_flatten): Likewise.
30620 (allocate_arrays): Use record_error, and record_verbose.
30621 * locale/programs/ld-identification.c: Don't include error.h.
30622 (indentation_finish): Use record_error and record_warning.
30623 * locale/programs/ld-measurement.c: Don't include error.h.
30624 (measurement_finish): Use record_error.
30625 * locale/programs/ld-messages.c
30626 (message_finish): Likewise.
30627 * locale/programs/ld-monetary.c
30628 (monetary_finish): Likewise.
30629 * locale/programs/ld-name.c (name_finish): Use record_error
30630 and record_warning.
30631 * locale/programs/ld-numeric.c
30632 (numeric_finish): Use record_error.
30633 * locale/programs/ld-paper.c: Don't include error.h.
30634 (paper_finish): Use record_error.
30635 * locale/programs/ld-telephone.c: Don't include error.h.
30636 (telephone_finish): Use record_error.
30637 * locale/programs/ld-time.c (time_finish): Likewise.
30638 * locale/programs/linereader.h (lr_error): Make inline func.
30639 * locale/programs/localedef.c: Define recorded_warning_count,
30640 and recorded_error_count.
30641 (main): Use record_error. Use recorded_error_count and
30642 recorded_warning_count to issue correct error returns.
30643 (add_to_readlist): Use record_error.
30644 (find_locale): Likewise.
30645 (load_locale): Likewise.
30646 * locale/programs/localedef.h: Remove be_quiet
30647 and WITH_CUR_LOCALE.
30648 * locale/programs/locarchive.c (compare_from_file): Use
30650 * locale/programs/locfile.c (write_locale_data): Use
30652 * locale/programs/repertoire.c: Dont include error.h.
30653 (repertoire_complain): Use record_error.
30654 * localedata/tst-fmon.sh: Expect failures from localedef.
30655 * localedata/tst-locale.sh: Likewise.
30656 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30658 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30659 (REPORTS): Likewise.
30661 (i18n): Rename to...
30662 (i18n_ctype): ...this.
30663 (i18n-report): Rename to...
30664 (i18n_ctype-report): ...this.
30665 * localedata/locales/i18n_ctype: Regenerate.
30666 * localedata/locales/i18n: copy i18n_ctype.
30668 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30670 * stdlib/strfroml.c: Include <bits/floatn.h>.
30671 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30672 Define before include of <stdlib.h> and undefine afterwards, then
30673 define as weak alias.
30675 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30676 Undefine and restore default definition. Use
30677 libm_alias_ldouble_other.
30679 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30682 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30685 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30688 Assign sym_map to be map for local symbols, as TLS relocations
30689 use sym_map to determine whether the symbol is defined and to
30690 extract the TLS information.
30691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30694 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30697 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30698 (math_force_eval): Add powerpc version.
30701 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30703 (do_test): Likewise.
30704 * stdio-common/tst-printf.sh: Likewise.
30705 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30706 ifdef clause in order to set the carry bit right. Replace r0 by
30707 0 without changing the behavior.
30709 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30711 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30712 <libm-alias-ldouble.h>.
30713 (fabsl): Define using libm_alias_ldouble.
30714 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30715 <libm-alias-ldouble.h>.
30716 (fabsl): Define using libm_alias_ldouble.
30718 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30719 Remove conditional code.
30721 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30722 Rename to __clog10_internal_l.
30723 (__clog10_internal_l): Define aliases using
30724 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30727 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30729 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30730 * benchtests/sincosf-inputs: New file.
30731 * benchtests/cosf-inputs: New file.
30732 * benchtests/sinf-inputs: New file.
30734 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30736 * posix/tst-spawn.c (do_test): Wait for both children.
30738 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30741 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30742 tests-pie): Add tst-gmon-pie.
30743 (CFLAGS-tst-gmon-pie.c): New.
30744 (CRT-tst-gmon-pie): Likewise.
30745 (tst-gmon-pie-ENV): Likewise.
30746 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30747 ($(objpfx)tst-gmon-pie.out): Likewise.
30748 (clean-tst-gmon-pie-data): Likewise.
30749 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30750 * gmon/gmon.c [PIC]: Include <link.h>.
30751 [PIC] (callback): New function.
30752 (write_hist): Add an argument for load address. Subtract load
30754 (write_call_graph): Likewise.
30755 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30756 it to write_hist and write_call_graph.
30757 * gmon/tst-gmon-pie.c: New file.
30759 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30761 * math/Makefile (test-types-basic): New variable.
30762 (test-types): Likewise.
30763 (libm-test-support): Use $(test-types) instead of $(types).
30764 (libm-tests-base-normal): Likewise.
30765 (libm-tests-base-finite): Likewise.
30766 (libm-tests-base-inline): Likewise.
30767 (generated): Likewise.
30768 ($(objpfx)libm-test-support-$(t).c): Likewise.
30769 (libm-tests-for-type iterator): Likewise.
30770 (libm-test-support iterator): Likewise.
30771 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30772 (ulp_idx): Use ULP_IDX.
30773 * math/test-ldouble.h: Include <float.h>.
30774 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30775 (ULP_IDX): New macro.
30776 (ULP_I_IDX): Likewise.
30777 * math/test-double.h (ULP_IDX): Likewise.
30778 (ULP_I_IDX): Likewise.
30779 * math/test-float.h (ULP_IDX): Likewise.
30780 (ULP_I_IDX): Likewise.
30781 * math/test-float128.h (ULP_IDX): Likewise.
30782 (ULP_I_IDX): Likewise.
30784 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30786 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30787 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30788 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30789 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30790 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30791 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30792 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30795 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30796 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30797 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30798 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30800 (SINGLE_THREAD_BY_GLOBAL): Define.
30801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30803 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30805 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30807 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30809 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30810 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30814 2017-10-11 Andreas Schwab <schwab@suse.de>
30816 * nis/Makefile (aux): Remove.
30817 * nscd/Makefile (aux): Add nscd_hash.
30818 (nscd-modules): Likewise.
30819 ($(objpfx)nscd): Don't depend on libnsl.
30820 * nscd/nscd_hash.c: New file.
30821 * nscd/nscd_hash.h: Likewise.
30822 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30823 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30824 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30825 instead of <nis/rpcsvc/nis.h>.
30826 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30828 2017-10-11 Florian Weimer <fweimer@redhat.com>
30831 Avoid large NSS buffers with many addresses, aliases.
30832 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30833 using dynarrays and struct alloc_buffer.
30834 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30835 (tst-nss-files-hosts-multi): Link with -ldl.
30836 * nss/tst-nss-files-hosts-multi.c: New file.
30838 2017-10-11 Florian Weimer <fweimer@redhat.com>
30841 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30842 scratch_buffer. Eliminate gotos.
30844 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30846 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30847 libm_alias_ldouble_other.
30848 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30849 undefine and redefine.
30850 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30851 (exp10l): Do not define here.
30852 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30853 (weak_alias): Undefine and redefine.
30854 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30855 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30856 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30857 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30859 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30860 [!__fma] (fma): Define using libm_alias_double.
30861 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30862 [!__fmaf] (fmaf): Define using libm_alias_float.
30863 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30864 (fmal): Define using libm_alias_ldouble.
30866 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30868 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30870 (libm_alias_double_other): Likewise.
30871 (libm_alias_double_r): Use libm_alias_double_other_r.
30872 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30874 (libm_alias_float_other): Likewise.
30875 (libm_alias_float_r): Use libm_alias_float_other_r.
30876 * sysdeps/generic/libm-alias-float128.h
30877 (libm_alias_float128_other_r): New macro.
30878 (libm_alias_float128_other): Likewise.
30879 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30880 * sysdeps/generic/libm-alias-ldouble.h
30881 (libm_alias_ldouble_other_r): New macro.
30882 (libm_alias_ldouble_other): Likewise.
30883 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30884 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30885 (libm_alias_double_other_r): New macro.
30886 (libm_alias_double_other): Likewise.
30887 (libm_alias_double_r): Use libm_alias_double_other_r.
30888 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30889 (libm_alias_ldouble_other_r): New macro.
30890 (libm_alias_ldouble_other): Likewise.
30891 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30892 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30893 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30894 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30895 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30896 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30897 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30898 * math/w_exp2f.c: Use libm_alias_float_other.
30899 * math/w_expf.c: Likewise.
30900 * math/w_log2f.c: Likewise.
30901 * math/w_logf.c: Likewise.
30902 * math/w_powf.c: Likewise.
30903 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30904 [!__exp2f]: Use libm_alias_float_other.
30905 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30906 [!__expf]: Use libm_alias_float_other.
30907 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30908 [!__log2f]: Use libm_alias_float_other.
30909 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30910 [!__logf]: Use libm_alias_float_other.
30911 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30912 [!__powf]: Use libm_alias_float_other.
30914 2017-10-10 Florian Weimer <fweimer@redhat.com>
30916 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30918 (_nss_files_gethostbyname3_r): Call it.
30920 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30922 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30923 error. Remove default definition of declare_mgen_alias.
30924 [!declare_mgen_alias_r]: Likewise.
30925 * sysdeps/generic/math-type-macros-double.h
30926 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30927 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30928 (declare_mgen_alias_r): Likewise.
30929 * sysdeps/generic/math-type-macros-float128.h
30930 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30931 * sysdeps/generic/math-type-macros-ldouble.h
30932 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30933 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30935 (declare_mgen_alias_r_s): Likewise.
30936 (declare_mgen_alias_r): Likewise.
30937 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30938 (lgamma_r): Define using libm_alias_double_r.
30939 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30940 (lgammaf_r): Define using libm_alias_float_r.
30941 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30942 (lgammal_r): Define using libm_alias_ldouble_r.
30943 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30944 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30946 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30948 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30949 extern declaration.
30951 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30953 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30955 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30958 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30959 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30960 * math/Makefile (test-math-cxx11): New test.
30961 * math/test-math-cxx11.cc: New file.
30963 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30965 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30967 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30968 call to allocate the slave pty file descriptor.
30970 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30973 [!__fma] (fma): Define using libm_alias_double.
30974 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30975 [!__fma] (fma): Define using libm_alias_double.
30977 * sysdeps/ieee754/float128/float128_private.h: Include
30978 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30979 (libm_alias_ldouble_r): Undefine and redefine.
30980 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30981 <libm-alias-ldouble.h>.
30982 (asinhl): Define using libm_alias_ldouble.
30983 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30984 <libm-alias-ldouble.h>.
30985 (atanl): Define using libm_alias_ldouble.
30986 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30987 <libm-alias-ldouble.h>.
30988 (cbrtl): Define using libm_alias_ldouble.
30989 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30990 <libm-alias-ldouble.h>.
30991 (ceill): Define using libm_alias_ldouble.
30992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30993 <libm-alias-ldouble.h>.
30994 (copysignl): Define using libm_alias_ldouble.
30995 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30996 <libm-alias-ldouble.h>.
30997 (cosl): Define using libm_alias_ldouble.
30998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30999 <libm-alias-ldouble.h>.
31000 (erfl): Define using libm_alias_ldouble.
31002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31003 <libm-alias-ldouble.h>.
31004 (expm1l): Define using libm_alias_ldouble.
31005 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31006 <libm-alias-ldouble.h>.
31007 (fabsl): Define using libm_alias_ldouble.
31008 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31009 <libm-alias-ldouble.h>.
31010 (floorl): Define using libm_alias_ldouble.
31011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31012 <libm-alias-ldouble.h>.
31013 (fmal): Define using libm_alias_ldouble.
31014 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31015 <libm-alias-ldouble.h>.
31016 (frexpl): Define using libm_alias_ldouble.
31017 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31018 libm_alias_ldouble.
31019 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31020 <libm-alias-ldouble.h>.
31021 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31022 libm_alias_ldouble.
31023 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31024 <libm-alias-ldouble.h>.
31025 (getpayloadl): Define using libm_alias_ldouble.
31026 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31027 <libm-alias-ldouble.h>.
31028 (llrintl): Define using libm_alias_ldouble.
31029 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31030 <libm-alias-ldouble.h>.
31031 (llroundl): Define using libm_alias_ldouble.
31032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31033 <libm-alias-ldouble.h>.
31034 (logbl): Define using libm_alias_ldouble.
31035 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31036 <libm-alias-ldouble.h>.
31037 (lrintl): Define using libm_alias_ldouble.
31038 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31039 <libm-alias-ldouble.h>.
31040 (lroundl): Define using libm_alias_ldouble.
31041 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31042 <libm-alias-ldouble.h>.
31043 (modfl): Define using libm_alias_ldouble.
31044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31045 <libm-alias-ldouble.h>.
31046 (nearbyintl): Define using libm_alias_ldouble.
31047 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31048 <libm-alias-ldouble.h>.
31049 (nextafterl): Define using libm_alias_ldouble.
31050 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31051 <libm-alias-ldouble.h>.
31052 (nextupl): Define using libm_alias_ldouble.
31053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31054 <libm-alias-ldouble.h>.
31055 (remquol): Define using libm_alias_ldouble.
31056 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31057 <libm-alias-ldouble.h>.
31058 (rintl): Define using libm_alias_ldouble.
31059 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31060 <libm-alias-ldouble.h>.
31061 (roundevenl): Define using libm_alias_ldouble.
31062 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31063 <libm-alias-ldouble.h>.
31064 (roundl): Define using libm_alias_ldouble.
31065 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31066 using libm_alias_ldouble.
31067 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31068 <libm-alias-ldouble.h>.
31069 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31070 Define using libm_alias_ldouble.
31071 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31072 <libm-alias-ldouble.h>.
31073 (sincosl): Define using libm_alias_ldouble.
31074 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31075 <libm-alias-ldouble.h>.
31076 (sinl): Define using libm_alias_ldouble.
31077 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31078 <libm-alias-ldouble.h>.
31079 (tanhl): Define using libm_alias_ldouble.
31080 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31081 <libm-alias-ldouble.h>.
31082 (tanl): Define using libm_alias_ldouble.
31083 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31084 <libm-alias-ldouble.h>.
31085 (totalorderl): Define using libm_alias_ldouble.
31086 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31087 <libm-alias-ldouble.h>.
31088 (totalordermagl): Define using libm_alias_ldouble.
31089 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31090 <libm-alias-ldouble.h>.
31091 (truncl): Define using libm_alias_ldouble.
31092 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31093 libm_alias_ldouble.
31094 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31095 libm_alias_ldouble.
31096 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31097 <libm-alias-ldouble.h>.
31098 (weak_alias): Do not undefine and redefine.
31099 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31100 (copysignl): Define with long_double_symbol only if [IS_IN
31102 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31103 <libm-alias-ldouble.h>.
31104 (weak_alias): Do not undefine and redefine.
31105 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31106 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31107 * sysdeps/ieee754/ldbl-64-128/s_modfl.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 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31112 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31113 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31116 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31119 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31122 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31127 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31129 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31137 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31140 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31141 (tcache_thread_freeres): Set tcache_shutting_down before
31142 freeing the tcache.
31143 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31144 * malloc/tst-malloc-tcache-leak.c: New file.
31146 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31149 back to powerpc32 file.
31150 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31151 (memrchr): Add __memrchr_power8 to ifunc list.
31152 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31153 extra bytes for unaligned inputs.
31155 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31157 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31158 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31163 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31165 * sysdeps/arm/libm-test-ulps: Update.
31167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31168 <libm-alias-ldouble.h>.
31169 (asinhl): Define using libm_alias_ldouble.
31170 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31171 <libm-alias-ldouble.h>.
31172 (cbrtl): Define using libm_alias_ldouble.
31173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31174 <libm-alias-ldouble.h>.
31175 (copysignl): Define using libm_alias_ldouble.
31176 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31177 <libm-alias-ldouble.h>.
31178 (cosl): Define using libm_alias_ldouble.
31179 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31180 <libm-alias-ldouble.h>.
31181 (erfl): Define using libm_alias_ldouble.
31183 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31184 <libm-alias-ldouble.h>.
31185 (fmal): Define using libm_alias_ldouble.
31186 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31187 <libm-alias-ldouble.h>.
31188 (frexpl): Define using libm_alias_ldouble.
31189 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31190 libm_alias_ldouble.
31191 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31192 <libm-alias-ldouble.h>.
31193 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31194 libm_alias_ldouble.
31195 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31196 <libm-alias-ldouble.h>.
31197 (getpayloadl): Define using libm_alias_ldouble.
31198 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31199 <libm-alias-ldouble.h>.
31200 (llrintl): Define using libm_alias_ldouble.
31201 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31202 <libm-alias-ldouble.h>.
31203 (llroundl): Define using libm_alias_ldouble.
31204 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31205 <libm-alias-ldouble.h>.
31206 (lrintl): Define using libm_alias_ldouble.
31207 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31208 <libm-alias-ldouble.h>.
31209 (lroundl): Define using libm_alias_ldouble.
31210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31211 <libm-alias-ldouble.h>.
31212 (modfl): Define using libm_alias_ldouble.
31213 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31214 <libm-alias-ldouble.h>.
31215 (nextupl): Define using libm_alias_ldouble.
31216 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31217 <libm-alias-ldouble.h>.
31218 (remquol): Define using libm_alias_ldouble.
31219 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31220 <libm-alias-ldouble.h>.
31221 (roundevenl): Define using libm_alias_ldouble.
31222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31223 <libm-alias-ldouble.h>.
31224 (roundl): Define using libm_alias_ldouble.
31225 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31226 using libm_alias_ldouble.
31227 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31228 <libm-alias-ldouble.h>.
31229 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31230 <libm-alias-ldouble.h>.
31231 (setpayloadsigl): Define using libm_alias_ldouble.
31232 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31233 <libm-alias-ldouble.h>.
31234 (sincosl): Define using libm_alias_ldouble.
31235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31236 <libm-alias-ldouble.h>.
31237 (sinl): Define using libm_alias_ldouble.
31238 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31239 <libm-alias-ldouble.h>.
31240 (tanhl): Define using libm_alias_ldouble.
31241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31242 <libm-alias-ldouble.h>.
31243 (tanl): Define using libm_alias_ldouble.
31244 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31245 <libm-alias-ldouble.h>.
31246 (totalorderl): Define using libm_alias_ldouble.
31247 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31248 <libm-alias-ldouble.h>.
31249 (totalordermagl): Define using libm_alias_ldouble.
31250 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31251 libm_alias_ldouble.
31252 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31253 libm_alias_ldouble.
31255 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31257 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31259 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31260 (__libc_ifunc_impl_list): Likewise.
31261 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31262 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31264 * benchtests/bench-memmove-walk.c: New file.
31265 * benchtests/Makefile (string-benchset): Add it.
31267 * benchtests/bench-memset-walk.c: New file.
31268 * benchtests/Makefile (string-benchset): Add it.
31270 * benchtests/bench-memcpy-walk.c: New file.
31271 * benchtests/Makefile (string-benchset): Add it.
31273 2017-10-05 Florian Weimer <fweimer@redhat.com>
31275 nscd: Eliminate compilation time dependency in the build output.
31276 * nscd/nscd_stat.c (STATDATA_VERSION)
31277 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31278 (STATDATA_VERSION_FULL): New macro definitions.
31279 (compilation): Remove.
31280 (struct statdata): Adjust version member.
31281 (send_stats): Set version from STATDATA_VERSION_FULL.
31282 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31284 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31286 * configure.ac (--enable-add-ons): Remove option.
31287 (machine): Do not mention add-ons in comment.
31288 (LIBC_PRECONFIGURE): Likewise.
31289 (add_ons): Remove variable and sanity checks and logic to locate
31291 (add_ons_automatic): Remove variable.
31292 (configured_add_ons): Likewise.
31293 (add_ons_sfx): Likewise.
31294 (add_ons_pfx): Likewise.
31295 (add_on_subdirs): Likewise.
31296 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31297 consideration of add-ons in Implies handling.
31298 (sysdeps_add_ons): Likewise.
31299 * configure: Regenerated.
31300 * libidn/configure.ac: Remove.
31301 * libidn/configure: Likewise.
31302 * sysdeps/unix/inet/configure.ac: New file.
31303 * sysdeps/unix/inet/configure: New generated file.
31304 * sysdeps/unix/inet/Subdirs: Add libidn.
31305 * Makeconfig (sysdeps-srcdirs): Remove variable.
31306 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31307 ($(common-objpfx)config.status): Do not depend on add-on files.
31308 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31310 (all-subdirs): Do not include $(add-on-subdirs).
31311 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31312 * config.make.in (add-ons): Remove variable.
31313 (add-on-subdirs): Likewise.
31314 (sysdeps-add-ons): Likewise.
31315 * manual/Makefile (add-chapters): Remove.
31316 ($(objpfx)texis): Do not depend on $(add-chapters).
31317 (nonexamples): Do not handle $(add-chapters).
31318 (examples): Do not handle $(add-ons).
31319 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31321 * manual/install.texi (Installation): Do not mention add-ons.
31322 (--enable-add-ons): Do not document configure option.
31323 * INSTALL: Regenerated.
31324 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31325 * manual/maint.texi (Hierarchy Conventions): Do not mention
31327 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31329 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31331 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31332 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31334 2017-10-05 Andreas Schwab <schwab@suse.de>
31337 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31338 (_IO_flush_all_lockp): Always lock list_all_lock.
31339 (_IO_flush_all_linebuffered): Likewise.
31340 (_IO_unbuffer_all): Likewise.
31342 2017-10-05 Florian Weimer <fweimer@redhat.com>
31345 Do not flush stdio streams on abort.
31346 * stdlib/abort.c (fflush): Remove macro definition.
31347 (abort): Remove stages related to stdio flushing.
31349 2017-10-05 Florian Weimer <fweimer@redhat.com>
31351 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31353 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31355 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31357 2017-10-05 Florian Weimer <fweimer@redhat.com>
31359 * support/support_format_hostent.c (support_format_hostent): Add
31360 more error information for NETDB_INTERNAL.
31362 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31364 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31365 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31366 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31367 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31368 AC_DEFINE if multi-arch is enabled.
31369 * sysdeps/i386/configure: Regenerated.
31371 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31373 * Makeconfig (+link-static-before-libc): Use
31374 $(DEFAULT-LDFLAGS-$(@F)).
31375 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31376 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31377 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31379 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31381 * elf/Makefile (tests): Add tst-main1.
31382 (modules-names): Add tst-main1mod.
31383 ($(objpfx)tst-main1): New.
31384 (CRT-tst-main1): Likewise.
31385 (LDFLAGS-tst-main1): Likewise.
31386 (LDLIBS-tst-main1): Likewise.
31387 (tst-main1mod.so-no-z-defs): Likewise.
31388 * elf/tst-main1.c: New file.
31389 * elf/tst-main1mod.c: Likewise.
31391 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31393 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31395 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31397 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31398 (fma): Define using libm_alias_double.
31399 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31400 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31402 (fmal): Do not define as compat symbol here.
31403 * sysdeps/alpha/fpu/s_fma.c: New file.
31405 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31407 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31409 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31412 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31414 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31416 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31417 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31418 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31419 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31421 Include <math_ldbl_opt.h>
31422 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31424 (compat_symbol): Undefine and redefine.
31425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31427 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31428 (compat_symbol): Undefine and redefine.
31429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31430 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31431 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31432 GLIBC_2_1 for libm.
31433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31434 GLIBC_2.0 copysignl symbol.
31435 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31436 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31438 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31440 2017-10-04 Florian Weimer <fweimer@redhat.com>
31442 * scripts/check-local-headers.sh: Ignore nspr4 header file
31443 directory in addition to nspr.
31445 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31448 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31449 * configure: Regenerate.
31450 * crypt/Makefile (nss-cpp-flags): New variable.
31451 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31452 (CPPFLAGS-md5-crypt.c): Use it.
31453 * scripts/check-local-headers.sh: Ignore nspr header file
31456 2017-10-04 Andreas Schwab <schwab@suse.de>
31458 * nis/Makefile (services): Remove compat.
31459 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31460 ($(objpfx)libnss_compat.so): Remove rule.
31461 * nis/Versions (libnss_compat): Remove.
31462 * nss/Makefile (services): Add compat.
31463 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31464 * nss/Versions (libnss_compat): Define.
31465 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31466 Don't include <rpc/types.h>. Replace bool_t by bool.
31467 * nss/nss_compat/compat-initgroups.c: Likewise.
31468 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31469 instead of <rpcsrv/ypclnt.h>.
31470 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31471 yp_get_default_domain.
31472 * nss/nss_compat/compat-pwd.c: Likewise.
31473 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31474 yp_get_default_domain.
31475 * nss/nss_compat/nisdomain.c: New file.
31476 * nss/nss_compat/nisdomain.h: Likewise.
31478 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31481 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31482 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31484 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31490 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31492 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31493 "movl main@GOTOFF(%ebx), %eax".
31495 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31497 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31498 allow undefined _DYNAMIC in PIE libc.a.
31499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31502 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31504 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31507 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31509 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31512 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31514 * math/test-math-iscanonical.cc (error): Replace bool with int.
31516 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31518 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31519 (modf): Define using libm_alias_double, only if [!__modf].
31520 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31521 <libm-alias-double.h>.
31522 (modf): Define using libm_alias_double, only if [!__modf].
31523 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31524 compat symbol here.
31525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31526 (weak_alias): Do not undefine and redefine.
31527 (strong_alias): Likewise.
31528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31529 (weak_alias): Likewise.
31530 (strong_alias): Likewise.
31532 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31533 (logb): Define using libm_alias_double, only if [!__logb].
31534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31535 <libm-alias-double.h>.
31536 (logb): Define using libm_alias_double, only if [!__logb].
31537 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31539 (weak_alias): Do not undefine and redefine.
31540 (strong_alias): Likewise.
31541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31542 (weak_alias): Likewise.
31543 (strong_alias): Likewise.
31545 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31547 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31548 Check SHARED instead PIC.
31550 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31553 [!__fmaf] (fmaf): Define using libm_alias_float.
31555 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31556 (frexp): Define using libm_alias_double.
31557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31558 <libm-alias-double.h>.
31559 (frexp): Define using libm_alias_double.
31560 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31561 compat symbol here.
31563 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31566 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31567 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31568 (CFLAGS-test-math-iscanonical.cc): New variable.
31569 * math/test-math-iscanonical.cc: New file.
31570 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31571 Provide a C++ implementation based on function overloading,
31572 rather than using __MATH_TG, which uses C-only builtins.
31573 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31575 * sysdeps/powerpc/powerpc64le/Makefile
31576 (CFLAGS-test-math-iscanonical.cc): New variable.
31578 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31580 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31581 (ceil): Define using libm_alias_double.
31582 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31583 (floor): Define using libm_alias_double.
31584 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31585 <libm-alias-double.h>.
31586 (llround): Define using libm_alias_double.
31587 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31588 <libm-alias-double.h>.
31589 (lround): Define using libm_alias_double.
31590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31591 <libm-alias-double.h>.
31592 (nearbyint): Define using libm_alias_double.
31593 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31594 <libm-alias-double.h>.
31595 (remquo): Define using libm_alias_double.
31596 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31597 (rint): Define using libm_alias_double.
31598 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31599 (round): Define using libm_alias_double.
31600 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31601 (trunc): Define using libm_alias_double.
31602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31603 <libm-alias-double.h>.
31604 (ceil): Define using libm_alias_double.
31605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31606 <libm-alias-double.h>.
31607 (floor): Define using libm_alias_double.
31608 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31609 <libm-alias-double.h>.
31610 (llround): Define using libm_alias_double.
31611 [_LP64] (lround): Likewise.
31612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31613 <libm-alias-double.h>.
31614 [!_LP64] (lround): Define using libm_alias_double.
31615 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31616 <libm-alias-double.h>.
31617 (nearbyint): Define using libm_alias_double.
31618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31619 <libm-alias-double.h>.
31620 (remquo): Define using libm_alias_double.
31621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31622 <libm-alias-double.h>.
31623 (rint): Define using libm_alias_double.
31624 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31625 <libm-alias-double.h>.
31626 (round): Define using libm_alias_double.
31627 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31628 <libm-alias-double.h>.
31629 (trunc): Define using libm_alias_double.
31630 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31631 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31632 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31633 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31634 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31635 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31636 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31637 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31638 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31640 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31642 * math/w_remainder.c: New file.
31643 * math/w_remainderf.c: New file.
31644 * math/w_remainderl.c: New file.
31646 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31648 * elf/rtld.c (BOOTSTRAP_MAP): New.
31649 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31650 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31652 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31654 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31657 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31659 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31660 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31661 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31662 rtld_hidden_data_ver): Define to empty.
31663 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31664 __assert_perror_fail): Likewise.
31665 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31666 (__rewinddir): Likewise.
31667 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31668 (__profile_frequency): Likewise.
31669 * include/setjmp.h (__sigsetjmp): Likewise.
31670 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31671 __libc_sigaction): Likewise.
31672 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31673 not set hidden attribute.
31674 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31675 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31676 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31677 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31678 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31679 __fxstatat64): Likewise.
31680 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31681 (__uname): Likewise.
31682 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31683 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31684 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31685 (NO_RTLD_HIDDEN): Set.
31686 * sysdeps/mach/hurd/configure: Refresh.
31687 * config.h.in: Refresh.
31689 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31691 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31692 (atan): Define using libm_alias_double.
31693 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31694 (tan): Define using libm_alias_double.
31695 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31696 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31699 define as weak alias of __atan. Do not define any aliases if
31701 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31702 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31703 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31704 as weak alias of __tan. Do not define any aliases if [__tan].
31705 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31706 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31707 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31709 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31711 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31712 and define as weak alias of __atan.
31713 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31715 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31717 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31718 define as weak alias of __tan.
31720 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31722 * math/w_lgamma.c: New file.
31723 * math/w_lgammaf.c: New file.
31724 * math/w_lgammal.c: New file.
31726 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31728 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31729 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31730 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31731 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31732 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31733 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31734 * sysdeps/i386/fpu/w_log2f.c: New file.
31735 * sysdeps/i386/fpu/w_logf.c: New file.
31736 * sysdeps/i386/fpu/w_powf.c: New file.
31737 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31738 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31739 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31741 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31742 H.J. Lu <hongjiu.lu@intel.com>
31744 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31745 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31746 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31747 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31750 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31751 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31752 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31753 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31754 * sysdeps/i386/fpu/w_exp2f.c: New file.
31755 * sysdeps/i386/fpu/w_expf.c: New file.
31756 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31757 * sysdeps/x86_64/fpu/w_expf.c: New file.
31759 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31761 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31764 * math/w_log2f.c: New file.
31765 * math/w_logf.c: New file.
31766 * math/w_powf.c: New file.
31767 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31768 * math/w_logf_compat.c (__logf_compat): Likewise.
31769 * math/w_powf_compat.c (__powf_compat): Likewise.
31770 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31771 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31772 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31773 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31774 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31775 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31776 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31777 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31778 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31780 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31781 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31782 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31783 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31784 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31794 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31795 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31796 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31797 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31802 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31806 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31808 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31809 (sysdep_routines): Add memrchr_power8.
31810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31811 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31812 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31814 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31815 (memrchr): Add __memrchr_power8 to ifunc list.
31816 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31821 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31822 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31824 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31825 (__posix_fallocate64_l64): Likewise.
31827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31830 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31831 (__sched_setaffinity_new): Add libc_hidden_proto and
31834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31837 * include/glob.h (__glob64): Add libc_hidden_proto.
31838 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31844 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31850 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31855 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31861 * csu/version.c (__libc_print_version): Add attribute_hidden.
31863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31866 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31871 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31876 * nscd/nscd_helper.c (__nis_hash): New prototype.
31878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31881 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31882 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31884 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31885 * termios/tcgetattr.c (__tcgetattr): Likewise.
31887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31890 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31891 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31892 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31893 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31894 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31899 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31904 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31905 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31910 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31915 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31916 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31921 * include/ifreq.h: New file.
31922 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31923 (__ifreq): Likewise.
31924 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31925 (__ifreq): Likewise.
31927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31930 * include/idna.h: New file.
31931 * inet/getnameinfo.c: Include <idna.h> instead of
31933 (__idna_to_unicode_lzlz): Removed.
31934 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31936 (__idna_to_ascii_lz): Removed.
31937 (__idna_to_unicode_lzlz): Likewise.
31939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31942 * include/plural-exp.h: New file.
31943 * intl/plural-exp.c: Include <plural-exp.h> instead of
31946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31949 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31950 "getsourcefilter.h".
31951 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31952 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31953 "getsourcefilter.h".
31954 (__get_sol): Removed.
31956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31959 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31961 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31966 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31972 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31977 * include/search.h (__tdestroy): Add libc_hidden_proto.
31978 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31983 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31994 * include/signal.h (__kill): Add libc_hidden_proto.
31995 (__sigblock): Likewise.
31996 (__sigprocmask): Likewise.
31997 (__sigaltstack): Likewise.
31998 * signal/kill.c (__kill): Add libc_hidden_def.
31999 * signal/sigblock.c (__sigblock): Likewise.
32000 * signal/sigprocmask.c (__sigprocmask): Likewise.
32001 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32002 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32003 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32004 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32005 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32007 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32009 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32010 (__sigprocmask): Likewise.
32011 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32013 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32014 (__sigprocmask): Likewise.
32015 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32021 * include/string.h (__strsep): Add libc_hidden_proto.
32022 * string/strsep.c (__strsep): Add libc_hidden_def.
32024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32027 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32029 (__spawni): Likewise.
32031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32034 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32035 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32041 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32046 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32047 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32048 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32049 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32050 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32052 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32053 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32058 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32059 (__dcigettext): Likewise.
32061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32064 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32066 (__get_nprocs): Likewise.
32067 (__get_phys_pages): Likewise.
32068 (__get_avphys_pages): Likewise.
32069 (__get_child_max): Add attribute_hidden.
32070 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32071 (__get_nprocs): Likewise.
32072 (__get_phys_pages): Likewise.
32073 (__get_avphys_pages): Likewise.
32074 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32076 (__get_nprocs): Likewise.
32077 (__get_phys_pages): Likewise.
32078 (__get_avphys_pages): Likewise.
32079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32081 (__get_nprocs_conf): Likewise.
32082 (__get_phys_pages): Likewise.
32083 (__get_avphys_pages): Likewise.
32085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32088 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32090 (__netlink_close): Likewise.
32091 (__netlink_free_handle): Likewise.
32092 (__netlink_request): Likewise.
32094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32097 * include/rpc/rpc.h (__rpc_thread_variables): Add
32099 (__rpc_thread_svc_cleanup): Likewise.
32100 (__rpc_thread_clnt_cleanup): Likewise.
32101 (__rpc_thread_key_cleanup): Likewise.
32103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32106 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32107 (__writev): Likewise.
32108 * misc/readv.c (__readv): Add libc_hidden_def.
32109 * misc/writev.c (__writev): Likewise.
32110 * sysdeps/posix/readv.c (__readv): Likewise.
32111 * sysdeps/posix/writev.c (__writev): Likewise.
32112 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32113 (__readv): Likewise.
32114 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32115 (__writev): Likewise.
32117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32120 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32121 (__regcomp): Add libc_hidden_proto.
32122 (__regexec): Likewise.
32123 (__regfree): Likewise.
32124 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32125 (__regfree): Likewise.
32126 * posix/regexec.c (__regexec): Likewise.
32128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32131 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32132 (__getutent): Likewise.
32133 (__getutid): Likewise.
32134 (__getutline): Likewise.
32135 (__pututline): Likewise.
32136 (__getutent_r): Likewise.
32137 (__getutid_r): Likewise.
32138 (__getutline_r): Likewise.
32139 (__utmpname): Add attribute_hidden.
32140 (__setutent): Likewise.
32141 (__endutent): Likewise.
32142 * login/getutent.c (__getutent): Add libc_hidden_def.
32143 * login/getutent_r.c (__getutent_r): Likewise.
32144 (__pututline): Likewise.
32145 * login/getutid.c (__getutid): Likewise.
32146 * login/getutid_r.c (__getutid_r): Likewise.
32147 * login/getutline.c (__getutline): Likewise.
32148 * login/getutline_r.c (__getutline_r): Likewise.
32149 * login/updwtmp.c (__updwtmp): Likewise.
32151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32154 * include/dirent.h (__opendir): Always add attribute_hidden.
32155 (__fdopendir): Likewise.
32156 (__closedir): Likewise.
32157 (__readdir): Likewise.
32158 (__readdir64): Add libc_hidden_proto.
32159 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32160 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32161 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32162 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32169 * include/netdb.h (__gethostbyaddr_r): Likewise.
32170 (__gethostbyname_r): Likewise.
32171 (__gethostbyname2_r): Likewise.
32172 (__getnetbyaddr_r): Likewise.
32173 (__getnetbyname_r): Likewise.
32174 (__getservbyname_r): Likewise.
32175 (__getservbyport_r): Likewise.
32176 (__getprotobyname_r): Likewise.
32177 (__getprotobynumber_r): Likewise.
32178 (__getnetgrent_r): Likewise.
32179 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32180 (__getrpcbynumber_r): Likewise.
32181 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32183 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32186 * include/stdio.h (__fcloseall): Add attribute_hidden.
32187 (__getline): Likewise.
32188 (__path_search): Likewise.
32189 (__gen_tempname): Likewise.
32190 (__libc_message): Likewise.
32191 (__flockfile): Likewise.
32192 (__funlockfile): Likewise.
32193 (__fxprintf): Likewise.
32194 (__fxprintf_nocancel): Likewise.
32196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32199 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32200 (__sgetsgent_r): Likewise.
32202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32205 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32206 (__statfs64): Likewise.
32207 (__fstatfs64): Likewise.
32208 * include/sys/statvfs.h (__statvfs64): Likewise.
32209 (__fstatvfs64): Likewise.
32210 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32211 (__statfs_filesize_max): Likewise.
32212 (__statfs_symlinks): Likewise.
32213 (__statfs_chown_restricted): Likewise.
32215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32218 * include/time.h (__tzstring): Add attribute_hidden.
32219 (__tzfile_read): Likewise.
32220 (__tzfile_compute): Likewise.
32221 (__tzfile_default): Likewise.
32222 (__tzset_parse_tz): Likewise.
32223 (__offtime): Likewise.
32224 (__asctime_r): Likewise.
32225 (__tzset): Likewise.
32226 (__tz_convert): Likewise.
32227 (__getdate_r): Likewise.
32228 (__getclktck): Likewise.
32230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32233 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32234 (__nscd_unmap): Likewise.
32235 (__nscd_cache_search): Likewise.
32236 (__nscd_get_nl_timestamp): Likewise.
32237 (__nscd_getpwnam_r): Likewise.
32238 (__nscd_getpwuid_r): Likewise.
32239 (__nscd_getgrnam_r): Likewise.
32240 (__nscd_getgrgid_r): Likewise.
32241 (__nscd_gethostbyname_r): Likewise.
32242 (__nscd_gethostbyname2_r): Likewise.
32243 (__nscd_gethostbyaddr_r): Likewise.
32244 (__nscd_getai): Likewise.
32245 (__nscd_getgrouplist): Likewise.
32246 (__nscd_getservbyname_r): Likewise.
32247 (__nscd_getservbyport_r): Likewise.
32248 (__nscd_innetgr): Likewise.
32249 (__nscd_setnetgrent): Likewise.
32251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32254 * include/gmp.h: Declare internal functions only if _ISOMAC is
32256 (__mpn_extract_double): Add attribute_hidden.
32257 (__mpn_extract_long_double): Likewise.
32258 (__mpn_extract_float128): Likewise.
32259 (__mpn_construct_float): Likewise.
32260 (__mpn_construct_double): Likewise.
32261 (__mpn_construct_long_double): Likewise.
32262 (__mpn_construct_float128): Likewise.
32263 (mpn_add_1): Likewise.
32264 (mpn_addmul_1): Likewise.
32265 (mpn_add_n): Likewise.
32266 (mpn_cmp): Likewise.
32267 (mpn_divrem): Likewise.
32268 (mpn_lshift): Likewise.
32269 (mpn_mul): Likewise.
32270 (mpn_mul_1): Likewise.
32271 (mpn_rshift): Likewise.
32272 (mpn_sub_1): Likewise.
32273 (mpn_submul_1): Likewise.
32274 (mpn_sub_n): Likewise.
32276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32279 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32280 (__wcscat): Likewise.
32281 (__btowc): Likewise.
32282 (__wcrtomb): Likewise.
32283 (__mbsrtowcs): Likewise.
32284 (__wcsrtombs): Likewise.
32285 (__mbsnrtowcs): Likewise.
32286 (__wcsnrtombs): Likewise.
32287 (__wcsncpy): Likewise.
32288 (__wcpncpy): Likewise.
32289 (__wmemcpy): Likewise.
32290 (__wmempcpy): Likewise.
32291 (__wmemmove): Likewise.
32292 (__wcschrnul): Likewise.
32293 (__vfwscanf): Likewise.
32294 (__vswprintf): Likewise.
32295 (__fwprintf): Likewise.
32296 (__vfwprintf): Likewise.
32298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32301 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32302 (__getgrgid_r): Likewise.
32303 (__getgrnam_r): Likewise.
32304 * include/pwd.h (__getpwuid_r): Likewise.
32305 (__getpwnam_r): Likewise.
32306 (__fgetpwent_r): Likewise.
32307 * include/shadow.h (__getspnam_r): Likewise.
32308 (__sgetspent_r): Likewise.
32309 (__fgetspent_r): Likewise.
32311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32314 * include/unistd.h (__access): Add attribute_hidden.
32315 (__lseek64): Likewise.
32316 (__libc_pread64): Likewise.
32317 (__pipe2): Likewise.
32318 (__sleep): Likewise.
32319 (__chdir): Likewise.
32320 (__fchdir): Likewise.
32321 (__getcwd): Likewise.
32322 (__rmdir): Likewise.
32323 (__execvpe): Likewise.
32324 (__execve): Likewise.
32325 (__setsid): Likewise.
32326 (__getuid): Likewise.
32327 (__geteuid): Likewise.
32328 (__getgid): Likewise.
32329 (__getegid): Likewise.
32330 (__getgroups): Likewise.
32331 (__group_member): Likewise.
32332 (__ttyname_r): Likewise.
32333 (__isatty): Likewise.
32334 (__readlink): Likewise.
32335 (__unlink): Likewise.
32336 (__gethostname): Likewise.
32337 (__profil): Likewise.
32338 (__getdtablesize): Likewise.
32340 (__ftruncate): Likewise.
32341 (__ftruncate64): Likewise.
32343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32346 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32347 * argp/argp-fs-xinl.c: Likewise.
32348 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32349 * argp/argp-parse.c: Include <argp.h>.
32350 * argp/argp-xinl.c: Likewise.
32351 * include/argp-fmtstream.h: New file.
32352 * include/argp.h (__argp_error): Add attribute_hidden.
32353 (__argp_failure): Likewise.
32354 (__argp_input): Likewise.
32355 (__argp_state_help): Likewise.
32357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32360 * include/wchar.h (____wcstof_l_internal): New prototype.
32361 (____wcstod_l_internal): Likewise.
32362 (____wcstold_l_internal): Likewise.
32363 (____wcstol_l_internal): Likewise.
32364 (____wcstoul_l_internal): Likewise.
32365 (____wcstoll_l_internal): Likewise.
32366 (____wcstoull_l_internal): Likewise.
32367 (____wcstof128_l_internal): Likewise.
32368 * sysdeps/ieee754/float128/wcstof128.c
32369 (____wcstof128_l_internal): Removed.
32370 * sysdeps/ieee754/float128/wcstof128_l.c
32371 (____wcstof128_l_internal): Likewise.
32372 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32373 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32374 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32375 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32376 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32377 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32378 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32379 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32380 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32381 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32386 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32387 instead of <sys/statvfs.h>.
32388 (__internal_statvfs): Removed.
32389 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32390 instead of <sys/statvfs.h>.
32391 (__internal_statvfs64): Removed.
32392 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32393 "internal_statvfs.h" instead of <sys/statvfs.h>.
32394 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32395 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32396 instead of <sys/statvfs.h>.
32397 (__internal_statvfs): Removed.
32398 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32399 instead of <sys/statvfs.h>.
32400 (__internal_statvfs64): Removed.
32402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32405 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32406 (__gconv_close): Likewise.
32407 (__gconv): Likewise.
32408 (__gconv_find_transform): Likewise.
32409 (__gconv_lookup_cache): Likewise.
32410 (__gconv_compare_alias_cache): Likewise.
32411 (__gconv_load_cache): Likewise.
32412 (__gconv_get_path): Likewise.
32413 (__gconv_close_transform): Likewise.
32414 (__gconv_release_cache): Likewise.
32415 (__gconv_find_shlib): Likewise.
32416 (__gconv_release_shlib): Likewise.
32417 (__gconv_get_builtin_trans): Likewise.
32418 (__gconv_compare_alias): Likewise.
32419 * include/dlfcn.h (_dlerror_run): Likewise.
32420 * include/stdio.h (__fortify_fail_abort): Likewise.
32421 * include/time.h (__tz_compute): Likewise.
32422 (__strptime_internal): Likewise.
32423 * intl/gettextP.h (_nl_find_domain): Likewise.
32424 (_nl_load_domain): Likewise.
32425 (_nl_find_msg): Likewise.
32426 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32427 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32428 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32429 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32430 (__gai_find_request): Likewise.
32431 (__gai_remove_request): Likewise.
32432 (__gai_notify): Likewise.
32433 (__gai_notify_only): Likewise.
32434 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32435 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32436 (_dl_non_dynamic_init): Likewise.
32437 (_dl_aux_init): Likewise.
32438 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32439 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32441 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32442 (__wcsmbs_clone_conv): Likewise.
32443 (__wcsmbs_named_conv): Likewise.
32445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32448 * include/stdlib.h (__random): Add attribute_hidden.
32449 (__random_r): Likewise.
32450 (__srandom_r): Likewise.
32451 (__initstate_r): Likewise.
32452 (__setstate_r): Likewise.
32453 (__erand48_r): Likewise.
32454 (__nrand48_r): Likewise.
32455 (__jrand48_r): Likewise.
32456 (__srand48_r): Likewise.
32457 (__seed48_r): Likewise.
32458 (__lcong48_r): Likewise.
32459 (__drand48_iterate): Likewise.
32460 (__setenv): Likewise.
32461 (__unsetenv): Likewise.
32462 (__clearenv): Likewise.
32463 (__ptsname_r): Likewise.
32464 (__posix_openpt): Likewise.
32465 (__add_to_environ): Likewise.
32466 (__realpath): Add libc_hidden_proto.
32467 (__ecvt_r): Likewise.
32468 (__fcvt_r): Likewise.
32469 (__qecvt_r): Likewise.
32470 (__qfcvt_r): Likewise.
32471 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32472 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32477 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32478 * include/time.h (__mktime_internal): Likewise.
32479 * libio/iolibio.h (__fopen_internal): Likewise.
32481 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32483 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32485 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32486 Correct offset used to restore PIC register.
32488 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32491 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32492 code to load address of __getcontext_ret when generating PIC code.
32494 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32496 * elf/Makefile (tests-static-internal): Add
32497 tst-tls1-static-non-pie.
32498 (LDFLAGS-tst-tls1-static-non-pie): New.
32499 * elf/tst-tls1-static-non-pie.c: New file.
32501 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32503 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32504 (asinh): Define using libm_alias_double.
32505 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32506 (cbrt): Define using libm_alias_double.
32507 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32508 <libm-alias-double.h>.
32509 (copysign): Define using libm_alias_double.
32510 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32511 (erf): Define using libm_alias_double.
32513 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32514 (expm1): Define using libm_alias_double.
32515 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32516 (fabs): Define using libm_alias_double.
32517 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32519 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32520 <libm-alias-double.h>.
32521 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32523 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32524 <libm-alias-double.h>.
32525 (getpayload): Define using libm_alias_double.
32526 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32527 <libm-alias-double.h>.
32528 (llrint): Define using libm_alias_double.
32529 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32530 (lrint): Define using libm_alias_double.
32531 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32532 <libm-alias-double.h>.
32533 (nextup): Define using libm_alias_double.
32534 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32535 <libm-alias-double.h>.
32536 (roundeven): Define using libm_alias_double.
32537 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32539 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32540 <libm-alias-double.h>.
32541 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32542 using libm_alias_double.
32543 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32544 (cos): Define using libm_alias_double.
32546 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32547 <libm-alias-double.h>.
32548 (sincos): Define using libm_alias_double.
32549 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32550 (tanh): Define using libm_alias_double.
32551 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32552 <libm-alias-double.h>.
32553 (totalorder): Define using libm_alias_double.
32554 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32555 <libm-alias-double.h>.
32556 (totalordermag): Define using libm_alias_double.
32557 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32559 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32561 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32562 <libm-alias-double.h>.
32563 (getpayload): Define using libm_alias_double.
32564 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32565 <libm-alias-double.h>.
32566 (roundeven): Define using libm_alias_double.
32567 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32568 <libm-alias-double.h>.
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32570 <libm-alias-double.h>.
32571 (totalorder): Define using libm_alias_double.
32572 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32573 <libm-alias-double.h>.
32574 (totalordermag): Define using libm_alias_double.
32575 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32576 libc compat symbol here.
32577 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32578 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32579 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32580 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32581 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32582 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32583 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32584 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32585 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32586 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32588 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32590 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32591 _dl_relocate_static_pie instead of _dl_start to compute load
32592 address in static PIE. Return 0 if _DYNAMIC is undefined for
32595 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32598 _DYNAMIC is undefined for static executable.
32600 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32602 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32604 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32608 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32611 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32612 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32613 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32614 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32615 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32616 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32617 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32619 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32620 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32621 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32622 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32623 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32624 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32625 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32626 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32628 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32630 * math/bits/cmathcalls.h (cimag): Remove inline.
32631 (creal): Remove inline.
32632 (conj): Remove inline.
32634 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32636 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32637 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32638 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32639 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32640 (issignalingf_inline): Likewise.
32641 (POWF_LOG2_TABLE_BITS): Likewise.
32642 (POWF_LOG2_POLY_ORDER): Likewise.
32643 (POWF_SCALE_BITS): Likewise.
32644 (POWF_SCALE): Likewise.
32645 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32646 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32647 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32649 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32651 * math/Makefile (type-float-routines): Add e_log2f_data.
32652 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32653 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32654 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32655 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32656 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32657 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32658 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32660 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32662 * math/Makefile (type-float-routines): Add e_logf_data.
32663 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32664 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32665 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32666 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32667 * sysdeps/i386/fpu/e_logf_data.c: New file.
32668 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32669 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32671 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32673 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32674 undefined _DYNAMIC in PIE libc.a.
32675 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32678 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32680 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32681 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32682 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32683 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32684 (__signbit): Remove.
32685 (__signbitl): Remove.
32686 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32687 (__signbit): Remove.
32688 (__signbitl): Remove.
32689 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32690 (__signbit): Remove.
32691 (__signbitl): Remove.
32692 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32693 (__signbit): Remove.
32694 (__signbitl): Remove.
32695 * sysdeps/tile/bits/mathinline.h: Delete file.
32696 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32697 (__signbit): Remove.
32698 (__signbitl): Remove.
32700 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32702 * math/math.h: Improve handling of C99 isgreater macros.
32703 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32704 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32705 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32706 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32707 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32709 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32711 * sysdeps/aarch64/libm-test-ulps: Update.
32713 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32716 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32717 math_opt_barrier on argument when doing arithmetic on it.
32718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32719 Likewise. Use math_force_eval not math_opt_barrier after
32721 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32722 math_opt_barrier on argument when doing arithmetic on it.
32723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32726 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32728 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32730 (__freeifaddrs): Likewise.
32732 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32734 * include/dirent.h (__dirfd): New declaration.
32735 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32737 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32738 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32739 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32740 * include/unistd.h (__revoke): New declaration.
32741 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32743 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32744 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32746 * include/dirent.h (__seekdir): New declaration.
32747 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32748 redefine as weak alias.
32749 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32751 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32752 and use libc_hidden_def on them.
32753 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32755 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32756 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32757 instead of getifaddrs and freeifaddrs.
32759 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32762 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32763 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32764 (__dso_handle): Remove declaration.
32765 * dlfcn/tstatexit.c (__dso_handle): Removed.
32766 (main): Don't check __dso_handle.
32767 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32768 (main): Don't check __dso_handle.
32769 * include/dso_handle.h: New file.
32770 * malloc/mtrace.c: Include <dso_handle.h>.
32771 (mtrace): Pass __dso_handle directly.
32772 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32773 (__dso_handle): Remove declaration.
32774 (__pthread_atfork): Pass __dso_handle directly.
32775 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32776 (__dso_handle): Removed.
32777 * posix/wordexp-test.c: Include <dso_handle.h>.
32778 (__dso_handle): Remove declaration.
32779 (__app_register_atfork): Pass __dso_handle directly.
32780 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32781 (__dso_handle): Remove declaration.
32782 (at_quick_exit): Pass __dso_handle directly.
32783 * stdlib/atexit.c: Include <dso_handle.h>.
32784 (__dso_handle): Remove declaration.
32785 (atexit): Pass __dso_handle directly.
32786 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32787 (__dso_handle): Removed.
32789 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32791 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32794 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32796 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32797 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32798 values to correct default value for given type.
32800 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32803 * elf/Makefile (tests): Add tst-debug1.
32804 ($(objpfx)tst-debug1): New.
32805 ($(objpfx)tst-debug1.out): Likewise.
32806 ($(objpfx)tst-debug1mod1.so): Likewise.
32807 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32808 with p_filesz == 0.
32809 * elf/tst-debug1.c: New file.
32811 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32813 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32814 Define using __ifunc.
32816 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32818 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32821 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32824 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32826 2017-09-26 Florian Weimer <fweimer@redhat.com>
32828 * resolv/Makefile (tests-internal): Fix typo in comment.
32830 2017-09-26 Florian Weimer <fweimer@redhat.com>
32832 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32834 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32836 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32837 Use an union instead of a max_align_t array for __space,
32838 so that __space is the same size on all platforms.
32839 * malloc/scratch_buffer_grow_preserve.c
32840 (__libc_scratch_buffer_grow_preserve): Likewise.
32843 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32845 * posix/Makefile (routines): Add glob-lstat-compat and
32846 glob64-lstat-compat.
32847 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32848 * posix/glob-lstat-compat.c: New file.
32849 * posix/glob64-lstat-compat.c: Likewise.
32850 * posix/tst-glob_lstat_compat.c: Likewise.
32851 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32852 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32853 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32854 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32856 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32857 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32858 * posix/glob.c (glob_lstat): New function.
32859 (glob): Rename to __glob and add versioned symbol to 2.27.
32860 (glob_in_dir): Use glob_lstat.
32861 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32862 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32863 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32865 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32866 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32867 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32868 gl_lstat on glob call.
32869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32870 and glob64 symbols.
32871 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32872 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32873 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32874 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32875 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32876 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32877 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32878 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32879 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32880 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32881 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32882 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32885 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32887 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32889 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32890 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32891 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32894 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32896 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32898 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32900 * configure.ac (AS): Require binutils 2.25 or later.
32901 * configure: Regenerated.
32903 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32906 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32909 2017-09-25 DJ Delorie <dj@redhat.com>
32912 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32915 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32917 * sysdeps/ieee754/dbl-64/sincos32.h
32918 [SINCCOS32_H]: Remove define.
32919 [SINCOS32_H]: Define.
32921 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32923 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32925 * math/w_exp2f.c: New file.
32926 * math/w_expf.c: New file.
32927 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32928 * math/w_expf_compat.c (__expf_compat): Likewise.
32929 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32930 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32931 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32932 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32933 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32934 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32935 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32936 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32938 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32939 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32940 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32941 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32942 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32951 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32952 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32953 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32960 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32961 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32962 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32964 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32966 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32967 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32968 (roundtoint, converttoint): Likewise.
32969 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32970 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32971 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32972 * sysdeps/ieee754/flt-32/math_config.h: New file.
32973 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32974 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32975 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32976 * sysdeps/i386/fpu/math_errf.c: New file.
32977 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32978 * sysdeps/ia64/fpu/math_errf.c: New file.
32979 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32980 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32982 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32984 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32985 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32986 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32987 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32988 to make sure that these symbols are defined.
32989 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32991 (__need_NULL): Do not define.
32992 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32994 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32995 CMGROUP_MAX, cmsgcred): Do not define.
32996 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32998 * bits/socket.h: Likewise.
32999 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33000 __gettimeofday instead of gettimeofday.
33001 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33002 instead of settimeofday.
33004 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33006 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33007 (asinhf): Define using libm_alias_float.
33008 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33009 (atanf): Define using libm_alias_float.
33010 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33011 (cbrtf): Define using libm_alias_float.
33012 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33013 (ceilf): Define using libm_alias_float.
33014 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33015 <libm-alias-float.h>.
33016 (copysignf): Define using libm_alias_float.
33017 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33018 (cosf): Define using libm_alias_float.
33019 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33020 (erff): Define using libm_alias_float.
33022 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33023 (expm1f): Define using libm_alias_float.
33024 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33025 (fabsf): Define using libm_alias_float.
33026 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33027 (floorf): Define using libm_alias_float.
33028 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33029 (frexpf): Define using libm_alias_float.
33030 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33032 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33033 <libm-alias-float.h>.
33034 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33036 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33037 <libm-alias-float.h>.
33038 (getpayloadf): Define using libm_alias_float.
33039 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33040 <libm-alias-float.h>.
33041 (llrintf): Define using libm_alias_float.
33042 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33043 <libm-alias-float.h>.
33044 (llroundf): Define using libm_alias_float.
33045 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33046 (logbf): Define using libm_alias_float.
33047 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33048 (lrintf): Define using libm_alias_float.
33049 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33050 (lroundf): Define using libm_alias_float.
33051 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33052 (modff): Define using libm_alias_float.
33053 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33054 <libm-alias-float.h>.
33055 (nearbyintf): Define using libm_alias_float.
33056 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33057 <libm-alias-float.h>.
33058 (nextafterf): Define using libm_alias_float.
33059 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33060 <libm-alias-float.h>.
33061 (nextupf): Define using libm_alias_float.
33062 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33063 <libm-alias-float.h>.
33064 (remquof): Define using libm_alias_float.
33065 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33066 (rintf): Define using libm_alias_float.
33067 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33068 <libm-alias-float.h>.
33069 (roundevenf): Define using libm_alias_float.
33070 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33071 (roundf): Define using libm_alias_float.
33072 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33073 using libm_alias_float.
33074 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33075 <libm-alias-float.h>.
33076 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33077 Define using libm_alias_float.
33078 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33079 <libm-alias-float.h>.
33080 (sincosf): Define using libm_alias_float.
33081 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33082 (sinf): Define using libm_alias_float.
33083 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33084 (tanf): Define using libm_alias_float.
33085 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33086 (tanhf): Define using libm_alias_float.
33087 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33088 <libm-alias-float.h>.
33089 (totalorderf): Define using libm_alias_float.
33090 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33091 <libm-alias-float.h>.
33092 (totalordermagf): Define using libm_alias_float.
33093 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33094 (truncf): Define using libm_alias_float.
33095 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33097 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33100 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33103 math/math.h: Let fpclassify use the builtin in C++ mode, even
33104 when optimazing for size.
33106 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33108 * csu/Makefile (generated): Do not add version-info.h.
33109 (before-compile): Likewise.
33110 (all-Banner-files): Remove variable.
33111 ($(objpfx)version-info.h): Remove rule.
33112 * csu/version.c (banner): Do not include "version-info.h".
33113 * libidn/Banner: Remove.
33114 * manual/contrib.texi (Simon Josefsson): New entry.
33116 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33119 Remove conditionals on LDBL_MANT_DIG.
33120 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33121 (__ieee754_lgammal_r): Likewise.
33123 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33127 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33128 _Float128 and L(). Replace _Float128 with long double and L(x)
33129 with xL, throughout the file.
33130 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33135 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33138 sysdeps/ieee754/ldbl-128ibm.
33139 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33140 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33141 of including it. Keep _Float128 and L() intact. These will be
33142 reviewed by a separate patch.
33143 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33148 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33151 (__finitef128): Define to __redirect___finitef128.
33152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33153 (__isinff128): Define to __redirect___isinff128.
33154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33155 (__isnanf128): Define to __redirect___isnanf128.
33157 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33159 * sysdeps/powerpc/powerpc64le/Makefile
33160 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33161 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33163 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33164 Carlos O'Donell <carlos@redhat.com>
33167 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33168 * stdlib/test-dlclose-exit-race.c: New file.
33169 * stdlib/test-dlclose-exit-race-helper.c: New file.
33170 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33172 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33174 * crypt/Banner: Remove file.
33175 * nptl/Banner: Likewise.
33176 * resolv/Banner: Likewise.
33177 * soft-fp/Banner: Likewise.
33178 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33179 ($(objpfx)version.d): Remove dependency on banner.h.
33180 ($(objpfx)version.os): Likewise.
33181 * nptl/version.c (banner): Do not include banner.h.
33182 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33183 Jelinek and BIND code.
33185 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33186 Carlos O'Donell <carlos@redhat.com>
33188 * support/xdlfcn.h: New file.
33189 * support/xdlfcn.c: New file.
33190 * support/Makefile (libsupport-routines): Add xdlfcn.
33191 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33193 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33196 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33197 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33198 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33199 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33200 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33201 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33202 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33203 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33205 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33206 Ricky Zhou <rickyz@google.com>
33207 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33210 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33212 (__new_exitfn): Fail registration when we finished at_exit processing.
33213 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33214 * stdlib/on_exit.c (__on_exit): Likewise.
33215 * stdlib/exit.c (__exit_funcs_done): New variable.
33216 (__run_exit_handlers): Use __exit_funcs_lock.
33217 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33219 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33220 (test-cxa_atexit-race, test-on_exit-race): New tests.
33221 * stdlib/test-atexit-race-common.c: New file.
33222 * stdlib/test-atexit-race.c: New file.
33223 * stdlib/test-at_quick_exit-race.c: New file.
33224 * stdlib/test-cxa_atexit-race.c: New file.
33225 * stdlib/test-on_exit-race.c: New file.
33227 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33229 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33230 * benchtests/exp2f-inputs: Copy of expf-inputs.
33231 * benchtests/log2f-inputs: Copy of logf-inputs.
33233 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33235 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33236 Explicitly take address of first element of array arguments in
33237 call to INLINE_SYSCALL.
33239 2017-09-19 Andreas Schwab <schwab@suse.de>
33242 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33244 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33246 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33247 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33249 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33250 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33251 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33253 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33254 * posix/Makefile (tests): Add tst-fexecve.
33255 * posix/tst-fexecve.c: New file.
33257 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33259 * benchtests/Makefile: Add logf benchmark.
33260 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33262 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33264 * benchtests/Makefile: Add expf benchmark.
33265 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33267 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33269 * csu/Makefile: Add -funwind-tables to libc-start.c.
33270 * debug/Makefile: Add -funwind-tables to backtrace.c.
33271 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33272 * sysdeps/arm/Makefile: Likewise.
33273 * sysdeps/i386/Makefile: Likewise.
33274 * sysdeps/m68k/Makefile: Likewise.
33275 * sysdeps/mips/Makefile: Likewise.
33276 * sysdeps/nios2/Makefile: Likewise.
33277 * sysdeps/sh/Makefile: Likewise.
33278 * sysdeps/sparc/Makefile: Likewise.
33280 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33282 * benchtests/Makefile (bench-math): Add trunc and truncf.
33283 (CFLAGS-bench-trunc.c): New variable.
33284 (CFLAGS-bench-truncf.c): Likewise.
33285 * benchtests/trunc-inputs: New file.
33286 * benchtests/truncf-inputs: Likewise.
33288 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33290 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33292 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33294 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33295 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33297 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33298 (exp10l): Define as weak alias.
33299 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33300 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33302 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33303 (remainderl): Define as weak alias.
33305 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33306 (fmal): Define using libm_alias_ldouble.
33307 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33308 (acoshl): Define using libm_alias_ldouble.
33309 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33310 (acosl): Define using libm_alias_ldouble.
33311 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33312 (asinl): Define using libm_alias_ldouble.
33313 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33314 (atan2l): Define using libm_alias_ldouble.
33315 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33316 (atanhl): Define using libm_alias_ldouble.
33317 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33318 (coshl): Define using libm_alias_ldouble.
33319 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33320 (exp10l): Define using libm_alias_ldouble.
33321 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33322 (exp2l): Define using libm_alias_ldouble.
33323 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33324 (expl): Define using libm_alias_ldouble.
33325 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33326 (fmodl): Define using libm_alias_ldouble.
33327 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33328 (hypotl): Define using libm_alias_ldouble.
33329 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33330 (j0l): Define using libm_alias_ldouble.
33332 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33333 (j1l): Define using libm_alias_ldouble.
33335 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33336 (jnl): Define using libm_alias_ldouble.
33338 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33339 (log10l): Define using libm_alias_ldouble.
33340 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33341 (log2l): Define using libm_alias_ldouble.
33342 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33343 (logl): Define using libm_alias_ldouble.
33344 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33345 (powl): Define using libm_alias_ldouble.
33346 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33347 (remainderl): Define using libm_alias_ldouble.
33348 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33349 (sinhl): Define using libm_alias_ldouble.
33350 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33351 (sqrtl): Define using libm_alias_ldouble.
33352 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33353 (tgammal): Define using libm_alias_ldouble.
33354 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33355 (exp10l): Do not use long_double_symbol here.
33356 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33357 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33358 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33359 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33360 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33361 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33362 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33363 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33364 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33365 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33366 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33367 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33368 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33369 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33370 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33371 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33372 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33373 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33374 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33375 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33376 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33377 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33379 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33381 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33382 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33384 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33386 * io/read.c (read): Add libc_hidden_weak.
33387 * sysdeps/mach/hurd/read.c (read): Likewise.
33388 * io/write.c (write): Likewise.
33389 * sysdeps/mach/hurd/write.c (write): Likewise.
33390 * io/pread64.c (__pread64): Likewise.
33391 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33392 * posix/pread64.c (__pread64): Add libc_hidden_def.
33394 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33396 * benchtests/scripts/compare_strings.py: New option -g.
33397 (draw_graph): Print a message that a graph is being generated.
33398 (process_results): Generate graph only if -g is passed.
33399 (main): Process option -g.
33401 * benchtests/scripts/compare_strings.py (process_results):
33402 Better spacing for output.
33404 * benchtests/scripts/compare_strings.py: Use argparse.
33405 * benchtests/README: Document existence of compare_strings.py.
33407 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33409 * math/s_fma.c: Include <libm-alias-double.h>.
33410 (fma): Define using libm_alias_double.
33411 * math/s_nextafter.c: Include <libm-alias-double.h>.
33412 (nextafter): Define using libm_alias_double.
33413 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33414 (acos): Define using libm_alias_double.
33415 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33416 (aocsh): Define using libm_alias_double.
33417 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33418 (asin): Define using libm_alias_double.
33419 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33420 (atan2): Define using libm_alias_double.
33421 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33422 (atanh): Define using libm_alias_double.
33423 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33424 (cosh): Define using libm_alias_double.
33425 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33426 (exp10): Define using libm_alias_double.
33427 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33428 (exp2): Define using libm_alias_double.
33429 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33430 (exp): Define using libm_alias_double.
33431 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33432 (fmod): Define using libm_alias_double.
33433 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33434 (hypot): Define using libm_alias_double.
33435 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33436 (j0): Define using libm_alias_double.
33438 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33439 (j1): Define using libm_alias_double.
33441 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33442 (jn): Define using libm_alias_double.
33444 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33445 (log10): Define using libm_alias_double.
33446 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33447 (log2): Define using libm_alias_double.
33448 * math/w_log_compat.c: Include <libm-alias-double.h>.
33449 (log): Define using libm_alias_double.
33450 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33451 (pow): Define using libm_alias_double.
33452 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33453 (remainder): Define using libm_alias_double.
33454 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33455 (sinh): Define using libm_alias_double.
33456 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33457 (sqrt): Define using libm_alias_double.
33458 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33459 (tgamma): Define using libm_alias_double.
33460 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33461 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33462 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33463 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33464 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33465 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33466 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33467 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33468 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33469 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33470 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33471 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33472 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33473 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33474 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33475 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33477 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33478 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33479 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33480 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33481 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33483 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33484 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33486 * math/e_acoshl.c: Remove.
33487 * math/e_acosl.c: Likewise.
33488 * math/e_asinl.c: Likewise.
33489 * math/e_atan2l.c: Likewise.
33490 * math/e_atanhl.c: Likewise.
33491 * math/e_coshl.c: Likewise.
33492 * math/e_expl.c: Likewise.
33493 * math/e_fmodl.c: Likewise.
33494 * math/e_gammal_r.c: Likewise.
33495 * math/e_hypotl.c: Likewise.
33496 * math/e_j0l.c: Likewise.
33497 * math/e_j1l.c: Likewise.
33498 * math/e_jnl.c: Likewise.
33499 * math/e_lgammal_r.c: Likewise.
33500 * math/e_log10l.c: Likewise.
33501 * math/e_log2l.c: Likewise.
33502 * math/e_logl.c: Likewise.
33503 * math/e_powl.c: Likewise.
33504 * math/e_rem_pio2l.c: Likewise.
33505 * math/e_sinhl.c: Likewise.
33506 * math/e_sqrtf128.c: Likewise.
33507 * math/e_sqrtl.c: Likewise.
33508 * math/k_cosl.c: Likewise.
33509 * math/k_sinl.c: Likewise.
33510 * math/k_tanl.c: Likewise.
33511 * math/s_asinhl.c: Likewise.
33512 * math/s_atanl.c: Likewise.
33513 * math/s_cbrtl.c: Likewise.
33514 * math/s_erfl.c: Likewise.
33515 * math/s_expm1l.c: Likewise.
33516 * math/s_log1pl.c: Likewise.
33517 * math/s_tanhl.c: Likewise.
33519 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33523 [$(subdir) = math] (sysdep_calls): New variable. Has the
33524 previous contents of sysdep_routines, but re-sorted..
33525 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33527 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33528 defined in sysdep_calls and replace by the respective m_* names.
33529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33530 (compat_symbol): Undefine to avoid duplicated compat symbols in
33533 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33535 * math/s_fmaf.c: Include <libm-alias-float.h>.
33536 (fmaf): Define using libm_alias_float.
33537 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33538 (acosf): Define using libm_alias_float.
33539 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33540 (acoshf): Define using libm_alias_float.
33541 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33542 (asinf): Define using libm_alias_float.
33543 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33544 (atan2f): Define using libm_alias_float.
33545 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33546 (atanhf): Define using libm_alias_float.
33547 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33548 (coshf): Define using libm_alias_float.
33549 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33550 (exp10f): Define using libm_alias_float.
33551 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33552 (fmodf): Define using libm_alias_float.
33553 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33554 (hypotf): Define using libm_alias_float.
33555 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33556 (j0f): Define using libm_alias_float.
33558 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33559 (j1f): Define using libm_alias_float.
33561 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33562 (jnf): Define using libm_alias_float.
33564 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33565 (log10f): Define using libm_alias_float.
33566 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33567 (log2f): Define using libm_alias_float.
33568 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33569 (logf): Define using libm_alias_float.
33570 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33571 (powf): Define using libm_alias_float.
33572 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33573 (remainderf): Define using libm_alias_float.
33574 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33575 (sinhf): Define using libm_alias_float.
33576 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33577 (sqrtf): Define using libm_alias_float.
33578 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33579 (tgammaf): Define using libm_alias_float.
33581 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33583 * include/math.h (roundeven): Change hidden_proto call to
33585 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33587 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33588 (y0): Rename to __y0 and define as weak alias.
33589 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33590 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33592 (y0f): Rename to __y0f and define as weak alias.
33593 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33595 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33596 (y1): Rename to __y1 and define as weak alias.
33597 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33598 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33600 (y1f): Rename to __y1f and define as weak alias.
33601 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33603 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33604 (yn): Rename to __yn and define as weak alias.
33605 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33606 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33608 (ynf): Rename to __ynf and define as weak alias.
33609 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33610 (fromfp): Define as weak alias.
33611 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33612 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33613 (fromfpx): Define as weak alias.
33614 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33615 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33616 __getpayload and define as weak alias.
33617 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33618 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33619 __roundeven and define as weak alias.
33620 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33621 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33623 (setpayload): Define as weak alias.
33624 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33625 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33627 (setpayloadsig): Define as weak alias.
33628 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33629 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33630 __totalorder and define as weak alias.
33631 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33632 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33633 to __totalordermag and define as weak alias.
33634 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33635 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33636 (ufromfp): Define as weak alias.
33637 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33638 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33640 (ufromfpx): Define as weak alias.
33641 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33642 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33643 Rename to __getpayload and define as weak alias.
33644 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33645 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33646 Rename to __roundeven and define as weak alias.
33647 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33648 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33649 Rename to __totalorder and define as weak alias.
33650 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33651 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33652 (totalordermag): Rename to __totalordermag and define as weak
33654 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33655 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33657 (__roundevenl): Likewise.
33658 (__totalorderl): Likewise.
33659 (__totalordermagl): Likewise
33660 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33662 (fromfpf128): Define as weak alias.
33663 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33665 (fromfpxf128): Define as weak alias.
33666 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33668 (setpayloadf128): Define as weak alias.
33669 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33670 __setpayloadsigf128.
33671 (setpayloadsigf128): Define as weak alias.
33672 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33674 (ufromfpf128): Define as weak alias.
33675 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33677 (ufromfpxf128): Define as weak alias.
33678 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33679 (fromfpf): Define as weak alias.
33680 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33682 (fromfpxf): Define as weak alias.
33683 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33684 __getpayloadf and define as weak alias.
33685 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33686 __roundevenf and define as weak alias.
33687 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33689 (setpayloadf): Define as weak alias.
33690 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33692 (setpayloadsigf): Define as weak alias.
33693 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33694 __totalorderf and define as weak alias.
33695 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33696 Rename to __totalordermagf and define as weak alias.
33697 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33699 (ufromfpf): Define as weak alias.
33700 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33702 (ufromfpxf): Define as weak alias.
33703 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33705 (fromfpl): Define as weak alias.
33706 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33708 (fromfpxl): Define as weak alias.
33709 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33710 to __getpayloadl and define as weak alias.
33711 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33712 __roundevenl and define as weak alias.
33713 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33715 (setpayloadl): Define as weak alias.
33716 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33718 (setpayloadsigl): Define as weak alias.
33719 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33720 to __totalorderl and define as weak alias.
33721 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33722 Rename to __totalordermagl and define as weak alias.
33723 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33725 (ufromfpl): Define as weak alias.
33726 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33728 (ufromfpxl): Define as weak alias.
33729 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33731 (fromfpl): Define as weak alias.
33732 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33734 (fromfpxl): Define as weak alias.
33735 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33736 Rename to __getpayloadl and define as weak alias.
33737 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33738 to __roundevenl and define as weak alias. Call __roundeven
33739 instead of roundeven.
33740 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33742 (setpayloadl): Define as weak alias.
33743 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33745 (setpayloadsigl): Define as weak alias.
33746 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33747 Rename to __totalorderl and define as weak alias.
33748 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33749 Rename to __totalordermagl and define as weak alias.
33750 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33752 (ufromfpl): Define as weak alias.
33753 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33755 (ufromfpxl): Define as weak alias.
33756 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33758 (fromfpl): Define as weak alias.
33759 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33761 (fromfpxl): Define as weak alias.
33762 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33763 __getpayloadl and define as weak alias.
33764 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33765 __roundevenl and define as weak alias.
33766 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33768 (setpayloadl): Define as weak alias.
33769 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33771 (setpayloadsigl): Define as weak alias.
33772 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33773 __totalorderl and define as weak alias.
33774 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33775 Rename to __totalordermagl and define as weak alias.
33776 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33778 (ufromfpl): Define as weak alias.
33779 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33781 (ufromfpxl): Define as weak alias.
33783 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33785 * benchtests/bench-string.h (realloc_bufs): New function.
33786 (test_init): Call it.
33787 * benchtests/bench-memset-large.c (do_test): Likewise.
33788 * benchtests/bench-memset.c (do_test): Likewise.
33790 * benchtests/bench-memset-large.c: Print output in JSON
33792 * benchtests/bench-memset.c: Likewise.
33794 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33797 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33798 * iconvdata/Makefile: Add IBM858.
33799 * iconvdata/gconv-modules: Likewise.
33800 * iconvdata/tst-tables.sh: Likewise.
33801 * iconvdata/ibm858.c: New file.
33802 * localedata/charmaps/IBM858: Likewise.
33804 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33807 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33808 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33810 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33813 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33814 and add tel_int_fmt.
33816 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33818 * sysdeps/generic/libm-alias-float128.h: New file.
33819 * sysdeps/generic/math-type-macros-float128.h: Include
33820 <libm-alias-float128.h>.
33821 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33823 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33825 * sysdeps/generic/libm-alias-ldouble.h: New file.
33826 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33827 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33828 * sysdeps/generic/math-type-macros-ldouble.h: Include
33829 <libm-alias-ldouble.h>.
33830 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33831 libm_alias_ldouble.
33833 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33835 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33836 * math/w_exp_compat.c: ... here.
33837 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33838 * math/w_expf_compat.c: ... here.
33839 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33840 * math/w_expl_compat.c: ... here.
33841 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33842 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33843 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33844 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33846 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33848 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33850 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33852 (ldexpl): Only define as compat symbol for libc, not libm.
33853 (scalbnl): Define as compat symbol for libc here.
33854 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33855 define for [IS_IN (libc)].
33856 (__ldexpl_2): Remove alias.
33857 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33858 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33859 name in long_double_symbol call.
33860 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33861 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33862 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33863 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33864 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33866 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33867 Define as compat symbol.
33869 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33871 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33872 * sysdeps/unix/sysv/linux/alpha/Makefile
33873 [$(subdir) = csu] (sysdep_routines): Remove rule.
33875 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33877 * sysdeps/generic/libm-alias-double.h: New file.
33878 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33879 * sysdeps/generic/math-type-macros-double.h: Include
33880 <libm-alias-double.h>.
33881 [declare_mgen_alias] (declare_mgen_alias): Define to use
33883 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33884 (M_LIBM_NEED_COMPAT): Remove macro.
33885 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33886 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33887 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33889 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33890 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33891 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33892 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33893 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33894 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33895 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33896 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33897 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33898 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33899 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33900 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33901 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33902 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33903 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33904 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33905 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33906 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33907 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33908 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33909 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33910 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33911 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33912 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33913 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33914 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33915 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33916 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33917 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33919 (declare_mgen_alias): New macro.
33920 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33921 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33923 (M_LIBM_NEED_COMPAT): Remove macro.
33924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33925 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33926 <first-versions.h>.
33927 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33928 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33930 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33932 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33933 (declare_mgen_alias_2): Remove.
33934 * sysdeps/generic/math-type-macros-double.h
33935 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33937 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33939 (ldexp): Define with declare_mgen_alias.
33940 (scalbn): Likewise.
33942 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33944 * grp/initgroups.c: Include config.h.
33945 (DEFAULT_CONFIG): New macro.
33946 (internal_getgrouplist): Use DEFAULT_CONFIG.
33947 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33948 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33949 (DEFAULT_DEFCONFIG): New macro.
33950 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33951 * nss/grp-lookup.c: Include config.h
33952 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33953 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33954 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33955 * manual/nss.texi: Update default values section.
33957 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33960 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33962 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33963 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33964 Handle MathVec_Prefer_No_AVX512.
33965 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33966 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33969 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33971 * posix/sched_primax.c (__sched_get_priority_max): Add
33973 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33974 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33975 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33976 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33977 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33978 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33979 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33980 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33983 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33985 * sysdeps/generic/libm-alias-float.h: New file.
33986 * sysdeps/generic/math-type-macros-float.h: Include
33987 <libm-alias-float.h>.
33988 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33990 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33993 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33994 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33995 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33996 (HWCAP_IMPORTANT): Likewise.
33997 (HWCAP_X86_64): New enum.
33998 (HWCAP_X86_AVX512_1): Updated.
33999 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34000 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34001 (modules-names): Add x86_64/tst-x86_64mod-1.
34002 (LDFLAGS-tst-x86_64mod-1.so): New.
34003 ($(objpfx)tst-x86_64-1): Likewise.
34004 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34005 (tst-x86_64-1-clean): Likewise.
34006 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34007 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34009 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34011 * po/sv.po: Update translations.
34012 * po/fr.po: Likewise.
34014 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34016 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34018 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34020 * elf/rtld-Rules: Fix $(error) use.
34022 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34025 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34026 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34027 * localedata/locales/bn_BD: “Bengali” was still used in some
34028 comments. Change it to “Bangla”.
34030 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34034 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34036 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34037 thunderx2t99p1 to list of cpu names.
34038 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34039 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34041 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34043 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34044 Use strcmp instead of tunable_is_name.
34046 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34049 (F_GET_RW_HINT): New macro.
34050 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34051 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34052 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34053 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34054 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34055 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34056 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34057 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34058 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34061 (F_ADD_SEALS): New macro.
34062 [__USE_GNU] (F_GET_SEALS): Likewise.
34063 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34064 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34065 [__USE_GNU] (F_SEAL_GROW): Likewise.
34066 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34068 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34070 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34071 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34072 * posix/glob_internal.h (__glob_pattern_type):
34073 * posix/glob.c (glob):
34074 * posix/glob_pattern_p.c (__glob_pattern_p):
34077 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34078 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34079 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34080 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34081 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34083 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34085 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34087 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34088 * sysdeps/wordsize-64/glob.c: Likewise.
34089 * sysdeps/wordsize-64/glob64.c: Likewise.
34090 * sysdeps/wordsize-64/globfree.c: Likewise.
34091 * sysdeps/wordsize-64/globfree64.c: Likewise.
34092 * sysdeps/unix/sysv/linux/glob.c: New file.
34093 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34094 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34095 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34096 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34097 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34098 adds !GLOB_NO_OLD_VERSION as an extra condition.
34099 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34100 using relative path instead of absolute one.
34101 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34102 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34103 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34104 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34105 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34106 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34109 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34110 (glob): Use the same scratch buffer for both getlogin_r and
34111 getpwnam_r. Don’t require preallocation of the login name. This
34112 simplifies storage allocation, and corrects the handling of
34116 * posix/glob.c (glob): Port recent patches to platforms
34117 lacking getpwnam_r.
34118 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34119 returns an error number rather than setting errno.
34121 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34122 instead of GCC extension.
34123 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34124 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34125 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34129 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34130 * posix/bug-glob1.c: Remove file.
34131 * posix/tst-glob_symlinks.c: New file.
34132 * posix/glob.c (__lstat64): New macro.
34133 (is_dir): New function.
34134 (glob, glob_in_dir): Match symlinks even if they are dangling.
34135 (link_stat, link_exists_p): Remove. All uses removed.
34139 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34140 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34145 * posix/Makefile (routines): Add globfree, globfree64, and
34147 * posix/flexmember.h: New file.
34148 * posix/glob_internal.h: Likewise.
34149 * posix/glob_pattern_p.c: Likewise.
34150 * posix/globfree.c: Likewise.
34151 * posix/globfree64.c: Likewise.
34152 * sysdeps/gnu/globfree64.c: Likewise.
34153 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34154 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34155 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34156 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34157 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34158 * sysdeps/wordsize-64/globfree.c: Likewise.
34159 * sysdeps/wordsize-64/globfree64.c: Likewise.
34160 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34161 [NDEBUG): Remove comments.
34162 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34163 (dirent_type): New type. Use uint_fast8_t not
34164 uint8_t, as C99 does not require uint8_t.
34165 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34166 (struct readdir_result): Use dirent_type. Do not define skip_entry
34167 unless it is needed; this saves a byte on platforms lacking d_ino.
34168 (readdir_result_type, readdir_result_skip_entry):
34169 New functions, replacing ...
34170 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34171 these functions, which were removed. This makes the callers
34172 easier to read. All callers changed.
34173 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34174 (size_add_wrapv, glob_use_alloca): New static functions.
34175 (glob, glob_in_dir): Check for size_t overflow in several places,
34176 and fix some size_t checks that were not quite right.
34177 Remove old code using SHELL since Bash no longer
34179 (glob, prefix_array): Separate MS code better.
34180 (glob_in_dir): Remove old Amiga and VMS code.
34181 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34183 (glob_in_dir): Do not rely on undefined behavior in accessing
34184 struct members beyond their bounds. Use a flexible array member
34186 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34187 0/1. Caller changed.
34188 (glob): Fix memory leaks.
34189 * posix/glob64 (globfree64): Move to separate file.
34190 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34191 (globfree64): Remove hidden alias.
34192 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34194 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34196 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34198 Move compat code to separate file.
34199 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34202 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34204 * resolv/tst-resolv-qtypes.c (domain): Changed to
34205 "const char domain[] =".
34207 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34209 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34212 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34213 (TCP_MD5SIG_EXT): Likewise.
34214 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34215 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34216 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34218 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34220 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34222 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34224 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34227 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34229 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34231 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34232 before assuming that the file is empty. Avoid testing buffer content
34235 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34238 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34240 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34242 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34244 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34246 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34248 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34250 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34253 2017-09-06 Florian Weimer <fweimer@redhat.com>
34255 * malloc/dynarray_emplace_enlarge.c
34256 (__libc_dynarray_emplace_enlarge): Add missing else.
34258 2017-09-06 Florian Weimer <fweimer@redhat.com>
34261 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34262 case of failure to obtain the global conf object.
34264 2017-09-06 Florian Weimer <fweimer@redhat.com>
34267 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34268 dynarray allocation failure.
34270 2017-09-06 Florian Weimer <fweimer@redhat.com>
34272 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34273 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34274 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34276 (response): Call them. Add 'p', '6' flag processing.
34277 (test_reverse): New function.
34278 (test_get2_any): Call it.
34279 (test_no_inet6): Add 'p' test.
34280 (test_inet6): Likewise.
34282 2017-09-06 Florian Weimer <fweimer@redhat.com>
34284 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34285 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34287 (test_gai): Adjust query names. Add additional tests.
34288 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34289 test_get2. Adjust query names. Add additional tests.
34290 (test_no_inet6): New function, extracted from threadfunc.
34291 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34292 Add additional tests.
34294 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34297 * localedata/unicode-gen/utf8_gen.py: Set the width for
34298 characters with Prepended_Concatenation_Mark property to 1
34299 * localedata/charmaps/UTF-8: Updated using the improved script.
34301 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34304 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34305 use the range notation for all ranges of neighbouring characters
34306 with the same width.
34308 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34310 * sysdeps/generic/math-type-macros-double.h: Include
34311 <math-svid-compat.h>.
34312 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34313 * sysdeps/generic/math-type-macros-float.h: Include
34314 <math-svid-compat.h>.
34315 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34316 * sysdeps/generic/math-type-macros-ldouble.h: Include
34317 <math-svid-compat.h>.
34318 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34319 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34321 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34322 * math/w_acosf_compat.c: Likewise.
34323 * math/w_acosh_compat.c: Likewise.
34324 * math/w_acoshf_compat.c: Likewise.
34325 * math/w_acoshl_compat.c: Likewise.
34326 * math/w_acosl_compat.c: Likewise.
34327 * math/w_asin_compat.c: Likewise.
34328 * math/w_asinf_compat.c: Likewise.
34329 * math/w_asinl_compat.c: Likewise.
34330 * math/w_atan2_compat.c: Likewise.
34331 * math/w_atan2f_compat.c: Likewise.
34332 * math/w_atan2l_compat.c: Likewise.
34333 * math/w_atanh_compat.c: Likewise.
34334 * math/w_atanhf_compat.c: Likewise.
34335 * math/w_atanhl_compat.c: Likewise.
34336 * math/w_cosh_compat.c: Likewise.
34337 * math/w_coshf_compat.c: Likewise.
34338 * math/w_coshl_compat.c: Likewise.
34339 * math/w_exp10_compat.c: Likewise.
34340 * math/w_exp10f_compat.c: Likewise.
34341 * math/w_exp10l_compat.c: Likewise.
34342 * math/w_exp2_compat.c: Likewise.
34343 * math/w_exp2f_compat.c: Likewise.
34344 * math/w_exp2l_compat.c: Likewise.
34345 * math/w_fmod_compat.c: Likewise.
34346 * math/w_fmodf_compat.c: Likewise.
34347 * math/w_fmodl_compat.c: Likewise.
34348 * math/w_hypot_compat.c: Likewise.
34349 * math/w_hypotf_compat.c: Likewise.
34350 * math/w_hypotl_compat.c: Likewise.
34351 * math/w_j0_compat.c: Likewise.
34352 * math/w_j0f_compat.c: Likewise.
34353 * math/w_j0l_compat.c: Likewise.
34354 * math/w_j1_compat.c: Likewise.
34355 * math/w_j1f_compat.c: Likewise.
34356 * math/w_j1l_compat.c: Likewise.
34357 * math/w_jn_compat.c: Likewise.
34358 * math/w_jnf_compat.c: Likewise.
34359 * math/w_jnl_compat.c: Likewise.
34360 * math/w_lgamma_r_compat.c: Likewise.
34361 * math/w_lgammaf_r_compat.c: Likewise.
34362 * math/w_lgammal_r_compat.c: Likewise.
34363 * math/w_log10_compat.c: Likewise.
34364 * math/w_log10f_compat.c: Likewise.
34365 * math/w_log10l_compat.c: Likewise.
34366 * math/w_log2_compat.c: Likewise.
34367 * math/w_log2f_compat.c: Likewise.
34368 * math/w_log2l_compat.c: Likewise.
34369 * math/w_log_compat.c: Likewise.
34370 * math/w_logf_compat.c: Likewise.
34371 * math/w_logl_compat.c: Likewise.
34372 * math/w_pow_compat.c: Likewise.
34373 * math/w_powf_compat.c: Likewise.
34374 * math/w_powl_compat.c: Likewise.
34375 * math/w_remainder_compat.c: Likewise.
34376 * math/w_remainderf_compat.c: Likewise.
34377 * math/w_remainderl_compat.c: Likewise.
34378 * math/w_sinh_compat.c: Likewise.
34379 * math/w_sinhf_compat.c: Likewise.
34380 * math/w_sinhl_compat.c: Likewise.
34381 * math/w_sqrt_compat.c: Likewise.
34382 * math/w_sqrtf_compat.c: Likewise.
34383 * math/w_sqrtl_compat.c: Likewise.
34384 * math/w_tgamma_compat.c: Likewise.
34385 * math/w_tgammaf_compat.c: Likewise.
34386 * math/w_tgammal_compat.c: Likewise.
34387 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34388 [LIBM_SVID_COMPAT].
34389 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34390 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34391 [LIBM_SVID_COMPAT].
34392 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34393 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34394 [LIBM_SVID_COMPAT].
34395 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34396 * sysdeps/i386/fpu/w_sqrt.c: New file.
34397 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34398 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34399 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34400 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34401 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34402 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34403 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34404 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34405 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34406 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34407 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34408 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34409 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34410 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34411 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34412 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34413 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34414 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34415 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34416 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34417 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34418 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34419 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34420 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34421 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34422 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34423 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34424 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34425 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34426 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34427 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34428 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34429 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34430 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34431 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34432 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34433 * sysdeps/ia64/fpu/w_log.c: Likewise.
34434 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34435 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34436 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34437 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34438 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34439 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34440 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34441 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34442 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34443 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34444 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34445 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34446 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34447 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34448 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34449 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34450 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34451 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34452 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34453 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34454 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34455 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34456 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34458 [LIBM_SVID_COMPAT].
34459 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34460 * sysdeps/ieee754/k_standard.c: Likewise.
34461 * sysdeps/ieee754/k_standardf.c: Likewise.
34462 * sysdeps/ieee754/k_standardl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34465 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34466 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34467 long_double_symbol call on [LIBM_SVID_COMPAT].
34468 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34469 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34470 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34471 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34472 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34473 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34474 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34475 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34476 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34477 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34478 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34479 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34480 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34481 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34482 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34483 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34484 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34485 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34486 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34487 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34488 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34489 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34491 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34493 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34494 * malloc/tst-mallocstate.c: Convert from test-skeleton
34495 to test-driver. Ifdef code using TEST_COMPAT macro.
34496 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34497 * math/test-matherr.c: Likewise.
34499 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34502 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34503 comparing word with byte-swapped constant.
34505 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34508 * locale/iso-639.def: add Miskito.
34509 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34510 * localedata/locales/miq_NI: New file.
34512 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34515 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34516 (__mkdir): Likewise.
34517 * io/chmod.c (__chmod): Add libc_hidden_def.
34518 * io/mkdir.c (__mkdir): Likewise.
34519 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34520 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34521 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34522 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34524 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34526 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34530 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34531 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34533 2017-09-04 Florian Weimer <fweimer@redhat.com>
34535 * math/math.h: Issue warning if log is defined.
34537 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34539 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34540 kernel version to 4.13.
34542 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34544 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34545 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34547 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34548 just <bits/types.h>.
34549 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34550 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34551 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34552 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34553 * misc/preadv2.c: Include <errno.h>.
34554 * misc/preadv64v2.c: Include <errno.h>.
34555 * misc/pwritev2.c: Include <errno.h>.
34556 * misc/pwritev64v2.c: Include <errno.h>.
34557 * sysdeps/posix/preadv2.c: Include <errno.h>.
34558 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34559 Fix <unistd.h> inclusion.
34560 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34561 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34562 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34563 __strtoul_internal): New functions.
34564 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34565 * sysdeps/posix/system.c: Include <sigsetops.h>.
34566 * sysdeps/mach/hurd/i386/Makefile
34567 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34568 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34569 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34570 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34571 __feraiseexcept_renamed to feraiseexcept instead of
34572 __GI_feraiseexcept.
34573 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34574 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34575 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34576 RWF_NOWAIT): Define to 0 if undefined already.
34577 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34579 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34580 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34582 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34584 * manual/math.texi (pow10): Do not document.
34585 (pow10f): Likewise.
34586 (pow10l): Likewise.
34587 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34588 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34589 * math/libm-test-exp10.inc (pow10_test): Remove.
34590 (do_test): Do not call pow10.
34591 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34592 [NO_LONG_DOUBLE] (pow10l): Likewise.
34593 * math/w_exp10f_compat.c (pow10f): Likewise.
34594 * math/w_exp10l_compat.c (pow10l): Likewise.
34595 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34596 (pow10): Make into compat symbol.
34597 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34598 (pow10f): Make into compat symbol.
34599 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34600 (pow10l): Make into compat symbol.
34601 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34603 (CFLAGS-nldbl-pow10.c): Remove variable..
34604 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34605 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34606 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34607 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34608 Undefine and redefine.
34609 (pow10l): Make into compat symbol.
34610 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34611 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34612 * sysdeps/arm/libm-test-ulps: Likewise.
34613 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34614 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34615 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34616 * sysdeps/microblaze/libm-test-ulps: Likewise.
34617 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34618 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34619 * sysdeps/nios2/libm-test-ulps: Likewise.
34620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34621 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34622 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34623 * sysdeps/sh/libm-test-ulps: Likewise.
34624 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34625 * sysdeps/tile/libm-test-ulps: Likewise.
34626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34628 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34630 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34632 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34634 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34635 "../ChangeLog.old/ChangeLog.8".
34636 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34637 "../ChangeLog.old/ChangeLog.14".
34639 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34641 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34644 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34646 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34648 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34650 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34651 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34653 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34655 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34656 32 atexit handlers.
34658 2017-09-01 Zack Weinberg <zackw@panix.com>
34660 * math/math.h (HUGE_VAL): Improve commentary.
34662 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34663 Andreas Schwab <schwab@suse.de>
34666 * include/stdio.h (__gen_tempfd): New function.
34667 * stdio-common/Makefile (routines): Add gentempfd.
34668 * stdio-common/gentempfd.c: New file.
34669 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34670 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34671 unnamed file first.
34673 2017-09-01 Florian Weimer <fweimer@redhat.com>
34677 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34678 result to determine success or failure, not the errno value.
34679 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34680 (tst-nss-files-hosts-erange): Link with -ldl.
34681 * nss/tst-nss-files-hosts-erange.c: New file.
34682 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34683 (do_test): Add NO_DATA tests.
34684 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34685 (do_test): Call it.
34687 2017-09-01 Florian Weimer <fweimer@redhat.com>
34690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34691 coming from gethostbyname2_r.
34693 2017-09-01 Florian Weimer <fweimer@redhat.com>
34695 * support/namespace.h (struct support_chroot_configuration): Add
34697 (struct support_chroot): Add path_hosts, path_host_conf.
34698 * support/support_chroot.c (write_file): New function.
34699 (support_chroot_create): Call it to process /etc/resolv.conf,
34700 /etc/hosts, /etc/host.conf.
34701 (support_chroot_free): Update.
34703 2017-09-01 Florian Weimer <fweimer@redhat.com>
34705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34706 status indicates it is set.
34708 2017-09-01 Florian Weimer <fweimer@redhat.com>
34711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34712 function lookup failures more reliable.
34714 2017-09-01 Florian Weimer <fweimer@redhat.com>
34716 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34717 (getcanonname): Likewise.
34718 (gaih_inet): Likewise.
34720 2017-09-01 Florian Weimer <fweimer@redhat.com>
34722 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34723 (getcanonname): Likewise.
34724 (gaih_inet): Likewise.
34726 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34727 Richard Henderson <rth@twiddle.net>
34729 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34730 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34731 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34732 (IREG_SIZE, OREG_SIZE): New macros.
34733 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34734 (IREG_SIZE, OREG_SIZE): New macros.
34735 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34736 (IREG_SIZE): New macro.
34737 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34738 (IREG_SIZE): New macro.
34739 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34741 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34742 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34743 (__CONCATX): Handle exceptions correctly on large values that may
34745 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34746 Initialize if not already set.
34747 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34749 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34751 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34752 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34754 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34756 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34758 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34760 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34762 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34764 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34766 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34767 (NO_CANCELLATION): Likewise.
34768 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34770 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34772 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34775 (NO_CANCELLATION): Likewise.
34776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34777 (NO_CANCELLATION): Likewise.
34778 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34780 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34782 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34784 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34786 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34788 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34789 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34791 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34793 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34796 2017-08-31 Florian Weimer <fweimer@redhat.com>
34798 * include/libc-symbols.h (internal_function): Remove.
34800 2017-08-31 Florian Weimer <fweimer@redhat.com>
34802 * stdlib/fmtmsg.c (internal_addseverity): Remove
34805 2017-08-31 Florian Weimer <fweimer@redhat.com>
34807 * stdio-common/printf_fp.c (group_number): Remove
34809 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34811 2017-08-31 Florian Weimer <fweimer@redhat.com>
34813 * posix/fnmatch.c (internal_function): Remove definition.
34814 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34815 * posix/regcomp.c (peek_token, init_word_char)
34816 (duplicate_node_closure, fetch_token, peek_token)
34817 (peek_token_bracket, build_range_exp, build_collating_symbol):
34819 * posix/regex_internal.c (re_string_construct_common)
34820 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34821 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34822 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34823 (re_string_translate_buffer, re_string_reconstruct)
34824 (re_string_peek_byte_case, re_string_fetch_byte_case)
34825 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34826 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34827 (re_node_set_add_intersect, re_node_set_init_union)
34828 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34829 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34830 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34831 (re_acquire_state_context): Likewise.
34832 * posix/regex_internal.h (internal_function): Remove definition.
34833 (re_string_realloc_buffers, build_wcs_buffer)
34834 (build_wcs_upper_buffer, build_upper_buffer)
34835 (re_string_translate_buffer, re_string_context_at)
34836 (re_string_char_size_at, re_string_wchar_at)
34837 (re_string_elem_size_at): Likewise.
34838 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34839 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34840 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34841 (re_search_internal, re_search_2_stub, re_search_stub)
34842 (re_copy_regs, prune_impossible_nodes, check_matching)
34843 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34844 (free_fail_stack_return, sift_states_iter_mb)
34845 (sift_states_backward, build_sifted_states)
34846 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34847 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34848 (check_subexp_limits, sift_states_bkref, merge_state_array)
34849 (find_recover_state, transit_state, merge_state_with_log)
34850 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34851 (transit_state_mb, transit_state_bkref, get_subexp)
34852 (get_subexp_sub, find_subexp_node, check_arrival)
34853 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34854 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34855 (check_node_accept_bytes, find_collation_sequence_value)
34856 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34857 (acquire_init_state_context, check_halt_node_context)
34858 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34859 (sub_epsilon_src_nodes): Likewise.
34860 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34861 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34862 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34863 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34864 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34865 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34866 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34867 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34868 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34869 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34870 (PREADV): Likewise.
34871 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34872 (PREADV): Likewise.
34873 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34874 (PWRITEV): Likewise.
34875 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34876 (PWRITEV): Likewise.
34877 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34878 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34880 2017-08-31 Florian Weimer <fweimer@redhat.com>
34882 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34883 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34884 Remove internal_function.
34885 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34886 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34887 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34888 (__deallocate_stack, __libc_pthread_init)
34889 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34890 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34891 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34893 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34894 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34895 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34897 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34898 (__pthread_mutex_unlock_usercnt): Likewise.
34900 2017-08-31 Florian Weimer <fweimer@redhat.com>
34902 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34903 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34904 (fts_safe_changedir): Remove internal_function.
34905 * io/ftw.c (internal_function): Remove definition.
34906 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34908 2017-08-31 Florian Weimer <fweimer@redhat.com>
34910 * inet/deadline.c (__deadline_current_time)
34911 (__deadline_from_timeval, __deadline_to_ms): Remove
34913 * inet/getnameinfo.c (nrl_domainname): Likewise.
34914 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34915 * inet/inet6_option.c (add_pad): Likewise.
34916 * inet/net-internal.h (__deadline_current_time)
34917 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34918 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34919 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34920 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34922 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34924 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34925 include <bits/nan.h>.
34926 * math/Makefile (headers): Remove bits/nan.h.
34927 * bits/nan.h: Remove.
34928 * sysdeps/ieee754/bits/nan.h: Likewise.
34929 * sysdeps/mips/bits/nan.h: Likewise.
34931 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34932 not include <bits/inf.h>.
34933 * math/Makefile (headers): Remove bits/inf.h.
34934 * bits/inf.h: Remove.
34935 * sysdeps/ieee754/bits/inf.h: Likewise.
34937 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34938 bits/huge_vall.h or bits/huge_val_flt128.h.
34939 (HUGE_VAL): Define directly here.
34940 [__USE_ISOC99] (HUGE_VALF): Likewise.
34941 [__USE_ISOC99] (HUGE_VALL): Likewise.
34942 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34943 (HUGE_VAL_F128): Likewise.
34944 * math/Makefile (headers): Remove bits/huge_val.h,
34945 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34946 * bits/huge_val.h: Remove.
34947 * bits/huge_val_flt128.h: Likewise.
34948 * bits/huge_valf.h: Likewise.
34949 * bits/huge_vall.h: Likewise.
34950 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34951 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34952 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34953 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34954 * sysdeps/sh/bits/huge_val.h: Likewise.
34955 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34956 * sysdeps/x86/bits/huge_vall.h: Likewise.
34958 2017-08-31 Florian Weimer <fweimer@redhat.com>
34960 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34962 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34964 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34965 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34966 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34967 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34968 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34969 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34970 * elf/dl-libc.c (dlerror_run): Likewise.
34971 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34972 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34973 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34974 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34976 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34977 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34978 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34979 * elf/dl-profile.c (_dl_start_profile): Likewise.
34980 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34981 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34983 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34984 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34985 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34986 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34987 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34988 (_dl_allocate_tls_storage): Likewise.
34989 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34990 (_dl_check_all_versions): Likewise.
34991 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34992 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34993 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34994 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34995 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34996 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34997 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34998 internal_function from __dl_start.
34999 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35000 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35001 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35002 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35003 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35004 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35005 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35006 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35007 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35008 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35009 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35010 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35011 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35012 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35013 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35015 (struct rtld_global_ro): Remove internal_function from the
35016 _dl_lookup_symbol_x member.
35017 (_dl_symbol_value): Remove. No longer defined anywhere.
35018 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35020 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35021 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35022 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35023 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35024 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35025 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35026 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35027 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35028 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35029 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35030 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35031 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35033 2017-08-31 Florian Weimer <fweimer@redhat.com>
35035 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35036 Remove internal_function.
35037 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35039 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35042 2017-08-31 Florian Weimer <fweimer@redhat.com>
35044 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35045 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35046 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35048 2017-08-31 Florian Weimer <fweimer@redhat.com>
35050 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35051 (__gai_enqueue_request): Remove internal_function.
35052 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35053 (__gai_remove_request, __gai_notify, __gai_notify_only)
35054 (__gai_sigqueue): Likewise.
35055 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35056 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35057 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35058 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35061 2017-08-31 Florian Weimer <fweimer@redhat.com>
35063 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35064 * include/dirent.h (__opendirat, __getdents, __getdents64)
35065 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35066 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35067 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35068 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35072 2017-08-31 Florian Weimer <fweimer@redhat.com>
35074 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35076 (GETCWD_RETURN_TYPE): Likewise.
35078 2017-08-31 Florian Weimer <fweimer@redhat.com>
35080 * include/time.h (__tz_compute, __strptime_internal): Remove
35082 * time/strptime_l.c (__strptime_internal): Likewise.
35083 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35085 2017-08-31 Florian Weimer <fweimer@redhat.com>
35087 * iconv/gconv.c (__gconv): Remove internal_function.
35088 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35089 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35090 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35091 (__gconv_release_cache): Likewise.
35092 * iconv/gconv_close.c (__gconv_close): Likewise.
35093 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35094 (read_conf_file, __gconv_get_path): Likewise.
35095 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35096 (__gconv_release_step, gen_steps, increment_counter)
35097 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35098 (__gconv_close_transform, free_modules_db): Likewise.
35099 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35101 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35102 (__gconv_find_transform, __gconv_lookup_cache)
35103 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35104 (__gconv_close_transform, __gconv_release_cache)
35105 (__gconv_loaded_object, __gconv_release_shlib)
35106 (__gconv_compare_alias): Likewise.
35107 * iconv/gconv_open.c (__gconv_open): Likewise.
35108 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35109 * iconv/iconvconfig.c (add_module): Likewise.
35110 * intl/dcigettext.c (plural_lookup, guess_category_value)
35111 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35112 * intl/eval-plural.h (plural_eval): Likewise.
35113 * intl/finddomain.c (_nl_find_domain): Likewise.
35114 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35115 (_nl_load_domain, _nl_find_msg): Likewise.
35116 (internal_function): Remove definition.
35117 * intl/loadinfo.h (internal_function): Likewise.
35118 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35120 * intl/localealias.c (internal_function): Remove definition.
35121 (read_alias_file): Remove internal_function.
35122 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35123 * intl/plural-exp.h (internal_function): Remove definition.
35124 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35126 * intl/plural.c: Regenerate.
35127 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35128 * locale/coll-lookup.c (__collidx_table_lookup)
35129 (__collseq_table_lookup): Likewise.
35130 * locale/coll-lookup.h (__collidx_table_lookup)
35131 (__collseq_table_lookup): Likewise.
35132 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35133 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35134 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35135 (_nl_unload_locale): Likewise.
35136 * locale/localeinfo.h (struct __locale_data): Remove
35137 internal_function from cleanup member.
35138 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35139 (_nl_remove_locale, _nl_load_locale_from_archive)
35140 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35141 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35142 (_nl_cleanup_time): Remove internal_function.
35143 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35144 (_nl_parse_alt_digit): Likewise.
35145 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35146 (_nl_select_era_entry): Likewise.
35147 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35148 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35149 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35150 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35151 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35153 2017-08-31 Florian Weimer <fweimer@redhat.com>
35155 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35156 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35157 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35158 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35160 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35161 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35162 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35163 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35165 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35167 2017-08-31 Florian Weimer <fweimer@redhat.com>
35169 * misc/getttyent.c (skip, value): Remove internal_function.
35170 * misc/syslog.c (openlog_internal): Likewise.
35171 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35173 2017-08-31 Florian Weimer <fweimer@redhat.com>
35175 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35176 (__nss_rewrite_field): Remove internal_function.
35177 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35178 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35179 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35180 * nss/nsswitch.c (nss_parse_file, nss_getline)
35181 (nss_parse_service_list, nss_new_service): Likewise.
35182 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35183 * nss/valid_field.c (__nss_valid_field): Likewise.
35184 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35186 2017-08-31 Florian Weimer <fweimer@redhat.com>
35188 * malloc/arena.c (__malloc_fork_lock_parent)
35189 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35190 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35191 internal_function from defintions.
35192 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35193 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35194 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35195 internal_function from declarations.
35196 * malloc/malloc.c (internal_function): Do not define.
35197 (mem2mem_check): Remove internal_function from declaration.
35198 (munmap_chunk, mremap_chunk): Remove internal_function.
35199 * malloc/mtrace.c (tr_where): Likewise.
35201 2017-08-31 Florian Weimer <fweimer@redhat.com>
35203 * include/rpc/pmap_clnt.h (__get_socket): Remove
35205 * sunrpc/auth_des.c (synchronize): Likewise.
35206 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35207 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35208 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35209 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35210 (key_call): Likewise.
35211 * sunrpc/pm_getport.c (__get_socket): Likewise.
35212 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35213 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35214 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35215 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35216 (invalidate): Likewise.
35217 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35218 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35219 (set_input_fragment, get_input_bytes): Likewise.
35221 2017-08-31 Florian Weimer <fweimer@redhat.com>
35223 * malloc/malloc.c (_int_free): Remove locked variable and related
35226 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35229 * Makerules (build-module-helper-objlist): Filter out
35230 $(elf-objpfx)sofini.os.
35231 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35234 2017-08-31 Florian Weimer <fweimer@redhat.com>
35236 * libio/fcloseall.c: Assume weak_alias is defined.
35237 * libio/feof.c: Likewise.
35238 * libio/fileno.c: Likewise.
35239 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35240 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35242 (_IO_file_open): Call __open directly.
35243 (_IO_new_file_sync): Assume ESPIPE is defined.
35244 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35245 (_IO_new_file_write): Call __write directly.
35246 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35247 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35248 * libio/genops.c: Assume _LIBC is defined.
35249 (save_for_backup): Remove internal_function.
35250 * libio/getc.c: Assume weak_alias is defined.
35251 * libio/getwc.c: Likewise.
35252 * libio/iofclose.c: Assume _LIBC is defined.
35253 * libio/iofdopen.c: Likewise.
35254 (_IO_fcntl): Remove macro definition.
35255 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35256 Call __fcntl directly.
35257 * libio/iofflush.c: Assume weak_alias is defined.
35258 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35260 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35261 * libio/iofgets.c: Likewise.
35262 * libio/iofopen.c: Assume _LIBC is defined.
35263 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35264 * libio/iofputs.c: Assume weak_alias is defined.
35265 * libio/iofread.c: Likewise.
35266 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35267 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35268 * libio/ioftell.c: Assume weak_alias is defined.
35269 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35270 * libio/iofwide.c: Assume _LIBC is defined.
35271 (_IO_fwide): Drop SHARED conditional because it is implied by
35273 * libio/iofwrite.c: Assume weak_alias is defined.
35274 * libio/iogetdelim.c: Likewise.
35275 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35276 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35277 (_IO_getwline): Call __wmemcpy directly.
35278 * libio/iopopen.c: Assume _LIBC is defined.
35279 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35280 (_IO_close): Remove macro definitions.
35281 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35283 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35285 * libio/ioputs.c: Assume weak_alias is defined.
35286 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35287 * libio/iosetbuffer.c: Assume weak_alias is defined.
35288 * libio/iosetvbuf.c: Likewise.
35289 * libio/ioungetc.c: Likewise.
35290 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35291 libc_hidden_def, libc_hidden_weak, NULL are defined.
35292 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35293 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35295 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35297 (_IO_old_file_init_internal): Drop SHARED conditional because it
35298 is implied by SHLIB_COMPAT.
35299 (_IO_old_file_fopen): Call __open directly.
35300 (_IO_old_file_sync): Assume ESPIPE is defined.
35301 (_IO_old_file_write): Call __write directly.
35302 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35303 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35304 Call __fcntl directly.
35305 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35306 (_IO_old_fgetpos): Assume EIO is defined.
35307 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35308 (_IO_old_fgetpos64): Assume EIO is defined.
35309 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35310 (_IO_old_fsetpos): Assume EIO is defined.
35311 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35312 (_IO_old_fsetpos64): Assume EIO is defined.
35313 * libio/oldiopopen.c: Assume _LIBC is defined.
35314 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35315 (_IO_close): Remove macro definitions.
35316 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35318 (_IO_old_proc_close): Call __close, __waitpid directly.
35319 * libio/put.c: Assume weak_alias is defined.
35320 * libio/stdfiles.c: Assume _LIBC is defined.
35321 * libio/stdio.c: Likewise.
35322 * libio/wfileops.c: Likewise.
35323 (_IO_wfile_sync): Assume ESPIPE is defined.
35324 * libio/wgenops.c: Assume _LIBC is defined.
35325 (save_for_wbackup): Remove internal_function.
35327 2017-08-31 Florian Weimer <fweimer@redhat.com>
35329 * malloc/malloc.c (top_check): Change return type to void. Remove
35331 * malloc/hooks.c (top_check): Likewise.
35332 (malloc_check, realloc_check, memalign_check): Adjust.
35334 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35338 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35339 sigcontext and namespace requirements.
35340 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35341 * sysdeps/m68k/sys/ucontext.h: Likewise.
35342 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35343 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35344 <bits/sigcontext.h>.
35345 (__ctx): Define earlier.
35346 (mcontext_t): Define structure contents rather than using struct
35348 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35349 __glibc_reserved1 instead of __reserved.
35350 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35351 <bits/sigcontext.h>.
35352 (__ctx): Define earlier.
35353 (mcontext_t): Define structure contents rather than using struct
35355 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35356 mcontext_t instead of struct sigcontext.
35357 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35358 <bits/sigcontext.h>.
35359 (__ctx): Define earlier.
35360 (mcontext_t): Define structure contents rather than using struct
35362 * sysdeps/unix/sysv/linux/hppa/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/ia64/makecontext.c (__makecontext): Use
35368 mcontext_t instead of struct sigcontext.
35369 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35370 mcontext_t instead of struct sigcontext.
35371 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35372 <bits/sigcontext.h>.
35373 (__ctx): New macro.
35374 (struct __ia64_fpreg_mcontext): New type.
35375 (mcontext_t): Define structure contents rather than using struct
35377 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35378 (uc_sigmask): Define using __ctx.
35379 (uc_stack): Likewise.
35380 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35381 <bits/sigcontext.h>.
35382 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35383 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35384 <bits/sigcontext.h>.
35385 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35386 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35387 <bits/sigcontext.h>.
35388 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35389 <bits/sigcontext.h>.
35390 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35391 <bits/sigcontext.h>.
35392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35393 <bits/sigcontext.h>.
35394 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35395 <bits/sigcontext.h>.
35396 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35397 <bits/sigcontext.h>.
35398 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35399 <bits/sigcontext.h>.
35400 (__ctx): Define earlier.
35401 (mcontext_t): Define structure contents rather than using struct
35403 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35404 <bits/sigcontext.h>. Include <bits/types.h>.
35405 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35406 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35407 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35408 (test-xfail-UNIX98/signal.h/conform): Likewise.
35409 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35410 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35411 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35412 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35413 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35414 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35415 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35416 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35417 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35419 2017-08-30 Florian Weimer <fweimer@redhat.com>
35421 * malloc/dynarray_emplace_enlarge.c
35422 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35423 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35424 * malloc/tst-dynarray.c (test_long_overflow): New function.
35425 (do_test): Call it.
35427 2017-08-30 Florian Weimer <fweimer@redhat.com>
35429 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35430 (set_arena_corrupt): Remove definitions.
35431 (mtrim): Do not check for corrupt arena.
35432 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35435 2017-08-30 Florian Weimer <fweimer@redhat.com>
35438 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35440 (ptmalloc_init): Do not set or use check_action.
35441 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35442 call to malloc_printerr. Remove return statement.
35443 (free_check): Likewise. Remove arena unlock.
35444 (top_check): Update comment. Adjust call to malloc_printerr.
35445 Remove heap repair code.
35446 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35447 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35448 (sysmalloc): Adjust call to malloc_printerr.
35449 (munmap_chunk, __libc_realloc): Likewise. Remove return
35451 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35452 Remove errout label and corresponding gotos.
35453 (_int_free): Likewise. Remove arena unlock.
35454 (do_set_mallopt_check): Do not set check_action.
35455 (malloc_printerr): Adjust parameter list. Do not mark arena as
35457 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35459 * manual/probes.texi (Memory Allocation Probes): Remove
35460 memory_mallopt_check_action.
35462 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35464 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35465 Use pointer to uint64_t instead of long int for sp.
35467 2017-08-30 Florian Weimer <fweimer@redhat.com>
35470 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35471 without printing a backtrace. Do not leak any information in the
35473 * manual/memory.texi (Heap Consistency Checking): Update.
35474 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35476 2017-08-30 Florian Weimer <fweimer@redhat.com>
35478 Do not scale NPTL tests with available number of CPUs.
35479 * nptl/tst-cond16.c (count): Set to constant value of 8.
35480 * nptl/tst-cond18.c (count): Likewise.
35482 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35485 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35486 Define to take a second argument that is a macro that
35487 concatentates a suffix, not the suffix itself.
35488 (__CONCAT_d): New macro.
35489 (__CONCAT_f): Likewise.
35490 (__CONCAT_l): Likewise.
35492 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35494 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35497 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35498 Aurelien Jarno <aurelien@aurel32.net>
35499 Maciej W. Rozycki <macro@imgtec.com>
35502 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35503 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35504 `mips16-syscall6' and `mips16-syscall7'.
35505 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35506 (CFLAGS-mips16-syscall7.c): Remove.
35507 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35508 Remove `__mips16_syscall5', `__mips16_syscall6' and
35509 `__mips16_syscall7'.
35510 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35511 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35512 `__mips_syscall_return'.
35513 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35514 (__mips16_syscall1): Likewise.
35515 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35516 (__mips16_syscall2): Likewise.
35517 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35518 (__mips16_syscall3): Likewise.
35519 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35520 (__mips16_syscall4): Likewise.
35521 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35523 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35525 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35527 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35528 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35529 `__mips16_syscall5'. Remove prototype.
35530 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35531 `__mips16_syscall6'. Remove prototype.
35532 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35533 `__mips16_syscall7'. Remove prototype.
35534 (__nomips16, __mips16_syscall_return): Move to...
35535 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35536 (__nomips16, __mips_syscall_return): ... here.
35537 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35538 `__mips16_syscall_return' to `__mips_syscall_return'.
35539 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35540 `internal_syscall##nr'.
35541 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35542 `internal_syscall##nr'.
35543 (FORCE_FRAME_POINTER): Remove.
35544 (__mips_syscall5): New prototype.
35545 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35546 (__mips_syscall6): New prototype.
35547 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35548 (__mips_syscall7): New prototype.
35549 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35550 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35551 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35552 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35553 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35554 (sysdep_routines): Add libc-do-syscall.
35555 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35556 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35558 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35561 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35562 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35563 (advise_stack_range): New function.
35564 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35565 stack non required to advise_stack_range at allocatestack.c
35567 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35569 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35571 2017-08-29 Florian Weimer <fweimer@redhat.com>
35574 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35575 __end_fct. Mangle __end_fct after setting it to NULL.
35576 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35577 (modules-names, modules-names-tests): Add
35578 tst-gconv-init-failure-mod.
35579 (gconv-modules): New target.
35580 (tst-gconv-init-failure-mod.so): Link against libsupport.
35581 (tst-gconv-init-failure): Depend on gconv-modules,
35582 tst-gconv-init-failure-mod.so.
35583 * iconv/tst-gconv-init-failure-mod.c: New file.
35584 * iconv/tst-gconv-init-failure.c: Likewise.
35585 * iconv/test-gconv-modules: Likewise.
35587 2017-08-29 Florian Weimer <fweimer@redhat.com>
35590 * iconv/gconv_db.c (free_derivation): Remove redundant
35592 (gen_steps): Unconditionally mangle __btowc_fct after
35594 (increment_counter): Likewise. Do not call init_fct for internal
35597 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35600 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35601 (_MSUF_): Remove macro.
35602 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35604 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35605 (__REDIRFROM_X): New macro.
35606 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35608 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35609 (__REDIRTO_X): Likewise.
35610 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35612 (__MATH_REDIRCALL_2): Likewise.
35613 (__MATH_REDIRCALL_INTERNAL): Likewise.
35614 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35615 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35616 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35617 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35618 * math/test-finite-macros.c: New file.
35619 * math/Makefile (tests): Add test-finite-macros.
35620 (CFLAGS-test-finite-macros.c): New variable.
35622 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35623 Jeff Law <law@redhat.com>
35626 Mangle NULL pointers in iconv/gconv.
35627 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35628 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35629 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35630 is non-NULL before demangling the end_fct. Check for NULL
35631 end_fct after demangling.
35632 (__gconv_release_step): Demangle the end_fct before checking
35633 it for NULL. Remove assert on __shlibc_handle != NULL.
35634 (gen_steps): Don't check btowc_fct for NULL before mangling.
35635 Demangle init_fct before checking for NULL.
35636 (increment_counter): Likewise.
35637 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35638 end_fct for NULL before mangling.
35639 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35642 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35645 * locale/iso-639.def: add Morisyen.
35647 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35650 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35651 (iszero): New C++ implementation that does not use
35652 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35653 signaling nans are enabled, since __builtin_types_compatible_p
35654 is a C-only feature.
35655 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35656 defined, include ieee754_float128.h for access to the union and
35657 member ieee854_float128.ieee.
35658 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35659 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35660 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35661 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35662 options of test-math-zero on powerpc64le.
35664 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35666 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35667 Change double to float.
35669 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35671 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35673 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35674 conditional code; define contents only for [LIBM_SVID_COMPAT].
35676 2017-08-28 Florian Weimer <fweimer@redhat.com>
35678 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35679 (abi-lp64_be-options): Remove.
35680 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35681 (abi-hard-options): Likewise.
35682 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35683 (abi-o32_hard-options, abi-o32_soft_2008-options)
35684 (abi-o32_hard_2008-options, abi-n32_soft-options)
35685 (abi-n32_hard-options, abi-n32_soft_2008-options)
35686 (abi-n32_hard_2008-options, abi-n64_soft-options)
35687 (abi-n64_hard-options, abi-n64_soft_2008-options)
35688 (abi-n64_hard_2008-options): Likewise.
35689 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35690 (abi-64-v1-options, abi-64-v2-options): Likewise.
35691 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35692 (abi-64-options): Likewise.
35693 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35694 (abi-64-options): Likewise.
35695 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35696 (abi-64-options): Likewise.
35697 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35698 (abi-64-options, abi-x32-options): Likewise.
35700 2017-08-28 Florian Weimer <fweimer@redhat.com>
35702 Store supported list of SYS_* system calls in the source tree.
35703 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35704 (bits/syscall.h): Generate from list file.
35705 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35706 [$(subdir) = misc] (tests): Add tst-syscall-list.
35707 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35708 [$(subdir) = misc] (tst-syscall-list-macros.list)
35709 [$(subdir) = misc] (tst-syscall-list-nr.list)
35710 (tst-syscall-list-sys.list): Helper targets for new
35711 tst-syscall-list test.
35712 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35713 tst-syscall-list.sh.
35714 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35715 target. Do not include bits/syscall.d.
35716 [$(subdir) = misc] (generated): Do not update.
35717 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35718 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35719 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35720 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35722 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35724 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35725 (tst-cxa_atexit, tst-on_exit): Likewise.
35726 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35727 tst-cxa_atexit, and tst-on_exit.
35728 * stdlib/tst-atexit-common.c: New file.
35729 * stdlib/tst-atexit.c: New file.
35730 * stdlib/tst-at_quick_exit.c: New file.
35731 * stdlib/tst-cxa_atexit.c: New file.
35732 * stdlib/tst-on_exit.c: New file.
35734 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35736 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35737 * mach/stack_chk_fail_local.c: New file.
35738 * hurd/stack_chk_fail_local.c: New file.
35739 * mach/Machrules ($(interface-library)-routines): Add
35740 stack_chk_fail_local.
35741 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35742 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35743 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35744 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35745 * hurd/Makefile (CFLAGS-hurdstartup.o,
35746 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35748 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35750 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35751 (index_cpu_*, index_arch_*): Removed.
35753 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35755 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35756 Use uint64_t instead of unsigned long.
35758 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35760 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35761 [__HAVE_DISTINCT_FLOAT128].
35763 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35764 of <bits/math-finite.h>.
35765 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35766 inclusion of <bits/math-finite.h>.
35767 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35768 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35769 __NO_LONG_DOUBLE_MATH].
35770 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35771 (__MATH_REDIRCALL_2): Likewise.
35772 (__MATH_REDIRCALL_INTERNAL): Likewise.
35773 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35774 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35775 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35794 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35795 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35796 w_sqrtf_compat-ppc32.
35798 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35800 * math/math.h [defined __cplusplus] (issignaling): In the long
35801 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35802 is not defined. Call __issignaling, otherwise.
35804 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35806 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35807 syscall definitions and replace __builtin_expect with __glibc_likely.
35808 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35810 (SYSCALL_CANCELLABLE): Removedefinition
35811 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35813 (PSEUDO_END): Likewise.
35814 [IS_IN (libpthread)] (CENABLE): Likewise.
35815 [IS_IN (libpthread)] (CDISABLE): Likewise.
35816 [IS_IN (libc)] (CENABLE): Likewise.
35817 [IS_IN (libc)] (CENABLE): Likewise.
35818 [IS_IN (librt)] (CDISABLE): Likewise.
35819 [IS_IN (librt)] (CDISABLE): Likewise.
35820 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35821 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35823 (PSEUDO_END): Likewise.
35824 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35825 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35826 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35827 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35828 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35829 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35830 (CENABLE): Likewise.
35831 (CDISABLE): Likewise.
35832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35833 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35835 (PSEUDO_END): Likewise.
35836 [IS_IN (libpthread)] (CENABLE): Likewise.
35837 [IS_IN (libpthread)] (CDISABLE): Likewise.
35838 [IS_IN (libc)] (CENABLE): Likewise.
35839 [IS_IN (libc)] (CENABLE): Likewise.
35840 [IS_IN (librt)] (CDISABLE): Likewise.
35841 [IS_IN (librt)] (CDISABLE): Likewise.
35842 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35843 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35845 (PSEUDO_END): Likewise.
35846 [IS_IN (libpthread)] (CENABLE): Likewise.
35847 [IS_IN (libpthread)] (CDISABLE): Likewise.
35848 [IS_IN (libc)] (CENABLE): Likewise.
35849 [IS_IN (libc)] (CENABLE): Likewise.
35850 [IS_IN (librt)] (CDISABLE): Likewise.
35851 [IS_IN (librt)] (CDISABLE): Likewise.
35852 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35853 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35855 (PSEUDO_END): Likewise.
35856 [IS_IN (libpthread)] (CENABLE): Likewise.
35857 [IS_IN (libpthread)] (CDISABLE): Likewise.
35858 [IS_IN (libc)] (CENABLE): Likewise.
35859 [IS_IN (libc)] (CENABLE): Likewise.
35860 [IS_IN (librt)] (CDISABLE): Likewise.
35861 [IS_IN (librt)] (CDISABLE): Likewise.
35862 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35863 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35865 (PSEUDO_END): Likewise.
35866 [IS_IN (libpthread)] (CENABLE): Likewise.
35867 [IS_IN (libpthread)] (CDISABLE): Likewise.
35868 [IS_IN (libc)] (CENABLE): Likewise.
35869 [IS_IN (libc)] (CENABLE): Likewise.
35870 [IS_IN (librt)] (CDISABLE): Likewise.
35871 [IS_IN (librt)] (CDISABLE): Likewise.
35872 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35875 (PSEUDO_END): Likewise.
35876 [IS_IN (libpthread)] (CENABLE): Likewise.
35877 [IS_IN (libpthread)] (CDISABLE): Likewise.
35878 [IS_IN (libc)] (CENABLE): Likewise.
35879 [IS_IN (libc)] (CENABLE): Likewise.
35880 [IS_IN (librt)] (CDISABLE): Likewise.
35881 [IS_IN (librt)] (CDISABLE): Likewise.
35882 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35883 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35885 (PSEUDO_END): Likewise.
35886 [IS_IN (libpthread)] (CENABLE): Likewise.
35887 [IS_IN (libpthread)] (CDISABLE): Likewise.
35888 [IS_IN (libc)] (CENABLE): Likewise.
35889 [IS_IN (libc)] (CENABLE): Likewise.
35890 [IS_IN (librt)] (CDISABLE): Likewise.
35891 [IS_IN (librt)] (CDISABLE): Likewise.
35892 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35893 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35895 (PSEUDO_END): Likewise.
35896 [IS_IN (libpthread)] (CENABLE): Likewise.
35897 [IS_IN (libpthread)] (CDISABLE): Likewise.
35898 [IS_IN (libc)] (CENABLE): Likewise.
35899 [IS_IN (libc)] (CENABLE): Likewise.
35900 [IS_IN (librt)] (CDISABLE): Likewise.
35901 [IS_IN (librt)] (CDISABLE): Likewise.
35902 (SINGLE_THREAD_P): Likewise.
35903 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35905 (PSEUDO_END): Likewise.
35906 [IS_IN (libpthread)] (CENABLE): Likewise.
35907 [IS_IN (libpthread)] (CDISABLE): Likewise.
35908 [IS_IN (libc)] (CENABLE): Likewise.
35909 [IS_IN (libc)] (CENABLE): Likewise.
35910 [IS_IN (librt)] (CDISABLE): Likewise.
35911 [IS_IN (librt)] (CDISABLE): Likewise.
35912 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35913 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35915 (PSEUDO_END): Likewise.
35916 [IS_IN (libpthread)] (CENABLE): Likewise.
35917 [IS_IN (libpthread)] (CDISABLE): Likewise.
35918 [IS_IN (libc)] (CENABLE): Likewise.
35919 [IS_IN (libc)] (CENABLE): Likewise.
35920 [IS_IN (librt)] (CDISABLE): Likewise.
35921 [IS_IN (librt)] (CDISABLE): Likewise.
35922 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35923 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35924 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35925 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35928 (PSEUDO_END): Likewise.
35929 [IS_IN (libpthread)] (CENABLE): Likewise.
35930 [IS_IN (libpthread)] (CDISABLE): Likewise.
35931 [IS_IN (libc)] (CENABLE): Likewise.
35932 [IS_IN (libc)] (CENABLE): Likewise.
35933 [IS_IN (librt)] (CDISABLE): Likewise.
35934 [IS_IN (librt)] (CDISABLE): Likewise.
35935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35938 (PSEUDO_END): Likewise.
35939 [IS_IN (libpthread)] (CENABLE): Likewise.
35940 [IS_IN (libpthread)] (CDISABLE): Likewise.
35941 [IS_IN (libc)] (CENABLE): Likewise.
35942 [IS_IN (libc)] (CENABLE): Likewise.
35943 [IS_IN (librt)] (CDISABLE): Likewise.
35944 [IS_IN (librt)] (CDISABLE): Likewise.
35945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35946 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35948 (PSEUDO_END): Likewise.
35949 [IS_IN (libpthread)] (CENABLE): Likewise.
35950 [IS_IN (libpthread)] (CDISABLE): Likewise.
35951 [IS_IN (libc)] (CENABLE): Likewise.
35952 [IS_IN (libc)] (CENABLE): Likewise.
35953 [IS_IN (librt)] (CDISABLE): Likewise.
35954 [IS_IN (librt)] (CDISABLE): Likewise.
35955 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35958 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35959 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35961 (PSEUDO_END): Likewise.
35962 [IS_IN (libpthread)] (CENABLE): Likewise.
35963 [IS_IN (libpthread)] (CDISABLE): Likewise.
35964 [IS_IN (libc)] (CENABLE): Likewise.
35965 [IS_IN (libc)] (CENABLE): Likewise.
35966 [IS_IN (librt)] (CDISABLE): Likewise.
35967 [IS_IN (librt)] (CDISABLE): Likewise.
35968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35969 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35971 (PSEUDO_END): Likewise.
35972 [IS_IN (libpthread)] (CENABLE): Likewise.
35973 [IS_IN (libpthread)] (CDISABLE): Likewise.
35974 [IS_IN (libc)] (CENABLE): Likewise.
35975 [IS_IN (libc)] (CENABLE): Likewise.
35976 [IS_IN (librt)] (CDISABLE): Likewise.
35977 [IS_IN (librt)] (CDISABLE): Likewise.
35978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35980 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35982 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35984 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35986 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35988 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35991 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35992 middle and outer with size_t instead of int. Repleace %d and
35993 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35994 "MAX (outer, nchars - 64)" to support unsigned outer and
35995 nchars. Also exit loop when outer == 0.
35997 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35999 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36000 * include/signal.h (__sigsuspend_nocancel): Likewise.
36001 * include/time.h (__nanosleep_nocancel): Likewise.
36002 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36003 * login/utmp_file.c: Include non cancellable syscall header.
36004 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36007 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36009 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36010 .byte sequences with AVX512F instructions.
36011 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36012 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36013 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36014 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36019 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36020 Steve Ellcey <sellcey@cavium.com>
36022 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36023 Use PTR_REG macro in cmp instruction.
36025 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36027 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36028 Change the return type of the ifunc resolver to match the return
36029 type of the target function.
36031 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36033 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36034 (preadv64): Likewise.
36035 (pwrite64(: Likewise.
36036 (pwritev64): Likewise.
36038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36039 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36040 (LOAD_ARGS_0): Likewise.
36041 (LOAD_ARGS_1): Likewise.
36042 (LOAD_ARGS_2): Likewise.
36043 (LOAD_ARGS_3): Likewise.
36044 (LOAD_ARGS_4): Likewise.
36045 (LOAD_ARGS_5): Likewise.
36046 (LOAD_ARGS_6): Likewise.
36047 (LOAD_REGS_0): Likewise.
36048 (LOAD_REGS_1): Likewise.
36049 (LOAD_REGS_2): Likewise.
36050 (LOAD_REGS_3): Likewise.
36051 (LOAD_REGS_4): Likewise.
36052 (LOAD_REGS_5): Likewise.
36053 (LOAD_REGS_6): Likewise.
36054 (ASM_ARGS_0): Likewise.
36055 (ASM_ARGS_1): Likewise.
36056 (ASM_ARGS_2): Likewise.
36057 (ASM_ARGS_3): Likewise.
36058 (ASM_ARGS_4): Likewise.
36059 (ASM_ARGS_5): Likewise.
36060 (ASM_ARGS_6): Likewise.
36061 (LOAD_ARGS_TYPES_1): Likewise.
36062 (LOAD_ARGS_TYPES_2): Likewise.
36063 (LOAD_ARGS_TYPES_3): Likewise.
36064 (LOAD_ARGS_TYPES_4): Likewise.
36065 (LOAD_ARGS_TYPES_5): Likewise.
36066 (LOAD_ARGS_TYPES_6): Likewise.
36067 (LOAD_REGS_TYPES_1): Likewise.
36068 (LOAD_REGS_TYPES_2): Likewise.
36069 (LOAD_REGS_TYPES_3): Likewise.
36070 (LOAD_REGS_TYPES_4): Likewise.
36071 (LOAD_REGS_TYPES_5): Likewise.
36072 (LOAD_REGS_TYPES_6): Likewise.
36073 (TYPEFY): New define.
36074 (ARGIFY): Likewise.
36075 (internal_syscall0): Likewise.
36076 (internal_syscall1): Likewise.
36077 (internal_syscall2): Likewise.
36078 (internal_syscall3): Likewise.
36079 (internal_syscall4): Likewise.
36080 (internal_syscall5): Likewise.
36081 (internal_syscall6): Likewise.
36082 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36083 (INTERNAL_SYSCALL_NCS): Remove define.
36084 (internal_syscall1): Add define.
36086 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36088 * math/w_remainder_compat.c: Remove duplicate inclusion of
36089 math-svid-compat.h.
36090 * math/w_remainderf_compat.c: Likewise.
36091 * math/w_remainderl_compat.c: Likewise.
36093 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36097 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36100 * math/tgmath.h (__floating_type): Simplify definitions.
36101 (__real_integer_type): New macro.
36102 (__complex_integer_type): Likewise.
36103 (__expr_is_real): Likewise.
36104 (__tgmath_real_type_sub): Update comment to describe handling of
36106 (__tgmath_complex_type_sub): New macro.
36107 (__tgmath_complex_type): Likewise.
36108 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36109 (__TGMATH_CF128): Use __expr_is_real.
36110 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36112 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36113 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36114 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36117 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36119 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36121 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36123 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36126 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36127 nanosleep_not_cancel with __nanosleep_nocancel.
36128 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36129 (__nanosleep_nocancel): New macro.
36130 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36132 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36134 (__nanosleep_nocancel): New prototype.
36136 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36137 pause_not_cancel with __pause_nocancel.
36138 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36139 (__pause_nocancel): New macro.
36140 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36142 (__pause_nocancel): New prototype.
36143 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36145 2017-08-22 Martin Sebor <msebor@redhat.com>
36147 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36148 to return a pointer to the same type as the target function.
36150 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36154 * include/printf.h (__printf_fphex): Add attribute_hidden.
36155 (__guess_grouping): New prototype.
36156 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36157 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36158 libc_hidden_proto and libc_hidden_def.
36159 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36160 (__vstrfmon_l): Remove the third argument passed to
36163 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36165 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36166 definition for issignaling that does not rely on __MATH_TG,
36167 since __MATH_TG uses __builtin_types_compatible_p, which is only
36168 available in C mode.
36169 (CFLAGS-test-math-issignaling.cc): New variable.
36170 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36171 * math/test-math-issignaling.cc: New test for C++ implementation
36172 of type-generic issignaling.
36173 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36174 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36175 options of test-math-issignaling on powerpc64le.
36177 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36179 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36181 (hidden_proto): Likewise.
36182 (hidden_tls_proto): Likewise.
36183 (__hidden_proto): Likewise.
36185 2017-08-22 Florian Weimer <fweimer@redhat.com>
36187 math: Statically link tests of internal functionality.
36188 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36190 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36191 (gmp-objs): Remove assignment.
36192 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36194 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36197 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36199 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36201 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36204 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36205 variable definitions above inclusion of ../Rules.
36207 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36209 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36210 case calling __builtin_unreachable.
36212 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36214 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36215 __waitpid_nocancel.
36216 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36217 (__waitpid_nocancel): New macro.
36218 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36220 (__waitpid_nocancel): Replace macro with a function.
36221 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36224 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36226 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36227 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36229 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36230 __writev_nocancel_nostatus.
36231 (write_call_graph): Likewise.
36232 (write_bb_counts): Likewise.
36233 * resolv/herror.c (herror): Likewise.
36234 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36236 (__writev_nocancel_nostatus): New macro.
36237 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36239 (__writev_nocancel_nostatus): New function.
36241 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36244 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36246 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36248 (hidden_proto): Likewise.
36249 (hidden_tls_proto): Likewise.
36250 (__hidden_proto): Likewise.
36253 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36254 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36265 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36266 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36268 GLIBC_2.0 sqrtl symbol.
36270 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36271 [__USE_MISC] (_LIB_VERSION): Likewise.
36272 [__USE_MISC] (struct exception): Likewise.
36273 [__USE_MISC] (matherr): Likewise.
36274 [__USE_MISC] (DOMAIN): Likewise.
36275 [__USE_MISC] (SING): Likewise.
36276 [__USE_MISC] (OVERFLOW): Likewise.
36277 [__USE_MISC] (UNDERFLOW): Likewise.
36278 [__USE_MISC] (TLOSS): Likewise.
36279 [__USE_MISC] (PLOSS): Likewise.
36280 [__USE_MISC] (HUGE): Likewise.
36281 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36282 * math/math-svid-compat.h: New file.
36283 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36285 * include/math.h [!_ISOMAC] (__matherr): Remove.
36286 * manual/arith.texi (FP Exceptions): Do not document matherr.
36287 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36288 (tests-internal): New variable.
36289 (install-lib): Do not add libieee.a.
36290 (non-lib.a): Likewise.
36291 (extra-objs): Do not add libieee.a and ieee-math.o.
36292 (CPPFLAGS-s_lib_version.c): Remove variable.
36293 ($(objpfx)libieee.a): Remove rule.
36294 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36295 * math/ieee-math.c: Remove.
36296 * math/libm-test-support.c (matherr): Remove.
36297 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36298 and license notices. Include <math-svid-compat.h> and
36300 (matherr): Undefine as macro. Use compat_symbol_reference.
36301 (_LIB_VERSION): Likewise.
36302 * math/test-matherr-2.c: New file.
36303 * math/test-matherr-3.c: Likewise.
36304 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36306 (__kernel_standard_f): Likewise.
36307 (__kernel_standard_l): Likewise.
36308 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36309 <math_private.h>. Include <math-svid-compat.h>.
36310 (_LIB_VERSION): Undefine as macro.
36311 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36312 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36313 [LIBM_SVID_COMPAT], use compat_symbol.
36314 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36315 <math_private.h>. Include <math-svid-compat.h>.
36316 (matherr): Undefine as macro.
36317 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36319 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36320 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36321 compat_symbol_reference.
36322 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36323 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36324 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36325 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36326 (MATHERR_D): Remove declaration.
36327 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36328 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36329 [LIBM_BUILD] (pmatherrf): Likewise.
36330 [LIBM_BUILD] (pmatherr): Likewise.
36331 [LIBM_BUILD] (pmatherrl): Likewise.
36332 (DOMAIN): Likewise.
36334 (OVERFLOW): Likewise.
36335 (UNDERFLOW): Likewise.
36338 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36339 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36341 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36342 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36344 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36345 * math/w_acos_compat.c: Likewise.
36346 * math/w_acosf_compat.c: Likewise.
36347 * math/w_acosh_compat.c: Likewise.
36348 * math/w_acoshf_compat.c: Likewise.
36349 * math/w_acoshl_compat.c: Likewise.
36350 * math/w_acosl_compat.c: Likewise.
36351 * math/w_asin_compat.c: Likewise.
36352 * math/w_asinf_compat.c: Likewise.
36353 * math/w_asinl_compat.c: Likewise.
36354 * math/w_atan2_compat.c: Likewise.
36355 * math/w_atan2f_compat.c: Likewise.
36356 * math/w_atan2l_compat.c: Likewise.
36357 * math/w_atanh_compat.c: Likewise.
36358 * math/w_atanhf_compat.c: Likewise.
36359 * math/w_atanhl_compat.c: Likewise.
36360 * math/w_cosh_compat.c: Likewise.
36361 * math/w_coshf_compat.c: Likewise.
36362 * math/w_coshl_compat.c: Likewise.
36363 * math/w_exp10_compat.c: Likewise.
36364 * math/w_exp10f_compat.c: Likewise.
36365 * math/w_exp10l_compat.c: Likewise.
36366 * math/w_exp2_compat.c: Likewise.
36367 * math/w_exp2f_compat.c: Likewise.
36368 * math/w_exp2l_compat.c: Likewise.
36369 * math/w_fmod_compat.c: Likewise.
36370 * math/w_fmodf_compat.c: Likewise.
36371 * math/w_fmodl_compat.c: Likewise.
36372 * math/w_hypot_compat.c: Likewise.
36373 * math/w_hypotf_compat.c: Likewise.
36374 * math/w_hypotl_compat.c: Likewise.
36375 * math/w_j0_compat.c: Likewise.
36376 * math/w_j0f_compat.c: Likewise.
36377 * math/w_j0l_compat.c: Likewise.
36378 * math/w_j1_compat.c: Likewise.
36379 * math/w_j1f_compat.c: Likewise.
36380 * math/w_j1l_compat.c: Likewise.
36381 * math/w_jn_compat.c: Likewise.
36382 * math/w_jnf_compat.c: Likewise.
36383 * math/w_jnl_compat.c: Likewise.
36384 * math/w_lgamma_main.c: Likewise.
36385 * math/w_lgamma_r_compat.c: Likewise.
36386 * math/w_lgammaf_main.c: Likewise.
36387 * math/w_lgammaf_r_compat.c: Likewise.
36388 * math/w_lgammal_main.c: Likewise.
36389 * math/w_lgammal_r_compat.c: Likewise.
36390 * math/w_log10_compat.c: Likewise.
36391 * math/w_log10f_compat.c: Likewise.
36392 * math/w_log10l_compat.c: Likewise.
36393 * math/w_log2_compat.c: Likewise.
36394 * math/w_log2f_compat.c: Likewise.
36395 * math/w_log2l_compat.c: Likewise.
36396 * math/w_log_compat.c: Likewise.
36397 * math/w_logf_compat.c: Likewise.
36398 * math/w_logl_compat.c: Likewise.
36399 * math/w_pow_compat.c: Likewise.
36400 * math/w_powf_compat.c: Likewise.
36401 * math/w_powl_compat.c: Likewise.
36402 * math/w_remainder_compat.c: Likewise.
36403 * math/w_remainderf_compat.c: Likewise.
36404 * math/w_remainderl_compat.c: Likewise.
36405 * math/w_scalb_compat.c: Likewise.
36406 * math/w_scalbf_compat.c: Likewise.
36407 * math/w_scalbl_compat.c: Likewise.
36408 * math/w_sinh_compat.c: Likewise.
36409 * math/w_sinhf_compat.c: Likewise.
36410 * math/w_sinhl_compat.c: Likewise.
36411 * math/w_sqrt_compat.c: Likewise.
36412 * math/w_sqrtf_compat.c: Likewise.
36413 * math/w_sqrtl_compat.c: Likewise.
36414 * math/w_tgamma_compat.c: Likewise.
36415 * math/w_tgammaf_compat.c: Likewise.
36416 * math/w_tgammal_compat.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36418 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36419 * sysdeps/ieee754/k_standard.c: Likewise.
36420 * sysdeps/ieee754/k_standardf.c: Likewise.
36421 * sysdeps/ieee754/k_standardl.c: Likewise.
36422 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36423 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36424 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36428 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36429 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36430 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36437 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36438 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36440 2017-08-21 Florian Weimer <fweimer@redhat.com>
36443 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36444 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36445 Move before inclusion of ../Rules.
36447 2017-08-21 Florian Weimer <fweimer@redhat.com>
36450 * assert/assert.h (assert): Use static_cast (bool) for C++.
36451 Use the ternary operator in the warning branch for GNU C.
36452 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36453 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36454 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36455 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36456 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36458 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36461 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36462 (__syscall_clock_gettime): Add attribute_hidden.
36463 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36464 (__start_context): Likewise.
36466 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36468 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36470 (hidden_proto): Likewise.
36471 (hidden_tls_proto): Likewise.
36472 (__hidden_proto): Likewise.
36474 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36476 * include/libc-symbols.h (attribute_hidden): Enable hidden
36477 visibility in libc.a compiled with PIE.
36479 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36482 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36483 Add attribute_hidden.
36485 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36488 * Makerules (all-nonlib): Add $(others-extras).
36489 * catgets/Makefile (others-extras): New.
36490 * elf/Makefile (others-extras): Likewise.
36491 * nss/Makefile (others-extras): Likewise.
36493 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36496 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36497 * elf/dl-open.c: Include <libc-internal.h>.
36498 (__libc_multiple_libcs): Removed.
36499 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36501 * include/libc-internal.h (__libc_multiple_libcs): New.
36502 * misc/sbrk.c: Include <libc-internal.h>.
36503 (__libc_multiple_libcs): Removed.
36505 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36508 * grp/initgroups.c (__nss_group_database): Removed.
36509 (__nss_initgroups_database): Likewise.
36510 * nscd/gai.c (__nss_hosts_database): Likewise.
36511 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36512 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36513 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36514 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36515 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36516 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36518 * nss/nsswitch.c (__nss_database_custom): Define only if
36519 USE_NSCD is defined.
36520 (__nss_configure_lookup): Use __nss_database_custom only if
36521 USE_NSCD is defined.
36522 * nss/nsswitch.h (__nss_database_custom): Declare only if
36523 USE_NSCD is defined. Add attribute_hidden.
36524 (__nss_setent): Add attribute_hidden.
36525 (__nss_endent): Likewise.
36526 (__nss_getent_r): Likewise.
36527 (__nss_getent): Likewise.
36528 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36530 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36533 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36534 libc_hidden_proto and libc_hidden_def.
36536 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36539 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36540 Add libc_hidden_proto.
36541 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36542 Add libc_hidden_def.
36544 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36547 * gmon/Makefile (routines): Remove bb_init_func and
36549 (elide-routines.os): Removed.
36550 * gmon/bb_exit_func.c: Likewise.
36551 * gmon/bb_init_func.c: Likewise.
36552 * include/sys/gmon.h (__bb): Likewise.
36553 (__bb_init_func): Likewise.
36554 (__bb_exit_func): Likewise.
36555 * sysdeps/alpha/bb_init_func.S: Likewise.
36557 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36559 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36560 * include/setjmp.h (____longjmp_chk): Here. Add
36563 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36566 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36568 (__strspn_sse2): Likewise.
36570 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36572 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36573 (close_not_cancel_no_status): Likewise.
36574 (__close_nocancel): New macro.
36575 (__close_nocancel_nostatus): Likewise.
36576 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36578 (close_not_cancel): Likewise.
36579 (close_not_cancel_no_status): Likewise.
36580 (__close_nocancel): New prototype.
36581 (__close_nocancel_nostatus): New function.
36582 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36583 * catgets/open_catalog.c (__open_catalog): Replace
36584 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36585 * gmon/gmon.c (write_gmon): Likewise.
36586 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36587 * intl/loadmsgcat.c (close): Likewise.
36588 * io/ftw.c (open_dir_stream): Likewise.
36589 (ftw_startup): Likewise.
36590 * libio/fileops.c (_IO_file_open): Likewise.
36591 (_IO_file_close_mmap): Likewise.
36592 (_IO_file_close): Likewise.
36593 * libio/iopopen.c (_IO_dup2): Likewise.
36594 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36595 * locale/loadlocale.c (_nl_load_locale): Likewise.
36596 * login/utmp_file.c (pututline_file): Likewise.
36597 (endutent_file): Likewise.
36598 * misc/daemon.c (daemon): Likewise.
36599 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36600 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36601 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36602 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36604 * nscd/nscd_helper.c (open_socket): Likewise.
36605 (__nscd_open_socket): Likewise.
36606 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36607 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36608 (__nscd_innetgr): Likewise.
36609 * nss/nss_db/db-open.c (internal_setent): Likewise.
36610 * resolv/res-close.c (__res_iclose): Likewise.
36611 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36612 * sysdeps/posix/closedir.c (__closedir): Likewise.
36613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36614 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36615 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36616 (opendir_tail): Likewise.
36617 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36618 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36619 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36620 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36621 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36622 (gethostid): Likewise.
36623 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36624 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36627 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36628 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36629 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36631 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36632 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36633 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36635 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36636 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36638 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36640 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36641 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36642 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36645 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36646 (openat_not_cancel_3): Likewise.
36647 (openat64_not_cancel_3): Likewise).
36648 (openat_not_cancel_3): Likewise).
36649 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36651 (openat_not_cancel_3): Likewise.
36652 (openat64_not_cancel): Likewise.
36653 (openat64_not_cancel_3): Likewise.
36654 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36655 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36656 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36657 __open{64}_nocancel.
36658 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36659 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36660 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36662 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36665 * include/argz.h (__argz_create_sep): New function prototype.
36666 (__argz_append): Likewise.
36667 (__argz_add): Likewise.
36668 (__argz_add_sep): Likewise.
36669 (__argz_delete): Likewise.
36670 (__argz_insert): Likewise.
36671 (__argz_replace): Likewise.
36672 * string/argz.h (__argz_create_sep): Removed.
36673 (__argz_append): Likewise.
36674 (__argz_add): Likewise.
36675 (__argz_add_sep): Likewise.
36676 (__argz_delete): Likewise.
36677 (__argz_insert): Likewise.
36678 (__argz_replace): Likewise.
36680 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36682 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36683 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36684 (GNU_PROPERTY_STACK_SIZE): Likewie.
36685 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36686 (GNU_PROPERTY_LOPROC): Likewise.
36687 (GNU_PROPERTY_HIPROC): Likewise.
36688 (GNU_PROPERTY_LOUSER): Likewise.
36689 (GNU_PROPERTY_HIUSER): Likewise.
36690 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36691 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36692 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36693 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36694 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36695 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36696 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36697 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36698 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36699 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36700 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36701 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36702 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36703 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36704 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36705 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36706 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36707 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36708 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36709 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36710 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36711 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36712 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36714 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36716 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36719 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36722 * math/math.h (isinf): Check if in C or C++ mode before using
36723 __builtin_types_compatible_p, since this is a C mode feature.
36725 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36727 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36728 (__write_nocancel): New macro.
36729 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36730 Rewrite as a function prototype.
36731 (write_not_cancel): Remove macro.
36732 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36733 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36734 (write_gmon): Likewise.
36735 * libio/fileops.c (_IO_new_file_write): Likewise.
36736 * login/utmp_file.c (pututline_file): Likewise.
36737 (updwtmp_file): Likewise.
36738 * stdio-common/psiginfo.c (psiginfo): Likewise.
36739 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36740 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36741 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36743 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36746 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36747 (__read_nocancel): New macro.
36748 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36750 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36752 (__read_nocancel): New prototype.
36753 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36754 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36755 with __read_nocancel.
36756 * intl/loadmsgcat.c (read): Likewise.
36757 * libio/fileops.c (_IO_file_read): Likewise.
36758 * locale/loadlocale.c (_nl_load_locale): Likewise.
36759 * login/utmp_file.c (getutent_r_file): Likewise.
36760 (internal_getut_r): Likewise.
36761 (getutline_r_file): Likewise.
36762 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36763 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36764 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36767 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36768 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36769 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36771 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36773 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36775 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36779 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36782 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36783 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36786 2017-08-17 DJ Delorie <dj@redhat.com>
36788 * bug17079.c: Update to new test harness.
36789 * test-digits-dots.c: Likewise.
36790 * test-netdb.c: Likewise.
36791 * tst-field.c: Likewise.
36792 * tst-nss-getpwent.c: Likewise.
36793 * tst-nss-static.c: Likewise.
36794 * tst-nss-test1.c: Likewise.
36795 * tst-nss-test2.c: Likewise.
36796 * tst-nss-test3.c: Likewise.
36797 * tst-nss-test4.c: Likewise.
36798 * tst-nss-test5.c: Likewise.
36800 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36802 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36803 (open_not_cancel_2): Likewise.
36804 (open_nocancel): New macro.
36805 (open64_nocancel): Likewise.
36806 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36807 (open_not_cancel_2): Likewise.
36808 (__open_nocancel): New prototype.
36809 (__open64_nocancel): Likewise.
36810 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36812 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36813 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36814 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36815 with __open_nocancel.
36816 * csu/check_fds.c (check_one_fd): Likewise.
36817 * gmon/gmon.c (write_gmon): Likewise.
36818 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36819 * intl/loadmsgcat.c (open): Likewise.
36820 * libio/fileops.c (_IO_file_open): Likewise.
36821 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36822 * locale/loadlocale.c (_nl_load_locale): Likewise.
36823 * login/utmp_file.c (setutent_file): Likewise.
36824 * misc/daemon.c (daemon): Likewise.
36825 * nss/nss_db/db-open.c (internal_setent): Likewise.
36826 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36827 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36828 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36829 (__opendir): Likewise.
36830 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36831 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36832 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36833 (gethostid): Likewise.
36834 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36838 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36839 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36840 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36842 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36844 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36846 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36848 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36850 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36852 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36855 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36857 * benchtests/bench-skeleton.c (main): Add support for
36858 latency benchmarking.
36859 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36861 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36863 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36864 the startup object.
36866 2017-08-17 Florian Weimer <fweimer@redhat.com>
36868 * include/sys/socket.h (__opensock): Remove internal_function.
36869 * socket/opensock.c (__opensock): Likewise.
36870 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36872 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36875 * signal/bits/types/__sigval_t.h: New file.
36876 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36877 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36878 and define sigval_t using __sigval_t.
36879 * include/bits/types/__sigval_t.h: New file.
36880 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36881 instead of <bits/types/__sigval_t.h>.
36882 (struct sigevent): Use __sigval_t instead of sigval_t.
36883 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36884 instead of <bits/types/__sigval_t.h>.
36885 (siginfo_t): Use __sigval_t instead of sigval_t.
36886 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36887 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36888 (struct sigevent): Use __sigval_t instead of sigval_t.
36889 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36890 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36891 (siginfo_t): Use __sigval_t instead of sigval_t.
36892 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36894 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36896 * NEWS: Remove "[Add new features here]" for 2.27.
36898 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36900 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36903 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36905 * NEWS: Mention x86-64 FMA optimization.
36907 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36912 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36913 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36914 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36916 2017-08-16 Andreas Schwab <schwab@suse.de>
36920 * elf/ldd.bash.in: Never run file directly.
36922 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36925 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36926 (L(SP_INF_0)): Likewise.
36928 2017-08-15 Florian Weimer <fweimer@redhat.com>
36930 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36933 2017-08-15 Florian Weimer <fweimer@redhat.com>
36935 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36936 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36937 BROKEN_THREAD_SIGNALS code.
36938 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36939 request_list): Remove caller_pid member used for
36940 BROKEN_THREAD_SIGNALS.
36941 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36942 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36943 Remove BROKEN_THREAD_SIGNALS support.
36944 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36945 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36947 2017-08-15 Florian Weimer <fweimer@redhat.com>
36949 * gmon/Makefile (tests): Add tst-gmon.
36950 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36952 (tests-special): Add tst-gmon-prof.out.
36953 (tst-gmon.out): Depend on clean-tst-gmon-data.
36954 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36955 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36956 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36958 * aclocal.m4 (GPROF): Set and substitute.
36959 * config.amke.in (GPROF): Set.
36960 * configure: Regenerate.
36962 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36964 * elf/elf.h A (NT_PPC_TAR): New macro.
36965 (NT_PPC_PPR): Likewise.
36966 (NT_PPC_DSCR): Likewise.
36967 (NT_PPC_EBB): Likewise.
36968 (NT_PPC_PMU): Likewise.
36969 (NT_PPC_TM_CGPR): Likewise.
36970 (NT_PPC_TM_CFPR): Likewise.
36971 (NT_PPC_TM_CVMX): Likewise.
36972 (NT_PPC_TM_CVSX): Likewise.
36973 (NT_PPC_TM_SPR): Likewise.
36974 (NT_PPC_TM_CTAR): Likewise.
36975 (NT_PPC_TM_CPPR): Likewise.
36976 (NT_PPC_TM_CDSCR): Likewise.
36978 2017-08-15 Florian Weimer <fweimer@redhat.com>
36980 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36981 regparm (2) instead of internal_function.
36982 (_MCOUNT_DECL): Adjust.
36984 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36986 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36987 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36989 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36991 * conform/data/sys/wait.h-data (si_value): Do not expect for
36994 2017-08-14 Florian Weimer <fweimer@redhat.com>
36997 NSS: Create stubs for accidentally exported lookup functions.
36998 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36999 Remove declaration.
37000 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37001 (ether_hostton): Call __nss_ethers_lookup2 instead.
37002 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37003 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37004 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37005 (setup): Call __nss_netgroup_lookup2 instead.
37006 * nss/Makefile (routines): Add compat-lookup.
37007 * nss/Versions (GLIBC_2.27): Add symbol version.
37008 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37009 (DB_COMPAT_FCT): Remove.
37010 * nss/compat-lookup.c: New file.
37011 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37012 from databases.def.
37013 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37014 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37015 (netname2user): Call __nss_publickey_lookup2 instead.
37016 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37017 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37020 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37021 Sergei Trofimovich <slyfox@inbox.ru>
37024 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37025 Rename to MMAP2_PAGE_UNIT.
37026 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37027 __OFF_T_MATCHES_OFF64_T is not defined.
37028 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37030 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37031 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37033 2017-08-14 Florian Weimer <fweimer@redhat.com>
37035 i386: Do not set internal_function.
37036 * config.h.in (USE_REGPARMS, internal_function): Remove.
37037 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37038 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37040 2017-08-14 Florian Weimer <fweimer@redhat.com>
37042 * elf/dl-init.c (_dl_init): Remove internal_function.
37043 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37044 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37046 2017-08-14 Florian Weimer <fweimer@redhat.com>
37048 * elf/rtld.c (_dl_start): Remove internal_function.
37049 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37052 2017-08-14 Florian Weimer <fweimer@redhat.com>
37054 * elf/dl-fini.c (_dl_fini): Remove internal_function
37055 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37057 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37059 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37060 (bit_cpu_SHSTK): Likewise.
37061 (index_cpu_IBT): Likewise.
37062 (index_cpu_SHSTK): Likewise.
37063 (reg_IBT): Likewise.
37064 (reg_SHSTK): Likewise.
37065 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37066 Handle index_cpu_IBT and index_cpu_SHSTK.
37068 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37071 * po/fr.po: Fix spelling mistake.
37073 2017-08-13 Florian Weimer <fweimer@redhat.com>
37075 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37076 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37077 (_dl_catch_error, _dl_receive_error): Likewise.
37078 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37079 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37080 (_dl_deallocate_tls): Likewise.
37081 * include/dlfcn.h (_dl_addr): Likewise.
37082 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37083 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37084 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37087 2017-08-13 Florian Weimer <fweimer@redhat.com>
37089 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37090 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37092 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37094 2017-08-13 Florian Weimer <fweimer@redhat.com>
37096 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37098 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37099 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37100 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37101 internal_function from _dl_make_stack_executable_hook member.
37102 (_dl_make_stack_executable): Remove internal_function.
37103 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37105 * sysdeps/unix/sysv/linux/dl-execstack.c
37106 (_dl_make_stack_executable): Likewise.
37108 2017-08-13 Florian Weimer <fweimer@redhat.com>
37110 * sysdeps/unix/sysv/linux/netlinkaccess.h
37111 (__netlink_assert_response): Remove internal_function.
37112 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37113 (__netlink_assert_response): Likewise.
37115 2017-08-13 Florian Weimer <fweimer@redhat.com>
37117 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37119 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37121 2017-08-13 Florian Weimer <fweimer@redhat.com>
37123 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37125 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37126 * inet/netgroup.h (__internal_setnetgrent)
37127 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37128 * inet/getnetgrent_r.c (__internal_setnetgrent)
37129 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37130 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37131 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37132 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37133 * nss/nsswitch.h (db_lookup_function): Likewise.
37135 2017-08-13 Florian Weimer <fweimer@redhat.com>
37137 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37138 Remove internal_function.
37139 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37140 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37141 message argument on the stack.
37142 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37145 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37147 Adapt test case data to the changes in the thousands
37151 * localedata/tst-langinfo.sh: Adapt test case data.
37152 * stdlib/tst-strfmon_l.c: Likewise.
37153 * stdlib/tst-strtod4.c: Likewise.
37154 * stdlib/tst-strtod5i.c: Likewise.
37156 2017-08-11 Florian Weimer <fweimer@redhat.com>
37159 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37160 Suppress pedantic warning resulting from statement expression.
37161 (__ASSERT_FUNCTION): Add missing __extension__.
37163 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37165 * benchtests/bench-memmove-large.c: Print output in JSON
37167 * benchtests/bench-memmove.c: Likewise.
37169 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37170 * benchtests/bench-memchr.c (do_one_test): Likewise.
37171 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37172 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37173 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37174 * benchtests/bench-memmove.c (do_one_test): Likewise.
37175 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37176 * benchtests/bench-memset.c (do_one_test): Likewise.
37177 * benchtests/bench-string.h (test_init): Remove memsets.
37179 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37182 (Computing the Width of an Integer Data Type): Rename section to
37183 "Width of an Integer Type". Remove inaccurate statement regarding
37184 lack of C language facilities for determining width of integer
37185 types, and reorder content to improve flow and context of
37188 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37190 * lang.texi (va_copy): Change standard from ISO to C99.
37191 (__va_copy): Add standard and header annotation.
37192 Update description for clarity of origins and current use.
37194 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37197 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37198 xssqrtqp requires operands to be in Vector Registers
37199 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37200 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37201 (__ieee754_sqrtf128): Likewise.
37203 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37205 * sysdeps/aarch64/memcmp.S (memcmp):
37206 Rewrite of optimized memcmp.
37208 2017-08-10 Florian Weimer <fweimer@redhat.com>
37210 Introduce ld.so exceptions.
37211 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37212 (_dl_exception_create, _dl_exception_create_format)
37213 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37214 (_dl_catch_exception): Declare.
37215 (_dl_catch_error): Update comment.
37216 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37217 errstring, malloced members with exception member.
37218 (_dl_out_of_memory): Remove.
37219 (fatal_error): New function, extracted from _dl_signal_error.
37220 (_dl_signal_exception, _dl_signal_cexception): New functions.
37221 (_dl_signal_error): Call _dl_exception_create to allocate an
37223 (_dl_catch_exception): New function, based on _dl_catch_error.
37224 (_dl_catch_error): Implement using _dl_catch_exception.
37225 * elf/dl-exception.c: New file.
37226 * elf/Makefile (dl-routines): Add dl-exception.
37227 (elide-routines.os): Likewise.
37228 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37229 _dl_exception_create_format, _dl_exception_free.
37230 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37231 _dl_signal_exception.
37232 * elf/dl-lookup.c (make_string): Remove.
37233 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37234 _dl_signal_cexception, _dl_exception_free.
37235 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37236 _dl_signal_exception.
37237 * elf/dl-sym.c (do_sym): Likewise.
37238 * elf/dl-version.c (make_string): Remove.
37239 (match_symbol): Use _dl_exception_create_format,
37240 _dl_signal_cexception, _dl_exception_free.
37241 (_dl_check_map_versions): Likewise.
37242 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37243 _dl_catch_exception.
37244 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37245 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37246 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37247 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37248 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37249 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37250 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37251 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37253 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37260 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37261 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37262 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37266 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37268 2017-08-10 Florian Weimer <fweimer@redhat.com>
37270 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37271 attribute_hidden, internal_function.
37272 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37275 2017-08-10 Florian Weimer <fweimer@redhat.com>
37277 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37278 function which calls __builtin_unreachable.
37280 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37282 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37283 Indian monetary formatting
37284 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37287 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37289 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37290 Fix typo in comment.
37293 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37294 PTRACE_SEIZE_DEVEL): Remove.
37295 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37296 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37301 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37303 * posix/bits/types.h (__qaddr_t): Remove.
37306 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37307 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37309 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37310 (ucontext_t): Use __ctx with uc_flags.
37311 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37312 (__ctxt): Likewise.
37313 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37315 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37316 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37318 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37319 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37321 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37323 (ucontext_t): Use __ctx with uc_flags.
37324 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37325 (ucontext_t): Use __ctx with uc_flags.
37326 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37327 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37328 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37329 (ucontext_t): Use __ctx with uc_flags.
37330 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37331 undefine further down.
37332 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37334 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37335 undefine further down.
37336 (ucontext_t): Use __ctx with uc_flags.
37337 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37338 undefine further down.
37339 (ucontext_t): Use __ctx with uc_flags.
37340 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37341 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37342 Rename uc_pad to __glibc_reserved1.
37343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37344 undefine further down.
37345 (ucontext_t): Use __ctx with uc_flags.
37346 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37348 (ucontext_t): Use __ctx with uc_flags.
37349 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37350 __ctx with uc_flags.
37351 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37352 (ucontext_t): Use __ctx with uc_flags.
37353 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37354 __ctx with uc_flags.
37356 2017-08-09 Florian Weimer <fweimer@redhat.com>
37359 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37360 before early return.
37362 2017-08-09 Andreas Schwab <schwab@suse.de>
37365 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37369 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37370 tst-compat-forwarder.
37371 (modules-names): Add tst-compat-forwarder-mod.
37372 ($(objpfx)tst-compat-forwarder): Depend on
37373 $(objpfx)tst-compat-forwarder-mod.so.
37374 * nptl/tst-compat-forwarder.c: New file.
37375 * nptl/tst-compat-forwarder-mod.c: New file.
37377 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37379 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37382 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37383 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37385 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37387 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37388 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37389 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37390 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37395 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37398 * manual/setjmp.texi (getcontex): Document uc_stack value
37399 compatibility differences.
37401 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37403 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37404 (old_malloc_hook): Likewise.
37405 (old_memalign_hook): Likewise.
37406 (old_realloc_hook): Likewise.
37407 (struct hdr): Likewise.
37409 (freehook): Likewise.
37410 (mallochook): Likewise.
37411 (memalignhook): Likewise.
37412 (reallochook): Likewise.
37413 (mprobe): Likewise.
37414 * malloc/mtrace.c (mallwatch): Likewise.
37415 (tr_old_free_hook): Likewise.
37416 (tr_old_malloc_hook): Likewise.
37417 (tr_old_realloc_hook): Likewise.
37418 (tr_old_memalign_hook): Likewise.
37419 (tr_where): Likewise.
37420 (lock_and_info): Likewise.
37421 (tr_freehook): Likewise.
37422 (tr_mallochook): Likewise.
37423 (tr_reallochook): Likewise.
37424 (tr_memalignhook): Likewise.
37425 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37426 * misc/mmap.c (__mmap): Likewise.
37427 * misc/mmap64.c (__mmap64): Likewise.
37428 * misc/mprotect.c (__mprotect): Likewise.
37429 * misc/msync.c (msync): Likewise.
37430 * misc/munmap.c (__munmap): Likewise.
37431 * posix/posix_madvise.c (posix_madvise): Likewise.
37432 * socket/send.c (__send): Likewise.
37433 * socket/sendto.c (__sendto): Likewise.
37434 * socket/setsockopt.c (__setsockopt): Likewise.
37435 * string/memcmp.c (__ptr_t): Remove macro.
37436 (MEMCMP): Use void * instead of ptr_t.
37437 * string/memrchr.c (__ptr_t): Remove macro.
37438 (__memrchr): Use void * instead of ptr_t.
37439 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37440 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37441 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37442 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37443 * sysdeps/mach/msync.c (msync): Likewise.
37444 * sysdeps/mach/munmap.c (__munmap): Likewise.
37445 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37447 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37448 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37449 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37450 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37451 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37452 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37453 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37454 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37456 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37457 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37458 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37459 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37460 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37461 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37462 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37463 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37464 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37466 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37467 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37468 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37469 (MEMCMP): Use void * instead of ptr_t.
37470 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37471 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37473 2017-08-08 Florian Weimer <fweimer@redhat.com>
37475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37478 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37481 * csu/libc-tls.c: Include <startup.h> first.
37482 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37483 * elf/dl-tunables.c: Include <startup.h> first.
37484 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37485 * sysdeps/generic/startup.h: New file.
37486 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37487 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37488 (I386_USE_SYSENTER): New. Defined to 0.
37490 2017-08-08 Andreas Schwab <schwab@suse.de>
37493 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37494 * nptl/pt-system.c (system): Likewise.
37496 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37499 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37501 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37502 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37503 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37504 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37505 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37506 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37507 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37509 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37512 * bits/sigaction.h (struct sigaction): Define sa_handler and
37513 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37514 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37515 [__USE_XOPEN_EXTENDED].
37516 (SA_RESTART): Likewise.
37517 (SA_NODEFER): Likewise.
37518 (SA_RESETHAND): Likewise.
37519 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37520 (struct sigaction): Define sa_handler and sa_sigaction using union
37521 also for [__USE_XOPEN_EXTENDED].
37522 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37523 [__USE_XOPEN_EXTENDED].
37524 (SA_RESTART): Likewise.
37525 (SA_NODEFER): Likewise.
37526 (SA_RESETHAND): Likewise.
37527 * sysdeps/unix/sysv/linux/bits/sigaction.h
37528 (struct sigaction): Define sa_handler and sa_sigaction using union
37529 also for [__USE_XOPEN_EXTENDED].
37530 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37531 [__USE_XOPEN_EXTENDED].
37532 (SA_RESTART): Likewise.
37533 (SA_NODEFER): Likewise.
37534 (SA_RESETHAND): Likewise.
37535 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37536 (struct sigaction): Define sa_handler and sa_sigaction using union
37537 also for [__USE_XOPEN_EXTENDED].
37538 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37539 [__USE_XOPEN_EXTENDED].
37540 (SA_RESTART): Likewise.
37541 (SA_NODEFER): Likewise.
37542 (SA_RESETHAND): Likewise.
37543 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37544 (struct sigaction): Define sa_handler and sa_sigaction using union
37545 also for [__USE_XOPEN_EXTENDED].
37546 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37547 [__USE_XOPEN_EXTENDED].
37548 (SA_RESTART): Likewise.
37549 (SA_NODEFER): Likewise.
37550 (SA_RESETHAND): Likewise.
37551 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37552 (struct sigaction): Define sa_handler and sa_sigaction using union
37553 also for [__USE_XOPEN_EXTENDED].
37554 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37555 [__USE_XOPEN_EXTENDED].
37556 (SA_RESTART): Likewise.
37557 (SA_NODEFER): Likewise.
37558 (SA_RESETHAND): Likewise.
37559 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37560 (struct sigaction): Define sa_handler and sa_sigaction using union
37561 also for [__USE_XOPEN_EXTENDED].
37562 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37563 [__USE_XOPEN_EXTENDED].
37564 (SA_RESTART): Likewise.
37565 (SA_NODEFER): Likewise.
37566 (SA_RESETHAND): Likewise.
37567 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37568 (struct sigaction): Define sa_handler and sa_sigaction using union
37569 also for [__USE_XOPEN_EXTENDED].
37570 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37571 [__USE_XOPEN_EXTENDED].
37572 (SA_RESTART): Likewise.
37573 (SA_NODEFER): Likewise. Define directly rather than as alias.
37574 (SA_RESETHAND): Likewise.
37575 (SA_INTERRUPT): Define only for [__USE_MISC].
37576 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37577 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37579 (SA_STACK): Define only for [__USE_MISC].
37580 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37581 (struct sigaction): Define sa_handler and sa_sigaction using union
37582 also for [__USE_XOPEN_EXTENDED].
37583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37584 [__USE_XOPEN_EXTENDED].
37585 (SA_RESTART): Likewise.
37586 (SA_NODEFER): Likewise.
37587 (SA_RESETHAND): Likewise.
37588 (SA_NOPTRACE): Define only for [__USE_MISC].
37590 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37591 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37592 (struct catalog_info): Likewise.
37593 * inet/htontest.c (lo): Likewise.
37595 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37596 * inet/inet_net.c (inet_network): Likewise.
37597 * inet/inet_netof.c (inet_netof): Likewise.
37598 * inet/rcmd.c (__ivaliduser): Likewise.
37599 (iruserok): Likewise.
37600 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37601 * locale/programs/locale-spec.c (locale_special): Likewise.
37602 * nis/nis_findserv.c (struct findserv_req): Likewise.
37603 (__nis_findfastest_with_timeout): Likewise.
37604 * nss/test-netdb.c (test_network): Likewise.
37605 * resolv/inet_neta.c (inet_neta): Likewise.
37606 * resolv/ns_date.c (ns_datetosecs): Likewise.
37607 (SECS_PER_DAY): Likewise.
37608 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37610 * resolv/res_comp.c (__putlong): Likewise.
37611 (__putshort): Likewise.
37612 (_getlong): Likewise.
37613 (_getshort): Likewise.
37614 * resolv/res_debug.c (p_time): Likewise.
37615 (precsize_ntoa): Likewise.
37616 (precsize_aton): Likewise.
37617 (latlon2ul): Likewise.
37618 (loc_aton): Likewise.
37619 (loc_ntoa): Likewise.
37620 * resolv/res_hconf.c (struct netaddr): Likewise.
37621 (_res_hconf_reorder_addrs): Likewise.
37622 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37623 (clnttcp_control): Likewise.
37624 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37625 (clntudp_control): Likewise.
37626 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37627 (clntunix_control): Likewise.
37628 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37629 * sunrpc/rpc/auth.h (union des_block): Likewise.
37630 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37631 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37632 (xdrrec_create): Likewise.
37633 (xdrrec_endofrecord): Likewise.
37634 (flush_out): Likewise.
37635 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37636 (xdrstdio_putlong): Likewise.
37637 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37640 * misc/sys/cdefs.h (__long_double_t): Remove.
37641 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37642 instead of __long_double_t,
37643 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37645 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37647 * benchtests/scripts/compare_strings.py: Avoid display error when
37648 running on a text terminal.
37650 * benchtests/scripts/compare_strings.py (main): Add an
37651 optional -base option.
37652 (process_results): New argument base_func.
37654 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37656 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37657 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37659 2017-08-07 Andreas Schwab <schwab@suse.de>
37661 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37662 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37663 * intl/Makefile ($(objpfx)tst-gettext.out)
37664 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37665 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37666 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37667 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37668 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37669 * posix/Makefile ($(objpfx)globtest.out)
37670 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37671 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37672 ($(objpfx)tst-printf.out): Likewise.
37673 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37674 ($(objpfx)tst-setcontext3.out): Likewise.
37676 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37679 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37680 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37681 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37682 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37684 (CFLAGS-doasin-fma.c): New.
37685 (CFLAGS-dosincos-fma.c): Likewise.
37686 (CFLAGS-e_asin-fma.c): Likewise.
37687 (CFLAGS-e_atan2-fma.c): Likewise.
37688 (CFLAGS-e_exp-fma.c): Likewise.
37689 (CFLAGS-e_log-fma.c): Likewise.
37690 (CFLAGS-e_pow-fma.c): Likewise.
37691 (CFLAGS-halfulp-fma.c): Likewise.
37692 (CFLAGS-mpa-fma.c): Likewise.
37693 (CFLAGS-mpatan-fma.c): Likewise.
37694 (CFLAGS-mpatan2-fma.c): Likewise.
37695 (CFLAGS-mpexp-fma.c): Likewise.
37696 (CFLAGS-mplog-fma.c): Likewise.
37697 (CFLAGS-mpsqrt-fma.c): Likewise.
37698 (CFLAGS-mptan-fma.c): Likewise.
37699 (CFLAGS-s_atan-fma.c): Likewise.
37700 (CFLAGS-sincos32-fma.c): Likewise.
37701 (CFLAGS-slowexp-fma.c): Likewise.
37702 (CFLAGS-slowpow-fma.c): Likewise.
37703 (CFLAGS-s_sin-fma.c): Likewise.
37704 (CFLAGS-s_tan-fma.c): Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37734 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37737 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37739 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37740 (min_of_type_f): New macro.
37741 (min_of_type_): Likewise.
37742 (min_of_type_l): Likewise.
37743 (min_of_type_f128): Likewise.
37744 (min_of_type): Define using __MATH_TG and taking an expression
37746 (math_check_force_underflow): Pass expression instead of type to
37748 (math_check_force_underflow_nonneg): Likewise.
37750 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37752 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37753 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37754 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37756 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37759 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37760 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37761 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37762 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37763 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37764 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37765 memmove_chk-nonshared and memset_chk-nonshared
37766 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37767 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37768 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37769 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37770 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37771 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37772 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37773 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37774 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37775 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37776 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37777 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37778 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37779 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37780 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37781 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37782 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37783 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37784 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37785 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37786 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37787 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37788 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37789 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37790 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37791 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37792 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37793 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37794 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37795 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37796 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37797 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37798 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37799 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37800 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37801 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37802 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37803 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37804 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37805 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37806 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37807 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37808 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37809 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37810 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37811 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37812 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37813 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37814 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37815 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37816 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37817 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37818 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37819 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37820 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37821 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37822 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37823 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37824 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37825 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37826 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37827 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37828 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37829 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37830 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37831 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37832 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37833 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37834 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37835 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37836 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37875 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37877 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37878 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37879 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37880 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37881 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37882 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37883 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37884 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37885 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37886 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37887 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37888 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37889 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37890 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37891 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37892 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37893 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37894 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37895 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37896 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37897 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37898 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37899 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37900 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37901 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37902 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37903 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37904 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37905 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37906 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37907 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37908 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37909 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37910 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37911 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37912 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37913 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37916 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37917 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37918 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37919 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37920 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37921 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37922 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37923 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37924 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37925 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37926 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37927 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37928 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37929 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37930 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37931 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37932 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37933 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37937 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37938 Don't include <sysdep.h> nor <init-arch.h>.
37939 (_ZGVbN2v_cos): Removed.
37940 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37942 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37943 Don't include <sysdep.h> nor <init-arch.h>.
37944 (_ZGVdN4v_cos): Removed.
37945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37947 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37948 Don't include <sysdep.h> nor <init-arch.h>.
37949 (_ZGVeN8v_cos): Removed.
37950 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37952 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37953 Don't include <sysdep.h> nor <init-arch.h>.
37954 (_ZGVbN2v_exp): Removed.
37955 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37958 Don't include <sysdep.h> nor <init-arch.h>.
37959 (_ZGVdN4v_exp): Removed.
37960 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37962 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37963 Don't include <sysdep.h> nor <init-arch.h>.
37964 (_ZGVeN8v_exp): Removed.
37965 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37967 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37968 Don't include <sysdep.h> nor <init-arch.h>.
37969 (_ZGVbN2v_log): Removed.
37970 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37972 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37973 Don't include <sysdep.h> nor <init-arch.h>.
37974 (_ZGVdN4v_log): Removed.
37975 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37977 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37978 Don't include <sysdep.h> nor <init-arch.h>.
37979 (_ZGVeN8v_log): Removed.
37980 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37982 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37983 Don't include <sysdep.h> nor <init-arch.h>.
37984 (_ZGVbN2vv_pow): Removed.
37985 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37987 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37988 Don't include <sysdep.h> nor <init-arch.h>.
37989 (_ZGVdN4vv_pow): Removed.
37990 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37992 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37993 Don't include <sysdep.h> nor <init-arch.h>.
37994 (_ZGVeN8vv_pow): Removed.
37995 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37997 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37998 Don't include <sysdep.h> nor <init-arch.h>.
37999 (_ZGVbN2v_sin): Removed.
38000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38002 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38003 Don't include <sysdep.h> nor <init-arch.h>.
38004 (_ZGVbN4v_sin): Removed.
38005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38008 Don't include <sysdep.h> nor <init-arch.h>.
38009 (_ZGVbN8v_sin): Removed.
38010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38012 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38013 Don't include <sysdep.h> nor <init-arch.h>.
38014 (_ZGVbN2vvv_sincos): Removed.
38015 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38018 Don't include <sysdep.h> nor <init-arch.h>.
38019 (_ZGVdN4vvv_sincos): Removed.
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38022 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38023 Don't include <sysdep.h> nor <init-arch.h>.
38024 (_ZGVeN8vvv_sincos): Removed.
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38028 Don't include <sysdep.h> nor <init-arch.h>.
38029 (_ZGVeN16v_cosf): Removed.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38033 Don't include <sysdep.h> nor <init-arch.h>.
38034 (_ZGVbN4v_cosf): Removed.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38038 Don't include <sysdep.h> nor <init-arch.h>.
38039 (_ZGVdN8v_cosf): Removed.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38043 Don't include <sysdep.h> nor <init-arch.h>.
38044 (_ZGVeN16v_expf): Removed.
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38047 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38048 Don't include <sysdep.h> nor <init-arch.h>.
38049 (_ZGVbN4v_expf): Removed.
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38052 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38053 Don't include <sysdep.h> nor <init-arch.h>.
38054 (_ZGVdN8v_expf): Removed.
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38057 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38058 Don't include <sysdep.h> nor <init-arch.h>.
38059 (_ZGVeN16v_logf): Removed.
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38062 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38063 Don't include <sysdep.h> nor <init-arch.h>.
38064 (_ZGVbN4v_logf): Removed.
38065 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38067 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38068 Don't include <sysdep.h> nor <init-arch.h>.
38069 (_ZGVdN8v_logf): Removed.
38070 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38072 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38073 Don't include <sysdep.h> nor <init-arch.h>.
38074 (_ZGVeN16vv_powf): Removed.
38075 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38077 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38078 Don't include <sysdep.h> nor <init-arch.h>.
38079 (_ZGVbN4vv_powf): Removed.
38080 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38082 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38083 Don't include <sysdep.h> nor <init-arch.h>.
38084 (_ZGVdN8vv_powf): Removed.
38085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38088 Don't include <sysdep.h> nor <init-arch.h>.
38089 (_ZGVeN16vvv_sincosf): Removed.
38090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38093 Don't include <sysdep.h> nor <init-arch.h>.
38094 (_ZGVbN4vvv_sincosf): Removed.
38095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38097 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38098 Don't include <sysdep.h> nor <init-arch.h>.
38099 (_ZGVdN8vvv_sincosf): Removed.
38100 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38102 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38103 Don't include <sysdep.h> nor <init-arch.h>.
38104 (_ZGVeN16v_sinf): Removed.
38105 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38107 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38108 Don't include <sysdep.h> nor <init-arch.h>.
38109 (_ZGVbN4v_sinf): Removed.
38110 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38112 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38113 Don't include <sysdep.h> nor <init-arch.h>.
38114 (_ZGVdN8v_sinf): Removed.
38116 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38119 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38120 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38121 s_rint-sse4_1 and s_rintf-sse4_1.
38122 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38123 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38124 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38125 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38126 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38127 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38128 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38129 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38130 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38131 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38132 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38133 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38135 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38136 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38137 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38138 (__ceilf): Removed.
38139 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38140 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38141 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38142 (__floor): Removed.
38143 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38144 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38145 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38146 (__floorf): Removed.
38147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38148 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38149 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38150 (__nearbyint): Removed.
38151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38153 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38154 (__nearbyintf): Removed.
38155 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38156 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38157 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38160 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38161 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38162 (__rintf): Removed.
38164 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38167 SHARED. Avoid dynamic relocation against main in static PIE.
38169 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38172 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38173 (LDFLAGS-tst-prelink): Likewise.
38175 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38177 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38178 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38179 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38180 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38181 (INTERNAL_SYSCALL_NCS): Likewise.
38182 (LOADARGS_1): Likewise.
38183 (LOADARGS_5): Likewise.
38184 (RESTOREARGS_1): Likewise.
38185 (RESTOREARGS_5): Likewise.
38187 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38189 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38190 (MEMPCPY_SYMBOL): Likewise.
38191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38192 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38196 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38198 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38199 (__hidden_ver1): Don't use in libc.a.
38200 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38201 (__mempcpy): Don't create a weak alias in libc.a.
38202 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38204 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38205 (__hidden_ver1): Don't use in libc.a.
38207 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38209 * config.make.in (have-insert): New.
38210 * configure.ac (libc_cv_insert): New. Set to yes if linker
38211 supports INSERT in linker script.
38212 (AC_SUBST(libc_cv_insert): New.
38213 * configure: Regenerated.
38214 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38215 if $(have-insert) == yes.
38217 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38219 * elf/Makefile (tests): Add vismain only if
38220 $(have-protected-data) == yes.
38221 (tests-pie): Likewise.
38223 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38226 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38227 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38229 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38232 * sysdeps/i386/i586/memset.S
38233 (__memset_zero_constant_len_parameter): Removed.
38234 * sysdeps/i386/i686/memset.S
38235 (__memset_zero_constant_len_parameter): Likewise.
38236 * sysdeps/i386/i686/multiarch/memset_chk.S
38237 (__memset_zero_constant_len_parameter): Likewise.
38238 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38241 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38243 * stdlib/getentropy.c (getentropy): Change return type to int.
38245 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38247 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38249 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38251 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38253 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38254 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38256 (ieee_float_shape_type): Likewise.
38257 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38258 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38259 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38260 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38261 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38262 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38263 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38264 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38265 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38267 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38268 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38269 (__ieee754_yn): Likewise.
38270 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38271 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38272 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38274 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38275 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38276 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38277 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38278 (__erfc): Likewise.
38279 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38280 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38281 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38282 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38283 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38284 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38286 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38287 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38288 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38289 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38290 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38291 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38292 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38293 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38294 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38295 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38296 (__issignaling): Likewise.
38297 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38298 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38299 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38301 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38302 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38303 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38304 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38306 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38308 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38309 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38310 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38311 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38312 (__erfcf): Likewise.
38313 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38314 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38315 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38316 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38318 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38319 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38321 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38322 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38323 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38324 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38325 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38326 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38327 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38328 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38330 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38332 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38334 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38337 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38339 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38340 (__ieee754_ynl): Likewise.
38341 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38342 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38344 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38346 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38347 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38350 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38351 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38352 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38353 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38354 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38355 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38356 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38357 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38359 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38360 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38361 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38363 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38364 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38365 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38366 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38367 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38370 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38376 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38377 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38378 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38379 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38380 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38381 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38384 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38387 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38390 (__ieee754_remainderl): Likewise.
38391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38396 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38399 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38400 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38401 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38402 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38403 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38404 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38406 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38407 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38408 (__ieee754_y0l): Likewise.
38411 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38412 (__ieee754_y1l): Likewise.
38415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38416 (__ieee754_ynl): Likewise.
38417 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38418 (__ieee754_lgammal_r): Likewise.
38419 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38421 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38422 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38423 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38424 (__erfcl): Likewise.
38425 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38426 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38428 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38429 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38430 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38431 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38432 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38433 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38434 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38436 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38437 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38438 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38439 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38440 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38442 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38443 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38445 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38446 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38447 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38448 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38449 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38451 2017-08-03 Florian Weimer <fweimer@redhat.com>
38454 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38455 on memory allocation failure.
38457 2017-08-03 Alan Modra <amodra@gmail.com>
38459 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38460 tst-tlsopt-powerpc.c with function name change and no test harness.
38461 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38462 Call tls_get_addr_opt_test.
38463 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38464 (modules-names): Add mod-tlsopt-powerpc.
38465 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38466 (tst-tlsopt-powerpc): Depend on .so.
38467 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38468 define. Expand use in TLS_GD and TLS_LD.
38470 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38472 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38474 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38476 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38479 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38480 comparing size with that of double.
38481 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38482 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38483 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38484 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38485 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38486 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38487 unsigned __int128 types.
38489 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38491 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38492 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38493 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38494 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38495 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38497 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38499 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38501 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38503 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38505 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38506 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38508 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38510 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38513 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38516 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38517 bit-field expressions passed to sizeof or typeof.
38518 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38519 (__TGMATH_F128): Likewise.
38520 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38521 (__TGMATH_CF128): Likewise.
38522 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38523 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38524 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38525 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38526 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38527 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38528 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38529 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38530 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38531 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38532 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38533 (__TGMATH_UNARY_IMAG): Likewise.
38534 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38535 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38536 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38538 (define_vars_for_type): Handle bit_field type specially.
38539 (Tests.__init__): Declare structure with bit-field element.
38541 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38544 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38545 (MEMCPY_CHK): Define only if SHARED is defined.
38546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38551 See ChangeLog.18 for earlier changes.