1 2019-09-27 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
5 2019-09-26 Lukasz Majewski <lukma@denx.de>
7 * include/time.h: Add struct __timespec64 definition
9 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
11 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
14 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
17 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
19 * sysdeps/unix/sysv/linux/Makefile
20 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
21 CFLAGS-tst-sigcontext-get_pc.c.
23 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
25 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
27 2019-09-24 Andreas Schwab <schwab@suse.de>
29 * sysdeps/unix/sysv/linux/arm/sysdep.h
30 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
31 not "__vdso_gettimeofday".
32 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
33 "__vdso_clock_gettime".
34 * sysdeps/unix/sysv/linux/mips/sysdep.h
35 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
36 not "__vdso_gettimeofday".
37 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
38 "__vdso_clock_gettime".
40 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
42 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
44 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
45 Do not clear enable bits, remove obsolete code, use
47 (libc_feresetround_ppc): Remove obsolete code, use
50 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
52 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
54 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
56 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
57 (_HP_TIMING_S390_H): Define.
59 2019-09-18 Joseph Myers <joseph@codesourcery.com>
61 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
63 (clone3): New syscall.
64 (pidfd_open): Likewise.
66 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
69 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
71 * sysdeps/s390/hp-timing.h: New file.
73 2019-09-18 Joseph Myers <joseph@codesourcery.com>
75 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
77 (CLONE_VM): New macro.
78 (CLONE_VFORK): Likewise.
80 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
82 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
83 Rearrange subprocesses.
84 (pldd_process): New function.
85 * support/Makefile (libsupport-routines): Add support_ptrace.
86 * support/xptrace.h: New file.
87 * support/support_ptrace.c: Likewise.
89 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
91 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
93 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
94 (INTERNAL_VSYSCALL_CALL): Remove.
95 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
96 (INTERNAL_VSYSCALL_CALL): Likewise.
97 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
98 (INTERNAL_VSYSCALL_CALL): Likewise.
99 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
102 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
105 (__get_timebase_freq): Remove use of
106 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
107 (get_timebase_freq_fallback): New symbol.
108 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
109 HAVE_GETTIMEOFDAY_VSYSCALL.
110 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
112 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
115 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
117 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
118 * .../sysv/linux/powerpc/powerpc64/sysdep.h
119 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
121 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
123 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
124 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
125 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
127 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
128 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
129 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
130 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
131 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
132 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
133 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
134 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
135 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
136 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
137 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
138 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
139 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
140 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
143 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
144 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
146 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
147 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
148 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
149 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
150 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
151 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
153 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
154 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
155 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
156 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
157 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
158 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
159 HAVE_GETCPU_VSYSCALL): Likewise.
160 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
161 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
162 HAVE_GETCPU_VSYSCALL): Likewise.
163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
164 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
166 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
167 HAVE_GETCPU_VSYSCALL): Likewise.
168 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
169 invalid names if architecture does not define them.
170 (get_vdso_mangle_symbol): New symbol.
171 * sysdeps/unix/sysv/linux/init-first.c: New file.
172 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
174 clock_gettime, clock_getres, getcpu, time): Remove declaration.
175 (__libc_vdso_platform_setup_arch): Likewise and use
176 get_vdso_mangle_symbol to setup vDSO symbols.
177 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
179 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
180 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
183 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
184 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
185 Use get_vdso_symbol instead of _dl_vdso_vsym.
186 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
187 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
188 (__lookup_riscv_flush_icache): Likewise.
189 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
191 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
193 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
194 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
195 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
196 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
197 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
198 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
199 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
200 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
204 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
206 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
208 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
214 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
215 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
217 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
218 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
219 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
220 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
222 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
224 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
226 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
227 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
229 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
230 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
231 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
232 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
233 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
234 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
235 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
236 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
237 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
238 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
239 (get_vdso_symbol): New function.
241 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
243 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
244 position of string null termination.
246 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
249 * sysdeps/unix/alpha/getegid.S: Move to ...
250 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
251 * sysdeps/unix/alpha/geteuid.S: Move to ...
252 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
253 * sysdeps/unix/alpha/getppid.S: Move to ...
254 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
256 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
258 Fix http: URL in 'configure'
259 * configure.ac: Add URL to AC_INIT so that it generates an
260 https: URL instead of an http: URL.
261 * configure: Regenerate.
263 Regenerate charmap-kw.h, locfile-kw.h
264 This propagates the recent http->https URL changes.
265 Since I used gperf 3.1 to regenerate, this is also a minor
266 internal-to-localedef API change.
267 URL problem reported by Joseph Myers in:
268 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
269 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
270 Regenerate with gperf 3.1.
271 * locale/programs/linereader.h (kw_hash_fct_t):
272 * locale/programs/repertoire.c (repertoiremap_hash):
273 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
275 2019-09-05 Florian Weimer <fweimer@redhat.com>
278 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
279 (_nl_category_names_get): New function.
280 * intl/dcigettext.c (category_to_name): Call it.
281 * locale/findlocale.c (_nl_find_locale): Likewise.
282 * intl/loadlocale.c (_nl_load_locale): Likewise.
283 * locale/newlocale.c (__newlocale): Likewise.
284 * locale/setlocale.c (_nl_category_names): Adjust definition.
285 (_nl_category_name_idxs): Likewise.
286 (new_composite_name): Call _nl_category_names_get.
287 (setlocale): Likewise.
289 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
291 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
292 const attribute with pure attribute.
294 2019-09-04 Lukasz Majewski <lukma@denx.de>
296 * sysdeps/unix/sysv/linux/kernel-features.h
297 (__ASSUME_TIME64_SYSCALLS): New macro.
299 2019-09-04 Zack Weinberg <zackw@panix.com>
302 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
303 * rt/clock_getres.c: Move to time/clock_getres.c.
304 * rt/clock_gettime.c: Move to time/clock_gettime.c.
305 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
306 * rt/clock_settime.c: Move to time/clock_settime.c.
307 * rt/tst-clock.c: Move to time/tst-clock.c.
308 * rt/tst-clock2.c: Move to time/tst-clock2.c.
309 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
310 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
311 * rt/clock-compat.c: Delete file.
313 * time/clock_getcpuclockid.c
314 * time/clock_getres.c
315 * time/clock_gettime.c
316 * time/clock_nanosleep.c
317 * time/clock_settime.c
318 * sysdeps/posix/clock_getres.c
319 * sysdeps/unix/clock_gettime.c
320 * sysdeps/unix/clock_nanosleep.c
321 * sysdeps/unix/clock_settime.c
322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
323 * sysdeps/unix/sysv/linux/clock_getres.c
324 * sysdeps/unix/sysv/linux/clock_gettime.c
325 * sysdeps/unix/sysv/linux/clock_nanosleep.c
326 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
327 defined by this file with default symbol version GLIBC_2_17,
328 and optionally a compatibility alias at symbol version GLIBC_2_2.
329 * include/time.h: Remove internal prototypes for clock_getres,
330 clock_nanosleep, and clock_getcpuclockid.
332 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
333 Remove unused function realtime_gettime.
335 * rt/Makefile (clock-routines, routines): Remove variable.
336 (librt-routines): Remove clock-compat.
337 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
339 * time/Makefile (routines): Add clock_getres, clock_gettime,
340 clock_settime, clock_getcpuclockid, and clock_nanosleep.
341 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
344 * rt/Versions (libc): Remove entire stanza.
345 (librt GLIBC_2.2): Remove all clock_* functions.
346 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
347 Add clock_getres, clock_gettime, clock_settime,
348 clock_getcpuclockid, and clock_nanosleep.
349 (libc GLIBC_PRIVATE): Add __clock_gettime.
351 * sysdeps/mach/hurd/i386/librt.abilist
352 * sysdeps/unix/sysv/linux/alpha/librt.abilist
353 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
354 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
355 * sysdeps/unix/sysv/linux/hppa/librt.abilist
356 * sysdeps/unix/sysv/linux/i386/librt.abilist
357 * sysdeps/unix/sysv/linux/ia64/librt.abilist
358 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
359 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
360 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
361 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
362 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
363 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
366 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
367 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
368 * sysdeps/unix/sysv/linux/sh/librt.abilist
369 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
370 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
371 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
372 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
373 Remove entries for clock_getres, clock_gettime, clock_settime,
374 clock_getcpuclockid, and clock_nanosleep.
376 * sysdeps/mach/hurd/i386/libc.abilist
377 * sysdeps/unix/sysv/linux/alpha/libc.abilist
378 * sysdeps/unix/sysv/linux/arm/libc.abilist
379 * sysdeps/unix/sysv/linux/hppa/libc.abilist
380 * sysdeps/unix/sysv/linux/i386/libc.abilist
381 * sysdeps/unix/sysv/linux/ia64/libc.abilist
382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
384 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
385 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
386 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
387 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
391 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
392 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
393 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
394 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
395 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
396 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
397 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
398 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
399 Add another set of entries for clock_getres, clock_gettime,
400 clock_settime, clock_getcpuclockid, and clock_nanosleep at
401 whatever version GLIBC_2.2 maps to.
403 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
405 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
407 2019-09-03 Florian Weimer <fweimer@redhat.com>
410 * locale/programs/charmap.h (struct charseq): Turn bytes into a
411 flexible array member.
412 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
415 2019-09-02 Florian Weimer <fweimer@redhat.com>
417 * misc/tst-mntent-autofs.c: New file.
418 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
420 2019-09-02 Ian Kent <ikent@redhat.com>
422 Use autofs "ignore" mount hint in getmntent_r/getmntent.
423 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
425 (__getmntent_r): Call it. Filter out autofs entries with an
426 "ignore" mount option.
428 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
430 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
431 (generic_memcpy): Include generic C memcpy.
432 * benchtests/bench-memmove.c (simple_memmove): Remove.
433 (generic_memmove): Include generic C memmove.
434 * benchtests/bench-memset.c (simple_memset): Remove.
435 (generic_memset): Include generic C memset.
436 * benchtests/bench-memset-large.c (simple_memset): Remove.
437 (generic_memset): Include generic C memset.
438 * benchtests/bench-memset-walk.c (simple_memset): Remove.
439 (generic_memset): Include generic C memset.
440 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
441 * string/memset.c (MEMSET): Likewise.
442 * sysdeps/x86_64/memcopy.h: Remove empty file.
444 2019-08-30 Florian Weimer <fweimer@redhat.com>
446 nptl: Move pthread_attr_getinheritsched implementation into libc.
447 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
448 (libpthread-routines): Remove pthread_attr_getinheritsched.
449 * nptl/Versions (libpthread GLIBC_2.0): Remove
450 pthread_attr_getinheritsched.
451 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
452 * nptl/nptl-init.c (pthread_functions): Remove initializer for
453 ptr_pthread_attr_getinheritsched.
454 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
455 Remove ptr_pthread_attr_getinheritsched member.
456 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
457 Remove pthread_attr_getinheritsched.
458 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
460 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
462 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
464 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
466 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
468 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
470 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
472 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
473 (GLIBC_2.4): Likewise.
474 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
475 (GLIBC_2.0): Likewise.
476 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
477 (GLIBC_2.18): Likewise.
478 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
479 (GLIBC_2.18): Likewise.
480 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
481 (GLIBC_2.0): Likewise.
482 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
483 (GLIBC_2.0): Likewise.
484 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
487 (GLIBC_2.0): Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
489 (GLIBC_2.3): Likewise.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
491 (GLIBC_2.17): Likewise.
492 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
493 (GLIBC_2.27): Likewise.
494 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
495 (GLIBC_2.0): Likewise.
496 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
497 (GLIBC_2.2): Likewise.
498 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
500 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
502 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
503 (GLIBC_2.0): Likewise.
504 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
505 (GLIBC_2.2): Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
507 (GLIBC_2.2.5): Likewise.
508 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
509 (GLIBC_2.16): Likewise.
511 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
513 * sysdeps/mach/hurd/getcwd.c
514 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
515 slash if we got an unknown root directory. (__getcwd): Do not fail with
516 EGRATUITOUS if we got an unknown root directory.
517 * hurd/hurdselect.c (SELECT_ERROR): New macro.
519 - Add `error' field to `d' structures array.
520 - If a poll descriptor is bogus, set EBADF, but continue with a zero
522 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
523 EBADF there is any bit set above _hurd_dtablesize.
524 - Do not request io_select on bogus descriptors (SELECT_ERROR).
525 - On io_select request error, record the error.
526 - On io_select bogus reply, use EIO error code.
527 - On io_select bogus or error reply, record the error.
528 - Do not destroy reply port for bogus FDs.
529 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
530 EBADF case, or else POLLERR.
531 - On error, make select simulated readiness.
534 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
537 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
538 unlocks SS and returns to the saved PC.
539 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
540 thread stack instead of the saved PC.
542 2019-08-30 Richard Braun <rbraun@sceen.net>
544 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
546 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
547 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
548 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
550 (_hurd_select): Replace the call to __io_select with either
551 __io_select_request or __io_select_timeout_request, depending on the
552 timeout. Count the number of ready descriptors (replies for which at
553 least one type bit is set). Implement the timeout locally when there is
556 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
558 * elf/dl-addr.c (determine_info): Calculate the symbol index
559 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
560 * elf/dl-lookup.c (do_lookup_x): Ditto.
561 (_dl_setup_hash): Initialize MIPS xhash translation table.
562 * elf/elf.h (SHT_MIPS_XHASH): New define.
563 (DT_MIPS_XHASH): New define.
564 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
566 (ELF_MACHINE_HASH_SYMIDX): Ditto.
567 (ELF_MACHINE_XHASH_SETUP): Ditto.
568 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
570 (ELF_MACHINE_HASH_SYMIDX): Ditto.
571 (ELF_MACHINE_XHASH_SETUP): Ditto.
572 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
573 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
575 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
577 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
579 * sysdeps/sh/preconfigure.ac: New file.
580 * sysdeps/sh/preconfigure: Regenerate.
581 * sysdeps/sh/be/sh3/Implies: New file.
582 * sysdeps/sh/be/sh4/Implies: Likewise.
583 * sysdeps/sh/le/sh3/Implies: Likewise.
584 * sysdeps/sh/le/sh4/Implies: Likewise.
585 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
586 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
587 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
588 sysdeps/unix/sysv/linux/sh/le/*.abilist.
589 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
591 * sysdeps/microblaze/preconfigure.ac: New file.
592 * sysdeps/microblaze/preconfigure: Regenerate.
593 * sysdeps/microblaze/be/implies: New file.
594 * sysdeps/microblaze/le/implies: Likewise.
595 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
596 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
597 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
598 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
599 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
601 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
602 * sysdeps/arm/preconfigure: Regenerate.
603 * sysdeps/arm/be/Implies: New file.
604 * sysdeps/arm/be/armv6/Implies: Likewise.
605 * sysdeps/arm/be/armv6t2/Implies: Likewise.
606 * sysdeps/arm/be/armv7/Implies: Likewise.
607 * sysdeps/arm/le/Implies: Likewise.
608 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
609 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
610 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
611 sysdeps/unix/sysv/linux/arm/le/*.abilist.
612 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
614 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
616 Fix posix/tst-regex by using UTF-8 and own test input
617 Problem reported by Stefan Liebler in:
618 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
619 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
620 (do_test, test_expr): Adjust to the fact that this source file,
621 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
622 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
623 so that it is now UTF-8.
625 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
627 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
628 (fegetenv_status): Generate 'mffsl' unconditionally.
630 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
634 (_FPU_MASK_ALL): Delete.
636 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
638 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
639 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
641 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
642 with simpler required steps, set fewer FPSCR bits if possible.
644 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
646 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
647 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
648 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
649 weight access to FPSCR; remove unnecessary second FPSCR read and
651 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
652 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
653 access to FPSCR; Use macros in fenv_libc.h in favor of local.
655 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
657 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
658 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
659 (fenv_exceptions_to_reg): New.
660 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
661 operation with call to fenv_exceptions_to_reg().
662 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
664 2019-08-28 Florian Weimer <fweimer@redhat.com>
666 * misc/mntent.c (struct mntent_buffer): Define.
667 (mntent_buffer): Adjust type to void *.
668 (allocate): Adjust for allocate_once.
669 (deallocate): New function.
670 (getmntent): Call allocate_once.
672 2019-08-28 Florian Weimer <fweimer@redhat.com>
674 nptl: Move pthread_attr_setdetachstate implementation into libc.
675 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
676 (libpthread-routines): Remove pthread_attr_setdetachstate.
677 * nptl/Versions (libpthread GLIBC_2.0): Remove
678 pthread_attr_setdetachstate.
679 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
680 * nptl/nptl-init.c (pthread_functions): Remove initializer for
681 ptr_pthread_attr_setdetachstate.
682 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
683 Remove ptr_pthread_attr_setdetachstate member.
684 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
685 Remove pthread_attr_setdetachstate.
686 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
688 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
690 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
692 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
694 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
696 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
698 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
699 (GLIBC_2.4): Likewise.
700 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
701 (GLIBC_2.0): Likewise.
702 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
703 (GLIBC_2.18): Likewise.
704 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
705 (GLIBC_2.0): Likewise.
706 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
707 (GLIBC_2.0): Likewise.
708 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
711 (GLIBC_2.0): Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
713 (GLIBC_2.3): Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
715 (GLIBC_2.17): Likewise.
716 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
717 (GLIBC_2.27): Likewise.
718 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
719 (GLIBC_2.0): Likewise.
720 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
721 (GLIBC_2.2): Likewise.
722 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
724 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
725 (GLIBC_2.0): Likewise.
726 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
727 (GLIBC_2.2): Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
729 (GLIBC_2.2.5): Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
731 (GLIBC_2.16): Likewise.
733 2019-08-28 Florian Weimer <fweimer@redhat.com>
736 * login/Makefile (tests): Add tst-pututxline-lockfail.
737 (tst-pututxline-lockfail): Link with -lpthread.
738 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
739 (__libc_getutid_r): Adjust.
740 (__libc_pututline): Likewise. Check for file_offset == -1.
741 * login/tst-pututxline-lockfail.c: New file.
743 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
745 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
746 * posix/tst-regex.input: New file.
748 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
751 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
753 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
754 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
755 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
756 * sysdeps/mips/tst-undefined-weak.c: Likewise.
757 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
758 Increment highest valid ABIVERSION value.
760 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
762 * sysdeps/unix/sysv/linux/mips/Makefile
763 (test-xfail-check-execstack):
764 Move under mips-has-gnustack != yes.
765 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
766 Apply -Wa,-execstack if mips-force-execstack == yes.
767 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
768 * sysdeps/unix/sysv/linux/mips/configure.ac
769 (mips-force-execstack): New var.
770 Set to yes for hard-float builds with minimum_kernel < 4.8.0
771 or minimum_kernel not set at all.
772 (mips-has-gnustack): New var.
773 Use value of libc_cv_as_noexecstack
774 if mips-force-execstack != yes, otherwise set to no.
776 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
777 Florian Weimer <fweimer@redhat.com>
779 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
780 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
781 Make a compat_symbol.
782 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
783 (__profil_counter_global): Likewise.
785 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
786 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
788 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
789 sigcontext_get_pc and return aligned cast to uintptr_t.
790 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
791 * sysdeps/posix/profil.c (profil_count): Change PC argument to
793 (__profil): Use SA_SIGINFO.
794 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
796 (__sprofil): Use SA_SIGINFO.
797 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
798 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
799 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
800 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
801 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
802 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
803 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
804 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
805 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
808 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
809 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
810 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
811 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
812 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
813 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
814 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
815 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
816 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
817 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
818 GET_PC, __sigaction, sigaction): Remove defines.
819 (sigcontext_get_pc): New function.
820 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
821 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
822 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
823 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
824 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
825 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
826 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
827 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
828 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
829 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
830 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
832 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
833 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
834 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
835 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
837 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
838 Handle CTX argument as ucontext_t.
839 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
841 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
842 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
843 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
844 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
845 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
846 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
849 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
850 tst-sigcontextinfo-get_pc.
851 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
852 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
854 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
856 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
859 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
862 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
863 * localedata/locales/ug_CN (first_weekday): Likewise.
864 * localedata/locales/zh_CN (first_weekday): Likewise.
866 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
869 field name in mcontext_t struct.
871 2019-08-22 Joseph Myers <joseph@codesourcery.com>
873 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
874 unsupported with libidn2 before 2.0.5.
875 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
877 * manual/time.texi (strftime): Document %Ob and %OB as C2X
880 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
882 Remove dead regex code
883 * posix/regex_internal.c (re_node_set_insert):
884 Remove unnecessary assignment. Reported by Tim Rühsen in:
885 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
887 Fix bad pointer / leak in regex code
888 This was found by Coverity (CID 1484201). [BZ#24844]
889 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
890 pointer and/or memory leak when storage is exhausted.
892 2019-08-21 Zack Weinberg <zackw@panix.com>
894 * misc/syslog.c (__vsyslog_internal)
895 * time/getdate.c (__getdate_r)
896 * time/tst_wcsftime.c (main):
897 Use return value of time, not its argument.
899 * string/strfry.c (strfry)
900 * sysdeps/mach/sleep.c (__sleep):
901 Remove unnecessary casts of NULL in calls to time.
903 2019-08-21 Joseph Myers <joseph@codesourcery.com>
905 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
906 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
907 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
908 (__TGMATH_2_NARROW_F): Likewise.
909 (__TGMATH_2_NARROW_D): New macro.
910 (__TGMATH_2_NARROW_F16): Likewise.
911 (__TGMATH_2_NARROW_F32): Likewise.
912 (__TGMATH_2_NARROW_F64): Likewise.
913 (__TGMATH_2_NARROW_F32X): Likewise.
914 (__TGMATH_2_NARROW_F64X): Likewise.
915 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
917 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
918 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
919 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
920 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
921 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
922 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
923 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
924 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
925 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
926 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
927 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
928 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
930 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
932 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
934 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
936 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
938 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
940 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
942 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
944 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
945 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
946 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
947 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
948 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
949 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
950 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
951 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
952 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
954 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
956 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
958 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
960 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
961 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
962 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
963 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
964 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
965 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
966 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
967 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
968 * math/gen-tgmath-tests.py (Type): Add members
969 non_standard_real_argument_types_list, long_double_type,
970 complex_float64_type and float32x_ext_type.
971 (Type.__init__): Set the new members.
972 (Type.floating_type): Add new argument floatn.
973 (Type.real_floating_type): Likewise.
974 (Type.can_combine_types): Likewise.
975 (Type.combine_types): Likewise.
976 (Type.init_types): Create internal Float32x_ext type.
977 (Tests.__init__): Define Float32x_ext in generated C code.
978 (Tests.add_tests): Handle narrowing functions.
979 (Tests.add_all_tests): Likewise.
980 (Tests.tests_text): Allow variation in mant_dig for narrowing
981 functions with compilers before GCC 8.
982 * math/Makefile (tgmath3-narrow-types): New variable.
983 (tgmath3-narrow-macros): Likewise.
984 (tgmath3-macros): Add $(tgmath3-narrow-macros).
986 2019-08-20 Andreas Schwab <schwab@suse.de>
988 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 2019-08-19 Carlos O'Donell <carlos@redhat.com>
992 * nscd/nscd.conf: Add warning and comment about shared option.
994 2019-08-19 Carlos O'Donell <carlos@redhat.com>
996 * nss/nsswitch.conf: Expand comments, and simplify defaults.
997 * manual/nss.texi (NSS Basics): List all known databases.
998 (Services in the NSS configuration): Mention automount.
1000 2019-08-19 Florian Weimer <fweimer@redhat.com>
1002 Do not print backtraces on fatal errors.
1003 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1004 (__fortify_fail_abort): Remove definition.
1005 (__fortify_fail): Call __libc_message directly.
1006 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1007 (__stack_chk_fail): Call __fortify_fail instead of
1008 __fortify_fail_abort.
1009 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1010 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1012 (__libc_message): Do not handle do_backtrace. Do not call
1014 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1015 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1016 (before_abort): Remove definitions.
1018 2019-08-16 Florian Weimer <fweimer@redhat.com>
1020 nptl: Move pthread_attr_getdetachstate implementation into libc.
1021 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1022 (libpthread-routines): Remove pthread_attr_getdetachstate.
1023 * nptl/Versions (libpthread GLIBC_2.0): Remove
1024 pthread_attr_getdetachstate.
1025 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1026 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1027 ptr_pthread_attr_getdetachstate.
1028 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1029 Remove ptr_pthread_attr_getdetachstate member.
1030 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1031 Remove pthread_attr_getdetachstate.
1032 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1034 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1036 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1038 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1040 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1042 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1044 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1045 (GLIBC_2.4): Likewise.
1046 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1047 (GLIBC_2.0): Likewise.
1048 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1049 (GLIBC_2.18): Likewise.
1050 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1051 (GLIBC_2.0): Likewise.
1052 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1053 (GLIBC_2.0): Likewise.
1054 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1057 (GLIBC_2.0): Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1059 (GLIBC_2.3): Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1061 (GLIBC_2.17): Likewise.
1062 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1063 (GLIBC_2.27): Likewise.
1064 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1065 (GLIBC_2.0): Likewise.
1066 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1067 (GLIBC_2.2): Likewise.
1068 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1071 (GLIBC_2.0): Likewise.
1072 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1073 (GLIBC_2.2): Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1075 (GLIBC_2.2.5): Likewise.
1076 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1077 (GLIBC_2.16): Likewise.
1079 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1081 * math/libm-test-compat_totalorder.inc (do_test)
1082 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1083 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1084 * math/libm-test-compat_totalordermag.inc (do_test)
1085 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1087 2019-08-15 Florian Weimer <fweimer@redhat.com>
1089 nptl: Move pthread_attr_init implementation into libc.
1090 * nptl/Makefile (routines): Add pthread_attr_init.
1091 (libpthread-routines): Remove pthread_attr_init.
1092 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1093 (libpthread GLIBC_2.0): Likewise.
1094 * nptl/pthread_attr_init.c: Check for libc compat version instead
1095 of libpthread compat version.
1096 * nptl/forward.c (__pthread_attr_init_2_0)
1097 (__pthread_attr_init_2_1): Remove definitions.
1098 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1099 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1100 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1101 Remove members ptr___pthread_attr_init_2_0,
1102 ptr___pthread_attr_init_2_1.
1103 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1104 Remove pthread_attr_init.
1105 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1107 (GLIBC_2.1): Likewise.
1108 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1110 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1112 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1114 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1116 (GLIBC_2.1): Likewise.
1117 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1119 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1120 (GLIBC_2.4): Likewise.
1121 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1122 (GLIBC_2.0): Likewise.
1123 (GLIBC_2.1): Likewise.
1124 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1125 (GLIBC_2.18): Likewise.
1126 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1127 (GLIBC_2.0): Likewise.
1128 (GLIBC_2.1): Likewise.
1129 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1130 (GLIBC_2.0): Likewise.
1131 (GLIBC_2.1): Likewise.
1132 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1135 (GLIBC_2.0): Likewise.
1136 (GLIBC_2.1): Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1138 (GLIBC_2.3): Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1140 (GLIBC_2.17): Likewise.
1141 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1142 (GLIBC_2.27): Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1144 (GLIBC_2.0): Likewise.
1145 (GLIBC_2.1): Likewise.
1146 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1147 (GLIBC_2.2): Likewise.
1148 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1151 (GLIBC_2.0): Likewise.
1152 (GLIBC_2.1): Likewise.
1153 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1154 (GLIBC_2.2): Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1156 (GLIBC_2.2.5): Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1158 (GLIBC_2.16): Likewise.
1160 2019-08-15 Florian Weimer <fweimer@redhat.com>
1163 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1164 new object in __RTLD_OPENEXEC mode (except for the origin).
1165 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1166 check for the error message.
1167 (do_test): Call it. Add check using relative path.
1168 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1169 (tst-dlopen-aout-container): Link with libpthread.
1170 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1172 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1174 * math/bits/mathcalls.h
1175 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1176 (totalorder): Take pointer arguments.
1177 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1178 (totalordermag): Likewise.
1179 * manual/arith.texi (totalorder): Likewise.
1180 (totalorderf): Likewise.
1181 (totalorderl): Likewise.
1182 (totalorderfN): Likewise.
1183 (totalorderfNx): Likewise.
1184 (totalordermag): Likewise.
1185 (totalordermagf): Likewise.
1186 (totalordermagl): Likewise.
1187 (totalordermagfN): Likewise.
1188 (totalordermagfNx): Likewise.
1189 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1190 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1191 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1192 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1193 totalorderl, totalordermag, totalordermagf, totalordermagl,
1194 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1195 totalordermagf64, totalordermagf32x, totalorderf64x,
1196 totalordermagf64x, totalorderf128 and totalordermagf128.
1197 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1198 and compat_totalordermag.
1199 (libm-test-funcs-compat): New variable.
1200 (libm-tests-compat): Likewise.
1201 (tests): Do not include compat tests.
1202 (tests-internal): Add compat tests.
1203 ($(foreach t,$(libm-tests-base),
1204 $(objpfx)$(t)-compat_totalorder.o)): Depend
1205 on $(objpfx)libm-test-totalorder.c.
1206 ($(foreach t,$(libm-tests-base),
1207 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1208 $(objpfx)libm-test-totalordermag.c.
1209 (tgmath3-macros): Remove totalorder and totalordermag.
1210 * math/libm-test-compat_totalorder.inc: New file.
1211 * math/libm-test-compat_totalordermag.inc: Likewise.
1212 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1213 (RUN_TEST_fpfp_b): New macro.
1214 (RUN_TEST_LOOP_fpfp_b): Likewise.
1215 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1217 (totalorder_test): Condition on [!COMPAT_TEST].
1218 (do_test): Likewise.
1219 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1221 (totalordermag_test): Condition on [!COMPAT_TEST].
1222 (do_test): Likewise.
1223 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1224 totalorder and totalordermag.
1225 * math/test-tgmath.c (NCALLS): Change to 132.
1226 (F(compile_test)): Do not call totalorder or totalordermag.
1227 (F(totalorder)): Remove.
1228 (F(totalordermag)): Likewise.
1229 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1230 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1231 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1233 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1234 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1235 [!_ISOMAC] (TEST_ALIGN): Likewise.
1236 [!_ISOMAC] (TEST_OFFSET): Likewise.
1237 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1238 and <first-versions.h>.
1239 (__totalorder): Take pointer arguments. Add symbol versions and
1241 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1242 <shlib-compat.h> and <first-versions.h>.
1243 (__totalordermag): Take pointer arguments. Add symbol versions
1245 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1246 <shlib-compat.h> and <first-versions.h>.
1247 (__totalorder): Take pointer arguments. Add symbol versions and
1249 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1250 <shlib-compat.h> and <first-versions.h>.
1251 (__totalordermag): Take pointer arguments. Add symbol versions
1253 * sysdeps/ieee754/float128/float128_private.h
1254 (__totalorder_compatl): New macro.
1255 (__totalordermag_compatl): Likewise.
1256 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1257 and <first-versions.h>.
1258 (__totalorderf): Take pointer arguments. Add symbol versions and
1260 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1261 <shlib-compat.h> and <first-versions.h>.
1262 (__totalordermagf): Take pointer arguments. Add symbol versions
1264 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1265 <shlib-compat.h> and <first-versions.h>.
1266 (__totalorderl): Take pointer arguments. Add symbol versions and
1268 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1269 <shlib-compat.h> and <first-versions.h>.
1270 (__totalordermagl): Take pointer arguments. Add symbol versions
1272 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1274 (__totalorderl): Take pointer arguments. Add symbol versions and
1276 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1278 (__totalordermagl): Take pointer arguments. Add symbol versions
1280 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1281 <shlib-compat.h> and <first-versions.h>.
1282 (__totalorderl): Take pointer arguments. Add symbol versions and
1284 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1285 <shlib-compat.h> and <first-versions.h>.
1286 (__totalordermagl): Take pointer arguments. Add symbol versions
1288 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1290 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1292 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1293 (do_test): Update calls to totalorderl and totalordermagl.
1294 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1295 Update calls to totalorderl and totalordermagl.
1296 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1302 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1304 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1307 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1318 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1319 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1321 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1327 2019-08-15 Florian Weimer <fweimer@redhat.com>
1330 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1331 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1332 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1334 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1335 __attribute_nonstring__ to ut_id.
1336 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1339 2019-08-15 Florian Weimer <fweimer@redhat.com>
1342 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1343 (file_locking_unlock): Likewise.
1345 2019-08-15 Florian Weimer <fweimer@redhat.com>
1348 login: Disarm timer after utmp lock acquisition.
1349 * login/utmp_file.c (struct file_locking): Remove.
1350 (try_file_lock): Adjust.
1351 (file_lock_restore): Remove function.
1352 (__libc_getutent_r): .
1353 (internal_getut_r): Likewise.
1354 (__libc_getutline_r): Likewise.
1355 (__libc_pututline): Likewise.
1356 (__libc_updwtmp): Likewise.
1358 2019-08-15 Florian Weimer <fweimer@redhat.com>
1360 nptl: Remove pthread_self compatibility symbol from libpthread.
1361 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1363 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1364 * nptl/compat-pthread_self.c: Remove file.
1365 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1366 Remove pthread_self.
1367 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1369 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1371 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1373 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1375 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1377 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1378 (GLIBC_2.4): Likewise.
1379 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1380 (GLIBC_2.0): Likewise.
1381 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1382 (GLIBC_2.18): Likewise.
1383 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1384 (GLIBC_2.0): Likewise.
1385 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1386 (GLIBC_2.0): Likewise.
1387 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1390 (GLIBC_2.0): Likewise.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1392 (GLIBC_2.3): Likewise.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1394 (GLIBC_2.17): Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1396 (GLIBC_2.0): Likewise.
1397 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1398 (GLIBC_2.2): Likewise.
1399 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1401 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1402 (GLIBC_2.0): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1404 (GLIBC_2.2): Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1406 (GLIBC_2.2.5): Likewise.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1408 (GLIBC_2.16): Likewise.
1410 2019-08-15 Florian Weimer <fweimer@redhat.com>
1412 nptl: Move pthread_attr_destroy implementation into libc.
1413 * nptl/Makefile (routines): Add pthread_attr_destroy.
1414 (libpthread-routines): Remove pthread_attr_destroy.
1415 * nptl/Versions (libpthread GLIBC_2.0): Remove
1416 pthread_attr_destroy.
1417 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1418 libc compat version instead of libpthread compat version.
1419 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1420 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1421 ptr_pthread_attr_destroy.
1422 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1423 Remove ptr_pthread_attr_destroy member.
1424 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1425 Remove pthread_attr_destroy.
1426 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1428 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1430 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1432 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1434 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1436 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1439 (GLIBC_2.4): Likewise.
1440 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1441 (GLIBC_2.0): Likewise.
1442 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1443 (GLIBC_2.18): Likewise.
1444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1445 (GLIBC_2.0): Likewise.
1446 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1447 (GLIBC_2.0): Likewise.
1448 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1451 (GLIBC_2.0): Likewise.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1453 (GLIBC_2.3): Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1455 (GLIBC_2.17): Likewise.
1456 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1457 (GLIBC_2.27): Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1459 (GLIBC_2.0): Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1461 (GLIBC_2.2): Likewise.
1462 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1464 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1465 (GLIBC_2.0): Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1467 (GLIBC_2.2): Likewise.
1468 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1469 (GLIBC_2.2.5): Likewise.
1470 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1471 (GLIBC_2.16): Likewise.
1473 2019-08-15 Andreas Schwab <schwab@suse.de>
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1477 2019-08-15 Florian Weimer <fweimer@redhat.com>
1479 * malloc/Makefile (tests): Only add tst-mxfast for
1481 * malloc/tst-mxfast.c: Fix copyright year.
1482 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1485 2019-08-15 Florian Weimer <fweimer@redhat.com>
1487 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1489 * login/Makefile (tests): Add tst-updwtmpx.
1490 * login/tst-updwtmpx.c: New file.
1492 2019-08-15 Florian Weimer <fweimer@redhat.com>
1494 nptl: Move pthread_equal implementation into libc.
1495 * nptl/Makefile (routines): Add pthread_equal.
1496 * nptl/forward.c (pthread_equal): Remove definition.
1497 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1499 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1500 Remove ptr_pthread_equal member.
1501 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1502 Remove pthread_equal.
1503 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1505 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1507 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1509 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1511 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1513 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1515 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1516 (GLIBC_2.4): Likewise.
1517 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1518 (GLIBC_2.0): Likewise.
1519 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1520 (GLIBC_2.18): Likewise.
1521 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1522 (GLIBC_2.0): Likewise.
1523 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1524 (GLIBC_2.0): Likewise.
1525 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1528 (GLIBC_2.0): Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1530 (GLIBC_2.3): Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1532 (GLIBC_2.17): Likewise.
1533 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1534 (GLIBC_2.27): Likewise.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1536 (GLIBC_2.0): Likewise.
1537 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1538 (GLIBC_2.2): Likewise.
1539 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1542 (GLIBC_2.0): Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1544 (GLIBC_2.2): Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1546 (GLIBC_2.2.5): Likewise.
1547 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1548 (GLIBC_2.16): Likewise.
1550 2019-08-14 Florian Weimer <fweimer@redhat.com>
1552 * support/support_descriptors.c: Include <support/descriptors.h>.
1554 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1556 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1557 Disable DC ZVA code if this macro is defined as zero.
1558 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1559 Change to zero to disable using DC ZVA.
1561 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1563 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1565 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1566 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1567 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1568 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1571 2019-08-13 Florian Weimer <fweimer@redhat.com>
1573 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1575 (struct file_locking): New.
1576 (try_file_lock, file_unlock, file_lock_restore): New functions.
1577 (__libc_getutent_r): Use the new functions.
1578 (internal_getut_r): Likewise.
1579 (__libc_getutline_r): Likewise.
1580 (__libc_pututline): Likewise.
1581 (__libc_updwtmp): Likewise.
1583 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1585 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1587 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1588 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1589 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1590 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1591 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1592 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1593 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1595 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1596 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1597 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1599 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1601 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1603 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1605 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1607 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1609 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1611 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1612 (IEC_60559_BFP_EXT)]: Likewise.
1613 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1615 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1617 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1619 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1621 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1623 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1625 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1627 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1629 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1630 Likewise, except for totalorder, totalordermag, getpayload,
1631 setpayload and setpayloadsig.
1632 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1633 except for totalorder and totalordermag.
1635 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1637 (strndup): Likewise.
1639 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1640 Undefine and define to 1 if [_GNU_SOURCE].
1641 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1642 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1643 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1644 (__USE_ISOC99): Likewise.
1645 (__USE_ISOC95): Likewise.
1646 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1648 2019-08-13 Florian Weimer <fweimer@redhat.com>
1650 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1652 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1653 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1654 * login/getutmpx.c (getutmpx): Likewise.
1655 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1657 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1658 _HAVE_UT_TV are always true.
1659 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1660 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1661 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1662 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1664 (internal_getut_r): _HAVE_UT_TYPE is always true.
1665 (__libc_pututline): Likewise.
1666 * login/programs/utmpdump.c (print_entry): Assume that
1667 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1668 _HAVE_UT_TV are always true.
1669 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1670 _HAVE_UT_ID are always true.
1671 * sysdeps/gnu/bits/utmp.h: Move to ...
1672 * bits/utmp.h: ... here, replacing the old file.
1674 2019-08-12 Florian Weimer <fweimer@redhat.com>
1676 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1677 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1679 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1680 (do_test): Open the executable using an absolute path. Print
1681 error message to standard output.
1683 2019-08-09 DJ Delorie <dj@redhat.com>
1685 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1686 * manual/tunables.texi: Document it.
1687 * malloc/malloc.c (do_set_mxfast): New.
1688 (__libc_mallopt): Call it.
1689 * malloc/arena.c: Add mxfast tunable.
1690 * malloc/tst-mxfast.c: New.
1691 * malloc/Makefile: Add it.
1693 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1694 Carlos O'Donell <carlos@redhat.com>
1697 * malloc/malloc.c (__malloc_info): Account for top chunk.
1699 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1702 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1704 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1706 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1708 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1710 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1712 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1714 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1717 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1720 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1722 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1724 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1726 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1728 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1729 (ALWAYS_USE_VSYSCALL): Likewise.
1730 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1731 (ALWAYS_USE_VSYSCALL): Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1733 (ALWAYS_USE_VSYSCALL): Likewise.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1735 (ALWAYS_USE_VSYSCALL): Likewise.
1736 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1739 (ALWAYS_USE_VSYSCALL): Likewise.
1740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1741 (ALWAYS_USE_VSYSCALL): Likewise.
1742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1746 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1747 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1748 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1749 USE_VSYSCALL): Remove defitions.
1752 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1753 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1758 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1759 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1761 (ALWAYS_USE_VSYSCALL): Define.
1762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1763 (ALWAYS_USE_VSYSCALL): Likewise.
1766 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1767 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1768 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1771 * sysdeps/sh/libm-test-ulps: Update.
1773 2019-08-05 Florian Weimer <fweimer@redhat.com>
1776 * login/uptmp-private.h (struct ufuncs): Remove definition.
1777 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1778 (__libc_utmp_jump_table): Remove declarations.
1779 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1780 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1781 (__libc_updwtmp): Declare.
1782 * login/getutent_r.c (__libc_utmp_unknown_functions)
1783 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1784 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1785 (endutent_unknown): Remove definitions.
1786 (__setutent): Call __libc_setutent.
1787 (__getutent_r): Call __libc_getutent_r.
1788 (__pututline): Call __libc_pututline.
1789 (__endutent): Call __libc_endutent.
1790 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1791 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1792 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1793 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1794 (__libc_setutent): Rename from stetutent_file. Drop static.
1795 (maybe_setutent): New function.
1796 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1797 Check for initialization.
1798 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1799 Check for initialization.
1800 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1801 Check for initialization.
1802 (__libc_pututline): Rename from pututline_file. Drop static.
1803 Check for initialization.
1804 (__libc_endutent): Rename from endutent_file. Drop static. Check
1806 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1807 * login/utmpname.c (__utmpname): Call __libc_endutent.
1808 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1809 __libc_getutlien_r, __libc_endutent.
1810 * manual/users.texi (Who Logged In, Manipulating the Database):
1813 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1815 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1817 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1821 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1822 kernel version number to 5.2.
1824 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1826 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1827 mnemonics and set .machine power8.
1828 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1829 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1830 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1831 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1832 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1833 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1834 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1835 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1836 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1837 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1839 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1841 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1843 2019-08-01 Florian Weimer <fweimer@redhat.com>
1846 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1849 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1852 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1855 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1857 * version.h (RELEASE): Set to "stable".
1858 (VERSION): Set to "2.30".
1859 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1861 * manual/install.texi: Update component versions.
1862 * INSTALL: Regenerate.
1865 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1867 * po/be.po: Update translations.
1868 * po/bg.po: Likewise.
1869 * po/ca.po: Likewise.
1870 * po/cs.po: Likewise.
1871 * po/da.po: Likewise.
1872 * po/de.po: Likewise.
1873 * po/el.po: Likewise.
1874 * po/eo.po: Likewise.
1875 * po/es.po: Likewise.
1876 * po/fi.po: Likewise.
1877 * po/fr.po: Likewise.
1878 * po/gl.po: Likewise.
1879 * po/hr.po: Likewise.
1880 * po/hu.po: Likewise.
1881 * po/ia.po: Likewise.
1882 * po/id.po: Likewise.
1883 * po/it.po: Likewise.
1884 * po/ja.po: Likewise.
1885 * po/ko.po: Likewise.
1886 * po/lt.po: Likewise.
1887 * po/nb.po: Likewise.
1888 * po/nl.po: Likewise.
1889 * po/pl.po: Likewise.
1890 * po/pt_BR.po: Likewise.
1891 * po/ru.po: Likewise.
1892 * po/rw.po: Likewise.
1893 * po/sk.po: Likewise.
1894 * po/sl.po: Likewise.
1895 * po/sv.po: Likewise.
1896 * po/tr.po: Likewise.
1897 * po/uk.po: Likewise.
1898 * po/vi.po: Likewise.
1899 * po/zh_CN.po: Likewise.
1900 * po/zh_TW.po: Likewise.
1902 2019-07-31 Florian Weimer <fweimer@redhat.com>
1906 iconv, libio: Revert reference counting changes.
1907 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1908 free the steps array.
1909 * libio/Makefile (tests): Remove tst-wfile-gconv.
1910 (tests-container): Do not add tst-wfile-ascii.
1911 (tst-wfile-gconv-ENV): Do not set.
1912 (generated): Do not add tst-wfile-gconv.mtrace,
1913 tst-wfile-gconv.check.
1914 [($run-built-tests)] (tests-special): Do not add
1915 tst-wfile-gconv-mem.out.
1916 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1917 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1918 instead of __wcsmbs_clone_conv.
1919 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1920 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1922 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1925 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1927 2019-07-30 Florian Weimer <fweimer@redhat.com>
1929 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1930 type to uintptr_t. Update comment.
1931 (check_stack_top): Adjust.
1933 2019-07-29 Florian Weimer <fweimer@redhat.com>
1935 Linux: Move declaration of getdents64 to <dirent.h>.
1936 * bits/dirent_ext.h: New file.
1937 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1938 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1939 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1940 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1942 * manual/filesys.texi (Low-level Directory Access): Update header
1945 2019-07-29 DJ Delorie <dj@redhat.com>
1946 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1949 * Makeconfig (all-subdirs): Improved source comments.
1950 * Makefile (testroot.pristine/install.stamp): Pass
1951 subdirs='$(sorted-subdirs)' to make install.
1953 2019-07-25 Florian Weimer <fweimer@redhat.com>
1956 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1957 counter before freeing array.
1959 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1962 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1964 * sysdeps/x86_64/configure: Regenerated.
1965 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1966 to -mprefer-vector-width=128 if supported.
1968 2019-07-24 Florian Weimer <fweimer@redhat.com>
1970 * scripts/build-many-glibcs.py (Context.checkout): Default to
1973 2019-07-24 Florian Weimer <fweimer@redhat.com>
1976 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1977 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1978 (sysdep_headers): Add bits/socket-constants.h.
1979 (tests-special): Add tst-socket-consts.out.
1980 (tst-socket-consts.out): New target.
1981 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1982 around <asm/unistd.h>.
1983 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1984 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1986 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1987 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1988 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1989 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1990 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1991 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1993 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1995 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1998 * Makefile (testroot.pristine/install.stamp): Pass
1999 subdirs='$(all-subdirs)' to make install.
2001 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2002 the same arguments used in all tests.
2004 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2006 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2008 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2011 * locale/C-translit.h.in: Add Cyrillic transliteration.
2013 2019-07-19 Florian Weimer <fweimer@redhat.com>
2015 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2017 (fsconfig): Add system call name.
2018 (fsmount): Likewise.
2021 (move_mount): Likewise.
2022 (open_tree): Likewise.
2024 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2026 * po/libc.pot: Regenerate.
2028 2019-07-18 Mike Crowe <mac@mcrowe.com>
2030 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2031 functions recently added to sysdeps/nptl/pthread.h:
2032 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2033 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2035 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2036 pthread_cond_clockwait forwarding functions. There are no internal
2037 users, so it is unnecessary to expose these functions in libc.so.
2038 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2039 unnecessary ptr___pthread_cond_clockwait member.
2040 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2043 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2046 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2047 begin with an uppercase letter now.
2049 (mon): Update from CLDR, reword February from "Kudo" to
2050 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2051 and August from "Liiqen" to "Leqeeni".
2052 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2053 April from "Agda Baxisso" to "Agda Baxis" and August from
2054 "Leqeeni" to "Liiqen".
2055 * localedata/locales/aa_ER@saaho (mon): Likewise.
2056 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2057 abbreviated February from "Kud" to "Nah".
2058 (mon): Update from CLDR, reword February from "Kudo" to
2059 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2061 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2064 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2066 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2069 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2070 name_mrs, name_miss, and name_ms.
2071 * localedata/locales/nl_NL (LC_NAME): Likewise.
2073 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2076 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2077 * localedata/locales/en_IE (first_weekday): Likewise.
2079 2019-07-12 Mike Crowe <mac@mcrowe.com>
2081 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2082 that is only useful if futex_supports_exact_relative_timeouts ()
2084 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2086 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2087 timeouts potentially being imprecise since it's no longer true.
2088 Remove declaration of futex_supports_exact_relative_timeouts.
2089 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2090 of futex_supports_exact_relative_timeouts.
2092 * NEWS: Mention recently-added pthread_cond_clockwait,
2093 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2094 sem_clockwait functions.
2096 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2097 works like pthread_mutex_timedlock but takes a clockid parameter to
2098 measure the abstime parameter against.
2099 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2100 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2101 * nptl/pthread_mutex_timedlock.c
2102 (__pthread_mutex_clocklock_common): Rename from
2103 __pthread_mutex_timedlock and add clockid parameter. Pass this
2104 parameter to lll_clocklock and lll_clocklock_elision in place of
2105 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2106 LIBC_PROBE and validate clockid parameter before calling
2107 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2108 implementation to add LIBC_PROBE and calls
2109 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2111 * nptl/Makefile: Add tst-mutex11.c.
2112 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2113 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2114 clockid parameters to pthread_mutex_clocklock.
2115 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2116 clockid parameter to indicate which clock to be used. Call
2117 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2118 (do_test): Call do_test_clock to separately test
2119 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2120 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2121 * nptl/tst-mutex9.c: Likewise.
2122 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2123 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2125 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2127 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2129 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2131 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2133 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2135 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2137 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2138 (GLIBC_2.30): Likewise.
2139 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2140 (GLIBC_2.30): Likewise.
2141 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2142 (GLIBC_2.30): Likewise.
2143 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2144 (GLIBC_2.30): Likewise.
2145 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2146 (GLIBC_2.30): Likewise.
2147 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2150 (GLIBC_2.30): Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2152 (GLIBC_2.30): Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2154 (GLIBC_2.30): Likewise.
2155 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2156 (GLIBC_2.30): Likewise.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2158 (GLIBC_2.30): Likewise.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2160 (GLIBC_2.30): Likewise.
2161 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2164 (GLIBC_2.30): Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2166 (GLIBC_2.30): Likewise.
2167 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2168 (GLIBC_2.30): Likewise.
2169 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2170 (GLIBC_2.30): Likewise.
2172 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2173 parameter to indicate the clock that the abstime parameter should
2174 be measured against in preparation for adding
2175 pthread_mutex_clocklock.
2176 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2177 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2178 from __lll_timedlock and add clockid parameter.
2179 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2181 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2182 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2183 rather than __gettimeofday so that clockid can be used. This means
2184 that conversion from struct timeval is no longer required.
2185 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2187 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2188 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2189 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2190 from lll_timedlock_elision, add clockid parameter and use
2191 meaningful names for other parameters. (__pthread_mutex_timedlock):
2192 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2193 lll_clocklock_elision.
2194 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2195 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2196 clockid parameter. (__lll_clocklock_elision): Rename from
2197 __lll_timedlock_elision and add clockid parameter.
2198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2199 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2201 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2202 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2203 (LLL_LOCK): Likewise.
2204 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2205 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2207 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2208 pthread_rwlock_clockwrlock which behave like
2209 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2210 respectively, except they always measure abstime against the
2211 supplied clockid. The functions currently support CLOCK_REALTIME
2212 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2214 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2215 pthread_wrlock_clockwrlock.
2216 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2217 pthread_rwlock_clockwrlock.c.
2218 * nptl/pthread_rwlock_clockrdlock.c: Implement
2219 pthread_rwlock_clockrdlock.
2220 * nptl/pthread_rwlock_clockwrlock.c: Implement
2221 pthread_rwlock_clockwrlock.
2222 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2223 clockid parameter and verify that it indicates a supported clock on
2224 entry so that we fail even if it doesn't end up being used. Pass
2225 that clock on to futex_abstimed_wait when necessary.
2226 (__pthread_rwlock_wrlock_full): Likewise.
2227 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2228 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2229 be used because there's no timeout.
2230 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2231 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2232 be used because there is no timeout.
2233 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2234 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2236 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2237 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2239 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2240 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2241 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2242 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2243 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2244 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2245 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2246 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2247 (GLIBC_2.30): Likewise.
2248 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2249 (GLIBC_2.30): Likewise.
2250 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2251 (GLIBC_2.30): Likewise.
2252 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2253 (GLIBC_2.30): Likewise.
2254 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2255 (GLIBC_2.30): Likewise.
2256 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2258 (GLIBC_2.30): Likewise.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2260 (GLIBC_2.30): Likewise.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2262 (GLIBC_2.30): Likewise.
2263 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2264 (GLIBC_2.30): Likewise.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2266 (GLIBC_2.30): Likewise.
2267 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2268 (GLIBC_2.30): Likewise.
2269 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2271 (GLIBC_2.30): Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2273 (GLIBC_2.30): Likewise.
2274 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2275 (GLIBC_2.30): Likewise.
2276 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2277 (GLIBC_2.30): Likewise.
2278 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2279 pthread_rwlock_clockwrlock timeout tests to match the existing
2280 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2281 * nptl/tst-rwlock14.c (do_test): Likewise.
2282 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2283 ancillary output throughout. (tf): Accept thread_args structure so
2284 that rwlock, a clockid and function name can be passed to the
2285 thread. (do_test_clock): Rename from do_test. Accept clockid
2286 parameter to specify test clock. Use the magic clockid value of
2287 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2288 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2289 specified clockid to pthread_rwlock_clockrdlock and
2290 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2291 (do_test): Call do_test_clock to test each clockid in turn.
2292 * nptl/tst-rwlock7.c: Likewise.
2293 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2294 thread_args structure so that the (now int) thread number, the
2295 clockid and the function name can be passed to the thread.
2296 (do_test_clock): Renamed from do_test. Pass the necessary
2297 thread_args when creating the reader and writer threads. Use
2298 xpthread_create and xpthread_join.
2299 (do_test): Call do_test_clock to test each clockid in turn.
2300 * manual/threads.texi: Add documentation for
2301 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2303 nptl: pthread_rwlock: Move timeout validation into _full functions
2304 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2305 Check validity of abstime parameter.
2306 (__pthread_rwlock_rwlock_full): Likewise.
2307 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2308 Remove check for validity of abstime parameter.
2309 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2312 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2313 like pthread_cond_timedwait except it always measures abstime
2314 against the supplied clockid.
2315 * nptl/Makefile: Add tst-cond26 and tst-cond27
2316 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2317 * sysdeps/nptl/pthread.h: Likewise
2318 * nptl/forward.c: Add __pthread_cond_clockwait
2319 * nptl/forward.c: Likewise
2320 * nptl/pthreadP.h: Likewise
2321 * sysdeps/nptl/pthread-functions.h: Likewise
2322 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2323 clockid parameter and comment describing why we don't need to check
2324 its value. Use that value when calling
2325 futex_abstimed_wait_cancelable rather than reading the clock from
2326 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2327 (__pthread_cond_timedwait): Read clock from flags and pass it to
2328 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2329 function with weak alias from pthread_cond_clockwait.
2330 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2332 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2334 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2335 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2336 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2337 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2338 (GLIBC_2.30): Likewise.
2339 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2340 (GLIBC_2.30): Likewise.
2341 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2342 (GLIBC_2.30): Likewise.
2343 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2344 (GLIBC_2.30): Likewise.
2345 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2346 (GLIBC_2.30): Likewise.
2347 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2349 (GLIBC_2.30): Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2351 (GLIBC_2.30): Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2353 (GLIBC_2.30): Likewise.
2354 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2355 (GLIBC_2.30): Likewise.
2356 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2357 (GLIBC_2.30): Likewise.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2359 (GLIBC_2.30): Likewise.
2360 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2362 (GLIBC_2.30): Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2364 (GLIBC_2.30): Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2366 (GLIBC_2.30): Likewise.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2368 (GLIBC_2.30): Likewise.
2369 * nptl/tst-cond11.c (run_test): Support testing
2370 pthread_cond_clockwait too by using a special magic
2371 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2372 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2373 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2374 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2375 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2376 clocks to pthread_cond_clockwait.
2377 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2378 struct timespec and pthread_cond_clockwait.
2379 * manual/threads.texi: Document pthread_cond_clockwait.
2381 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2382 sem_timedwait, but measures abstime against the specified clock.
2383 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2384 clockid parameters to indicate the clock which abstime should be
2386 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2387 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2388 __new_sem_wait_slow.
2389 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2391 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2392 sem_clockwait.c to match those used for sem_timedwait.c.
2393 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2394 * nptl/Versions (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2396 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2397 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2398 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2399 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2400 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2405 (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2407 (GLIBC_2.30): Likewise.
2408 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2409 (GLIBC_2.30): Likewise.
2410 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2411 (GLIBC_2.30): Likewise.
2412 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2416 (GLIBC_2.30): Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2418 (GLIBC_2.30): Likewise.
2419 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2420 (GLIBC_2.30): Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2422 (GLIBC_2.30): Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2424 (GLIBC_2.30): Likewise.
2425 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2427 (GLIBC_2.30): Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2429 (GLIBC_2.30): Likewise.
2430 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2431 (GLIBC_2.30): Likewise.
2432 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2433 (GLIBC_2.30): Likewise.
2434 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2436 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2437 tests to also test sem_clockwait.
2438 * manual/threads.texi: Document sem_clockwait.
2440 nptl: Add clockid parameter to futex timed wait calls
2441 * sysdeps/nptl/lowlevellock-futex.h,
2442 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2443 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2444 takes a clockid rather than a special clockbit.
2445 * sysdeps/nptl/lowlevellock-futex.h: Add
2446 lll_futex_supported_clockid so that client functions can check
2447 whether their clockid parameter is valid even if they don't
2448 ultimately end up calling lll_futex_clock_wait_bitset.
2449 * sysdeps/nptl/futex-internal.h,
2450 sysdeps/unix/sysv/linux/futex-internal.h
2451 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2452 clockid_t parameter to indicate which clock the absolute time
2453 passed should be measured against. Pass that clockid onto
2454 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2456 * sysdeps/nptl/futex-internal.h,
2457 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2458 futex_abstimed_supported_clockid so that client functions can check
2459 whether their clockid parameter is valid even if they don't
2460 ultimately end up calling futex_abstimed_wait.
2461 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2462 code to calculate relative timeout for
2463 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2464 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2465 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2466 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2467 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2468 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2469 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2471 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2474 * posix/tst-mmap-offset.c: Mention BZ #24699.
2475 (do_test_bz21270): Rename to do_test_large_offset and use
2476 mmap64_maximum_offset to check for maximum expected offset value.
2477 * sysdeps/generic/mmap_info.h: New file.
2478 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2479 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2482 2019-07-10 DJ Delorie <dj@redhat.com>
2483 Sergei Trofimovich <slyfox@inbox.ru>
2487 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2489 * nss/tst-nss-db-endgrent.c: New.
2490 * nss/tst-nss-db-endgrent.root: New.
2491 * nss/tst-nss-db-endpwent.c: New.
2492 * nss/tst-nss-db-endpwent.root: New.
2493 * nss/Makefile: Add new tests.
2494 * support/links-dso-program-c.c: Add selinux dependency.
2495 * support/links-dso-program.cc: Add selinux dependency.
2496 * support/Makefile: Build those with -lselinux if enabled.
2498 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2500 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2501 DT_AARCH64_VARIANT_PCS check.
2502 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2503 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2506 2019-07-10 Andreas Schwab <schwab@suse.de>
2509 * malloc/malloc.h (__malloc_check_init): Don't declare.
2510 * include/malloc.h (__malloc_check_init): Likewise.
2511 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2512 * manual/memory.texi (__malloc_check_init): Don't mention it.
2514 2019-07-10 Mao Han <han_mao@c-sky.com>
2516 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2518 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2520 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2521 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2523 2019-07-08 DJ Delorie <dj@redhat.com>
2526 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2527 * io/tst-ftw-lnk.c: New test.
2528 * io/Makefile: Run it.
2530 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2532 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2533 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2534 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2535 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2536 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2537 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2539 Adjust implementation path.
2540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2541 Adjust implementation path.
2542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2543 Adjust implementation path.
2544 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2545 (libm-sysdep_routines): Add s_log* objects.
2546 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2547 CFLAGS-s_logb-power7.c): New fule.
2548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2557 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2560 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2564 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2570 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2574 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2577 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2584 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2585 powerpc32 integer 0 converting to -0.
2587 * benchtests/Makefile (bench-math): Add logb.
2588 * benchtests/logb-inputs: New file.
2589 * benchtests/logbf-inputs: New file.
2591 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2592 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2593 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2594 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2599 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2600 sysdep_routines): Add s_modf* objects.
2601 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2602 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2605 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2615 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2618 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2621 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2623 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2624 twoM500, twoM600, two60factor, pdnum): Remove.
2625 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2626 (__ieee754_hypot): Replace static variables with inline definition,
2627 remove ununsed branches.
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2629 (libm-sysdep_routines): Remove e_hypot-* objects.
2630 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2639 * benchtests/Makefile (bench-math): Add hypot.
2640 * benchtests/hypot-inputs: New file.
2642 2019-07-08 Vincent Chen <vincentc@andestech.com>
2644 * sysdeps/unix/sysv/linux/dl-vdso.h
2645 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2647 2019-07-04 Andreas Schwab <schwab@suse.de>
2650 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2652 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2654 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2655 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2656 * sysdeps/aarch64/sys/ifunc.h: New file.
2657 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2658 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2660 2019-07-01 Florian Weimer <fweimer@redhat.com>
2663 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2664 Replace __vfork with __libpthread_version_placeholder for
2666 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2667 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2669 * nptl/pt-vfork.c: Remove file.
2670 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2671 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2672 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2673 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2674 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2675 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2676 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2677 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2678 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2679 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2680 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2681 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2682 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2683 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2684 Remove vfork, __vfork.
2685 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2687 (GLIBC_2.1.2): Replace __vfork with
2688 __libpthread_version_placeholder.
2689 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2690 Remove vfork, __vfork.
2691 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2693 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2695 (GLIBC_2.1.2): Replace __vfork with
2696 __libpthread_version_placeholder.
2697 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2699 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2700 (GLIBC_2.4): Remove vfork, __vfork.
2701 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2702 (GLIBC_2.0): Remove vfork.
2703 (GLIBC_2.1.2): Replace __vfork with
2704 __libpthread_version_placeholder.
2705 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2706 (GLIBC_2.18): Remove vfork, __vfork.
2707 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2708 (GLIBC_2.0): Remove vfork.
2709 (GLIBC_2.2): Remove __vfork.
2710 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2711 (GLIBC_2.2): Remove vfork, __vfork.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2713 (GLIBC_2.0): Remove vfork.
2714 (GLIBC_2.1.2): Replace __vfork with
2715 __libpthread_version_placeholder.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2717 (GLIBC_2.3): Remove vfork, __vfork.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2719 (GLIBC_2.17): Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2721 (GLIBC_2.0): Remove vfork.
2722 (GLIBC_2.1.2): Replace __vfork with
2723 __libpthread_version_placeholder.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2725 (GLIBC_2.2): Remove vfork, __vfork.
2726 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2728 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2729 (GLIBC_2.0): Remove vfork.
2730 (GLIBC_2.1.2): Replace __vfork with
2731 __libpthread_version_placeholder.
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2733 (GLIBC_2.2): Remove vfork, __vfork.
2734 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2735 (GLIBC_2.2.5): Likewise.
2736 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2737 (GLIBC_2.16): Likewise.
2738 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2739 Remove __errno_location.
2741 2019-07-02 Florian Weimer <fweimer@redhat.com>
2744 * malloc/Depend: Add nptl and htl, due to potential indirect
2745 libpthread dependency of memusagestat.
2747 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2749 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2752 2019-07-01 Florian Weimer <fweimer@redhat.com>
2754 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2755 variant for arm-linux-gnueabi.
2757 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2760 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2762 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2763 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2764 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2765 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2766 and tst-cet-legacy-mod-6c.
2767 (CFLAGS-tst-cet-legacy-5a.c): New.
2768 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2769 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2770 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2771 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2772 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2773 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2774 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2775 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2776 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2777 ($(objpfx)tst-cet-legacy-5a): Likewise.
2778 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2779 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2780 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2781 ($(objpfx)tst-cet-legacy-5b): Likewise.
2782 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2783 (tst-cet-legacy-5b-ENV): Likewise.
2784 ($(objpfx)tst-cet-legacy-6a): Likewise.
2785 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2786 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2787 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2788 ($(objpfx)tst-cet-legacy-6b): Likewise.
2789 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2790 (tst-cet-legacy-6b-ENV): Likewise.
2791 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2792 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2793 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2794 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2795 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2796 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2797 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2798 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2799 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2800 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2801 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2802 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2803 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2804 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2806 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2808 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2809 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2810 (__fegetround_ISA300) New.
2811 (__fegetround_ISA2) New.
2812 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2813 (_FPU_MFFS): Move implementation...
2815 (_FPU_MFFSL): Move implementation....
2816 (_FPU_GET_RC_ISA300): Here. New.
2817 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2818 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2819 (fegetenv_status): New.
2820 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2821 instead of fegetenv_register().
2822 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2824 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2826 * benchtests/bench-math-inlines.c: Increase iterations.
2827 * benchtests/bench-memcmp.c: Likewise.
2828 * benchtests/bench-rawmemchr.c: Likewise.
2829 * benchtests/bench-strcmp.c: Likewise.
2830 * benchtests/bench-strcpy_chk.c: Likewise.
2831 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2832 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2833 (INNER_LOOP_ITERS_SMALL): Likewise.
2834 * benchtests/bench-strncat.c: Increase iterations.
2835 * benchtests/bench-strncmp.c: Increase iterations.
2836 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2837 * benchtests/bench-strrchr.c: Increase iterations.
2838 * benchtests/bench-strstr.c: Keep iterations unchanged.
2839 * benchtests/bench-strtod.c: Increase iterations.
2841 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2843 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2844 with INNER_LOOP_ITERS_LARGE.
2845 * benchtests/bench-memchr.c: Likewise.
2846 * benchtests/bench-rawmemchr.c: Likewise.
2847 * benchtests/bench-strcat.c: Likewise.
2848 * benchtests/bench-strchr.c: Likewise.
2849 * benchtests/bench-string.h: Likewise.
2850 * benchtests/bench-strlen.c: Likewise.
2851 * benchtests/bench-strncpy.c: Likewise.
2852 * benchtests/bench-strnlen.c: Likewise.
2854 2019-06-28 Florian Weimer <fweimer@redhat.com>
2856 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2857 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2858 entire allocated memory range.
2860 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2862 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2863 (prepare_version_base): New helper inline function.
2864 (prepare_version): New macro replacing PREPARE_VERSION.
2865 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2867 2019-06-28 Florian Weimer <fweimer@redhat.com>
2870 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2871 mismatch in a versioned symbol reference.
2872 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2873 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2874 tst-sonamemove-dlopen.
2875 (module-names): Add tst-sonamemove-linkmod1,
2876 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2877 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2878 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2879 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2880 (tst-sonamemove-runmod1.so): Link against
2881 tst-sonamemove-runmod2.so.
2882 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2883 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2884 tst-sonamemove-runmod2.so.
2885 (tst-sonamemove-dlopen): Link with -ldl.
2886 (tst-sonamemove-dlopen.out): Likewise.
2887 * elf/tst-sonamemove-link.c: New file.
2888 * elf/tst-sonamemove-dlopen.c: Likewise.
2889 * elf/tst-sonamemove-linkmod1.c: Likewise.
2890 * elf/tst-sonamemove-linkmod1.map: Likewise.
2891 * elf/tst-sonamemove-runmod1.c: Likewise.
2892 * elf/tst-sonamemove-runmod1.map: Likewise.
2893 * elf/tst-sonamemove-runmod2.c: Likewise.
2894 * elf/tst-sonamemove-runmod2.map: Likewise.
2896 2019-06-28 Florian Weimer <fweimer@redhat.com>
2898 * support/xdlfcn.h (xdlvsym): Declare function.
2899 * support/xdlfcn.c (xdlvsym): Define funciton.
2901 2019-06-28 Florian Weimer <fweimer@redhat.com>
2904 io: Remove the copy_file_range emulation.
2905 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2906 not define and call copy_file_range_compat.
2907 * io/Makefile (tests-static, tests-internal): Do not add
2908 tst-copy_file_range-compat.
2909 * io/copy_file_range-compat.c: Remove file.
2910 * io/copy_file_range.c (copy_file_range): Define as stub.
2911 * io/tst-copy_file_range-compat.c: Remove file.
2912 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2913 (typical_sizes): Update comment. Remove 16K sizes.
2914 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2916 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2917 (delayed_write_failure_beginning, delayed_write_failure_end)
2918 (cross_device_failure, enospc_failure_1, enospc_failure)
2919 (oappend_failure): Remove functions.
2920 (tests): Adjust test case list.
2921 (do_test): Remove file system search code. Check for ENOSYS from
2922 copy_file_range. Do not free xdevfile.
2923 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2924 copy_file_range. Do not document the EXDEV error, which future
2925 kernels may not report. Update the wording to reflect that
2926 further errors are possible.
2927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2928 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2931 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2933 * sysdeps/unix/sysv/linux/kernel-features.h
2934 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2937 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2939 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2940 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2943 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2945 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2946 used as a mask for the mode argument of __vfprintf_internal.
2947 * stdio-common/printf-parse.h (printf_arg): New union member:
2949 * stdio-common/vfprintf-internal.c
2950 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2951 (PARSE_FLOAT_VA_ARG): Likewise.
2952 (SETUP_FLOAT128_INFO): Likewise.
2953 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2954 SETUP_FLOAT128_INFO.
2955 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2956 floating-point value to the new union member, pa_float128.
2957 (printf_positional): Zero-initialize args_value[cnt] with memset.
2959 2019-06-27 Florian Weimer <fweimer@redhat.com>
2962 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2963 buffer size if necessary.
2964 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2966 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2968 (large_buffer_checks): Likewise.
2969 (do_test): Call large_buffer_checks.
2971 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2973 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2974 * sysdeps/x86/dl-lookupcfg.h: Here.
2975 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2977 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2980 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2985 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2986 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2987 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2989 * sysdeps/powerpc/powerpc32/fpu/Makefile
2990 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2991 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2992 and fctidz optimization.
2993 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2994 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2996 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2997 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2998 CFLAGS-s_lround-power5+.c): New rule.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3019 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3020 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3021 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3022 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3025 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3027 2019-06-26 Vincent Chen <vincentc@andestech.com>
3029 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3030 specific system calls, fp_udfiex_crtl and udftrap.
3032 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3034 * nptl/tst-eintr1.c (tf1): Add return statement.
3035 (do_test): Remove unused th variable.
3037 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3039 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3040 Return error if get_character fails.
3042 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3044 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3046 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3049 * localedata/locales/szl_PL (day): Use the correct Unicode
3050 sequences instead of non-ASCII characters.
3052 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3055 * localedata/locales/szl_PL (abday): Spelling corrections.
3059 (alt_mon): This, then apply spelling corrections.
3060 (mon): New entry, month names in the genitive case.
3062 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3065 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3066 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3067 (thousands_sep): Likewise.
3068 (grouping): Set to 3;3.
3070 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3072 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3073 PREPARE_VERSION_KNOWN.
3074 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3075 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3077 (VDSO_HASH_LINUX_2_6_39): Likewise.
3078 (VDSO_NAME_LINUX_4_9): Likewise.
3079 (VDSO_HASH_LINUX_4_9): Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3081 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3082 (_libc_vdso_platform_setup): Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3084 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3089 2019-06-20 Mike Crowe <mac@mcrowe.com>
3091 * nptl/eintr.c: Use libsupport.
3092 * nptl/tst-eintr1.c: Likewise.
3093 * nptl/tst-eintr2.c: Likewise.
3094 * nptl/tst-eintr3.c: Likewise.
3095 * nptl/tst-eintr4.c: Likewise.
3096 * nptl/tst-eintr5.c: Likewise.
3097 * nptl/tst-mutex-errorcheck.c: Likewise.
3098 * nptl/tst-mutex5.c: Likewise.
3100 * support/test-driver.h: Add verbose_printf macro.
3102 * support/xtime.h: Add xclock_now() helper function.
3104 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3105 Florian Weimer <fweimer@redhat.com>
3108 * libio/genops.c (_IO_unbuffer_all)
3109 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3110 buffers and access _IO_FILE_complete members of legacy libio streams.
3111 * libio/tst-bz24228.c: New file.
3112 * libio/tst-bz24228.map: Likewise.
3113 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3114 [build-shared] (generated): Add tst-bz24228.mtrace and
3116 [run-built-tests && build-shared] (tests-special): Add
3117 $(objpfx)tst-bz24228-mem.out.
3118 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3119 ($(objpfx)tst-bz24228-mem.out): New rule.
3121 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3123 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3124 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3125 (__FPU_MFFSL): Likewise.
3126 (_FPU_SETCW): Likewise.
3128 2019-06-19 Stan Shebs <stanshebs@google.com>
3129 Raoni Fassina Firmino <raoni@linux.ibm.com>
3132 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3133 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3134 static-linking version.
3135 * sysdeps/unix/sysv/linux/powerpc/Makefile
3136 (tests-static): Add test-gettimebasefreq-static.
3138 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3141 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3144 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3145 between the currency symbol and the minus sign).
3146 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3148 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3151 * string/test-strcasestr.c (check_result): Add NULL check.
3152 * nss/tst-field.c (check_rewrite): Likewise.
3153 * benchtests/bench-strstr.c (do_one_test): Likewise.
3154 * string/test-strstr.c (check_result): Likewise.
3155 * argp/argp-test.c (popt): Increase size of buf to 12.
3156 * benchtests/bench-malloc-simple.c (bench):
3157 Do not initialize tests array out of bounds.
3159 2019-06-19 Florian Weimer <fweimer@redhat.com>
3162 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3165 2019-06-18 Florian Weimer <fweimer@redhat.com>
3168 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3169 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3170 fail when called from dlopen.
3171 * elf/Makefile [have-fpie && build-shared] (tests): Add
3173 (tst-dlopen-pie): Link with -ldl.
3174 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3175 * elf/tst-dlopen-pie.c (do_test): New file.
3177 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3180 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3181 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3182 between the currency symbol and the minus sign).
3183 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3184 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3186 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3188 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3189 sysdep-rtld-routines): Remove rules.
3190 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3191 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3192 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3193 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3194 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3195 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3196 vDSO path for SHARED.
3197 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3198 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3199 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3200 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3201 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3202 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3204 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3205 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3206 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3207 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3208 CFLAGS-s_llround-power5+.c): New rule.
3209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3217 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3222 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3225 * sysdeps/powerpc/powerpc64/fpu/Makefile
3226 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3228 (libm-sysdep_routines): Remove s_llround-* objects.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3239 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3241 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3244 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3245 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3246 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3249 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3250 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3251 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3254 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3255 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3256 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3257 * sysdeps/powerpc/powerpc32/fpu/Makefile
3258 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3259 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3261 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3262 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3263 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3265 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3266 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3267 CFLAGS-s_lrint-ppc32.c): New rule.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3278 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3281 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3293 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3294 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3296 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3297 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3299 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3301 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3306 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3309 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3310 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3312 (libm-sysdep_routines): Remove s_llrint-* objects.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3319 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3322 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3323 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3324 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3326 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3328 2019-06-14 Florian Weimer <fweimer@redhat.com>
3330 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3331 argument to __glibc_has_include to inhibit macro expansion.
3333 2019-06-14 Florian Weimer <fweimer@redhat.com>
3335 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3336 function-like macro, so that __has_include can inhibit expansion
3339 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3341 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3345 Allow memset in libc.so.
3347 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3349 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3350 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3351 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3352 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3353 symbols at load time.
3354 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3356 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3358 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3359 (DT_AARCH64_VARIANT_PCS): Define.
3361 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3364 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3374 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3375 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3377 Remove s_finite* objects.
3378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3384 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3385 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3386 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3387 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3390 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3393 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3403 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3404 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3406 Remove s_isinf* and s_isinf* objects.
3407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3413 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3414 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3419 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3421 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3422 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3423 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3425 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3441 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3443 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3444 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3446 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3448 Remove s_isnan-* and s_isnanf-* objects.
3449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3458 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3459 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3460 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3463 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3464 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3465 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3468 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3470 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3471 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3472 CFLAGS-bench-isfinite.c): New rule.
3473 * benchtests/isnan-input: New file.
3474 * benchtests/isinf-input: New file.
3475 * benchtests/isfinite-input: New file.
3477 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3478 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3479 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3480 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3482 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3495 Remove s_copysign-power6 s_copysign-ppc64.
3496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3502 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3507 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3508 round_to_integer_float, round_mode): Add RINT handling.
3509 (reset_fenv_mode): New symbol.
3510 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3511 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3513 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3517 2019-06-12 Florian Weimer <fweimer@redhat.com>
3520 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3521 * libio/freopen.c (freopen): Use it.
3523 2019-06-12 Florian Weimer <fweimer@redhat.com>
3525 Linux: Deprecate sysctl.
3526 * include/sysctl.h (__sysctl): Remove declaration.
3527 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3529 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3530 (sysctl): Add deprecation attribute.
3531 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3532 directly, to avoid the deprecation warning. Do not include
3534 (__sysctl): Remove hidden alias.
3536 2019-06-12 Florian Weimer <fweimer@redhat.com>
3538 Linux: Use kernel headers for statx definitions if available.
3539 * include/bits/statx-generic.h: New file.
3540 * include/bits/types/struct_statx.h: Likewise.
3541 * include/bits/types/struct_statx_timestamp.h: Likewise.
3542 * io/Makefile (headers): Add bits/statx-generic.h.
3543 * io/bits/statx-generic.h: New file. Partly copied from
3545 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3546 define original_statx.
3547 * io/bits/types/struct_statx.h: Likewise.
3548 * io/bits/types/struct_statx_timestamp.h: Likewise.
3549 (statx_generic): Use original_statx.
3550 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3551 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3553 2019-06-12 Florian Weimer <fweimer@redhat.com>
3555 * misc/sys/cdefs.h (__glibc_has_include): Define.
3557 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3559 * string/memmem.c (__memmem): Rewrite to improve performance.
3561 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3563 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3565 (two_way_long_needle): Block inlining.
3566 * string/strstr.c (strstr2): Add new function.
3567 (strstr3): Likewise.
3568 (STRSTR): Completely rewrite strstr to improve performance.
3570 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3572 * benchtests/bench-strstr.c (test_hard_needle): New function.
3574 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3576 * malloc/tst-calloc.c: Include <libc-diag.h>.
3577 (null_test): Ignore -Wunused-result around calls to calloc.
3578 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3579 (do_test): Ignore -Wunused-result around call to malloc.
3581 2019-06-07 Florian Weimer <fweimer@redhat.com>
3583 Linux: Add getdents64 system call.
3584 * include/dirnent.h (getdents): Add comment and change buffer
3585 argument type to void *.
3586 (getdents64): Likewise. Add hidden prototype.
3587 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3589 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3591 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3592 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3593 argument type to void *.
3594 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3595 Add hidden definition and getdents64 alias.
3596 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3598 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3599 * manual/filesys.texi (Accessing Directories): Add Low-level
3600 Directory Access node reference.
3601 (Opening a Directory): Cross-reference it.
3602 (Low-level Directory Access): New node.
3603 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3605 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3607 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3608 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3610 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3612 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3614 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3616 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3618 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3620 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3622 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3623 (GLIBC_2.30): Likewise.
3624 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3625 (GLIBC_2.30): Likewise.
3626 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3627 (GLIBC_2.30): Likewise.
3628 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3629 (GLIBC_2.30): Likewise.
3630 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3633 (GLIBC_2.30): Likewise.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3635 (GLIBC_2.30): Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3637 (GLIBC_2.30): Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3639 (GLIBC_2.30): Likewise.
3640 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3642 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3644 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3646 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3649 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3653 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3656 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3658 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3662 (_FPU_GETCW): Use __FPU_MFFS().
3663 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3665 2019-06-06 Florian Weimer <fweimer@redhat.com>
3667 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3668 internal GCC preprocessor identifier __has_include__.
3670 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3672 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3673 with call to equivalent function.
3675 2019-06-04 Florian Weimer <fweimer@redhat.com>
3677 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3678 (do_release_shlib): Adjust for __twalk_r.
3679 (__gconv_release_shlib): Call __twalk_r.
3681 2019-06-04 Andreas Schwab <schwab@suse.de>
3684 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3685 no irreversible characters occurred.
3686 * iconv/gconv_simple.c (internal_ucs4_loop)
3687 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3688 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3689 (ucs4_internal_loop_single, internal_ucs4le_loop)
3690 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3691 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3692 (ucs4le_internal_loop_single): Add const to outend.
3693 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3694 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3695 * iconv/Makefile (tests): Add tst-iconv7.
3696 * iconv/tst-iconv7.c: New file.
3698 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3700 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3702 2019-06-01 Florian Weimer <fweimer@redhat.com>
3704 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3705 * sysdeps/unix/sysv/linux/arm/Makefile
3706 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3707 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3708 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3709 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3710 compatibility symbols.
3712 2019-05-31 Florian Weimer <fweimer@redhat.com>
3714 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3715 system calls for the arm architecture: breakpoint, get_tls,
3716 set_tls, usr26, usr32.
3718 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3720 * sysdeps/powerpc/Makefile
3721 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3722 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3723 Declare '.machine power7' to get support for ldbrx.
3724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3725 directive based on the directory of the file.
3726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3727 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3729 '.machine' directive.
3730 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3731 (VADDUQM_V7_V8): Remove.
3732 (__STRCASECMP): Replace macros with actual instructions.
3733 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3734 '.machine' directive.
3735 (VCLZD_V8_v7): Remove.
3736 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3738 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3740 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3742 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3744 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3746 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3748 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3749 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3755 2019-05-28 mansayk <6688000@gmail.com>
3758 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3760 2019-05-28 mansayk <6688000@gmail.com>
3763 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3764 (abmon): Likewise, but remove the trailing dots.
3766 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3768 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3770 2019-05-27 Florian Weimer <fweimer@redhat.com>
3772 * nptl/nptl-init.c: Add comment.
3774 2019-05-24 Florian Weimer <fweimer@redhat.com>
3776 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3777 struct in_addr/struct in6_addr alignment.
3779 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3782 (F_SEAL_FUTURE_WRITE): New macro.
3784 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3786 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3787 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3788 * elf/tst-ldconfig_aux-cache.root: New directory.
3789 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3790 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3791 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3793 2019-05-22 Zack Weinberg <zackw@panix.com>
3795 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3797 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3798 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3800 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3805 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3806 Issue an #error if used with a compiler in SPE-float mode.
3807 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3808 * sysdeps/powerpc/powerpc32/setjmp_common.S
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3815 Remove code to preserve SPE register state.
3817 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3818 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3819 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3820 Remove __SPE__ ifndefs.
3822 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3824 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3825 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3826 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3827 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3828 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3829 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3830 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3831 (INNER_LOOP_ITERS_MEDIUM): New define.
3832 (INNER_LOOP_ITERS_SMALL): New define.
3833 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3834 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3835 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3836 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3837 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3839 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3841 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3843 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3844 (SEMTIMEDOP_IPC_ARGS): Likewise.
3846 2019-05-21 Florian Weimer <fweimer@redhat.com>
3849 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3850 before updating __counter field and release it afterwards. Add
3852 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3853 requirement for __counter member.
3855 2019-05-21 Florian Weimer <fweimer@redhat.com>
3858 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3859 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3860 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3861 instead of __gconv_release_step.
3862 * libio/Makefile (tests): Add tst-wfile-gconv.
3863 (tests-container): Add tst-wfile-ascii.
3864 (tst-wfile-gconv-ENV): Enable mtrace.
3865 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3866 (tests-special): Add tst-wfile-gconv-mem.out.
3867 (tst-wfile-gconv.out): Depend on locales.
3868 (tst-wfile-gconv-mem.out): Add mtrace rule.
3869 * libio/tst-wfile-ascii.c: New file.
3870 * libio/tst-wfile-gconv.c: Likewise.
3872 2019-05-20 Florian Weimer <fweimer@redhat.com>
3875 libio: Remove codecvt vtable.
3876 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3878 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3879 __libio_codecvt_encoding.
3880 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3881 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3882 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3883 * libio/iofwide.c (__libio_codecvt): Remove variable.
3884 (_IO_fwide): Do not copy __libio_codecvt.
3885 (__libio_codecvt_out): Rename from do_out and export.
3886 (do_unshift): Remove function.
3887 (__libio_codecvt_in): Rename from do_in and export.
3888 (__libio_codecvt_encoding): Rename from do_encoding and export.
3889 (do_always_noconv): Remove function.
3890 (__libio_codecvt_length): Rename from do_length and export.
3891 (do_max_length): Remove function.
3892 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3894 (struct _IO_codecvt): Remove fields __codecvt_destr,
3895 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3896 __codecvt_do_encoding, __codecvt_do_always_noconv,
3897 __codecvt_do_length, __codecvt_do_max_length.
3898 * libio/libioP.h (enum __codecvt_result): Define; moved from
3900 (__libio_codecvt_out, __libio_codecvt_in)
3901 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3903 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3904 (_IO_wfile_underflow): Call __libio_codecvt_in.
3905 (_IO_wfile_underflow): Likewise.
3906 (_IO_wfile_underflow_mmap): Likewise.
3907 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3908 __libio_codecvt_length.
3909 (adjust_wide_data): Call __libio_codecvt_encoding,
3911 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3912 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3913 __libio_codecvt_length.
3915 2019-05-20 Florian Weimer <fweimer@redhat.com>
3917 * support/support.h (support_sbindir_prefix): Declare.
3918 (support_install_rootsbindir): Update comment.
3919 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3920 * support/support_paths.c (support_sbindir_prefix): Define.
3922 2019-05-20 Mike Crowe <mac@mcrowe.com>
3924 * support/timespec.c: Add backslash to correct newline in failure
3927 * support/timespec.h: Correct confusing comment.
3929 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3931 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3933 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3934 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3935 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3936 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3939 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3942 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3944 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3945 (NT_ARM_PACG_KEYS): Likewise.
3947 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3949 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3950 (tcache_put): Remove redundant assert.
3951 (tcache_get): Remove redundant asserts.
3952 (__libc_malloc): Check tcache count is not zero.
3953 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3955 2019-05-17 Florian Weimer <fweimer@redhat.com>
3957 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3959 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3962 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3964 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3966 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3967 (__ASSUME_STATX): Likewise.
3969 2019-05-16 Florian Weimer <fweimer@redhat.com>
3971 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3973 (LINE_PARSER): Do not map IPv4 addresses.
3974 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3976 (_nss_nis_gethostent_r): Always pass AF_INET to
3977 internal_nis_gethostent_r.
3978 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3980 (_nss_nis_gethostbyname2_r): Adjust call to
3981 internal_nis_gethostent_r.
3982 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3983 call to internal_nis_gethostent_r.
3984 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3986 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3987 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3988 Remove flags argument. Do not map IPv4 addresses.
3989 (internal_nisplus_gethostent_r): Adjust call to
3990 _nss_nisplus_parse_hostent.
3991 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3992 to _nss_nisplus_parse_hostent.
3993 (_nss_nisplus_gethostbyname2_r): Adjust call to
3994 internal_gethostbyname2_r.
3995 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3996 Adjust call to internal_gethostbyname2_r.
3997 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3998 _nss_nisplus_parse_hostent.
3999 (_nss_nisplus_gethostbyname4_r): Adjust call to
4000 internal_gethostbyname2_r.
4002 2019-05-16 Florian Weimer <fweimer@redhat.com>
4004 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4006 (LINE_PARSER): Remove address mapping.
4007 (EXTRA_ARGS_VALUE): Remove flags argument.
4008 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4009 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4010 gethostbyname3_multi.
4011 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4012 _nss_files_gethostbyname3_r.
4013 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4015 2019-05-16 Florian Weimer <fweimer@redhat.com>
4017 * support/support_test_compare_blob.c (report_blob): Report
4018 incorrect NULL blobs.
4020 2019-05-15 Mark Wielaard <mark@klomp.org>
4023 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4024 __libc_once_get (once) and static_buf == NULL.
4025 (__dlerror): Check we have a valid key, set result to static_buf
4028 2019-05-15 Andreas Schwab <schwab@suse.de>
4031 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4032 __codecvt_do_length.
4033 * libio/Makefile (tests): Add tst-wfile-sync.
4034 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4035 * libio/tst-wfile-sync.c: New file.
4036 * libio/tst-wfile-sync.input: New file.
4038 2019-05-15 Florian Weimer <fweimer@redhat.com>
4040 nss: Turn __nss_database_lookup into a compatibility symbol.
4041 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4042 __nss_database_lookup.
4043 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4044 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4045 __nss_database_lookup.
4046 (__nss_next): Move to …
4047 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4049 (__nss_database_lookup): New function.
4050 * nss/Versions (GLIBC_2.0): Update comment.
4051 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4052 * grp/initgroups.c (internal_getgrouplist): Call
4053 __nss_database_lookup2 instead of __nss_database_lookup.
4054 * nscd/aicache.c (addhstaiX): Likewise.
4055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4056 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4057 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4058 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4059 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4061 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4062 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4065 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4067 * support/support.h (support_install_rootsbindir): New variable.
4068 * support/support_paths.c: Likewise.
4069 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4071 2019-05-15 Florian Weimer <fweimer@redhat.com>
4073 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4074 * iconv/gconv_int.h (__gconv_transliterate): … here.
4075 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4076 * iconv/skeleton.c: Likewise.
4078 2019-05-14 Florian Weimer <fweimer@redhat.com>
4080 Linux: Add the tgkill function.
4081 * bits/signal_ext.h: New file.
4082 * manual/signal.texi (Signaling Another Process): Document tgkill.
4083 * signal/Makefile (headers): Add bits/signal_ext.h.
4084 * signal/signal.h: Include <bits/signal_ext.h>.
4085 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4086 (tst-tgkill): Link with libpthread.
4087 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4088 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4089 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4090 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4092 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4099 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4100 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4102 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4115 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4117 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4118 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4121 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4124 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4126 * manual/search.texi (Tree Search Function): Adjust twalk_r
4129 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4132 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4135 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4136 * support/support.h (support_bindir_prefix): New variable.
4137 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4139 * config.make.in (bindir): New variable.
4141 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4142 (lll_trylock): Call __lll_trylock.
4143 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4144 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4145 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4146 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4147 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4148 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4151 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4152 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4153 lowlevellock-futex.h.
4155 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4156 initialization for LLL_LOCK_INITIALIZER different than 0.
4157 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4158 Assume LLL_LOCK_INITIALIZER being 0.
4159 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4160 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4162 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4163 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4165 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4166 Optimize futex call and add systemtap probe.
4168 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4169 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4170 __libc_disable_asynccancel, __librt_enable_asynccancel,
4171 __libc_disable_asynccancel, __librt_enable_asynccancel,
4172 __librt_disable_asynccancel): Move to ...
4173 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4174 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4175 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4176 * sysdeps/generic/single-thread.h: New file.
4177 * sysdeps/unix/sysdep.h: Include single-thread.h.
4178 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4179 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4181 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4184 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4185 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4187 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4188 * localedata/unicode-gen/PropList.txt: Likewise.
4189 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4190 * localedata/charmaps/UTF-8: Regenerate.
4191 * localedata/locales/i18n_ctype: Likewise.
4192 * localedata/locales/tr_TR: Likewise.
4193 * localedata/locales/translit_circle: Likewise.
4194 * localedata/locales/translit_cjk_compat: Likewise.
4195 * localedata/locales/translit_combining: Likewise.
4196 * localedata/locales/translit_compat: Likewise.
4197 * localedata/locales/translit_font: Likewise.
4198 * localedata/locales/translit_fraction: Likewise.
4200 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4203 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4204 (do_set_tcache_count): Only update if count is small enough.
4205 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4207 2019-05-10 Florian Weimer <fweimer@redhat.com>
4209 * nptl/sem_close.c (struct walk_closure): Define.
4210 (walker): Adjust for __twalk_r.
4211 (sem_close): Call __twalk_r.
4213 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4215 * support/timespec.c (test_timespec_before_impl,
4216 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4219 2019-05-09 Mike Crowe <mac@mcrowe.com>
4221 * nptl/tst-abstime.c: Use libsupport.
4223 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4224 small bug where only tv.tv_usec was checked which could cause an
4225 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4228 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4231 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4232 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4234 * nptl/tst-cond11.c: Use libsupport.
4236 * support/timespec.h: New file. Provide timespec helper functions
4237 along with macros in the style of those in check.h.
4238 * support/timespec.c: New file. Implement check functions declared
4239 in support/timespec.h.
4240 * support/timespec-add.c: New file from gnulib containing
4241 timespec_add implementation that handles overflow.
4242 * support/timespec-sub.c: New file from gnulib containing
4243 timespec_sub implementation that handles overflow.
4244 * support/README: Mention timespec.h.
4246 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4249 * nptl/Makefile: Move tst-eintr1 to xtests.
4251 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4253 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4255 (round_mode): Add definition for TRUNC.
4256 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4257 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4258 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4259 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4260 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4262 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4264 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4266 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4268 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4270 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4272 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4274 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4276 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4277 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4278 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4279 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4280 s_truncf-power5+, and s_truncf-ppc64.
4281 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4282 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4284 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4286 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4287 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4289 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4292 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4294 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4295 s_truncf-power5+, and s_truncf-ppc64.
4296 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4298 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4299 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4301 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4302 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4303 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4304 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4305 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4307 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4309 (round_mode): Add definition for ROUND.
4310 (round_to_integer_float): Likewise.
4311 * sysdeps/powerpc/fpu/s_round.c: New file.
4312 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4313 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4314 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4315 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4317 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4331 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4332 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4333 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4334 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4335 s_roundf-power5+, and s_roundf-ppc64.
4336 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4337 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4339 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4341 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4342 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4344 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4347 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4349 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4350 s_roundf-power5+, and s_roundf-ppc64.
4351 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4353 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4354 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4356 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4357 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4358 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4359 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4360 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4362 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4364 (round_mode): Add definition for FLOOR.
4365 * sysdeps/powerpc/fpu/s_floor.c: New file.
4366 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4367 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4368 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4387 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4388 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4389 s_floorf-power5+, and s_floorf-ppc64.
4390 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4391 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4393 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4395 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4396 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4398 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4401 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4403 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4404 s_floorf-power5+, and s_floorf-ppc64.
4405 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4413 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4414 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4418 2019-05-08 Mike Crowe <mac@mcrowe.com>
4420 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4421 clock_gettime wrapper for use in tests that fails the test rather
4422 than returning failure.
4424 * support/xtime.h: New file to declare xclock_gettime.
4426 * support/Makefile: Add xclock_gettime.c.
4428 * support/README: Mention xtime.h.
4430 2019-05-08 Florian Weimer <fweimer@redhat.com>
4432 malloc/tst-mallocfork2: Use process-shared barriers.
4433 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4434 (signal_count, sigusr1_sender_pid): Remove.
4435 (iterations): Define constant.
4436 (shared): New variable.
4437 (sigusr1_received): Update comment.
4438 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4439 (signal_sender): Optional use barriers to avoid sending signals
4440 during irrelevant times.
4441 (do_it): Initialize variable shared. Use xfork for error
4442 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4443 the iteration count, independent of signal delivery. Check for
4444 deadlocks in fork. Introduce barriers for reducing signal
4445 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4446 replaced by the barriers. Count signals during fork/free/malloc
4448 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4450 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4452 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4454 (clock_adjtime64) New syscall.
4455 (clock_getres_time64) Likewise.
4456 (clock_gettime64) Likewise.
4457 (clock_nanosleep_time64) Likewise.
4458 (clock_settime64) Likewise.
4459 (futex_time64) Likewise.
4460 (io_pgetevents_time64) Likewise.
4461 (io_uring_enter) Likewise.
4462 (io_uring_register) Likewise.
4463 (io_uring_setup) Likewise.
4464 (mq_timedreceive_time64) Likewise.
4465 (mq_timedsend_time64) Likewise.
4466 (pidfd_send_signal) Likewise.
4467 (ppoll_time64) Likewise.
4468 (pselect6_time64) Likewise.
4469 (recvmmsg_time64) Likewise.
4470 (rt_sigtimedwait_time64) Likewise.
4471 (sched_rr_get_interval_time64) Likewise.
4472 (semtimedop_time64) Likewise.
4473 (timer_gettime64) Likewise.
4474 (timer_settime64) Likewise.
4475 (timerfd_gettime64) Likewise.
4476 (timerfd_settime64) Likewise.
4477 (utimensat_time64) Likewise.
4479 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4480 version to 9 branch.
4482 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4484 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4485 __memmove_thunderx2 to the list of implementations
4486 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4487 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4488 (__memmove_thunderx2): Rewritten using SIMD ld/st
4489 (__memcpy_thunderx2): Fixed handling overlapping cases.
4490 Used ldp/stp instead of ldr/str if possible. Made loops
4493 2019-05-03 Florian Weimer <fweimer@redhat.com>
4495 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4497 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4500 * elf/tst-pldd.c (in_str_list): New function.
4501 (do_test): Add default names for ld and libc as one option.
4503 2019-05-02 Florian Weimer <fweimer@redhat.com>
4505 misc: Add twalk_r function.
4506 * include/search.h (__twalk_r): Declare.
4507 * manual/examples/twalk.c: New file.
4508 * manual/search.texi (Tree Search Function): Document twalk_r.
4509 * misc/Versions (2.30): Export twalk_r.
4510 (GLIBC_PRIVATE): Export __twalk_r.
4511 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4512 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4513 (twalk_r): Add weak alias.
4514 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4515 (walk_trace): New variable.
4516 (struct twalk_with_twalk_r_closure): Define.
4517 (twalk_with_twalk_r_action): New function.
4518 (twalk_with_twalk_r): Likewise.
4519 (walk_action): Call walk_trace_add.
4520 (walk_tree_with): Rename from walk_tree. Add walk argument.
4521 (walk_tree): New function.
4522 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4523 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4525 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4527 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4528 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4529 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4530 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4531 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4532 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4534 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4536 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4538 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4539 (GLIBC_2.30): Likewise.
4540 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4541 (GLIBC_2.30): Likewise.
4542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4543 (GLIBC_2.30): Likewise.
4544 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4545 (GLIBC_2.30): Likewise.
4546 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4549 (GLIBC_2.30): Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4551 (GLIBC_2.30): Likewise.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4553 (GLIBC_2.30): Likewise.
4554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4555 (GLIBC_2.30): Likewise.
4556 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4558 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4560 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4562 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4567 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4569 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4572 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4574 Make mktime etc. compatible with __time64_t
4575 Keep these functions compatible with Gnulib while adding
4576 __time64_t support. The basic idea is to move private API
4577 declarations from include/time.h to time/mktime-internal.h, since
4578 the former file cannot easily be shared with Gnulib whereas the
4580 Also, do some other minor cleanup while in the neighborhood.
4581 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4582 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4583 since Gnulib needs it.
4584 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4585 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4586 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4587 (in_time_t_range): New static function.
4588 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4589 so that glibc users are not tempted to use __time64_t.
4590 * time/mktime-internal.h: Rewrite so that it does both glibc
4591 and Gnulib work. Include time.h if not _LIBC.
4592 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4593 (__time64_t): New type or macro, moved here from
4595 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4596 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4597 from include/time.h.
4598 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4599 New macros, taken from GNulib.
4600 (__mktime_internal): New prototype, moved here from include/time.h.
4601 * time/mktime.c (mktime_min, mktime_max, convert_time)
4602 (ranged_convert, __mktime_internal, __mktime64):
4603 * time/timegm.c (__timegm64):
4604 Use __time64_t, not time_t.
4605 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4606 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4608 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4609 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4610 for libc_hidden_def.
4612 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4614 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4616 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4619 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4620 from `-Wmaybe-uninitialized'.
4621 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4623 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4625 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4627 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4628 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4629 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4630 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4631 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4633 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4653 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4658 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4659 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4661 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4664 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4667 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4668 s_ceilf-power5+, and s_ceilf-ppc64.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4674 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4675 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4676 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4677 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4679 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4680 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4681 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4683 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4685 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4686 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4687 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4688 (sem_getvalue): Likewise.
4690 2019-04-26 Florian Weimer <fweimer@redhat.com>
4692 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4693 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4695 2019-04-26 Florian Weimer <fweimer@redhat.com>
4697 Makeconfig: Move -Wl,-rpath-link options before library references.
4698 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4699 (link-libc): Remove $(link-libc-rpath-link).
4701 2019-04-25 Florian Weimer <fweimer@redhat.com>
4703 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4704 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4705 (+link-static-before-libc): Remove $(CC).
4706 (+link-static, +link-static-tests): Add $(CC).
4707 (+link-before-libc): Remove $(CC).
4708 (+link, +link-pie, +link-pie-printers): Add $(CC).
4710 2019-04-26 Florian Weimer <fweimer@redhat.com>
4712 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4713 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4714 (+link-static-before-libc): Remove $(CC).
4715 (+link-static, +link-static-tests): Add $(CC).
4716 (+link-before-libc): Remove $(CC).
4717 (+link, +link-pie, +link-pie-printers): Add $(CC).
4719 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4722 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4724 2019-04-25 Florian Weimer <fweimer@redhat.com>
4726 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4727 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4728 (bench-link-targets): New variable.
4729 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4731 2019-04-25 Florian Weimer <fweimer@redhat.com>
4733 Also enable BIND_NOW for programs if --enable-bind-now.
4734 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4735 (+link-pie): Use $(link-extra-flags).
4736 (+link-static): Likewise.
4737 [! $(build-pie-default)] (+link): Likewise.
4738 * manual/install.texi (Configuring and compiling): Update
4739 --enable-bind-now description.
4740 * INSTALL: Regenerated.
4742 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4744 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4745 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4747 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4750 * malloc/Makefile (others): Add memusagestat.
4751 ($(objpfx)memusagestat): Delete rule.
4752 (LDLIBS-memusagestat): New variable.
4754 2019-04-24 Florian Weimer <fweimer@redhat.com>
4756 * locale/Makefile (tests-special): Guard setting by
4757 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4758 to run while cross-compiling.
4760 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4763 * elf/Makefile (tests-container): Add tst-pldd.
4764 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4765 (E(find_maps)): Avoid use alloca, use default read file operations
4766 instead of explicit LFS names, and fix infinite loop.
4767 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4768 (get_process_info): Use _Static_assert instead of assert, use default
4769 directory operations instead of explicit LFS names, and free some
4771 * elf/tst-pldd.c: New file.
4773 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4775 * malloc/arena.c (do_set_mallopt_check): Removed.
4777 2019-04-23 Florian Weimer <fweimer@redhat.com>
4779 locale: Add LOCPATH diagnostics to the locale program.
4780 * locale/programs/locale.c (setlocale_failed): New variable.
4781 (try_setlocale): New function.
4782 (quote_string): Likewise.
4783 (setlocale_diagnostics): Likewise.
4784 (main): Call try_setlocale instead of setlocale. Call
4785 setlocale_diagnostics.
4786 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4787 (tst-locale-locpath.out): New target.
4788 * locale/tst-locale-locpath.sh: New file.
4790 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4795 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4798 * malloc/hooks.c (malloc_check, realloc_check): Use
4799 __builtin_add_overflow on overflow check and adapt to
4800 checked_request2size change.
4801 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4802 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4803 allocation size to PTRDIFF_MAX.
4804 (REQUEST_OUT_OF_RANGE): Remove macro.
4805 (checked_request2size): Change to inline function and limit maximum
4806 requested size to PTRDIFF_MAX.
4807 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4808 maximum allocation size to PTRDIFF_MAX.
4809 (_mid_memalign): Use _int_memalign call for overflow check.
4810 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4811 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4812 limit maximum requested size to PTRDIFF_MAX.
4813 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4814 valloc, pvalloc): Add __attribute_alloc_size__.
4815 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4816 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4817 larger than PTRDIFF_MAX.
4818 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4819 around tests of malloc with negative sizes.
4820 * malloc/tst-posix_memalign.c (do_test): Likewise.
4821 * malloc/tst-pvalloc.c (do_test): Likewise.
4822 * malloc/tst-valloc.c (do_test): Likewise.
4823 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4824 with resulting size allocation larger than PTRDIFF_MAX with
4825 reallocarray_nowarn.
4826 (reallocarray_nowarn): New function.
4827 * NEWS: Mention the malloc function semantic change.
4829 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4831 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4832 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4834 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4835 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4836 * sysdeps/powerpc/fpu/s_fma.c: New file.
4837 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4839 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4840 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4842 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4843 the magic flag store.
4844 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4846 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4848 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4849 Remove rt_sigreturn call.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4852 Remove rt_sigreturn call.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4858 * support/Makefile (libsupport-routines): Add support_subprocess,
4859 xposix_spawn, xposix_spawn_file_actions_addclose, and
4860 xposix_spawn_file_actions_adddup2.
4861 (tst-support_capture_subprocess-ARGS): New rule.
4862 * support/capture_subprocess.h (support_capture_subprogram): New
4864 * support/support_capture_subprocess.c (support_capture_subprocess):
4865 Refactor to use support_subprocess and support_capture_poll.
4866 (support_capture_subprogram): New function.
4867 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4868 str_to_write_mode, test_common, parse_int, handle_restart,
4869 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4870 (do_test): Add support_capture_subprogram tests.
4871 * support/subprocess.h: New file.
4872 * support/support_subprocess.c: Likewise.
4873 * support/xposix_spawn.c: Likewise.
4874 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4875 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4876 * support/xspawn.h: Likewise.
4878 2019-04-17 Mike Gerow <gerow@google.com>
4880 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4883 2019-04-11 Florian Weimer <fweimer@redhat.com>
4885 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4886 domain with empty string.
4887 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4889 2019-04-11 Florian Weimer <fweimer@redhat.com>
4891 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4893 (alloc_buffer_next): Change return type to non-const. Update
4896 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4898 * manual/time.texi (Formatting Calendar Time): Add missing percent
4899 sign to conversion specifier.
4901 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4902 Kwok Cheung Yeung <kcy@codesourcery.com>
4905 * malloc/mtrace.c: Define prototypes for all hooks.
4906 (set_default_hooks): New function.
4907 (set_trace_hooks): Likewise.
4908 (save_default_hooks): Likewise.
4909 (tr_freehook): Use new s*_hooks functions.
4910 (tr_mallochook): Likewise.
4911 (tr_reallochook): Likewise.
4912 (tr_memalignhook): Likewise.
4914 (muntrace): Likewise.
4916 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4918 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4919 (generic_stpcpy): New function.
4920 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4921 (generic_stpncpy): New function.
4922 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4923 (generic_strcat): New function.
4924 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4925 (generic_strcpy): New function.
4926 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4927 (STUPID_STRNCAT): Remove function.
4928 (generic_strncat): New function.
4929 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4930 (STUPID_STRNCPY): Remove function.
4931 (generic_strncpy): New function.
4932 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4933 (generic_strnlen): New function.
4934 (memchr_strnlen): New function.
4935 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4936 (memchr_strlen): Likewise.
4938 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4940 * benchtests/bench-strstr.c (input): Add realistic input text.
4941 (stupid_strstr): Remove function.
4942 (basic_strstr): Add function.
4943 (twoway_strstr): Add function.
4944 (do_one_test): Add result checking.
4945 (do_test): Use new input text. Remove accidental early matches.
4946 (test_main): Improve range of tests, reduce unaligned cases.
4948 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4950 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4951 (basic_memmem): Add function.
4952 (twoway_memmem): Add function.
4954 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4956 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4957 * benchtests/bench-malloc-thread.c: Likewise.
4958 * benchtests/bench-skeleton.c: Likewise.
4959 * benchtests/bench-strtod.c: Likewise.
4960 * benchtests/bench-timing.h: Likewise.
4962 2019-04-08 Florian Weimer <fweimer@redhat.com>
4964 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4966 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4967 RES_INSECURE2 security checks.
4968 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4969 RES_INSECURE2 handling.
4971 2019-04-08 Florian Weimer <fweimer@redhat.com>
4973 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4974 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4975 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4977 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4978 (tests-internal): Update justification for tst-resolv-res_init,
4979 tst-resolv-res_init-thread.
4980 (tst-res_use_inet6): Remove target.
4981 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4982 * resolv/res_debug.c (p_option): Remove "inet6" support.
4983 * resolv/res_init.c (res_setoptions): Likewise.
4984 * resolv/res_use_inet6.h: Remove file.
4985 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4987 (res_use_inet6): Always return false.
4988 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4989 * resolv/resolv_context.h: Adjust file comment.
4990 (struct resolv_context): Update comment on __next field.
4991 (__resolv_context_put): Update comment.
4992 * resolv/tst-res_use_inet6.c: Remove file.
4993 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4995 (test_cases): Adjust test case.
4996 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4997 (thread_byname2_af_inet6): Use old byname_inet6 code.
4998 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4999 (gai): Remove do_inet6 argument.
5000 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5001 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5002 (thread_gai_unspec_inet6): Remove functions.
5003 (do_test): Adjust thread_funcs.
5004 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5006 (gaih_inet): Do not disable RES_USE_INET6 flag.
5008 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5010 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5011 and remove redundant code.
5013 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5015 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5017 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5031 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5033 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5036 Remove wcsrchr optimizations.
5037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5039 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5042 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5044 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5053 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5054 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5055 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5056 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5058 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5060 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5063 Remove wcschr optimizations.
5064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5066 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5069 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5071 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5083 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5085 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5087 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5090 Remove wcscpy optimizations.
5091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5093 * include/loop_unroll.h: New file.
5094 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5095 besides generic implementation.
5097 2019-04-03 DJ Delorie <dj@redhat.com>
5099 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5100 snprintf truncating output.
5102 2019-04-02 DJ Delorie <dj@redhat.com>
5104 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5107 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5110 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5112 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5113 (mkreftable): Add rules for the new Japanese era and the new dates.
5115 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5116 Rafał Lużyński <digitalfreak@lingonborough.com>
5118 * time/tst-strftime2.c (date_t): Explicitly define the type.
5119 (dates): Use natural month and year numbers to express a date.
5120 (is_before): New function to compare dates.
5121 (mkreftable): Minor improvements to simplify maintenance.
5122 (do_test): Reflect the changes in dates array.
5125 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5126 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5127 * time/tst-strftime2.c (locales): Likewise.
5128 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5129 2010-04-01, and 2011-04-01.
5130 (mkreftable): Add rules for the new locales and the new dates.
5132 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5134 * localedata/locales/ja_JP: Add comments to era entries.
5136 2019-04-01 DJ Delorie <dj@redhat.com>
5139 * time/strptime_l.c (%Ey): Fix fencepost error.
5140 * time/tst-strftime3.c: New.
5141 * time/Makefile (tests): Add tst-strftime3.
5143 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5145 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5146 conditional branch to DIVBYZERO. Fix unwind info.
5147 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5148 excb after conditional branch to $powerof2. Add missing unop
5149 instructions and .align directives and reorder instructions to
5152 2019-04-01 Richard Henderson <rth@twiddle.net>
5154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5156 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5159 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5161 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5162 $libc_cv_riscv_float_abi in `test' invocation.
5163 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5165 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5167 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5169 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5171 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5172 (_GET_SI_FPSCR): Likewise.
5173 (_SET_SI_FPSCR): Likewise.
5175 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5177 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5179 (signbit): Use builtin for clang 3.3.
5180 (isinf): Use builtin for clang 3.7.
5182 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5184 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5186 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5188 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5191 2019-03-25 Mike Crowe <mac@mcrowe.com>
5193 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5194 pthread_rwlock_timedrdlock with calls to
5195 pthread_rwlock_timedwrlock to ensure that the latter is tested
5196 too. Use new function name in diagnostic messages too.
5198 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5199 (do_test) Use libsupport test macros rather than hand-coded
5200 conditionals and error messages. Ensure that sem_init returns zero
5201 rather than not -1. Use <support/test-driver.c> rather than
5204 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5205 test macros rather than hand-coded conditionals and error messages.
5206 Use <support/test-driver.c> rather than test-skeleton.c.
5208 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5210 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5212 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5213 (NT_MIPS_MSA): Likewise.
5215 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5217 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5218 * benchtests/README: Update description.
5219 * benchtests/bench-timing.h: Default to hp-timing.
5220 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5221 HP_TIMING_PRINT): Remove.
5222 (HP_TIMING_NOW): Add generic implementation.
5223 (hp_timing_t): Change to uint64_t.
5225 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5227 * nptl/descr.h: Likewise.
5228 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5229 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5230 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5231 Abstract hp-timing usage with RTLD_* macros.
5232 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5233 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5234 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5235 HP_TIMING_NONAVAIL): Likewise.
5236 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5239 HP_SMALL_TIMING_AVAIL): Likewise.
5240 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5241 HP_SMALL_TIMING_AVAIL): Likewise.
5242 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5243 HP_SMALL_TIMING_AVAIL): Likewise.
5244 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5245 HP_SMALL_TIMING_AVAIL): Likewise.
5246 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5248 * sysdeps/generic/hp-timing-common.h: Update comment with
5249 HP_TIMING_AVAIL removal.
5251 * include/random-bits.h: New file.
5252 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5253 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5255 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5256 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5259 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5260 * rt/Makefile (clock-routines): Remove get_clockfreq.
5261 * rt/get_clockfreq.c: Remove file.
5262 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5263 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5265 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5268 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5269 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5270 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5271 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5272 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5274 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5275 pthread_clock_settime.
5276 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5277 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5278 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5279 * elf/rtld.c (_dl_start_final): Likewise.
5280 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5281 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5283 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5284 (_dl_cpuclock_offset): Remove.
5285 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5286 cpuclock_offset_ununsed.
5287 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5288 cpuclock_offset set.
5289 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5290 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5291 * nptl/pthread_clock_gettime.c: Remove file.
5292 * nptl/pthread_clock_settime.c: Likewise.
5293 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5294 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5295 and CLOCK_PROCESS_CPUTIME_ID support.
5296 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5297 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5298 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5299 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5300 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5302 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5304 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5306 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5307 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5308 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5310 * sysdeps/s390/memmem-arch13.S: New file.
5311 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5312 if it is only used as fallback.
5313 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5314 * sysdeps/s390/multiarch/ifunc-impl-list.c
5315 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5317 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5319 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5320 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5321 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5323 * sysdeps/s390/multiarch/ifunc-impl-list.c
5324 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5325 * sysdeps/s390/strstr-arch13.S: New file.
5326 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5327 if it is only used as fallback.
5328 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5330 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5332 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5333 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5334 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5335 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5337 * sysdeps/s390/multiarch/ifunc-impl-list.c
5338 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5339 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5340 S390_IS_ARCH13_MIE3): New defines.
5342 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5344 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5345 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5346 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5347 * sysdeps/s390/configure: Regenerated.
5349 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5352 Add vxe2, vxp, dflt, sort flags.
5353 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5354 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5356 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5357 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5358 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5359 HWCAP_S390_DFLT): Define.
5361 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5364 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5365 of compiler warning.
5366 * locale/programs/ld-collate.c (collate_output): Likewise.
5368 2019-03-21 DJ Delorie <dj@redhat.com>
5371 * iconv/iconvconfig.c (write_output): Replace floating point math
5372 with integer math to avoid imprecise results.
5373 * locale/programs/ld-collate.c (collate_output): Likewise.
5375 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5377 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5378 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5380 2019-03-20 mansayk <6688000@gmail.com>
5383 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5384 (abday): Likewise, but remove the trailing dots.
5386 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5388 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5390 (HWCAP_PACA): Likewise.
5391 (HWCAP_PACG): Likewise.
5392 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5394 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5396 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5398 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5401 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5403 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5405 (old_getpagesize): New syscall.
5407 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5410 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5411 * localedata/locales/cmn_TW (era): Likewise.
5412 * localedata/locales/hak_TW (era): Likewise.
5413 * localedata/locales/lzh_TW (era): Likewise.
5414 * localedata/locales/nan_TW (era): Likewise.
5416 2019-03-14 Adam Maris <amaris@redhat.com>
5418 * malloc/malloc.c (_int_malloc): Check for large bin list
5419 corruption when inserting unsorted chunk.
5421 2019-03-14 Florian Weimer <fweimer@redhat.com>
5423 Remove obsolete, never-implemented XSI STREAMS declarations.
5424 * manual/terminal.texi (Allocation): Remove portability note and
5426 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5428 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5429 * sysdeps/unix/inet/Subdirs (streams): Remove.
5430 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5431 (conformtest-headers-UNIX98): Likewise.
5432 (conformtest-headers-XOPEN2K): Likewise.
5433 (conformtest-headers-POSIX2008): Likewise.
5434 * posix/compat-streams.c: New file.
5435 * posix/Makefile (routines): Add it.
5436 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5437 getpmsg, isastream, putmsg, putpmsg.
5438 (GLIBC_2.30): New section.
5439 * bits/stropts.h: Remove file.
5440 * bits/xtitypes.h: Likewise.
5441 * conform/data/stropts.h-data: Likewise.
5442 * include/stropts.h: Likewise.
5443 * include/sys/stropts.h: Likewise.
5444 * include/xtitypes.h: Likewise.
5445 * streams/Makefile: Likewise.
5446 * streams/fattach.c: Likewise.
5447 * streams/fdetach.c: Likewise.
5448 * streams/getmsg.c: Likewise.
5449 * streams/getpmsg.c: Likewise.
5450 * streams/isastream.c: Likewise.
5451 * streams/putmsg.c: Likewise.
5452 * streams/putpmsg.c: Likewise.
5453 * streams/stropts.h: Likewise.
5454 * streams/sys/stropts.h: Likewise.
5455 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5456 * sysdeps/s390/bits/xtitypes.h: Likewise.
5457 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5458 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5459 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5460 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5461 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5462 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5464 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5465 * sysdeps/x86/bits/xtitypes.h: Likewise.
5467 2019-03-14 Florian Weimer <fweimer@redhat.com>
5469 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5471 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5472 but not with libnss_files.
5473 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5475 2019-03-14 Zack Weinberg <zackw@panix.com>
5477 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5478 Specify encoding="utf-8" when opening headers to check.
5480 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5482 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5484 (Context.checkout_tar): Handle variable major version for Linux
5487 2019-03-13 Florian Weimer <fweimer@redhat.com>
5490 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5492 2019-03-13 Zack Weinberg <zackw@panix.com>
5494 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5496 * include/inttypes.h: Adjust to match.
5497 * include/stdint.h: New wrapper.
5499 2019-03-13 Zack Weinberg <zackw@panix.com>
5501 * scripts/check-obsolete-constructs.py: New test script.
5502 * scripts/check-installed-headers.sh: Remove tests for
5503 obsolete typedefs, superseded by check-obsolete-constructs.py.
5504 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5505 as a special test. Update commentary.
5506 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5507 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5509 * posix/sys/types.h (__u_intN_t): Remove.
5510 (u_int8_t): Typedef using __uint8_t.
5511 (u_int16_t): Typedef using __uint16_t.
5512 (u_int32_t): Typedef using __uint32_t.
5513 (u_int64_t): Typedef using __uint64_t.
5515 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5517 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5519 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5520 Ignore types other than AT_HWCAP.
5521 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5522 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5524 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5525 in the case of falling back to generic output mechanism.
5526 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5529 2019-03-12 Florian Weimer <fweimer@redhat.com>
5531 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5533 2019-03-12 Florian Weimer <fweimer@redhat.com>
5536 resolv: Enable full ICMP errors for UDP DNS sockets
5537 * resolv/res_enable_icmp.c: New file.
5538 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5539 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5540 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5543 2019-03-11 Mao Han <han_mao@c-sky.com>
5545 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5546 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5548 2019-03-11 Mao Han <han_mao@c-sky.com>
5550 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5551 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5552 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5554 2019-03-11 Mao Han <han_mao@c-sky.com>
5556 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5558 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5561 2019-03-11 Mao Han <han_mao@c-sky.com>
5563 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5564 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5567 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5570 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5571 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5573 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5574 * localedata/unicode-gen/PropList.txt: Likewise.
5575 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5576 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5577 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5578 * localedata/charmaps/UTF-8: Regenerate.
5579 * localedata/locales/i18n_ctype: Likewise.
5580 * localedata/locales/tr_TR: Likewise.
5581 * localedata/locales/translit_circle: Likewise.
5582 * localedata/locales/translit_cjk_compat: Likewise.
5583 * localedata/locales/translit_combining: Likewise.
5584 * localedata/locales/translit_compat: Likewise.
5585 * localedata/locales/translit_font: Likewise.
5586 * localedata/locales/translit_fraction: Likewise.
5588 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5590 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5591 than after operators.
5592 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5593 (setitimer_locked): Likewise.
5594 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5595 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5596 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5597 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5598 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5599 (PPC_CPU_SUPPORTED): Likewise.
5600 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5601 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5602 (stat_overflow): Likewise.
5603 (statfs_overflow): Likewise.
5604 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5605 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5606 (eq_ttyname_r): Likewise.
5607 (run_chroot_tests): Likewise.
5609 2019-03-07 Florian Weimer <fweimer@redhat.com>
5611 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5614 2019-03-07 Martin Liska <mliska@suse.cz>
5616 * math/Makefile: Change location where math-vector-fortran.h is
5618 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5619 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5620 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5621 * scripts/check-installed-headers.sh: Skip Fortran header files.
5622 * scripts/check-wrapper-headers.py: Likewise.
5624 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5626 * nptl/nptl-init.c (__have_futex_clock_realtime,
5627 __have_futex_clock_realtime): Remove definition.
5628 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5629 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5630 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5631 __ASSUME_FUTEX_CLOCK_REALTIME support.
5632 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5634 * sysdeps/unix/sysv/linux/kernel-features.h
5635 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5636 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5639 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5641 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5642 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5643 __GI___wcscpy and wcscpy.
5645 2019-03-04 Florian Weimer <fweimer@redhat.com>
5647 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5649 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5652 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5654 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5657 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5660 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5661 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5663 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5665 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5667 (do_test): Likewise.
5668 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5669 (do_test_call_varg): Likewise.
5670 (do_test_call_rarg): Likewise.
5671 * sysdeps/ieee754/ldbl-opt/Makefile
5672 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5674 ($(objpfx)tst-nldbl-warn.c): New rule.
5675 ($(objpfx)tst-nldbl-error.c): Likewise.
5676 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5679 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5682 * include/bits/error-ldbl.h: New file.
5683 * include/error.h: Include stdarg.h. Declare internal functions
5684 __error_internal and __error_at_line_internal.
5685 * misc/Makefile (headers): Add bits/error-ldbl.h.
5686 * misc/bits/error-ldbl.h: New file.
5687 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5688 avoid the inclusion of bits/error.h.
5689 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5690 and __nldbl_error_at_line.
5691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5692 (__nldbl_error, __ndlbl_error_at_line): New functions.
5693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5694 Redirect error and error_at_line.
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 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5711 * include/bits/err-ldbl.h: New file.
5712 * include/err.h: Add prototypes for the internal functions:
5713 __vwarnx_internal and __vwarn_internal.
5714 * misc/Makefile (headers): Add bits/err-ldbl.h.
5715 * misc/bits/err-ldbl.h: New file.
5716 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5717 defined, i.e.: when -mlong-double-64 is in use.
5718 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5719 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5720 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5722 (VA_CALL): New macro.
5723 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5724 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5727 declare prototypes for the new functions.
5728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5737 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5738 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5741 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5743 * sysdeps/ieee754/ldbl-opt/Makefile
5744 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5745 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5746 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5748 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5751 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5752 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5753 * argp/bits/argp-ldbl.h: New file.
5754 * include/argp.h: Include stdarg.h. Add prototypes for internal
5755 functions: __argp_error_internal and __argp_failure_internal.
5756 * include/bits/argp-ldbl.h: New file.
5757 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5758 __nldbl_argp_error and __nldbl_argp_failure.
5759 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5760 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5762 Redirect argp_error and argp_failure calls.
5763 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5774 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5776 2019-03-01 Florian Weimer <fweimer@redhat.com>
5779 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5780 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5781 code, to avoid creating an ABI tag note.
5782 (modules-names-nobuild): Add tst-big-note-lib.
5784 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5786 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5787 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5789 2019-03-01 Florian Weimer <fweimer@redhat.com>
5792 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5793 (__netlink_assert_response): Add additional missing newlines.
5795 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5797 * sysdeps/powerpc/powerpc32/dl-machine.c
5798 (__elf_machine_fixup_plt): Use space before '('.
5799 (__process_machine_rela): Likewise.
5800 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5802 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5804 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5806 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5807 (pattern): Likewise.
5809 (check_result): Likewise.
5810 (check_excepts): Likewise.
5811 (check_op): Likewise.
5812 (fail_xr): Likewise.
5813 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5814 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5816 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5819 (__makecontext): Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5823 2019-02-28 Florian Weimer <fweimer@redhat.com>
5826 elf: Add test with a local IFUNC resolver.
5827 * elf/ifuncmain9.c: New file.
5828 * elf/ifuncmain9pic.c: Likewise.
5829 * elf/ifuncmain9picstatic.c: Likewise.
5830 * elf/ifuncmain9pie.c: Likewise.
5831 * elf/ifuncmain9static.c: Likewise.
5832 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5833 ifuncmain9static, ifuncmain9picstatic.
5834 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5835 Add ifuncmain9, ifuncmain9pic.
5836 * elf/Makefile [multi-arch && build-shared && have-fpie]
5837 (ifunc-pie-tests): Add ifuncmain9pie.
5838 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5839 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5840 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5842 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5844 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5845 * configure: Regenerated.
5846 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5848 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5851 symbol as __wcspcy instead of wcscpy.
5853 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5855 * include/stdio.h (__renameat2): New hidden prototype.
5856 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5857 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5858 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5859 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5861 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5863 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5866 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5867 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5868 * benchtests/bench-strlen.c (do_test): Likewise.
5869 (test_main): Likewise.
5870 * catgets/gencat.c (read_old): Likewise.
5871 * elf/cache.c (load_aux_cache): Likewise.
5872 * iconvdata/bug-iconv8.c (do_test): Likewise.
5873 * math/test-tgmath-ret.c (do_test): Likewise.
5874 * nis/nis_call.c (rec_dirsearch): Likewise.
5875 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5876 * nptl/tst-audit-threads.c (do_test): Likewise.
5877 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5878 * nss/nss_test1.c (init): Likewise.
5879 * nss/test-netdb.c (test_hosts): Likewise.
5880 * posix/execvpe.c (maybe_script_execute): Likewise.
5881 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5882 * stdio-common/tst-printf.c (do_test): Likewise.
5883 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5884 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5885 * stdlib/qsort.c (STACK_SIZE): Likewise.
5886 * stdlib/test-canon.c (do_test): Likewise.
5887 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5888 * string/memcmp.c (OPSIZ): Likewise.
5889 * string/test-strcpy.c (do_test): Likewise.
5890 (do_random_tests): Likewise.
5891 * string/test-strlen.c (do_test): Likewise.
5892 (test_main): Likewise.
5893 * string/test-strrchr.c (do_test): Likewise.
5894 (do_random_tests): Likewise.
5895 * string/tester.c (test_memrchr): Likewise.
5896 (test_memchr): Likewise.
5897 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5898 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5899 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5900 (read_encoded_value_with_base): Likewise.
5901 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5902 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5903 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5904 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5905 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5906 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5908 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5910 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5911 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5912 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5914 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5916 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5918 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5920 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5921 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5922 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5923 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5924 * time/test_time.c (main): Likewise.
5926 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5928 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5930 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5933 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5936 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5938 * include/wchar.h (__wcscpy): New prototype.
5939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5940 (__wcscpy): Route internal symbol to generic implementation.
5941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5942 Add internal __wcscpy alias.
5943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5944 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5945 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5946 * wcsmbs/wcscpy.c (wcscpy): Add
5947 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5948 use generic implementation.
5949 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5951 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5954 * sysdeps/m68k/wcpcpy.c: Remove file.
5955 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5957 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5960 than after operators.
5961 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5962 * sysdeps/mach/hurd/getcwd.c
5963 (__hurd_canonicalize_directory_name_internal): Likewise.
5964 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5965 (pthread_mutex_consistent): Likewise.
5966 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5968 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5969 (__pthread_mutex_transfer_np): Likewise.
5970 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5971 (__pthread_mutex_unlock): Likewise.
5972 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5973 (mtx_owned_p): Likewise.
5974 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5975 (pthread_mutexattr_getrobust): Likewise.
5976 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5977 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5979 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5980 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5981 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5982 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5983 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5985 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5987 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5989 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5990 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5991 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5992 (____longjmp_chk): Likewise.
5993 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5995 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5996 (INTERNAL_SYSCALL): Likewise.
5997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5998 (INTERNAL_SYSCALL): Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6000 (__get_clockfreq_via_cpuinfo): Likewise.
6002 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6004 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6005 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6006 (WORD_COPY_BWD): Likewise.
6007 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6010 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6011 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6013 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6015 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6017 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6018 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6019 rather than after operators.
6020 * elf/cache.c (print_cache): Likewise.
6021 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6022 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6023 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6024 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6025 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6026 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6027 (reauth_proc): Likewise.
6028 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6029 (__file_name_split_at): Likewise.
6030 (__directory_name_split_at): Likewise.
6031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6032 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6033 * iconv/gconv_dl.c (do_print): Likewise.
6034 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6035 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6036 * locale/setlocale.c (new_composite_name): Likewise.
6037 * malloc/memusagestat.c (main): Likewise.
6038 * misc/fstab.c (fstab_convert): Likewise.
6039 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6041 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6042 (getgrent_next_file): Likewise.
6043 (internal_getgrnam_r): Likewise.
6044 (internal_getgrgid_r): Likewise.
6045 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6047 (internal_getgrent_r): Likewise.
6048 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6049 (getpwent_next_nss): Likewise.
6050 (getpwent_next_file): Likewise.
6051 (internal_getpwnam_r): Likewise.
6052 (internal_getpwuid_r): Likewise.
6053 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6055 (getspent_next_nss): Likewise.
6056 (internal_getspnam_r): Likewise.
6057 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6058 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6059 * string/strchr.c (STRCHR): Likewise.
6060 * string/strchrnul.c (STRCHRNUL): Likewise.
6061 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6062 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6063 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6064 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6065 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6067 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6068 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6069 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6070 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6071 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6072 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6073 (open_file): Likewise.
6074 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6075 (pthread_mutexattr_setprotocol): Likewise.
6076 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6077 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6078 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6079 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6080 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6082 (elf_machine_rela): Likewise.
6083 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6084 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6085 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6086 * sysdeps/posix/rename.c (rename): Likewise.
6087 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6088 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6089 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6090 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6091 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6092 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6093 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6095 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6097 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6098 * time/tzfile.c (__tzfile_compute): Likewise.
6100 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6102 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6103 rather than after operators.
6104 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6105 * crypt/md5.c (md5_finish_ctx): Likewise.
6106 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6107 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6108 * elf/cache.c (load_aux_cache): Likewise.
6109 * elf/dl-load.c (open_verify): Likewise.
6110 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6111 * elf/readelflib.c (process_elf_file): Likewise.
6112 * elf/rtld.c (dl_main): Likewise.
6113 * elf/sprof.c (generate_call_graph): Likewise.
6114 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6115 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6116 * hurd/dtable.c (reauth_dtable): Likewise.
6117 * hurd/getdport.c (__getdport): Likewise.
6118 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6119 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6120 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6122 * hurd/hurdioctl.c (fioctl): Likewise.
6123 * hurd/hurdselect.c (_hurd_select): Likewise.
6124 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6125 (STOPSIGS): Likewise.
6126 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6127 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6129 * hurd/msgportdemux.c (msgport_server): Likewise.
6130 * hurd/setauth.c (_hurd_setauth): Likewise.
6131 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6132 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6133 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6134 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6135 * login/tst-utmp.c (do_check): Likewise.
6136 (simulate_login): Likewise.
6137 * mach/lowlevellock.h (lll_lock): Likewise.
6138 (lll_trylock): Likewise.
6139 * math/test-fenv.c (ALL_EXC): Likewise.
6140 * math/test-fenvinline.c (ALL_EXC): Likewise.
6141 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6142 * nis/nis_call.c (__do_niscall3): Likewise.
6143 * nis/nis_callback.c (cb_prog_1): Likewise.
6144 * nis/nis_defaults.c (searchaccess): Likewise.
6145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6146 * nis/nis_ismember.c (internal_ismember): Likewise.
6147 * nis/nis_local_names.c (nis_local_principal): Likewise.
6148 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6149 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6151 * nis/ypclnt.c (yp_match): Likewise.
6152 (yp_first): Likewise.
6153 (yp_next): Likewise.
6154 (yp_master): Likewise.
6155 (yp_order): Likewise.
6156 * nscd/hstcache.c (cache_addhst): Likewise.
6157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6158 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6159 (internal_getpwuid_r): Likewise.
6160 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6161 * posix/glob.h (__GLOB_FLAGS): Likewise.
6162 * posix/regcomp.c (peek_token): Likewise.
6163 (peek_token_bracket): Likewise.
6164 (parse_expression): Likewise.
6165 * posix/regexec.c (sift_states_iter_mb): Likewise.
6166 (check_node_accept_bytes): Likewise.
6167 * posix/tst-spawn3.c (do_test): Likewise.
6168 * posix/wordexp-test.c (testit): Likewise.
6169 * posix/wordexp.c (parse_tilde): Likewise.
6170 (exec_comm): Likewise.
6171 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6172 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6173 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6174 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6175 * stdio-common/tst-fileno.c (do_test): Likewise.
6176 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6177 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6178 * stdlib/strtod_l.c (round_and_return): Likewise.
6179 (____STRTOF_INTERNAL): Likewise.
6180 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6181 * string/strcspn.c (STRCSPN): Likewise.
6182 * string/test-memmem.c (simple_memmem): Likewise.
6183 * termios/tcsetattr.c (tcsetattr): Likewise.
6184 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6185 * time/asctime.c (asctime_internal): Likewise.
6186 * time/strptime_l.c (__strptime_internal): Likewise.
6187 * time/sys/time.h (timercmp): Likewise.
6188 * time/tzfile.c (__tzfile_compute): Likewise.
6190 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6193 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6195 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6197 * argp/argp-help.c (__argp_error_internal): New function,
6198 renamed from __argp_error, but that takes a 'mode_flags'
6199 parameter to control the format of long double parameters.
6200 (__argp_error): Converted into a call __argp_error_internal.
6201 (__argp_failure_internal): New function, renamed from
6202 __argp_failure, but that takes a 'mode_flags' parameter.
6203 (__argp_failure): Converted into a call __argp_failure_internal.
6204 * misc/err.c (__vwarnx_internal): New function, renamed from
6205 vwarnx, but that takes a 'mode_flags' parameter.
6206 (vwarnx): Converted into a call to __vwarnx_internal.
6207 (__vwarn_internal): New function, renamed from vwarn, but that
6208 takes a 'mode_flags' parameter.
6209 (vwarn): Converted into a call to __vwarn_internal.
6210 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6211 call to __vfxprintf with 'mode_flags'.
6212 (__error_internal): New function, renamed from error, but that
6213 takes a 'mode_flags' parameter.
6214 (error): Converted into a call to __error_internal.
6215 (__error_at_line_internal): New function, renamed from
6216 error_at_line, but that takes a 'mode_flags' parameter.
6217 (error_at_line): Converted into a call to
6218 __error_at_line_internal.
6219 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6220 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6223 2019-02-20 Martin Liska <mliska@suse.cz>
6225 * math/Makefile: Install math-vector-fortran.h.
6226 * bits/math-vector-fortran.h: New file.
6227 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6229 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6231 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6232 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6234 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6236 * nptl/pthread_mutex_trylock.c: Fix comment.
6238 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6240 * nptl/pthread_tryjoin.c: Fix comment.
6242 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6246 after R_SPARC_H34 case.
6248 2019-02-18 Florian Weimer <fweimer@redhat.com>
6250 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6251 (getanswer): Do not call Dprintf.
6252 (res_gethostbyname2_context): Likewise.
6253 (res_gethostbyaddr_context): Likewise.
6255 2019-02-18 Florian Weimer <fweimer@redhat.com>
6257 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6259 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6261 * libio/stdfiles.c: Update comment.
6262 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6263 set _IO_stdin, _IO_stdout, _IO_stderr.
6264 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6265 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6267 (_IO_deallocate_file): New inline function.
6268 * libio/iolibio.h (_IO_vprintf): Remove definition.
6269 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6270 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6271 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6273 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6274 __builtin_expect. Use _IO_legacy_file.
6276 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6278 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6279 Initialize ctid with a known value and remove update of ctid
6281 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6282 as assumed current value of ctid_ptr.
6284 2019-02-16 Florian Weimer <fweimer@redhat.com>
6286 Check that non-sysdeps headers have wrapper headers.
6287 * scripts/check-wrapper-headers.py: New file.
6288 * Makefile (tests-special): Add check-wrapper-headers.out.
6289 (check-wrapper-headers.out): New target.
6290 * Rules (tests-special): Add check-wrapper-headers.out.
6291 (check-wrapper-headers.out): New target.
6293 2019-02-16 Florian Weimer <fweimer@redhat.com>
6295 Add missing header wrappers under include/.
6296 * include/ar.h: New file.
6297 * include/bits/mqueue2.h: Likewise.
6298 * include/bits/stdio.h: Likewise.
6299 * include/bits/stdio2.h: Likewise.
6300 * include/fstab.h: Likewise.
6301 * include/fts.h: Likewise.
6302 * include/lastlog.h: Likewise.
6303 * include/netinet/icmp6.h: Likewise.
6304 * include/netinet/igmp.h: Likewise.
6305 * include/netinet/ip6.h: Likewise.
6306 * include/re_comp.h: Likewise.
6307 * include/regexp.h: Likewise.
6308 * include/rpcsvc/bootparam.h: Likewise.
6309 * include/rpcsvc/yp_prot.h: Likewise.
6310 * include/sys/random.h: Likewise.
6311 * include/sys/stropts.h: Likewise.
6312 * include/sys/ttychars.h: Likewise.
6313 * include/sys/vfs.h: Likewise.
6314 * include/wait.h: Likewise.
6316 2019-02-16 Florian Weimer <fweimer@redhat.com>
6318 * nptl_db/proc_service.h: Move to ...
6319 * sysdeps/nptl/proc_service.h: ... here.
6320 * nptl_db/thread_db.h: Move to ...
6321 * sysdeps/nptl/thread_db.h: ... here.
6322 * nptl/descr.h: Include <thread_db.h>.
6324 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6326 * io/Makefile (tests): Add tst-lockf.
6327 * io/lockf.c (lockf): Use __fcntl and only define for
6328 !__OFF_T_MATCHES_OFF64_T.
6329 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6330 __OFF_T_MATCHES_OFF64_T case.
6331 * io/tst-lockf.c: New file.
6332 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6333 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6334 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6335 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6336 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6339 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6340 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6342 2019-02-15 Florian Weimer <fweimer@redhat.com>
6345 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6346 pd->result after the thread descriptor has been freed.
6348 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6350 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6351 from function return type.
6353 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6355 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6357 * scripts/test_printers_common.py: Set TERM to a known harmless
6360 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6362 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6363 (xdr_u_int): Likewise.
6364 (xdr_enum): Likewise.
6365 (xdr_bytes): Reword fall-through comment.
6366 (xdr_string): Likewise.
6368 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6371 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6372 (tests): Add tst-join8 tst-join9.
6373 * nptl/lll_timedwait_tid.c: Remove file.
6374 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6375 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6376 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6377 * nptl/pthread_join_common.c (timedwait_tid): New function.
6378 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6380 * nptl/tst-join5.c (thread_join): New function.
6381 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6383 * nptl/tst-join8.c: New file.
6384 * nptl/tst-join9.c: Likewise.
6385 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6386 lll_futex_timed_wait_cancel): Add generic macros.
6387 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6389 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6390 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6392 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6394 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6396 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6397 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6398 (lll_futex_timed_wait_cancel): New macro.
6400 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6402 * benchtests/Makefile: Add malloc-simple benchmark.
6403 * benchtests/bench-malloc-simple.c: New benchmark.
6405 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6407 * benchtests/bench-memmove.c (do_one_test): Remove unused
6410 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6414 2019-01-13 Jim Wilson <jimw@sifive.com>
6417 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6418 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6420 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6422 * nptl/Makefile (tests): Add tst-unwind-thread.
6423 (CFLAGS-tst-unwind-thread.c): Define.
6424 * nptl/tst-unwind-thread.c: New file.
6425 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6428 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6430 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6432 * nis/nis_call.c (__do_niscall3): Likewise.
6434 * catgets/gencat.c (normalize_line): Use braces around empty
6436 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6437 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6438 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6439 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6440 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6441 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6442 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6445 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6448 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6450 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6451 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6452 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6453 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6454 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6455 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6456 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6457 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6458 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6459 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6460 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6461 * benchtests/bench-bcopy.c: Delete file.
6462 * benchtests/bench-bzero.c: Likewise.
6463 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6464 (simple_memccpy): Remove.
6465 (generic_memccpy): Add function.
6466 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6467 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6468 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6469 (generic_mempcpy): Add new function.
6470 * benchtests/bench-memset.c (simple_bzero): Remove.
6471 (builtin_bzero): Remove.
6472 (builtin_memset): Remove.
6473 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6474 (generic_rawmemchr): Add new function.
6476 2019-02-12 Florian Weimer <fweimer@redhat.com>
6478 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6480 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6483 * elf/Makefile (tests): Add tst-audit13.
6484 (modules-names): Add tst-audit13mod1.
6485 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6487 * elf/tst-audit13.c: New file.
6488 * elf/tst-audit13mod1.c: Likewise.
6490 2019-02-12 Florian Weimer <fweimer@redhat.com>
6493 * elf/rtld.c (unload_audit_module): New function.
6494 (report_audit_module_load_error): Likewise.
6495 (load_audit_module): Likewise. Extracted from dl_main. Call
6496 _dl_close if the laversion symbol cannot be found. Use early
6497 returns for error handling. Add malloc error check. Check for a
6498 zero return value from la_version. Remove spurious comment about
6499 static TLS initialization. Remove useless casts.
6500 (notify_audit_modules_of_loaded_object): New function. Extracted
6502 (load_audit_module): Likewise.
6503 (dl_main): Call load_audit_modules.
6505 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6507 * elf/dl-exception.c (_dl_exception_create_format): Add
6508 fall-through comments.
6509 * elf/ldconfig.c (parse_conf_include): Likewise.
6510 * elf/rtld.c (print_statistics): Likewise.
6511 * locale/programs/charmap.c (parse_charmap): Likewise.
6512 * misc/mntent_r.c (__getmntent_r): Likewise.
6513 * posix/wordexp.c (parse_arith): Likewise.
6514 (parse_backtick): Likewise.
6515 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6516 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6519 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6521 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6522 Use float instead of double.
6524 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6526 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6528 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6530 * sysdeps/powerpc/bits/mathinline.h: Remove.
6532 2019-02-08 Florian Weimer <fweimer@redhat.com>
6534 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6535 * math/bits/math-finite.h: Move to ...
6536 * bits/math-finite.h: ... here.
6538 2019-02-08 Florian Weimer <fweimer@redhat.com>
6540 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6541 * bits/unistd_ext.h: here.
6543 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6546 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6547 * nss/tst-nss-files-hosts-long.c: New file.
6548 * nss/tst-nss-files-hosts-long.root: New directory.
6549 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6550 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6552 2019-02-08 Florian Weimer <fweimer@redhat.com>
6554 * include/bits/unistd_ext.h: Remove file.
6555 * posix/bits/unistd_ext.h: Move to ...
6556 * sysdeps/generic/bits/unistd_ext.h: ... here.
6558 2019-02-08 Florian Weimer <fweimer@redhat.com>
6560 * include/bits/unistd_ext.h: New file.
6562 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6564 * time/tst-strftime2.c: Use array_length macros instead of magic
6567 2019-02-08 Florian Weimer <fweimer@redhat.com>
6570 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6572 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6573 locking if the new do_locking argument is true.
6574 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6575 __run_fork_handlers.
6577 2019-02-08 Florian Weimer <fweimer@redhat.com>
6580 Linux: Add gettid system call wrapper.
6581 * posix/Makefile (headers): Add bits/unistd_ext.h.
6582 * posix/bits/unistd_ext.h: New file.
6583 * posix/unistd.h: Include it.
6584 * manual/process.texi (Process Identification): Document gettid.
6585 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6586 tst-gettid, tst-gettid-kill.
6587 (tst-gettid): Link with $(shared-thread-library).
6588 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6589 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6590 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6591 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6592 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6595 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6597 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6598 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6600 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6602 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6604 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6606 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6608 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6610 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6613 (GLIBC_2.30): Likewise.
6614 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6615 (GLIBC_2.30): Likewise.
6616 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6617 (GLIBC_2.30): Likewise.
6618 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6619 (GLIBC_2.30): Likewise.
6620 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6623 (GLIBC_2.30): Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6625 (GLIBC_2.30): Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6627 (GLIBC_2.30): Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6629 (GLIBC_2.30): Likewise.
6630 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6634 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6636 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6637 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6641 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6643 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6645 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6647 2019-02-08 Florian Weimer <fweimer@redhat.com>
6649 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6650 compatibility symbols.
6652 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6655 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6656 Add compiler barriers and comments.
6658 2019-02-07 Florian Weimer <fweimer@redhat.com>
6660 * include/array_length.h (array_length): Do not use a statement
6661 expression and _Static_assert, so that array_length can be used at
6662 file scope and as a constant expression.
6664 2019-02-07 Florian Weimer <fweimer@redhat.com>
6666 * support/xdlfcn.h (xdlmopen): Declare.
6667 * support/xdlmopen.c: New file.
6668 * support/Makefile (libsupport-routines): Add xdlmopen.
6670 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6672 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6673 before return type, without separate inline.
6674 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6675 * elf/dl-tunables.h (tunable_is_name): Likewise.
6676 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6677 (do_set_top_pad): Likewise.
6678 (do_set_mmap_threshold): Likewise.
6679 (do_set_mmaps_max): Likewise.
6680 (do_set_mallopt_check): Likewise.
6681 (do_set_perturb_byte): Likewise.
6682 (do_set_arena_test): Likewise.
6683 (do_set_arena_max): Likewise.
6684 (do_set_tcache_max): Likewise.
6685 (do_set_tcache_count): Likewise.
6686 (do_set_tcache_unsorted_limit): Likewise.
6687 * nis/nis_subr.c (count_dots): Likewise.
6688 * nptl/allocatestack.c (advise_stack_range): Likewise.
6689 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6691 (reduce_sincos): Likewise.
6692 (do_sincos): Likewise.
6693 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6694 (do_set_elision_enable): Likewise.
6695 (TUNABLE_CALLBACK_FNDECL): Likewise.
6697 2019-02-06 Florian Weimer <fweimer@redhat.com>
6699 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6700 (xdlsym): Use dlerror to detect a NULL symbol.
6702 2019-02-06 Florian Weimer <fweimer@redhat.com>
6704 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6708 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6710 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6712 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6714 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6715 __wmemcmp and weak alias to wmemcmp.
6717 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6720 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6721 TLS_TCB_AT_TP tls variant.
6722 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6723 Add alignment checks.
6724 * support/Makefile (libsupport-routines): Add xposix_memalign and
6726 * support/support.h: Add xposix_memalign.
6727 * support/xthread.h: Add xpthread_attr_setstack.
6728 * support/xposix_memalign.c: New File.
6729 * support/xpthread_attr_setstack.c: Likewise.
6731 2019-02-05 Florian Weimer <fweimer@redhat.com>
6734 arm: Use "nr" constraint for Systemtap probes, to avoid the
6735 compiler using memory operands for constants, due to the "o"
6736 alternative in the default "nor" constraint.
6737 * include/stap-probe.h [USE_STAP_PROBE]: Include
6738 <stap-probe-machine.h>
6739 * sysdeps/generic/stap-probe-machine.h: New file.
6740 * sysdeps/arm/stap-probe-machine.h: Likewise.
6742 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6744 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6745 with 0, not tcache->entries[tc_idx].
6747 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6750 2019-02-04 Andreas Schwab <schwab@suse.de>
6754 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6755 looking up collating elements match against (wide) character
6756 sequence instead of name. Correct alignment adjustment.
6757 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6758 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6759 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6760 (LOCALES): Add cs_CZ.ISO-8859-2.
6761 * posix/tst-fnmatch4.c: New file.
6762 * posix/tst-fnmatch5.c: New file.
6763 * include/wchar.h (__wmemcmp): Declare.
6764 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6765 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6766 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6767 * sysdeps/s390/wmemcmp.c: Likewise.
6769 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6773 * NEWS: Updated for CVE-2019-7309.
6774 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6775 upper 32 bits of RDX register for x32. Use unsigned Jcc
6776 instructions, instead of signed.
6777 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6778 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6780 2019-02-04 Florian Weimer <fweimer@redhat.com>
6782 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6783 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6784 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6786 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6787 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6788 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6789 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6791 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6793 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6795 (posix_spawn_file_actions_addopen): Likewise.
6796 (posix_spawn_file_actions_addclose): Likewise.
6797 (posix_spawn_file_actions_adddup2): Likewise.
6798 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6800 (posix_spawn_file_actions_addfchdir_np): Likewise.
6802 2019-02-04 David Newall <glibc@davidnewall.com>
6804 elf: Implement --preload option for the dynamic linker.
6805 * elf/rtld.c (preloadarg): New variable.
6806 (handle_preload_list): Pass through “where” argument to
6808 (dl_main): Handle "--preload" and add second call to
6809 handle_preload_list.
6810 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6811 (tst-rtld-preload-OBJS): Set variable.
6812 (tst-rtld-preload.out): New target.
6813 * elf/tst-rtld-preload.sh: New file.
6815 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6817 * Makefile (testrun.sh): Exit in case of incorrect argument.
6819 2019-02-04 Florian Weimer <fweimer@redhat.com>
6821 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6824 2019-02-03 Florian Weimer <fweimer@redhat.com>
6826 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6827 implicit overflow checks.
6829 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6831 * stdlib/isomac.c: Include <unistd.h>.
6833 2019-02-03 Florian Weimer <fweimer@redhat.com>
6835 * include/time.h (__tzfile_default): Use int, not long int, for
6837 * time/tzfile.c (struct ttinfo): Change type of the offset member
6839 (__tzfile_read): Remove useless cast.
6840 (__tzfile_default): Adjust prototype.
6841 * time/tzset.c (tz_rule): Change type of the offset member to int.
6842 (parse_offset): Change the type of the sign variable to int.
6844 2019-02-03 Florian Weimer <fweimer@redhat.com>
6847 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6848 * libio/getchar.c (getchar): Likewise.
6849 * libio/getchar_u.c (getchar_unlocked): Likewise.
6850 * libio/getwchar.c (getwchar): Likewise.
6851 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6852 * libio/iogets.c (_IO_gets): Likewise.
6853 * libio/vscanf.c (_IO_vscanf): Likewise.
6854 * libio/vwscanf.c (__vwscanf): Likewise.
6855 * libio/tst-bz24153.c: New file.
6856 * libio/Makefile (tests): Add it.
6858 2019-02-02 Florian Weimer <fweimer@redhat.com>
6861 * manual/resource.texi (Basic Scheduling Functions): Add
6862 portability note. Change process to task throughout the section.
6863 Remove incorrect comment about sched_yield as it affects
6864 tasks/threads, not entire processes.
6865 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6866 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6868 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6870 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6871 * configure: Regenerated.
6872 * manual/install.texi (Tools for Compilation): Update minimum GCC
6874 * INSTALL: Regenerated.
6876 2019-02-01 Florian Weimer <fweimer@redhat.com>
6878 * support/support_test_compare_string.c
6879 (support_test_compare_string): Use "string" in error message.
6880 * support/tst-test_compare_string.c (do_test): Adjust.
6882 2019-02-01 Florian Weimer <fweimer@redhat.com>
6884 * support/support_format_address_family.c
6885 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6887 2019-02-01 Florian Weimer <fweimer@redhat.com>
6889 * manual/socket.texi (Internet Address Formats): Clarify the byte
6890 order of struct sockaddr_in, struct sockaddr_in6. Document
6891 sin6_flowinfo and sin6_scope_id.
6893 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6895 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6896 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6897 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6898 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6899 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6900 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6902 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6904 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6905 [!MEMCHR](MEMCHR): Set to __memchr.
6906 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6907 Add memchr_generic and memchr_nosimd.
6908 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6909 (__libc_ifunc_impl_list): Add memchr ifuncs.
6910 * sysdeps/aarch64/multiarch/memchr.c: New file.
6911 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6912 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6914 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6916 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6918 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6919 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6920 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6921 Add IS_EMAG check for ifunc dispatch.
6922 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6923 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6925 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6927 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6928 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6933 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6935 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6937 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6939 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6940 syscall-template file.
6942 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6943 Torvald Riegel <triegel@redhat.com>
6944 Rik Prohaska <prohaska7@gmail.com>
6947 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6948 tst-rwlock-trywrlock-stall.
6949 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6950 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6951 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6952 Set __wrphase_fute to 1 only if we started the write phase.
6953 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6954 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6955 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6956 * support/xpthread_rwlock_destroy.c: New file.
6957 * support/xthread.h: Declare xpthread_rwlock_destroy.
6959 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6961 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6964 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6967 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6968 * libio/fileops.c (_IO_new_file_underflow): Likewise
6969 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6970 * libio/putchar.c (putchar): Likewise.
6971 * libio/putchar_u.c (putchar_unlocked): Likewise.
6972 * libio/putwchar.c (putchar): Likewise.
6973 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6974 * libio/tst-bz24051.c: New test.
6975 * libio/Makefile (tests): Add tst-bz24051
6977 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6980 regex: fix read overrun [BZ #24114]
6981 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6982 https://debbugs.gnu.org/34140
6983 * posix/regexec.c (proceed_next_node):
6984 Do not read past end of input buffer.
6986 2019-01-31 Florian Weimer <fweimer@redhat.com>
6989 * nss/nss_files/files-alias.c (get_next_alias): Handle
6990 continuation line without newline at the end.
6991 * nss/tst-nss-files-alias-truncated.c: New file.
6992 * nss/Makefile [$(build-shared)] (tests): Add
6993 tst-nss-files-alias-truncated.
6994 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6995 * support/namespace.h (struct support_chroot_configuration): Add
6997 (struct support_chroot): Add path_aliases member.
6998 * support/support_chroot.c (support_chroot_create): Handle
7000 (support_chroot_free): Free path_aliases.
7002 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7004 * version.h (RELEASE): Set to "development".
7005 (VERSION): Set to "2.29.9000".
7006 * NEWS: Add section for 2.30.
7008 * version.h (RELEASE): Set to "stable".
7009 (VERSION): Set to "2.29".
7010 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7012 * NEWS: Add the list of bugs fixed in 2.29.
7013 * manual/contrib.texi: Update contributors list with some more
7015 * manual/install.texi: Update latest versions of packages
7017 * INSTALL: Regenerated.
7019 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7021 * po/be.po: Update translations.
7022 * po/bg.po: Likewise.
7023 * po/ca.po: Likewise.
7024 * po/cs.po: Likewise.
7025 * po/da.po: Likewise.
7026 * po/de.po: Likewise.
7027 * po/el.po: Likewise.
7028 * po/eo.po: Likewise.
7029 * po/es.po: Likewise.
7030 * po/fi.po: Likewise.
7031 * po/fr.po: Likewise.
7032 * po/gl.po: Likewise.
7033 * po/hr.po: Likewise.
7034 * po/hu.po: Likewise.
7035 * po/ia.po: Likewise.
7036 * po/id.po: Likewise.
7037 * po/it.po: Likewise.
7038 * po/ja.po: Likewise.
7039 * po/ko.po: Likewise.
7040 * po/lt.po: Likewise.
7041 * po/nb.po: Likewise.
7042 * po/nl.po: Likewise.
7043 * po/pl.po: Likewise.
7044 * po/pt_BR.po: Likewise.
7045 * po/ru.po: Likewise.
7046 * po/rw.po: Likewise.
7047 * po/sk.po: Likewise.
7048 * po/sl.po: Likewise.
7049 * po/sv.po: Likewise.
7050 * po/tr.po: Likewise.
7051 * po/uk.po: Likewise.
7052 * po/vi.po: Likewise.
7053 * po/zh_CN.po: Likewise.
7054 * po/zh_TW.po: Likewise.
7056 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7059 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7060 of $f3 register on $y_is_neg path.
7062 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7065 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7066 sigaltstack.ss_flags.
7068 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7071 * manual/time.texi (strftime): Document "%Ey".
7072 * time/strftime_l.c (__strftime_internal): Set the default width
7073 padding with zero of "%Ey" to 2.
7076 * manual/time.texi (strftime): Document "%EC" and "%EY".
7077 * time/Makefile (tests): Add tst-strftime2.
7078 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7079 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7080 override padding for "%Ey".
7081 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7082 "%Ey" in the subformat as if decorated with that flag.
7083 * time/tst-strftime2.c: New file.
7085 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7087 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7091 * elf/Makefile (tests): Add tst-audit13.
7092 (modules-names): Add tst-audit13mod1.
7093 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7095 * elf/rtld.c (dl_main): Handle invalid audit module version.
7096 * elf/tst-audit13.c: New file.
7097 * elf/tst-audit13mod1.c: Likewise.
7099 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7101 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7102 returned by __hurd_at_flags.
7103 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7104 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7105 directly instead of __hurd_file_name_lookup.
7107 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7109 * scripts/build-many-glibcs.py (Context.checkout): Default
7110 binutils version to 2.32 branch.
7112 2019-01-21 Florian Weimer <fweimer@redhat.com>
7116 resolv: Reject trailing characters in host names
7117 * include/arpa/inet.h (__inet_aton_exact): Declare.
7118 (inet_aton): Remove hidden prototype. No longer used internally.
7119 * nscd/gai.c (__inet_aton): Do not define.
7120 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7121 * nss/digits_dots.c (__inet_aton): Likewise.
7122 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7123 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7124 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7125 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7126 (tst-resolv-trailing): Likewise.
7127 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7129 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7130 Make static. Add endp parameter.
7131 (__inet_aton_exact): New function.
7132 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7133 (__inet_addr): Call inet_aton_end.
7134 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7135 not just IPv6. Call __inet_aton_exact.
7136 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7137 (tests): Make const. Add additional test cases with trailing
7139 (do_test): Use array_length.
7140 * resolv/tst-inet_aton_exact.c: New file.
7141 * resolv/tst-resolv-trailing.c: Likewise.
7142 * resolv/tst-resolv-nondecimal.c: Likewise.
7143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7145 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7149 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7150 Clear the upper 32 bits of RSI register.
7151 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7152 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7153 and tst-size_t-wcsnlen.
7154 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7155 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7157 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7161 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7162 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7163 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7164 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7165 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7167 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7171 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7173 * sysdeps/x86_64/strcmp.S: Likewise.
7174 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7175 tst-size_t-strncmp and tst-size_t-wcsncmp.
7176 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7177 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7178 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7180 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7184 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7185 RDX_LP for length. Clear the upper 32 bits of RDX register.
7186 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7187 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7188 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7189 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7191 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7195 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7196 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7197 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7198 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7200 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7205 length. Clear the upper 32 bits of RDX register.
7206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7207 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7209 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7211 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7213 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7215 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7219 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7220 length. Clear the upper 32 bits of RDX register.
7221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7222 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7223 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7225 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7226 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7228 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7232 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7233 upper 32 bits of RDX register.
7234 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7235 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7237 * sysdeps/x86_64/x32/test-size_t.h: New file.
7238 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7239 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7241 2019-01-18 Florian Weimer <fweimer@redhat.com>
7244 resolv: Do not send queries for non-host-names in nss_dns.
7245 * resolv/nss_dns/dns-host.c (check_name): New function.
7246 (_nss_dns_gethostbyname2_r): Use it.
7247 (_nss_dns_gethostbyname_r): Likewise.
7248 (_nss_dns_gethostbyname4_r): Likewise.
7250 2019-01-21 Florian Weimer <fweimer@redhat.com>
7252 * resolv/inet_addr.c: Reformat to GNU style.
7253 (__inet_addr, __inet_aton): Update comment.
7255 2019-01-18 Florian Weimer <fweimer@redhat.com>
7257 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7258 ("malloc: Use current (C11-style) atomics for fastbin access").
7259 This commit introduces a substantial performance regression on
7261 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7262 (REMOVE_FB): Define.
7263 (_int_malloc): Use it and reindent.
7264 (_int_free): Use CAS loop with
7265 catomic_compare_and_exchange_val_rel.
7266 (malloc_consolidate): Use atomic_exchange_acq.
7269 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7271 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7273 (LDFLAGS-tst-minsigstksz-2): Likewise.
7274 (LDFLAGS-tst-minsigstksz-3): Likewise.
7275 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7276 (LDFLAGS-tst-minsigstksz-4): Likewise.
7278 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7280 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7283 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7285 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7287 2019-01-16 Zack Weinberg <zackw@panix.com>
7289 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7290 (xget_sigstack_location): New test support functions.
7291 * support/xsigstack.c: New file, implementing them.
7292 * support/tst-xsigstack.c: New test for them.
7293 * support/Makefile: Update.
7295 * signal/tst-minsigstksz-1.c
7296 * signal/tst-minsigstksz-2.c
7297 * signal/tst-minsigstksz-3.c
7298 * signal/tst-minsigstksz-3a.c
7299 * signal/tst-minsigstksz-4.c: New tests.
7300 * signal/Makefile: Run them.
7302 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7304 * po/libc.pot: Regenerate.
7306 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7308 * math/libm-test-fma.inc (fma_test_data): Set
7309 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7311 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7313 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7314 (do_test): Changed __vector __int128_t to __vector unsigned int.
7316 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7319 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7320 stpcpy-avx2 and stpncpy-avx2.
7321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7322 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7323 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7325 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7326 ifunc-strcpy.h}: rename header for a more generic name.
7327 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7328 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7329 AVX unaligned load is fast and vzeroupper is preferred.
7330 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7331 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7332 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7333 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7334 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7335 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7337 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7339 * argp/argp-help.c: Fix typo in comment.
7340 * misc/sys/cdefs.h: Likewise.
7341 * posix/regexec.c (sift_states_iter_mb): Likewise.
7342 * socket/sockatmark.c: Likewise.
7343 * socket/sys/socket.h: Likewise.
7344 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7345 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7346 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7348 * sysdeps/unix/sockatmark.c: Likewise.
7349 * time/strptime_l.c: Likewise.
7351 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7353 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7354 missing space after the cast of "_NL_CURRENT".
7356 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7358 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7359 ifdef to fix read of VSCR.
7360 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7361 tst-ucontext-ppc64-vscr.c to test list.
7362 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7364 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7366 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7369 2019-01-09 Jim Wilson <jimw@sifive.com>
7371 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7373 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7375 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7376 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7377 __memcpy_falkor for ares.
7378 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7380 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7383 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7386 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7387 4_FP_W_TYPEs are used for IEEE quad precision.
7388 * soft-fp/extendhftf2.c: Likewise.
7389 * soft-fp/extendsftf2.c: Likewise.
7390 * soft-fp/extendxftf2.c: Likewise.
7391 * soft-fp/trunctfdf2.c: Likewise.
7392 * soft-fp/trunctfhf2.c: Likewise.
7393 * soft-fp/trunctfsf2.c: Likewise.
7394 * soft-fp/trunctfxf2.c: Likewise.
7395 * sysdeps/alpha/ots_cvttx.c: Likewise.
7396 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7397 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7398 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7399 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7400 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7401 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7402 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7403 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7404 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7405 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7406 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7407 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7408 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7409 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7410 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7411 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7412 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7414 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7417 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7418 code with -fmath-errno.
7419 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7420 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7421 * string/test-strerror-errno.c: New file.
7423 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7426 * localedata/locales/en_US (date_fmt): Add, set to
7427 "%a %d %b %Y %r %Z".
7429 2019-01-07 Florian Weimer <fweimer@redhat.com>
7432 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7433 instead of @var{errno}.
7434 (Parsing of Integers): Likewise.
7435 (Parsing of Floats): Likewise.
7436 * manual/filesys.texi (Working with Directory Trees): Likewise.
7437 (Temporary Files): Likewise.
7438 * manual/job.texi (Terminal Access Functions): Likewise.
7439 * manual/llio.texi (Synchronizing I/O): Likewise.
7440 * manual/math.texi (SVID Random): Likewise.
7441 * manual/message.texi (The catgets Functions): Likewise.
7442 (Translation with gettext): Likewise.
7443 (Locating gettext catalog): Likewise.
7444 (Charset conversion in gettext): Likewise.
7445 * manual/nss.texi (NSS Module Function Internals): Likewise.
7446 * manual/search.texi (Hash Search Function): Likewise.
7447 * manual/setjmp.texi (System V contexts): Likewise.
7448 * manual/time.texi (Sleeping): Likewise.
7449 * manual/users.texi (Lookup User): Likewise.
7450 (Lookup Group): Likewise.
7452 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7454 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7457 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7460 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7461 __builtin_unreachable for default case in switch.
7462 (__ieee754_yn): Likewise.
7463 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7464 (__ieee754_ynl): Likewise.
7465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7466 (__ieee754_ynl): Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7468 (__ieee754_ynl): Likewise.
7470 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7472 * manual/maint.texi: Use @{ and @}.
7474 2019-01-04 Florian Weimer <fweimer@redhat.com>
7476 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7478 (do_in_chroot_1): Call it.
7480 Improve error reporting in case it is not possible to create a
7481 collision for the PTY name required by the test.
7483 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7485 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7486 lll_wait_tid with timeout.
7487 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7488 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7489 futex_reltimed_wait_cancelable for cancelabla mode.
7490 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7491 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7493 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7494 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7495 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7496 SYSCALL_CANCEL_NCS): New macro.
7497 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7498 (lll_timedwait_tid): Remove macro.
7499 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7501 (lll_timedwait_tid): Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7504 (lll_timedwait_tid): Likewise.
7505 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7507 (lll_timedwait_tid): Likewise.
7508 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7509 Use INTERNAL_SYSCALL_CANCEL.
7510 * sysdeps/unix/sysv/linux/futex-internal.h
7511 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7512 instead of __pthread_{enable,disable}_asynccancel.
7513 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7514 (lll_futex_wait_cancel): New macro.
7516 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7517 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7519 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7520 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7522 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7523 in backtrace analysis.
7524 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7526 (tf_send): Likewise.
7528 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7529 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7530 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7531 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7532 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7533 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7534 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7535 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7536 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7537 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7538 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7539 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7541 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7542 tst-cancel-wrappers.sh.
7543 (generated): Remove tst-cancel-wrappers.out.
7544 (tst-cancel-wrappers.out): Remove rule.
7545 * nptl/tst-cancel-wrappers.sh: Remove file.
7547 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7549 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7550 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7553 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7556 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7557 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7558 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7559 close-on-exec reset for adddup2 file action.
7560 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7562 2019-01-03 Zack Weinberg <zackw@panix.com>
7564 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7565 parameter. Only use deprecated scanf when __USE_GNU is defined
7566 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7567 than 201103L, whichever is relevant for the language being compiled.
7569 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7570 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7571 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7572 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7573 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7577 * libio/iovswscanf.c
7582 * stdio-common/fscanf.c
7583 * stdio-common/scanf.c
7584 * stdio-common/vfscanf.c
7585 * stdio-common/vfwscanf.c
7586 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7587 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7588 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7589 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7590 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7591 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7592 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7593 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7594 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7595 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7596 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7597 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7598 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7599 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7600 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7602 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7603 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7604 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7606 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7607 with a preprocessor macro.
7609 * stdio-common/bug21.c, stdio-common/scanf14.c:
7610 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7611 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7612 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7613 to xscanf, xfscanf, xsscanf.
7615 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7616 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7617 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7618 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7620 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7621 override feature selection macros or provide definitions of u_char etc.
7622 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7623 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7624 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7627 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7630 bits/termios-misc.h.
7631 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7632 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7633 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7635 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7636 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7638 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7640 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7641 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7642 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7643 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7645 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7646 (sysdep_headers): Add termios-misc.h.
7648 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7649 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7650 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7654 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7655 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7656 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7657 TCSAFLUSH): Move to termios-tcflow.h.
7658 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7659 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7665 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7666 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7667 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7669 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7670 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7671 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7672 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7674 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7675 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7681 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7682 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7683 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7684 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7685 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7687 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7695 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7696 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7697 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7700 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7701 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7702 __MAX_BAUD): Move to termios-baud.h.
7703 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7704 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7705 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7709 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7711 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7712 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7715 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7716 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7718 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7719 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7721 [USE_MISC] (XTABS): Likewise.
7722 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7723 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7727 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7729 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7730 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7732 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7733 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7734 IUTF8): Move to termios-c_iflag.h.
7735 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7736 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7740 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7742 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7743 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7744 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7746 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7747 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7748 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7749 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7750 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7751 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7755 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7756 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7757 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7761 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7763 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7765 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7769 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7771 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7772 _HAVE_C_OSPEED): Define.
7773 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7774 _HAVE_C_OSPEED): Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7776 _HAVE_C_OSPEED): Likewise.
7777 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7778 (cfsetospeed): Check for define value instead of existence.
7779 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7780 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7781 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7782 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7783 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7786 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7788 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7789 (TIOCSER_TEMT): Likewise.
7790 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7791 (TEOCSER_TEMT): Likewise.
7793 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7796 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7798 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7800 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7802 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7804 * sysdeps/htl/pt-barrierattr-setpshared.c
7805 (pthread_barrierattr_setpshared): Add stub warning.
7806 * sysdeps/htl/pt-condattr-setpshared.c
7807 (pthread_condattr_setpshared): Likewise.
7808 * sysdeps/htl/pt-mutexattr-setpshared.c
7809 (pthread_mutexattr_setpshared): Likewise.
7810 * sysdeps/htl/pt-rwlockattr-setpshared.c
7811 (pthread_rwlockattr_setpshared): Likewise.
7812 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7813 (pthread_mutexattr_setpshared): Likewise.
7815 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7817 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7818 constants to match with Linux 4.20.
7820 * sysdeps/mips/mips32/libm-test-ulps: Update.
7821 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7823 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7826 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7827 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7828 than __typeof (...) for the a_ptr variable.
7830 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7832 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7833 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7834 * libio/Makefile (tests): Add tst-sprintf-ub and
7836 (CFLAGS-tst-sprintf-ub.c): New variable.
7837 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7838 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7839 destination buffer and check for overflows in fortified mode.
7840 * libio/libioP.h (PRINTF_CHK): New macro.
7841 * libio/tst-sprintf-chk-ub.c: New file.
7842 * libio/tst-sprintf-ub.c: Likewise.
7844 2019-01-02 Florian Weimer <fweimer@redhat.com>
7847 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7850 2019-01-02 Florian Weimer <fweimer@redhat.com>
7852 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7854 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7856 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7859 * sysdeps/unix/sysv/linux/netpacket/packet.h
7860 (PACKET_IGNORE_OUTGOING): New macro.
7862 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7865 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7867 (riscv_flush_icache): New syscall.
7869 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7870 trailing whitespace removed.
7871 * scripts/config.guess: Update to version 2019-01-01.
7872 * scripts/config.sub: Update to version 2019-01-01.
7873 * scripts/move-if-change: Update from gnulib.
7875 * NEWS: Update copyright dates.
7876 * catgets/gencat.c (print_version): Likewise.
7877 * csu/version.c (banner): Likewise.
7878 * debug/catchsegv.sh: Likewise.
7879 * debug/pcprofiledump.c (print_version): Likewise.
7880 * debug/xtrace.sh (do_version): Likewise.
7881 * elf/ldconfig.c (print_version): Likewise.
7882 * elf/ldd.bash.in: Likewise.
7883 * elf/pldd.c (print_version): Likewise.
7884 * elf/sotruss.sh: Likewise.
7885 * elf/sprof.c (print_version): Likewise.
7886 * iconv/iconv_prog.c (print_version): Likewise.
7887 * iconv/iconvconfig.c (print_version): Likewise.
7888 * locale/programs/locale.c (print_version): Likewise.
7889 * locale/programs/localedef.c (print_version): Likewise.
7890 * login/programs/pt_chown.c (print_version): Likewise.
7891 * malloc/memusage.sh (do_version): Likewise.
7892 * malloc/memusagestat.c (print_version): Likewise.
7893 * malloc/mtrace.pl: Likewise.
7894 * manual/libc.texinfo: Likewise.
7895 * nptl/version.c (banner): Likewise.
7896 * nscd/nscd.c (print_version): Likewise.
7897 * nss/getent.c (print_version): Likewise.
7898 * nss/makedb.c (print_version): Likewise.
7899 * posix/getconf.c (main): Likewise.
7900 * scripts/test-installation.pl: Likewise.
7901 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7903 * All files with FSF copyright notices: Update copyright dates
7904 using scripts/update-copyrights.
7905 * locale/programs/charmap-kw.h: Regenerated.
7906 * locale/programs/locfile-kw.h: Likewise.
7908 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7910 * timezone/zdump.c: Update from tzcode 2018i.
7911 * timezone/zic.c: Likewise.
7913 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7915 regex: improve Gnulib port to AIX
7916 From the glibc point of view, this removes duplicate macro
7917 definitions and is obviously safe.
7918 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7919 * posix/regex_internal.h:
7920 (__attribute__, __attribute_warn_unused_result__):
7921 Remove; already defined elsewhere.
7923 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7926 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7927 copying operation. (ncopies had the wrong type, resulting in an
7928 integer wraparound and too few elements being copied.)
7930 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7933 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7934 <asm/syscalls.h> exists with __has_include__ before including it.
7936 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7938 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7941 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7943 * hurd/lookup-retry: Include <unistd.h>.
7944 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7945 Release it on return. Handle "pid" magical lookup retry.
7947 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7950 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7951 (t_fmt_ampm): Likewise.
7952 * localedata/locales/aa_ER (t_fmt): Likewise.
7953 (t_fmt_ampm): Likewise.
7954 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7955 (t_fmt_ampm): Likewise.
7956 * localedata/locales/aa_ET (t_fmt): Likewise.
7957 (t_fmt_ampm): Likewise.
7958 * localedata/locales/am_ET (t_fmt): Likewise.
7959 (t_fmt_ampm): Likewise.
7960 * localedata/locales/byn_ER (t_fmt): Likewise.
7961 (t_fmt_ampm): Likewise.
7962 * localedata/locales/om_ET (t_fmt): Likewise.
7963 (t_fmt_ampm): Likewise.
7964 * localedata/locales/sid_ET (t_fmt): Likewise.
7965 (t_fmt_ampm): Likewise.
7966 * localedata/locales/so_DJ (t_fmt): Likewise.
7967 (t_fmt_ampm): Likewise.
7968 * localedata/locales/so_ET (t_fmt): Likewise.
7969 (t_fmt_ampm): Likewise.
7970 * localedata/locales/so_SO (t_fmt): Likewise.
7971 (t_fmt_ampm): Likewise.
7972 * localedata/locales/ti_ER (t_fmt): Likewise.
7973 (t_fmt_ampm): Likewise.
7974 * localedata/locales/ti_ET (t_fmt): Likewise.
7975 (t_fmt_ampm): Likewise.
7976 * localedata/locales/tig_ER (t_fmt): Likewise.
7977 (t_fmt_ampm): Likewise.
7978 * localedata/locales/wal_ET (t_fmt): Likewise.
7979 (t_fmt_ampm): Likewise.
7981 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7982 * localedata/locales/ar_IN (t_fmt): Likewise.
7983 * localedata/locales/bhb_IN (t_fmt): Likewise.
7984 * localedata/locales/bho_IN (t_fmt): Likewise.
7985 * localedata/locales/bi_VU (t_fmt): Likewise.
7986 * localedata/locales/bn_BD (t_fmt): Likewise.
7987 * localedata/locales/bn_IN (t_fmt): Likewise.
7988 * localedata/locales/brx_IN (t_fmt): Likewise.
7989 * localedata/locales/doi_IN (t_fmt): Likewise.
7990 * localedata/locales/en_HK (t_fmt): Likewise.
7991 (t_fmt_ampm): Likewise.
7992 * localedata/locales/en_IN (t_fmt): Likewise.
7993 * localedata/locales/en_PH (t_fmt): Likewise.
7994 * localedata/locales/gu_IN (t_fmt): Likewise.
7995 * localedata/locales/hi_IN (t_fmt): Likewise.
7996 * localedata/locales/hif_FJ (t_fmt): Likewise.
7997 * localedata/locales/hne_IN (t_fmt): Likewise.
7998 * localedata/locales/kn_IN (t_fmt): Likewise.
7999 * localedata/locales/kok_IN (t_fmt): Likewise.
8000 * localedata/locales/ks_IN (t_fmt): Likewise.
8001 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8002 * localedata/locales/mag_IN (t_fmt): Likewise.
8003 * localedata/locales/mai_IN (t_fmt): Likewise.
8004 * localedata/locales/mjw_IN (t_fmt): Likewise.
8005 * localedata/locales/ml_IN (t_fmt): Likewise.
8006 * localedata/locales/mni_IN (t_fmt): Likewise.
8007 * localedata/locales/mr_IN (t_fmt): Likewise.
8008 * localedata/locales/ms_MY (t_fmt): Likewise.
8009 * localedata/locales/pa_IN (t_fmt): Likewise.
8010 * localedata/locales/raj_IN (t_fmt): Likewise.
8011 * localedata/locales/sa_IN (t_fmt): Likewise.
8012 * localedata/locales/sat_IN (t_fmt): Likewise.
8013 * localedata/locales/sd_IN (t_fmt): Likewise.
8014 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8015 * localedata/locales/tcy_IN (t_fmt): Likewise.
8016 * localedata/locales/the_NP (t_fmt): Likewise.
8017 * localedata/locales/to_TO (t_fmt): Likewise.
8018 * localedata/locales/ur_IN (t_fmt): Likewise.
8020 * localedata/locales/hif_FJ (d_t_fmt): Set to
8021 "%A %d %b %Y %I:%M:%S %p".
8022 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8024 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8025 * localedata/locales/ar_BH (t_fmt): Likewise.
8026 * localedata/locales/ar_DZ (t_fmt): Likewise.
8027 * localedata/locales/ar_EG (t_fmt): Likewise.
8028 * localedata/locales/ar_IQ (t_fmt): Likewise.
8029 * localedata/locales/ar_JO (t_fmt): Likewise.
8030 * localedata/locales/ar_KW (t_fmt): Likewise.
8031 * localedata/locales/ar_LB (t_fmt): Likewise.
8032 * localedata/locales/ar_LY (t_fmt): Likewise.
8033 * localedata/locales/ar_OM (t_fmt): Likewise.
8034 * localedata/locales/ar_QA (t_fmt): Likewise.
8035 * localedata/locales/ar_SD (t_fmt): Likewise.
8036 * localedata/locales/ar_SS (t_fmt): Likewise.
8037 * localedata/locales/ar_SY (t_fmt): Likewise.
8038 * localedata/locales/ar_TN (t_fmt): Likewise.
8039 * localedata/locales/ar_YE (t_fmt): Likewise.
8041 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8042 (t_fmt_ampm): Likewise.
8043 * localedata/locales/gez_ET (t_fmt): Likewise.
8044 (t_fmt_ampm): Likewise.
8046 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8047 (t_fmt_ampm): Likewise.
8048 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8050 * localedata/locales/zh_HK (t_fmt):
8051 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8053 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8054 because this locale does not use the 12-hour clock.
8055 (t_fmt): Set to "%Z %H:%M:%S".
8056 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8058 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8059 because this locale does not use the 12-hour clock.
8060 (t_fmt): Set to "%H:%M:%S %Z".
8061 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8063 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8064 because this locale does not use the 12-hour clock.
8065 (t_fmt): Set to "%T".
8066 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8067 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8069 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8070 because this locale does not use the 12-hour clock.
8071 (t_fmt): Set to "%H:%M:%S %Z".
8072 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8074 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8075 because this locale does not use the 12-hour clock.
8076 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8077 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8079 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8083 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8084 (t_fmt_ampm): Likewise.
8085 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8086 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8087 (d_fmt): Set to "%-d.%-m.%y".
8089 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8091 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8092 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8093 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8095 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8096 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8097 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8099 * support/blob_repeat.c (check_mul_overflow_size_t,
8100 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8102 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8104 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8106 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8108 regex: simplify Gnulib port
8109 This simplifies the code, by removing stuff intended for porting
8110 to Gnulib but no longer needed there.
8111 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8112 uses of libc_hidden_def, weak_alias.
8113 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8114 _Restrict_ except for public-facing headers.
8115 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8116 Remove; already defined elsewhere.
8117 * posix/regex.c, posix/regex_internal.h:
8118 Use __GNUC_PREREQ instead of rolling our own.
8119 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8121 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8123 * benchtests/bench-strlen.c (generic_strlen): New function.
8124 (memchr_strlen): New function.
8126 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8128 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8129 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8130 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8132 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8136 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8138 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8139 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8140 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8141 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8142 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8143 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8144 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8146 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8149 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8150 PLT reference in libc.so.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8152 _Q_lltoq and _Q_qtod PLT references in libc.so.
8154 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8156 * benchtests/bench-memchr.c: Cleanup defines.
8157 * benchtests/bench-memcmp.c: Likewise.
8158 * benchtests/bench-memset.c: Likewise.
8159 * benchtests/bench-memset-large.c: Likewise.
8160 * benchtests/bench-memset-walk.c: Likewise.
8161 * benchtests/bench-stpcpy.c: Likewise.
8162 * benchtests/bench-stpncpy.c: Likewise.
8163 * benchtests/bench-strcat.c: Likewise.
8164 * benchtests/bench-strchr.c: Likewise.
8165 * benchtests/bench-strcmp.c: Likewise.
8166 * benchtests/bench-strcpy.c: Likewise.
8167 * benchtests/bench-strcspn.c: Likewise.
8168 * benchtests/bench-string.h: Likewise.
8169 * benchtests/bench-strlen.c: Likewise.
8170 * benchtests/bench-strncat.c: Likewise.
8171 * benchtests/bench-strncmp.c: Likewise.
8172 * benchtests/bench-strncpy.c: Likewise.
8173 * benchtests/bench-strnlen.c: Likewise.
8174 * benchtests/bench-strpbrk.c: Likewise.
8175 * benchtests/bench-strrchr.c: Likewise.
8176 * benchtests/bench-strspn.c: Likewise.
8178 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8180 * stdlib/longlong.h: Update from GCC.
8183 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8184 * configure: Regenerated.
8185 * manual/install.texi (Tools for Compilation): Update minimum GCC
8187 * INSTALL: Regenerated.
8189 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8191 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8193 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8195 * malloc/malloc.c (mremap_chunk): Additional checks.
8197 2018-12-21 Mao Han <han_mao@c-sky.com>
8199 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8200 * scripts/build-many-glibcs.py: Add C-SKY targets.
8201 * sysdeps/csky/Implies: New file.
8202 * sysdeps/csky/Makefile: Likewise.
8203 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8204 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8205 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8206 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8207 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8208 * sysdeps/csky/abiv2/memmove.S: Likewise.
8209 * sysdeps/csky/abiv2/memset.S: Likewise.
8210 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8211 * sysdeps/csky/abiv2/start.S: Likewise.
8212 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8213 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8214 * sysdeps/csky/abiv2/strlen.S: Likewise.
8215 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8216 * sysdeps/csky/abort-instr.h: Likewise.
8217 * sysdeps/csky/atomic-machine.h: Likewise.
8218 * sysdeps/csky/bits/endian.h: Likewise.
8219 * sysdeps/csky/bits/fenv.h: Likewise.
8220 * sysdeps/csky/bits/link.h: Likewise.
8221 * sysdeps/csky/bits/setjmp.h: Likewise.
8222 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8223 * sysdeps/csky/bsd-setjmp.S: Likewise.
8224 * sysdeps/csky/configure: Likewise.
8225 * sysdeps/csky/configure.ac: Likewise.
8226 * sysdeps/csky/dl-machine.h: Likewise.
8227 * sysdeps/csky/dl-procinfo.c: Likewise.
8228 * sysdeps/csky/dl-procinfo.h: Likewise.
8229 * sysdeps/csky/dl-sysdep.h: Likewise.
8230 * sysdeps/csky/dl-tls.h: Likewise.
8231 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8232 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8233 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8234 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8235 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8236 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8237 * sysdeps/csky/fpu/fegetround.c: Likewise.
8238 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8239 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8240 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8241 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8242 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8243 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8244 * sysdeps/csky/fpu/fesetround.c: Likewise.
8245 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8246 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8247 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8248 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8249 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8250 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8251 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8252 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8253 * sysdeps/csky/fpu_control.h: Likewise.
8254 * sysdeps/csky/gccframe.h: Likewise.
8255 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8256 * sysdeps/csky/ldsodefs.h: Likewise.
8257 * sysdeps/csky/libc-tls.c: Likewise.
8258 * sysdeps/csky/linkmap.h: Likewise.
8259 * sysdeps/csky/machine-gmon.h: Likewise.
8260 * sysdeps/csky/memusage.h: Likewise.
8261 * sysdeps/csky/nofpu/Implies: Likewise.
8262 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8263 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8264 * sysdeps/csky/nptl/Makefile: Likewise.
8265 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8266 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8267 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8268 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8269 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8270 * sysdeps/csky/nptl/tls.h: Likewise.
8271 * sysdeps/csky/preconfigure: Likewise.
8272 * sysdeps/csky/sfp-machine.h: Likewise.
8273 * sysdeps/csky/sotruss-lib.c: Likewise.
8274 * sysdeps/csky/stackinfo.h: Likewise.
8275 * sysdeps/csky/sysdep.h: Likewise.
8276 * sysdeps/csky/tininess.h: Likewise.
8277 * sysdeps/csky/tst-audit.h: Likewise.
8278 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8279 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8280 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8281 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8282 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8283 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8284 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8285 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8286 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8287 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8288 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8289 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8290 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8291 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8292 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8293 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8294 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8295 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8296 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8297 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8298 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8299 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8300 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8301 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8303 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8304 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8307 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8308 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8309 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8310 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8311 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8312 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8313 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8314 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8315 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8316 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8317 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8318 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8319 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8320 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8321 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8323 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8325 * include/time.h (__difftime64): Add.
8326 * time/difftime.c (subtract): convert to 64-bit time.
8327 * time/difftime.c (__difftime64): Add.
8328 * time/difftime.c (__difftime): Wrap around __difftime64.
8330 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8332 * manual/examples/add.c: Remove redundant "if not".
8333 * manual/examples/argp-ex1.c: Likewise.
8334 * manual/examples/argp-ex2.c: Likewise.
8335 * manual/examples/argp-ex3.c: Likewise.
8336 * manual/examples/argp-ex4.c: Likewise.
8337 * manual/examples/atexit.c: Likewise.
8338 * manual/examples/db.c: Likewise.
8339 * manual/examples/dir.c: Likewise.
8340 * manual/examples/dir2.c: Likewise.
8341 * manual/examples/execinfo.c: Likewise.
8342 * manual/examples/filecli.c: Likewise.
8343 * manual/examples/filesrv.c: Likewise.
8344 * manual/examples/fmtmsgexpl.c: Likewise.
8345 * manual/examples/genpass.c: Likewise.
8346 * manual/examples/inetcli.c: Likewise.
8347 * manual/examples/inetsrv.c: Likewise.
8348 * manual/examples/isockad.c: Likewise.
8349 * manual/examples/longopt.c: Likewise.
8350 * manual/examples/memopen.c: Likewise.
8351 * manual/examples/memstrm.c: Likewise.
8352 * manual/examples/mkdirent.c: Likewise.
8353 * manual/examples/mkfsock.c: Likewise.
8354 * manual/examples/mkisock.c: Likewise.
8355 * manual/examples/mygetpass.c: Likewise.
8356 * manual/examples/pipe.c: Likewise.
8357 * manual/examples/popen.c: Likewise.
8358 * manual/examples/rprintf.c: Likewise.
8359 * manual/examples/search.c: Likewise.
8360 * manual/examples/select.c: Likewise.
8361 * manual/examples/setjmp.c: Likewise.
8362 * manual/examples/sigh1.c: Likewise.
8363 * manual/examples/sigusr.c: Likewise.
8364 * manual/examples/stpcpy.c: Likewise.
8365 * manual/examples/strdupa.c: Likewise.
8366 * manual/examples/strftim.c: Likewise.
8367 * manual/examples/subopt.c: Likewise.
8368 * manual/examples/swapcontext.c: Likewise.
8369 * manual/examples/termios.c: Likewise.
8370 * manual/examples/testopt.c: Likewise.
8371 * manual/examples/testpass.c: Likewise.
8372 * manual/examples/timeval_subtract.c: Likewise.
8374 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8376 * sysdeps/x86/fpu/math_private.h: New file.
8377 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8379 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8384 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8386 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8387 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8388 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8389 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8391 (_dl_show_auxv): Give a special treatment to
8392 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8393 and AT_L3_CACHEGEOMETRY.
8394 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8395 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8396 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8397 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8399 2018-12-19 Andreas Schwab <schwab@suse.de>
8401 * nscd/connections.c (check_use): Don't abort on invalid len.
8403 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8405 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8406 values in the 64bit value cases.
8408 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8414 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8420 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8423 (__gmtime64_r): Add.
8425 (__gmtime64_r): Add.
8426 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8432 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8435 (__localtime64_r): Add.
8437 (__localtime64_r): Add.
8438 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8440 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8442 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8443 kernel_sigction definition.
8445 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8447 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8449 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8450 __syscall_rt_sigaction.
8451 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8452 (kernel_sigaction): Use Linux generic defintion.
8454 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8455 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8456 (__syscall_rt_sigaction): Remove implementation.
8457 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8459 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8460 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8461 INTERNAL_SYSCALL): Remove definitions.
8462 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8463 action and signal set size.
8464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8467 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8468 James Clarke <jrtc27@jrtc27.com>
8471 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8472 Define if SA_RESTORER is defined.
8473 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8474 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8476 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8477 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8479 (HAS_SA_RESTORER): Define.
8480 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8481 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8482 (HAS_SA_RESTORER): Define.
8483 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8484 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8485 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8486 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8487 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8489 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8491 * sysdeps/unix/sysv/linux/kernel-features.h
8492 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8494 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8495 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8496 (__ASSUME_ST_INO_64_BIT): Likewise.
8497 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8498 <kernel-features.h>.
8499 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8500 Remove conditional code.
8501 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8502 <kernel-features.h>.
8503 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8504 Remove conditional code.
8505 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8506 <kernel-features.h>.
8507 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8508 Remove conditional code.
8509 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8510 <kernel-features.h>.
8511 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8512 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8516 * sysdeps/s390/multiarch/ifunc-resolve.h
8517 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8518 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8519 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8520 Delete macro definition.
8521 (s390_libc_ifunc_init): Rename to
8522 s390_libc_ifunc_expr_stfle_init.
8523 * sysdeps/s390/bzero: Use
8524 s390_libc_ifunc_expr_stfle_init instead of
8525 s390_libc_ifunc_init.
8526 * sysdeps/s390/memcmp.c: Likewise.
8527 * sysdeps/s390/memcpy.c: Likewise.
8528 * sysdeps/s390/mempcpy.c: Likewise.
8529 * sysdeps/s390/memset.c: Likewise.
8531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8533 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8534 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8538 * sysdeps/s390/multiarch/Makefile
8539 (sysdep_routines): Remove wmemcmp variants.
8540 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8541 * sysdeps/s390/multiarch/ifunc-impl-list.c
8542 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8543 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8544 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8545 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8546 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8547 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8548 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8549 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8553 * sysdeps/s390/multiarch/Makefile
8554 (sysdep_routines): Remove wmemset variants.
8555 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8556 * sysdeps/s390/multiarch/ifunc-impl-list.c
8557 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8558 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8559 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8560 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8561 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8562 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8563 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8564 * sysdeps/s390/ifunc-wmemset.h: New file.
8566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8568 * sysdeps/s390/multiarch/Makefile
8569 (sysdep_routines): Remove wmemchr variants.
8570 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8571 * sysdeps/s390/multiarch/ifunc-impl-list.c
8572 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8573 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8574 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8575 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8576 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8577 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8578 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8579 * sysdeps/s390/ifunc-wmemchr.h: New file.
8581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8583 * sysdeps/s390/multiarch/Makefile
8584 (sysdep_routines): Remove wcscspn variants.
8585 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8586 * sysdeps/s390/multiarch/ifunc-impl-list.c
8587 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8588 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8589 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8590 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8591 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8592 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8593 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8594 * sysdeps/s390/ifunc-wcscspn.h: New file.
8596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8598 * sysdeps/s390/multiarch/Makefile
8599 (sysdep_routines): Remove wcspbrk variants.
8600 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8601 * sysdeps/s390/multiarch/ifunc-impl-list.c
8602 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8603 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8604 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8605 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8606 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8607 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8608 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8609 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8613 * sysdeps/s390/multiarch/Makefile
8614 (sysdep_routines): Remove wcsspn variants.
8615 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8616 * sysdeps/s390/multiarch/ifunc-impl-list.c
8617 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8618 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8619 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8620 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8621 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8622 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8623 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8624 * sysdeps/s390/ifunc-wcsspn.h: New file.
8626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8628 * sysdeps/s390/multiarch/Makefile
8629 (sysdep_routines): Remove wcsrchr variants.
8630 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8631 * sysdeps/s390/multiarch/ifunc-impl-list.c
8632 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8633 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8634 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8635 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8636 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8637 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8638 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8639 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8643 * sysdeps/s390/multiarch/Makefile
8644 (sysdep_routines): Remove wcschrnul variants.
8645 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8646 * sysdeps/s390/multiarch/ifunc-impl-list.c
8647 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8648 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8649 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8650 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8651 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8652 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8653 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8654 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8658 * sysdeps/s390/multiarch/Makefile
8659 (sysdep_routines): Remove wcschr variants.
8660 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8661 * sysdeps/s390/multiarch/ifunc-impl-list.c
8662 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8663 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8664 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8665 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8666 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8667 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8668 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8669 * sysdeps/s390/ifunc-wcschr.h: New file.
8671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8673 * sysdeps/s390/multiarch/Makefile
8674 (sysdep_routines): Remove wcsncmp variants.
8675 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8676 * sysdeps/s390/multiarch/ifunc-impl-list.c
8677 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8678 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8679 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8680 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8681 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8682 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8683 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8684 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8688 * sysdeps/s390/multiarch/Makefile
8689 (sysdep_routines): Remove wcscmp variants.
8690 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8691 * sysdeps/s390/multiarch/ifunc-impl-list.c
8692 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8693 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8694 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8695 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8696 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8697 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8698 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8699 * sysdeps/s390/ifunc-wcscmp.h: New file.
8701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8703 * sysdeps/s390/multiarch/Makefile
8704 (sysdep_routines): Remove wcsncat variants.
8705 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8706 * sysdeps/s390/multiarch/ifunc-impl-list.c
8707 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8708 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8709 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8710 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8711 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8712 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8713 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8714 * sysdeps/s390/ifunc-wcsncat.h: New file.
8716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8718 * sysdeps/s390/multiarch/Makefile
8719 (sysdep_routines): Remove wcscat variants.
8720 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8721 * sysdeps/s390/multiarch/ifunc-impl-list.c
8722 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8723 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8724 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8725 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8726 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8727 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8728 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8729 * sysdeps/s390/ifunc-wcscat.h: New file.
8731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8733 * sysdeps/s390/multiarch/Makefile
8734 (sysdep_routines): Remove wcpncpy variants.
8735 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8736 * sysdeps/s390/multiarch/ifunc-impl-list.c
8737 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8738 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8739 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8740 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8741 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8742 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8743 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8744 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8748 * sysdeps/s390/multiarch/Makefile
8749 (sysdep_routines): Remove wcsncpy variants.
8750 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8751 * sysdeps/s390/multiarch/ifunc-impl-list.c
8752 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8753 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8754 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8755 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8756 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8757 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8758 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8759 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8763 * sysdeps/s390/multiarch/Makefile
8764 (sysdep_routines): Remove wcpcpy variants.
8765 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8766 * sysdeps/s390/multiarch/ifunc-impl-list.c
8767 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8768 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8769 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8770 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8771 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8772 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8773 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8774 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8778 * sysdeps/s390/multiarch/Makefile
8779 (sysdep_routines): Remove wcscpy variants.
8780 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8781 * sysdeps/s390/multiarch/ifunc-impl-list.c
8782 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8783 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8784 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8785 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8786 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8787 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8788 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8789 * sysdeps/s390/ifunc-wcscpy.h: New file.
8791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8793 * sysdeps/s390/multiarch/Makefile
8794 (sysdep_routines): Remove wcsnlen variants.
8795 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8796 * sysdeps/s390/multiarch/ifunc-impl-list.c
8797 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8798 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8799 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8800 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8801 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8802 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8803 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8804 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8808 * sysdeps/s390/multiarch/Makefile
8809 (sysdep_routines): Remove wcslen variants.
8810 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8811 * sysdeps/s390/multiarch/ifunc-impl-list.c
8812 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8813 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8814 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8815 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8816 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8817 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8818 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8819 * sysdeps/s390/ifunc-wcslen.h: New file.
8821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8823 * sysdeps/s390/multiarch/Makefile
8824 (sysdep_routines): Remove memrchr variants.
8825 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8826 * sysdeps/s390/multiarch/ifunc-impl-list.c
8827 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8828 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8829 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8831 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8832 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8833 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8834 * sysdeps/s390/ifunc-memrchr.h: New file.
8836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8838 * sysdeps/s390/multiarch/Makefile
8839 (sysdep_routines): Remove memccpy variants.
8840 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8841 * sysdeps/s390/multiarch/ifunc-impl-list.c
8842 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8843 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8844 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8846 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8847 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8848 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8849 * sysdeps/s390/ifunc-memccpy.h: New file.
8851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8853 * sysdeps/s390/multiarch/Makefile
8854 (sysdep_routines): Remove rawmemchr variants.
8855 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8856 * sysdeps/s390/multiarch/ifunc-impl-list.c
8857 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8858 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8859 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8860 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8861 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8862 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8863 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8864 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8868 * sysdeps/s390/multiarch/Makefile
8869 (sysdep_routines): Remove memchr variants.
8870 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8871 * sysdeps/s390/multiarch/ifunc-impl-list.c
8872 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8873 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8874 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8875 * sysdeps/s390/multiarch/memchr.c: Move to ...
8876 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8877 * sysdeps/s390/ifunc-memchr.h: New file.
8878 * sysdeps/s390/s390-64/memchr.S: Move to ...
8879 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8880 for 31/64bit and ifunc handling.
8881 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8882 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8883 * sysdeps/s390/s390-32/memchr.S: Likewise.
8885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8887 * sysdeps/s390/multiarch/Makefile
8888 (sysdep_routines): Remove strcspn variants.
8889 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8890 * sysdeps/s390/multiarch/ifunc-impl-list.c
8891 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8892 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8893 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8894 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8895 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8896 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8897 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8898 * sysdeps/s390/ifunc-strcspn.h: New file.
8900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8902 * sysdeps/s390/multiarch/Makefile
8903 (sysdep_routines): Remove strpbrk variants.
8904 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8905 * sysdeps/s390/multiarch/ifunc-impl-list.c
8906 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8907 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8908 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8909 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8910 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8911 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8912 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8913 * sysdeps/s390/ifunc-strpbrk.h: New file.
8915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8917 * sysdeps/s390/multiarch/Makefile
8918 (sysdep_routines): Remove strspn variants.
8919 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8920 * sysdeps/s390/multiarch/ifunc-impl-list.c
8921 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8922 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8923 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8924 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8925 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8926 * sysdeps/s390/multiarch/strspn.c: Move to ...
8927 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8928 * sysdeps/s390/ifunc-strspn.h: New file.
8930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8932 * sysdeps/s390/multiarch/Makefile
8933 (sysdep_routines): Remove strrchr variants.
8934 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8935 * sysdeps/s390/multiarch/ifunc-impl-list.c
8936 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8937 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8938 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8939 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8940 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8941 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8942 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8943 * sysdeps/s390/ifunc-strrchr.h: New file.
8945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8947 * sysdeps/s390/multiarch/Makefile
8948 (sysdep_routines): Remove strchrnul variants.
8949 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8950 * sysdeps/s390/multiarch/ifunc-impl-list.c
8951 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8952 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8953 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8954 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8955 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8956 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8957 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8958 * sysdeps/s390/ifunc-strchrnul.h: New file.
8960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8962 * sysdeps/s390/multiarch/Makefile
8963 (sysdep_routines): Remove strchr variants.
8964 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8965 * sysdeps/s390/multiarch/ifunc-impl-list.c
8966 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8967 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8968 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8969 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8970 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8971 * sysdeps/s390/multiarch/strchr.c: Move to ...
8972 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8973 * sysdeps/s390/ifunc-strchr.h: New file.
8975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8977 * sysdeps/s390/multiarch/Makefile
8978 (sysdep_routines): Remove strncmp variants.
8979 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8980 * sysdeps/s390/multiarch/ifunc-impl-list.c
8981 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8982 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8983 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8984 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8985 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8986 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8987 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8988 * sysdeps/s390/ifunc-strncmp.h: New file.
8990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8992 * sysdeps/s390/multiarch/Makefile
8993 (sysdep_routines): Remove strcmp variants.
8994 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8995 * sysdeps/s390/multiarch/ifunc-impl-list.c
8996 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8997 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8998 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8999 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9000 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9001 * sysdeps/s390/ifunc-strcmp.h: New file.
9002 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9003 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9004 for 31/64bit and ifunc handling.
9005 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9006 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9007 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9009 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9011 * sysdeps/s390/multiarch/Makefile
9012 (sysdep_routines): Remove strncat variants.
9013 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9014 * sysdeps/s390/multiarch/ifunc-impl-list.c
9015 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9016 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9017 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9018 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9019 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9020 * sysdeps/s390/multiarch/strncat.c: Move to ...
9021 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9022 * sysdeps/s390/ifunc-strncat.h: New file.
9024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9026 * sysdeps/s390/multiarch/Makefile
9027 (sysdep_routines): Remove strcat variants.
9028 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9029 * sysdeps/s390/multiarch/ifunc-impl-list.c
9030 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9031 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9032 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9033 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9034 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9035 * sysdeps/s390/multiarch/strcat.c: Move to ...
9036 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9037 * sysdeps/s390/ifunc-strcat.h: New file.
9039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9041 * sysdeps/s390/multiarch/Makefile
9042 (sysdep_routines): Remove stpncpy variants.
9043 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9044 * sysdeps/s390/multiarch/ifunc-impl-list.c
9045 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9046 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9047 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9048 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9049 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9050 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9051 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9052 * sysdeps/s390/ifunc-stpncpy.h: New file.
9054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9056 * sysdeps/s390/multiarch/Makefile
9057 (sysdep_routines): Remove strncpy variants.
9058 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9059 * sysdeps/s390/multiarch/ifunc-impl-list.c
9060 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9061 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9062 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9063 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9064 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9065 * sysdeps/s390/ifunc-strncpy.h: New file.
9066 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9067 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9068 and adjust ifunc handling.
9069 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9070 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9071 and adjust ifunc handling.
9072 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9073 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9077 * sysdeps/s390/multiarch/Makefile
9078 (sysdep_routines): Remove stpcpy variants.
9079 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9080 * sysdeps/s390/multiarch/ifunc-impl-list.c
9081 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9082 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9083 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9084 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9085 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9086 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9087 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9088 * sysdeps/s390/ifunc-stpcpy.h: New file.
9090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9092 * sysdeps/s390/multiarch/Makefile
9093 (sysdep_routines): Remove strcpy variants.
9094 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9095 * sysdeps/s390/multiarch/ifunc-impl-list.c
9096 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9097 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9098 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9099 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9100 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9101 * sysdeps/s390/ifunc-strcpy.h: New file.
9102 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9103 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9104 for 31/64bit and ifunc handling.
9105 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9106 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9107 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9111 * sysdeps/s390/multiarch/Makefile
9112 (sysdep_routines): Remove strnlen variants.
9113 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9114 * sysdeps/s390/multiarch/ifunc-impl-list.c
9115 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9116 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9117 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9118 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9119 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9120 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9121 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9122 * sysdeps/s390/ifunc-strnlen.h: New file.
9124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9126 * sysdeps/s390/multiarch/Makefile
9127 (sysdep_routines): Remove strlen variants.
9128 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9129 * sysdeps/s390/multiarch/ifunc-impl-list.c
9130 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9131 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9132 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9133 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9134 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9135 * sysdeps/s390/multiarch/strlen.c: Move to ...
9136 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9137 * sysdeps/s390/ifunc-strlen.h: New file.
9139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9141 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9142 * sysdeps/s390/multiarch/ifunc-impl-list.c
9143 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9144 * sysdeps/s390/ifunc-memmem.h: New file.
9145 * sysdeps/s390/memmem.c: Likewise.
9146 * sysdeps/s390/memmem-c.c: Likewise.
9147 * sysdeps/s390/memmem-vx.c: Likewise.
9149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9151 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9152 * sysdeps/s390/multiarch/ifunc-impl-list.c
9153 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9154 * sysdeps/s390/ifunc-strstr.h: New file.
9155 * sysdeps/s390/strstr.c: Likewise.
9156 * sysdeps/s390/strstr-c.c: Likewise.
9157 * sysdeps/s390/strstr-vx.c: Likewise.
9159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9161 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9162 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9163 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9164 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9166 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9167 * sysdeps/s390/memmove-c.c: New file.
9168 * sysdeps/s390/memmove.c: Likewise.
9169 * sysdeps/s390/multiarch/ifunc-impl-list.c
9170 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9174 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9175 * sysdeps/s390/configure.ac: Add check for z13 support.
9176 * sysdeps/s390/configure: Regenerated.
9178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9180 * sysdeps/s390/memcopy.h: New file.
9182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9184 * sysdeps/s390/s390-32/bcopy.S: Remove.
9185 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9187 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9189 * sysdeps/s390/ifunc-memcpy.h: New File.
9190 * sysdeps/s390/memcpy.S: Move to ...
9191 * sysdeps/s390/memcpy-z900.S ... here.
9192 Move implementations from memcpy-s390x.s to here.
9193 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9194 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9195 Remove memcpy/mempcpy variants.
9196 * sysdeps/s390/Makefile (sysdep_routines):
9197 Add memcpy/mempcpy variants.
9198 * sysdeps/s390/multiarch/ifunc-impl-list.c
9199 (__libc_ifunc_impl_list): Adjust ifunc variants for
9201 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9203 * sysdeps/s390/memcpy.c: ... here.
9204 Adjust ifunc variants for memcpy.
9205 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9206 * sysdeps/s390/mempcpy.c: ... here.
9207 Adjust ifunc variants for mempcpy.
9208 * sysdeps/s390/mempcpy.S: Delete file.
9210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9212 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9213 * sysdeps/s390/memcpy.S: ... here.
9214 Adjust to be usable for 31/64bit.
9215 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9216 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9217 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9218 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9219 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9220 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9221 Adjust to be usable for 31/64bit.
9222 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9223 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9224 * sysdeps/s390/multiarch/memcpy.c: ... here.
9225 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9227 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9229 * sysdeps/s390/ifunc-memcmp.h: New File.
9230 * sysdeps/s390/memcmp.S: Move to ...
9231 * sysdeps/s390/memcmp-z900.S ... here.
9232 Move implementations from memcmp-s390x.s to here.
9233 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9234 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9235 Remove memcmp variants.
9236 * sysdeps/s390/Makefile (sysdep_routines):
9237 Add memcmp variants.
9238 * sysdeps/s390/multiarch/ifunc-impl-list.c
9239 (__libc_ifunc_impl_list): Adjust ifunc variants for
9241 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9243 * sysdeps/s390/memcmp.c: ... here.
9244 Adjust ifunc variants for memcmp.
9246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9248 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9249 * sysdeps/s390/memcmp.S: ... here.
9250 Adjust to be usable for 31/64bit.
9251 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9252 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9253 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9255 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9256 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9257 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9258 Adjust to be usable for 31/64bit.
9259 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9260 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9261 * sysdeps/s390/multiarch/memcmp.c: ... here.
9262 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9264 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9266 * sysdeps/s390/s390-32/bzero.S: Delete file.
9267 * sysdeps/s390/s390-64/bzero.S: Likewise.
9268 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9269 * sysdeps/s390/bzero.c: New file.
9270 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9271 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9272 * sysdeps/s390/multiarch/ifunc-impl-list.c
9273 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9277 * sysdeps/s390/ifunc-memset.h: New File.
9278 * sysdeps/s390/memset.S: Move to ...
9279 * sysdeps/s390/memset-z900.S ... here.
9280 Move implementations from memset-s390x.s to here.
9281 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9282 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9283 Remove memset variants.
9284 * sysdeps/s390/Makefile (sysdep_routines):
9285 Add memset variants.
9286 * sysdeps/s390/multiarch/ifunc-impl-list.c
9287 (__libc_ifunc_impl_list): Adjust ifunc variants for
9289 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9291 * sysdeps/s390/memset.c: ... here.
9292 Adjust ifunc variants for memset.
9294 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9296 * sysdeps/s390/s390-64/memset.S: Move to ...
9297 * sysdeps/s390/memset.S: ... here.
9298 Adjust to be usable for 31/64bit.
9299 * sysdeps/s390/s390-32/memset.S: Delete File.
9300 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9301 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9303 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9304 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9305 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9306 Adjust to be usable for 31/64bit.
9307 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9308 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9309 * sysdeps/s390/multiarch/memset.c: ... here.
9310 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9314 * sysdeps/s390/multiarch/ifunc-resolve.h
9315 (s390_libc_ifunc_init, s390_libc_ifunc,
9316 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9318 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9320 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9321 * sysdeps/s390/configure.ac: Add check for z10 support.
9322 * sysdeps/s390/configure: Regenerated.
9324 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9326 * sysdeps/i386/atomic-machine.h: Merged with ...
9327 * sysdeps/x86_64/atomic-machine.h: To ...
9328 * sysdeps/x86/atomic-machine.h: This. New file.
9330 2018-12-18 Florian Weimer <fweimer@redhat.com>
9332 Rewrite locale/gen-translit.pl in Python.
9333 * locale/Makefile (generated): Add C-translit.h.
9334 (before-compile): Add $(objpfx)C-translit.h.
9335 (C-translit.h): Move to $(objpfx). Create target directory.
9336 Build using Python script.
9337 * locale/gen-translit.py: New file.
9338 * locale/gen-translit.pl: Remove file.
9339 * locale/C-translit.h.in: Change comment character to '#' for
9340 easier parsing without a C preprocessor.
9341 * locale/C-translit.h: Remove generated file.
9342 * manual/install.texi (Tools for Compilation): Do not mention
9344 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9345 Remove locale/C-translit.h.
9346 * scripts/update-copyrights: Likewise.
9347 * INSTALL: Regenerate.
9349 2018-12-18 Florian Weimer <fweimer@redhat.com>
9352 * localedata/locales/bi_VU: Remove executable bit from file.
9354 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9357 (__localtime64): Add.
9358 * manual/maint.texi: Document Y2038 symbol handling.
9360 (__localtime64): Add.
9361 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9363 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9365 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9368 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9369 to allow extra macros from first or second sources.
9370 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9371 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9372 (tests-special): Add $(objpfx)tst-mman-consts.out.
9373 ($(objpfx)tst-mman-consts.out): New makefile target.
9375 2018-12-17 Mao Han <han_mao@c-sky.com>
9377 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9378 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9379 without stat64 system call support.
9380 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9381 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9382 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9383 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9384 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9385 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9386 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9387 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9388 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9389 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9390 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9392 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9394 regex: fix storage-exhaustion error
9396 * posix/regexec.c (get_subexp):
9397 Do not continue if storage is exhausted.
9399 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9401 regex: fix heap-use-after-free error
9403 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9404 https://debbugs.gnu.org/32592
9405 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9406 call extend_buffers which reallocates the re_string_t internal buffer.
9407 Local variable 'buf' was not updated in such case, resulting in
9409 * posix/regexec.c (get_subexp): Update 'buf' after call to
9412 2018-12-15 Florian Weimer <fweimer@redhat.com>
9414 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9415 (minimum_stride_size): Use it.
9416 (support_blob_repeat_allocate): Likewise.
9418 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9420 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9425 2018-12-14 Florian Weimer <fweimer@redhat.com>
9427 * manual/process.texi (Process Creation Concepts): Remove
9428 documentation of process (ID) lifetime. List more process
9429 creation functions. Reference Process Identification section.
9430 (Process Identification): Add information about process ID
9431 lifetime. Describe Linux thread/task IDs.
9432 * manual/signal.texi (Signaling Another Process): Mention that the
9433 signal is always sent to the process.
9435 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9437 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9438 and tst-ldbl-efgcvt.
9439 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9440 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9441 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9442 (fcvt_tests, output_error, output_r_error, do_test): Use the
9443 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9444 select the type of floating-point variables and arguments; to
9445 produce extra tests for double and conversion specifiers for
9446 printf; and to set the names of called functions.
9447 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9448 in tst-efgcvt-template.c.
9449 * misc/tst-ldbl-efgcvt.c: Likewise.
9451 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9453 * nss/Makefile (tst-nss-test3.out): New rule.
9455 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9457 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9460 2018-12-13 fanjinke <fanjinke@hygon.cn>
9462 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9465 2018-12-13 Andreas Schwab <schwab@suse.de>
9468 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9469 (__pthread_rwlock_rdlock_full): Update expected value for
9470 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9471 * nptl/tst-rwlock-pwn.c: New file.
9472 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9474 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9476 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9479 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9481 * benchtests/scripts/compare_bench.py (do_compare): write to
9482 stderr in casestat is not present.
9483 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9484 stderr in case timings field is not present. Also string showing
9485 the output filename goes into the stderr.
9487 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9489 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9490 and ZeroDivisorError exceptions.
9491 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9492 argument to loop through user provided statistics.
9493 * benchtests/scripts/compare_bench.py (main): Include the --stats
9496 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9498 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9501 2018-12-12 Florian Weimer <fweimer@redhat.com>
9503 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9504 clause to copyright header.
9506 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9509 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9510 registers saved in the stack frame.
9511 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9512 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9514 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9516 * include/bits/monetary-ldbl.h: New file.
9517 * include/bits/printf-ldbl.h: Likewise.
9518 * include/bits/stdio-ldbl.h: Likewise.
9519 * include/bits/stdlib-ldbl.h: Likewise.
9520 * include/bits/syslog-ldbl.h: Likewise.
9521 * include/bits/wchar-ldbl.h: Likewise.
9523 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9525 * libio/libio.h: Remove redirection for _IO_vfprintf.
9527 2018-12-11 Andreas Schwab <schwab@suse.de>
9529 * Makerules: Remove all references to abilist-pattern.
9530 (update-all-abi): Simplify find expression.
9532 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9535 * math/auto-libm-test-in: Add new test case.
9536 * math/auto-libm-test-out-pow: Regenerated.
9537 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9539 2018-12-10 DJ Delorie <dj@redhat.com>
9542 * support/test-container.c: Move postclean step to before we
9545 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9547 * scripts/gen-as-const.py (main): Handle --python option.
9548 * scripts/gen-py-const.awk: Remove.
9549 * Makerules (py-const-script): Use gen-as-const.py.
9550 ($(py-const)): Likewise.
9551 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9552 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9553 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9554 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9555 ~PTHREAD_MUTEX_NO_ELISION_NP.
9556 * manual/README.pretty-printers: Update reference to
9559 * scripts/glibcextract.py: New file.
9560 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9561 or tempfile. Import glibcexctract.
9562 (compute_c_consts): Remove. Moved to glibcextract.py.
9563 (gen_test): Update reference to compute_c_consts.
9565 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9566 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9567 * sysdeps/unix/sysv/linux/Makefile
9568 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9569 Redirect stderr as well as stdout.
9571 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9574 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9575 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9576 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9577 ALWAYS_USE_VSYSCALL.
9578 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9579 ALWAYS_USE_VSYSCALL.
9580 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9581 ALWAYS_USE_VSYSCALL.
9583 2018-12-10 Florian Weimer <fweimer@redhat.com>
9586 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9587 offset instead of count for clarity. Fix typo in comment.
9588 (__old_getdents64): Keep track of previous offset. Use it to call
9590 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9591 that d_off is never zero.
9593 2018-12-10 Andreas Schwab <schwab@suse.de>
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9596 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9598 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9599 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9601 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9603 * timezone/private.h: Update from tzcode 2018g.
9604 * timezone/tzfile.h: Likewise.
9605 * timezone/tzselect.ksh: Likewise.
9606 * timezone/zdump.c: Likewise.
9607 * timezone/zic.c: Likewise.
9609 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9612 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9613 (do_test): Adjust buffer size and fix format.
9615 2018-12-07 DJ Delorie <dj@redhat.com>
9618 * malloc/tst-tcfree3.c: New.
9619 * malloc/Makefile: Add it.
9621 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9623 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9625 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9627 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9628 used as a mask for the mode argument of __vfscanf_internal and
9629 __vfwscanf_internal.
9630 * stdio-common/vfscanf-internal.c
9631 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9632 (__strtof128_internal): Define to __wcstof128_internal.
9633 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9634 __strtof128_internal or __wcstof128_internal when the format of
9635 long double is the same as _Float128.
9637 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9639 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9640 * posix/confstr.c (confstr): Rename to __confstr.
9641 (__confstr): Add hidden def.
9642 (confstr): Add weak alias for __confstr.
9643 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9646 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9648 * NEWS: Mention getcpu.
9649 * include/sched.h (__getcpu): New libc_hidden_proto.
9650 * manual/resource.texi: Document getcpu.
9651 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9652 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9653 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9655 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9657 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9658 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9661 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9662 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9665 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9666 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9667 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9676 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9677 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9678 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9679 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9682 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9683 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9684 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9685 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9686 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9689 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9691 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9693 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9695 2018-12-07 Florian Weimer <fweimer@redhat.com>
9698 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9699 * posix/Versions (GLIBC_2.29): Export
9700 posix_spawn_file_actions_addfchdir_np.
9701 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9702 * posix/spawn_faction_destroy.c
9703 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9704 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9705 and the field action.fchdir_action.
9706 * posix/tst-spawn-chdir.c (add_chdir): New function.
9707 (do_test): Add do_fchdir loop. Call add_chdir.
9708 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9709 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9710 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9711 posix_spawn_file_actions_addfchdir_np.
9712 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9714 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9716 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9717 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9719 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9721 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9723 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9725 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9727 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9729 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9730 (GLIBC_2.29): Likewise.
9731 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9732 (GLIBC_2.29): Likewise.
9733 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9734 (GLIBC_2.29): Likewise.
9735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9736 (GLIBC_2.29): Likewise.
9737 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9740 (GLIBC_2.29): Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9742 (GLIBC_2.29): Likewise.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9744 (GLIBC_2.29): Likewise.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9746 (GLIBC_2.29): Likewise.
9747 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9751 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9753 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9758 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9760 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9763 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9765 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9766 trailing whitespace removed.
9767 * scripts/config.guess: Update to version 2018-11-28.
9768 * scripts/config.sub: Update to version 2018-11-28.
9769 * scripts/install-sh: Update to version 2018-03-11.20.
9770 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9771 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9773 2018-12-07 Florian Weimer <fweimer@redhat.com>
9777 * inet/tst-if_index-long.c: New file.
9778 * inet/Makefile (tests): Add tst-if_index-long.
9780 2018-12-07 Florian Weimer <fweimer@redhat.com>
9782 * support/check.h (support_record_failure_is_failed): Declare.
9783 * support/descriptors.h: New file.
9784 * support/support_descriptors.c: Likewise.
9785 * support/tst-support_descriptors.c: Likewise.
9786 * support/support_record_failure.c
9787 (support_record_failure_is_failed): New function.
9788 * support/Makefile (libsupport-routines): Add support_descriptors.
9789 (tests): Add tst-support_descriptors.
9791 2018-12-05 Zack Weinberg <zackw@panix.com>
9792 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9794 * stdio-common/vfprintf-internal.c
9795 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9796 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9798 and __no_long_double.
9799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9800 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9802 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9803 and __nldbl_*syslog* functions.
9804 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9805 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9806 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9807 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9808 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9809 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9810 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9811 (__nldbl_vwprintf, __nldbl_wprintf):
9812 Directly call the appropriate __v*printf_internal routine, passing
9813 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9815 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9816 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9817 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9818 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9819 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9820 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9821 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9822 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9823 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9824 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9825 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9826 (__nldbl_syslog, __nldbl_vsyslog):
9827 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9828 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9830 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9833 2018-12-05 Zack Weinberg <zackw@panix.com>
9834 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9837 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9838 Moved here from debug/vsprintf_chk.c.
9839 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9840 and completion logic for the strfile to match exactly what
9841 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9842 _IO_str_init_static_internal instead of maxlen-1.
9843 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9844 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9845 __vsprintf_internal.
9847 * debug/vsprintf_chk.c (__vsprintf_chk)
9848 * debug/sprintf_chk.c (__sprintf_chk):
9849 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9850 'flags' argument is positive, and slen as maxlen. No need to lock
9851 the FILE and/or construct a temporary FILE. Minimize and normalize
9852 header inclusions and variable names. Do not libc_hidden_def anything.
9854 * debug/asprintf_chk.c (__asprintf_chk)
9855 * debug/dprintf_chk.c (__dprintf_chk)
9856 * debug/fprintf_chk.c (__fprintf_chk)
9857 * debug/fwprintf_chk.c (__fwprintf_chk)
9858 * debug/printf_chk.c (__printf_chk)
9859 * debug/snprintf_chk.c (__snprintf_chk)
9860 * debug/swprintf_chk.c (__swprintf_chk)
9861 * debug/vasprintf_chk.c (__vasprintf_chk)
9862 * debug/vdprintf_chk.c (__vdprintf_chk)
9863 * debug/vfprintf_chk.c (__vfprintf_chk)
9864 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9865 * debug/vprintf_chk.c (__vprintf_chk)
9866 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9867 * debug/vswprintf_chk.c (__vswprintf_chk)
9868 * debug/vwprintf_chk.c (__vwprintf_chk)
9869 * debug/wprintf_chk.c (__wprintf_chk):
9870 Directly call the corresponding vxxprintf_internal function, passing
9871 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9872 the FILE and/or construct a temporary FILE. Minimize and normalize
9873 header inclusions and variable names. Do not libc_hidden_def anything.
9875 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9876 __obstack_vprintf_internal.
9877 (__obstack_vprintf_chk): Convert into a wrapper that calls
9878 __obstack_vprintf_internal (these two functions already had the
9879 same code) and move to new file...
9880 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9882 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9883 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9884 * debug/Makefile (routines): Add vobprintf_chk.
9886 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9887 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9888 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9889 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9890 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9891 (__nldbl___obstack_vfprintf_chk):
9892 Directly call the corresponding vxxprintf_internal function,
9893 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9894 duplicate comparison of slen with 0 or maxlen from the corresponding
9895 non-__nldbl function.
9897 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9898 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9899 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9900 Remove libc_hidden_proto.
9902 * stdio-common/vfprintf-internal.c
9903 (__vfprintf_internal, __vfwprintf_internal):
9904 Do not check _IO_FLAGS2_FORTIFY.
9905 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9906 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9907 a comment explaining why it has the maxlen argument.
9908 (_IO_acquire_lock_clear_flags2_fct): Remove.
9909 (_IO_acquire_lock_clear_flags2): Remove.
9910 (_IO_release_lock): Remove conditional statement which will
9912 (_IO_acquire_lock): Remove variable which is now unused.
9913 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9914 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9916 * stdio-common/Makefile (tests): Add tst-bz11319 and
9917 tst-bz11319-fortify2.
9918 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9919 * stdio-common/tst-bz11319-fortify2.c: New file.
9920 * stdio-common/tst-bz11319.c: Likewise.
9922 2018-12-05 Zack Weinberg <zackw@panix.com>
9923 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9925 * misc/syslog.c: Include libioP.h, not iolibio.h.
9926 (__vsyslog_internal): New function with the former body of
9927 __vsyslog_chk; takes mode_flags argument same as
9928 __v*printf_internal. Call __vfprintf_internal directly.
9930 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9931 Remove libc_hidden_def.
9932 (__syslog, __syslog_chk): Use __vsyslog_internal.
9933 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9935 * include/sys/syslog.h: Add multiple inclusion guard.
9936 Add prototype for __vsyslog_internal.
9937 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9940 Use __vsyslog_internal.
9942 2018-12-05 Zack Weinberg <zackw@panix.com>
9943 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9945 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9946 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9947 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9949 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9950 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9952 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9953 Include wctype.h here if COMPILE_WPRINTF is defined.
9954 Define __vfprintf_internal or __vfwprintf_internal, depending
9956 Temporarily, on entry to this function, update mode_flags
9957 according to the environmental settings corresponding to
9958 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9959 Throughout, check mode_flags instead of __ldbl_is_dbl and
9960 _IO_FLAGS2_FORTIFY on the destination FILE.
9961 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9962 Include vfprintf-internal.c. Don't include wctype.h.
9963 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9964 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9966 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9967 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9969 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9971 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9972 and add mode_flags argument; use __vfprintf_internal.
9973 (__vdprintf): New function. Alias vdprintf to this.
9974 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9975 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9976 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9977 (__obstack_printf): Use __obstack_printf_internal.
9978 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9979 public aliases __vsnprintf and vsnprintf.
9980 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9982 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9983 public aliases _IO_vsprintf and vsprintf.
9984 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9985 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9986 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9987 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9988 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9990 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9991 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9992 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9993 * stdio-common/printf.c: Use __vfprintf_internal.
9995 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9996 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9997 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9999 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10000 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10001 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10002 __vfwprintf_internal.
10004 * libio/libio.h: Remove libc_hidden_proto and declaration for
10006 Remove declaration of _IO_vfwprintf.
10007 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10009 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10010 _IO_obstack_printf.
10011 * include/stdio.h: Add prototype for __vasprintf.
10012 (__vsnprintf): Remove declaration, because there are no more
10014 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10015 declaration, because there are no more internal calls.
10017 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10018 __vsnprintf_internal, instead of _IO_vsnprintf.
10019 * argp/argp-help.c (__argp_error, __argp_failure): Use
10020 __vasprintf_internal, instead of _IO_vasprintf.
10021 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10022 redefine, because there are no more internal calls.
10024 2018-12-05 Zack Weinberg <zackw@panix.com>
10025 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10027 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10028 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10029 Include libio/strfile.h instead of libioP.h.
10030 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10031 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10032 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10033 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10034 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10035 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10036 necessary. Do not set __no_long_double. Normalize variable names.
10037 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10038 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10039 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10040 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10041 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10042 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10043 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10044 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10045 Do not set __no_long_double. Normalize variable names.
10047 2018-12-05 Zack Weinberg <zackw@panix.com>
10048 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10050 * stdio-common/isoc99_scanf.c
10051 * stdio-common/isoc99_fscanf.c
10052 * stdio-common/isoc99_sscanf.c
10053 * stdio-common/isoc99_vscanf.c
10054 * stdio-common/isoc99_vfscanf.c
10055 * stdio-common/isoc99_vsscanf.c
10056 * wcsmbs/isoc99_wscanf.c
10057 * wcsmbs/isoc99_fwscanf.c
10058 * wcsmbs/isoc99_swscanf.c
10059 * wcsmbs/isoc99_vwscanf.c
10060 * wcsmbs/isoc99_vfwscanf.c
10061 * wcsmbs/isoc99_vswscanf.c:
10062 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10063 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10064 No need to lock and unlock the FILE passed to that function.
10066 * stdio-common/vfscanf-internal.c
10067 (__vfscanf_internal, __vfwscanf_internal):
10068 Don't look at _IO_FLAGS2_SCANF_STD.
10069 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10070 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10071 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10073 2018-12-05 Zack Weinberg <zackw@panix.com>
10074 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10076 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10077 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10078 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10079 * libio/strfile.h: Add multiple inclusion guard.
10080 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10082 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10083 consistency with the other version of this file.
10084 (ldbl_compat_symbol): New macro.
10085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10088 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10089 Define __vfscanf_internal or __vfwscanf_internal, depending on
10090 COMPILE_WSCANF; don't define any other public symbols.
10091 Remove errval and code to set errp.
10092 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10093 as the mode_flags argument.
10094 (encode_error, conv_error, input_error): Don't set errval.
10095 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10096 Include vfscanf-internal.c.
10097 * stdio-common/vfscanf.c: New file defining the public entry
10098 point vfscanf, which calls __vfscanf_internal.
10099 * stdio-common/vfwscanf.c: New file defining the public entry
10100 point vfwscanf, which calls __vfwscanf_internal.
10102 * stdio-common/iovfscanf.c: New file.
10103 * stdio-common/iovfwscanf.c: Likewise.
10105 * stdio-common/Makefile (routines): Add vfscanf-internal,
10106 vfwscanf-internal, iovfscanf, iovfwscanf.
10107 * stdio-common/Versions: Mention GLIBC_2.29, so that
10108 it can be used in SHLIB_COMPAT expressions.
10109 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10110 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10111 Call __vfscanf_internal, instead of _IO_vfscanf.
10112 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10114 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10117 * libio/iovsscanf.c: Clean up includes, when possible. Use
10118 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10119 __vfscanf_internal or __vfwscanf_internal directly.
10120 * libio/iovswscanf.c: Likewise.
10121 * libio/swscanf.c: Likewise.
10122 * libio/vscanf.c: Likewise.
10123 * libio/vwscanf.c: Likewise.
10124 * libio/wscanf.c: Likewise.
10125 * stdio-common/isoc99_fscanf.c: Likewise.
10126 * stdio-common/isoc99_scanf.c: Likewise.
10127 * stdio-common/isoc99_sscanf.c: Likewise.
10128 * stdio-common/isoc99_vfscanf.c: Likewise.
10129 * stdio-common/isoc99_vscanf.c: Likewise.
10130 * stdio-common/isoc99_vsscanf.c: Likewise.
10131 * stdio-common/scanf.c: Likewise.
10132 * stdio-common/sscanf.c: Likewise.
10133 * wcsmbs/isoc99_fwscanf.c: Likewise.
10134 * wcsmbs/isoc99_swscanf.c: Likewise.
10135 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10136 * wcsmbs/isoc99_vswscanf.c: Likewise.
10137 * wcsmbs/isoc99_vwscanf.c: Likewise.
10138 * wcsmbs/isoc99_wscanf.c: Likewise.
10140 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10143 (__tz_compute): Replace time_t with __time64_t.
10144 (__tz_convert): Replace time_t* with __time64_t.
10145 (__offtime): Replace time_t* with __time64_t.
10147 (__gmtime_r): Adjust call to __tz_convert.
10148 (gmtime): Likewise.
10150 (__localtime_r): Likewise.
10151 (localtime): Likewise.
10152 * time/offtime.c: Replace time_t with __time64_t.
10153 * time/tzset.c: Likewise.
10155 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10157 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10158 dynamic linker unless [$(run-built-tests) = yes].
10160 2018-12-03 DJ Delorie <dj@delorie.com>
10162 * support/test-container.c (check_for_unshare_hints): New.
10163 (main): Call it if unshare fails. Add support for "su" scriptlet
10166 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10168 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10169 'START' to indicate that start text should be output.
10170 (gen_test): Likewise.
10171 (main): Generate 'START' for first symbol or '--' line, or at end
10172 of input if not previously generated.
10174 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10177 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10178 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10179 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10180 ALWAYS_USE_VSYSCALL.
10182 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10185 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10188 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10191 * locale/programs/localedef.c: Declare boolean hard_links default true.
10192 (options): Add --no-hard-links option.
10193 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10194 * locale/programs/localedef.h: Declare prototype for hard_links.
10195 * locale/programs/locfile.c (write_locale_data): Don't use hard
10196 links if hard_links is false.
10198 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10200 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10201 cpu_features_basic.
10202 (__cache_sysconf): Likewise.
10203 (init_cacheinfo): Likewise.
10204 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10205 populate COMMON_CPUID_INDEX_80000007 and
10206 COMMON_CPUID_INDEX_80000008.
10207 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10208 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10209 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10210 (init_cpu_features): Use _Static_assert on
10211 index_arch_Fast_Unaligned_Load.
10212 __get_cpuid_registers and __get_arch_feature. Updated for
10213 cpu_features_basic. Set stepping in cpu_features.
10214 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10215 (FEATURE_INDEX_2): New.
10216 (FEATURE_INDEX_MAX): Changed to enum.
10217 (COMMON_CPUID_INDEX_D_ECX_1): New.
10218 (COMMON_CPUID_INDEX_80000007): Likewise.
10219 (COMMON_CPUID_INDEX_80000008): Likewise.
10220 (cpuid_registers): Likewise.
10221 (cpu_features_basic): Likewise.
10222 (CPU_FEATURE_USABLE): Likewise.
10223 (bit_arch_XXX_Usable): Likewise.
10224 (cpu_features): Use cpuid_registers and cpu_features_basic.
10225 (bit_arch_XXX): Reweritten.
10226 (bit_cpu_XXX): Likewise.
10227 (index_cpu_XXX): Likewise.
10228 (reg_XXX): Likewise.
10229 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10231 (CHECK_CPU_FEATURE): New.
10232 (CHECK_CPU_FEATURE_USABLE): Likewise.
10233 (cpu_kinds): Likewise.
10234 (do_test): Print vendor, family, model and stepping. Check
10235 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10236 (TEST_FUNCTION): Removed.
10237 Include <support/test-driver.c> instead of
10238 "../../test-skeleton.c".
10239 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10240 Check POPCNT instead of POPCOUNT.
10241 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10243 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10245 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10246 there is no element in `consts'.
10248 2018-12-01 Florian Weimer <fweimer@redhat.com>
10250 * support/support_capture_subprocess.c
10251 (support_capture_subprocess): Check that pipe descriptors have
10252 expected values. Close original pipe descriptors in subprocess.
10254 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10257 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10258 attr with __pthread_default_barrierattr.
10259 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10260 attr with __pthread_default_condattr.
10261 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10262 attr with __pthread_default_mutexattr.
10263 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10264 attr with __pthread_default_rwlockattr.
10266 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10268 * manual/tunables.texi (POSIX Thread Tunables): New node.
10269 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10270 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10271 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10272 __pthread_tunables_init.
10273 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10274 (max_adaptive_count): Define.
10275 * nptl/pthread_mutex_conf.c: New file.
10276 * nptl/pthread_mutex_conf.h: New file.
10277 * sysdeps/generic/adaptive_spin_count.h: New file.
10278 * sysdeps/nptl/dl-tunables.list: New file.
10279 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10280 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10281 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10284 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10287 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10288 * stdlib/on_exit.c (__on_exit): Likewise.
10289 * stdlib/Makefile (tests): Add tst-bz20544.
10290 * stdlib/tst-bz20544.c: New test.
10292 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10295 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10296 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10299 2018-11-30 Florian Weimer <fweimer@redhat.com>
10301 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10302 Extend error logging.
10303 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10306 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10308 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10309 __sigismember instead of sigismember.
10310 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10311 cancel_handler): New definitions.
10312 (do_system): Use posix_spawn instead of fork and execl and remove
10314 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10315 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10316 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10317 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10318 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10319 * sysdeps/unix/sysv/linux/system.c: Likewise.
10323 * NEWS: Add new semantic for atfork with popen and system.
10324 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10327 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10330 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10331 modification order when accessing reloc_result->addr.
10332 * include/link.h (reloc_result): Add field init.
10333 * nptl/Makefile (tests): Add tst-audit-threads.
10334 (modules-names): Add tst-audit-threads-mod1 and
10335 tst-audit-threads-mod2.
10336 Add rules to build tst-audit-threads.
10337 * nptl/tst-audit-threads-mod1.c: New file.
10338 * nptl/tst-audit-threads-mod2.c: Likewise.
10339 * nptl/tst-audit-threads.c: Likewise.
10340 * nptl/tst-audit-threads.h: Likewise.
10342 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10344 * scripts/gen-as-const.py: New file.
10345 * scripts/gen-as-const.awk: Remove.
10346 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10348 ($(objpfx)test-as-const-%.c): Likewise.
10350 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10352 * elf/dl-exception.c: Include <_itoa.h>.
10354 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10356 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10357 returned by __f_setlk.
10359 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10360 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10362 * elf/Makefile (tests-internal): Add tst-create_format1.
10363 * elf/dl-exception.c (_dl_exception_create_format): Support
10365 * elf/tst-create_format1.c: New file.
10367 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10369 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10370 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10372 * argp/argp-help.c (__argp_failure): Likewise.
10374 2018-11-29 Mao Han <han_mao@c-sky.com>
10376 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10377 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10378 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10379 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10380 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10381 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10382 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10383 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10384 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10385 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10386 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10387 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10388 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10389 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10390 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10391 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10392 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10393 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10394 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10395 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10396 (R_CKCORE_TLS_TPOFF32): New defines.
10398 2018-11-29 Florian Weimer <fweimer@redhat.com>
10400 * posix/Makefile (before-compile): Remove testcases.h and
10402 (generated): Add testcases.h and ptestcases.h.
10403 (testcases.h, ptestcases.h): Move to $(objpfx).
10404 (runtests.o): Add dependency on testcases.h.
10405 (runptests.o): Add dependency on ptestcases.h.
10406 * posix/testcases.h, posix/ptestcases.h: Remove files.
10407 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10408 not touch posix/testcases.h and posix/ptestcases.h.
10410 2018-11-28 Florian Weimer <fweimer@redhat.com>
10412 support: Add signal support to support_capture_subprocess_check.
10413 * support/capture_subprocess.h (support_capture_subprocess_check):
10414 Adjust comment and rename parameter.
10415 * support/support_capture_subprocess_check.c
10416 (print_actual_status): New function.
10417 (support_capture_subprocess_check): Support negative
10418 status_or_signal. Call print_actual_status.
10419 * support/tst-support_capture_subprocess.c (do_test): Call
10420 support_capture_subprocess_check.
10421 * libio/tst-vtables-common.c (termination_status)
10422 (init_termination_status): Remove.
10423 (check_for_termination): Adjust support_capture_subprocess_check
10425 (do_test): Remove call to init_termination_status.
10427 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10429 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10430 source directory instead of a copy.
10431 (CommandList.create_copy_dir): Remove.
10433 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10435 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10437 2018-11-28 Florian Weimer <fweimer@redhat.com>
10439 * support/support.h (support_quote_string): Do not use str
10442 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10444 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10445 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10447 2018-11-27 Florian Weimer <fweimer@redhat.com>
10449 * support/support.h (support_quote_string): Declare.
10450 * support/support_quote_string.c: New file.
10451 * support/tst-support_quote_string.c: Likewise.
10452 * support/Makefile (libsupport-routines): Add
10453 support_quote_string.
10454 (tests): Add tst-support_quote_string.
10456 2018-11-27 Florian Weimer <fweimer@redhat.com>
10460 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10461 descriptor leak in case of ENODEV error.
10463 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10466 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10467 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10470 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10472 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10473 Error for unknown lines.
10475 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10477 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10478 Touch additional files.
10480 2018-11-26 Florian Weimer <fweimer@redhat.com>
10483 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10486 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10489 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10490 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10491 SHARED. Include sysdep.h.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10493 ALWAYS_USE_VSYSCALL.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10495 ALWAYS_USE_VSYSCALL.
10497 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10500 * nptl/Makefile (tests-static): Add tst-cond11-static.
10502 * nptl/tst-cond11-static.c: New File.
10503 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10504 tst-affinity-static.
10506 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10508 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10509 (USE_VSYSCALL): Likewise.
10510 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10511 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10518 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10522 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10525 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10527 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10528 (tst-cet-legacy-1a-ARGS): New.
10529 ($(objpfx)tst-cet-legacy-1a): New target.
10530 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10532 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10534 * conform/conformtest.py (CompileSubTest.__init__): Set
10535 self.run_early to False.
10536 (ExecuteSubTest.__init__): Likewise.
10537 (HeaderTests.run): Try running all non-optional, non-XFAILed
10538 compilation tests in a single execution of the compiler.
10540 * conform/conformtest.py (CompileSubTest): New class.
10541 (ExecuteSubTest): Likewise.
10542 (ElementTest.run): Rename to gen_subtests. Append tests to
10543 self.subtests instead of running them.
10544 (ConstantTest.run): Likewise.
10545 (SymbolTest.run): Likewise.
10546 (TypeTest.run): Likewise.
10547 (TagTest.run): Likewise.
10548 (FunctionTest.run): Likewise.
10549 (VariableTest.run): Likewise.
10550 (MacroFunctionTest.run): Likewise.
10551 (MacroStrTest.run): Likewise.
10552 (HeaderTests.handle_test_line): Generate subtests for tests.
10553 (HeaderTests.run): Run subtests for tests.
10555 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10557 * math/Versions (GLIBC_2.29): Add pow.
10558 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10560 * math/w_pow.c: New file.
10561 * sysdeps/i386/fpu/w_pow.c: New file.
10562 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10564 and add necessary aliases.
10565 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10566 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10567 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10568 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10569 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10570 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10571 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10572 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10573 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10574 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10575 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10576 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10577 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10578 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10579 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10584 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10585 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10586 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10588 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10591 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10594 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10595 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10597 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10599 * math/Versions (GLIBC_2.29): Add log2.
10600 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10602 * math/w_log2.c: New file.
10603 * sysdeps/i386/fpu/w_log2.c: New file.
10604 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10605 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10606 and add necessary aliases.
10607 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10608 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10634 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10636 * math/Versions (GLIBC_2.29): Add log.
10637 * math/w_log_compat.c (__log_compat): Change to versioned compat
10639 * math/w_log.c: New file.
10640 * sysdeps/i386/fpu/w_log.c: New file.
10641 * sysdeps/ia64/fpu/e_log.S: Update.
10642 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10643 and add necessary aliases.
10644 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10645 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10646 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10650 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10653 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10658 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10666 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10668 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10669 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10670 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10672 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10673 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10674 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10675 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10677 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10679 * math/Versions (GLIBC_2.29): Add exp and exp2.
10680 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10681 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10682 * math/w_exp_compat.c (__exp_compat): Likewise.
10683 * math/w_exp.c: New file.
10684 * math/w_exp2.c: New file.
10685 * sysdeps/i386/fpu/w_exp.c: New file.
10686 * sysdeps/i386/fpu/w_exp2.c: New file.
10687 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10688 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10690 and add necessary aliases.
10691 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10692 and add necessary aliases.
10693 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10694 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10695 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10696 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10697 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10698 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10699 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10703 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10704 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10705 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10706 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10708 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10709 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10714 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10715 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10716 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10717 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10718 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10719 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10720 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10721 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10722 (__ieee754_exp): Rename to __exp.
10723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10724 (__ieee754_exp): Rename to __exp.
10725 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10726 (__ieee754_exp): Rename to __exp.
10727 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10729 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10731 2018-11-20 DJ Delorie <dj@redhat.com>
10733 * malloc/malloc.c (tcache_entry): Add key field.
10734 (tcache_put): Set it.
10735 (tcache_get): Likewise.
10736 (_int_free): Check for double free in tcache.
10737 * malloc/tst-tcfree1.c: New.
10738 * malloc/tst-tcfree2.c: New.
10739 * malloc/Makefile: Run the new tests.
10740 * manual/probes.texi: Document memory_tcache_double_free probe.
10742 * dlfcn/dlerror.c (check_free): Prevent double frees.
10744 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10746 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10748 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10750 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10751 in tests. Use names for format arguments.
10752 (ConstantTest.run): Likewise.
10753 (SymbolTest.run): Likewise.
10754 (TypeTest.run): Likewise.
10755 (TagTest.run): Likewise.
10756 (FunctionTest.run): Likewise.
10757 (VariableTest.run): Likewise.
10758 (MacroFunctionTest.run): Likewise.
10759 (MacroStrTest.run): Likewise.
10760 (HeaderTests.__init__): Set self.num_tests.
10761 (HeaderTests.handle_test_line): Set test.num. Increment
10764 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10766 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10767 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10770 2018-11-19 Mao Han <han_mao@c-sky.com>
10772 * scripts/config.guess: Update to version 2018-08-29.
10773 * scripts/config.sub: Update to version 2018-08-29.
10775 2018-11-19 Florian Weimer <fweimer@redhat.com>
10777 support: Print timestamps in timeout handler.
10778 * support/support_test_main.c (print_timestamp): New function.
10779 (signal_handler): Use it to print the termination time and the
10780 time of the last write to standard output.
10782 2018-11-16 Zack Weinberg <zackw@panix.com>
10783 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10785 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10786 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10788 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10789 and add flags argument. Check flags instead of __ldbl_is_dbl when
10790 deciding whether to set is_long_double.
10791 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10792 passing zero for flags argument.
10793 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10795 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10796 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10797 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10798 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10799 variable names. Remove libc_hidden_def/libc_hidden_proto from
10800 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10801 longer called from within the library.
10802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10803 for __nldbl___vstrfmon_l, declare it explicitly.
10805 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10807 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10809 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10811 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10812 F_SETLK64, F_SETLKW64, respectively.
10813 * sysdeps/mach/hurd/f_setlk.c: New file.
10814 * sysdeps/mach/hurd/f_setlk.h: New file.
10815 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10817 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10818 (__libc_fcntl): Move non-flock operations to...
10819 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10820 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10822 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10824 mktime: DEBUG_MKTIME cleanup
10825 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10826 And it’s no longer needed now that glibc and Gnulib both have
10827 their own testing mechanisms for mktime.
10828 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10830 mktime: fix non-EOVERFLOW errno handling
10832 mktime was not properly reporting failures when the underlying
10833 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10834 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10835 The problem could happen on non-glibc platforms, with Gnulib.
10836 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10837 (tm_diff): ... this simpler function, which does not change errno.
10838 All callers changed to deal with errno themselves.
10839 (ranged_convert, __mktime_internal): Return failure immediately if
10840 the underlying function reports any failure other than EOVERFLOW.
10841 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10844 mktime: fix bug with Y2038 DST transition
10846 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10847 mishandle a DST transition that jumps over the Y2038 boundary.
10848 No such DST transitions are known so this is only a theoretical
10849 bug, but we might as well do things right.
10851 mktime: make more room for overflow
10853 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10854 This is so that we can add tm_diff results to a previous guess,
10855 which will be useful in a later patch.
10857 mktime: simplify offset guess
10859 * time/mktime.c (__mktime_internal): Omit excess precision.
10861 mktime: new test for mktime failure
10863 Based on a test suggested by Albert Aribaud in:
10864 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10865 * time/Makefile (tests): Add bug-mktime4.
10866 * time/bug-mktime4.c: New file.
10868 mktime: fix EOVERFLOW bug
10870 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10871 Include libc-config.h, not config.h, for __set_errno.
10872 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10874 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10876 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10877 __attribute_copy__ to copy attributes from name. Drop static qualifier
10878 to avoid warnings about leaf attribute not having effect on static
10881 2018-11-13 Florian Weimer <fweimer@redhat.com>
10883 * malloc/malloc.c (fastbin_push_entry): New function.
10884 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10885 (REMOVE_FB): Remove macro.
10886 (_int_malloc): Use fastbin_pop_entry and reindent.
10887 (_int_free): Use fastbin_push_entry.
10888 (malloc_consolidate): Use atomic_exchange_acquire.
10890 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10892 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10893 alias attribute, not with strong_alias.
10895 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10896 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10897 with additional parameter thread.
10898 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10899 in terms of __hidden_ver2.
10900 (hidden_tls_def): New macro.
10901 (libc_hidden_tls_def): Likewise.
10902 (rtld_hidden_tls_def): Likewise.
10903 (libm_hidden_tls_def): Likewise.
10904 (libmvec_hidden_tls_def): Likewise.
10905 (libresolv_hidden_tls_def): Likewise.
10906 (librt_hidden_tls_def): Likewise.
10907 (libdl_hidden_tls_def): Likewise.
10908 (libnss_files_hidden_tls_def): Likewise.
10909 (libnsl_hidden_tls_def): Likewise.
10910 (libnss_nisplus_hidden_tls_def): Likewise.
10911 (libutil_hidden_tls_def): Likewise.
10912 (libutil_hidden_tls_def): Likweise.
10913 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10914 libc_hidden_tls_def.
10915 (__sim_disabled_exceptions_thread): Likewise.
10916 (__sim_round_mode_thread): Likewise.
10918 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10919 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10920 copy attributes from name.
10922 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10924 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10925 Use __attribute_copy__ to copy attributes from name.
10927 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10928 with __hidden_ver1 call.
10929 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10930 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10931 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10932 (__cosf): Do not declare here.
10933 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10934 (__sincosf): Do not declare here.
10935 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10936 (__sinf): Do not declare here.
10938 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10939 (__BIG_ENDIAN): Likewise.
10940 (__BYTE_ORDER): Likewise.
10941 (strong_alias): Likewise.
10942 (_strong_alias): Likewise.
10944 2018-11-12 Florian Weimer <fweimer@redhat.com>
10946 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10947 function. Move after the definition of in_smallbin_range. Do not
10948 use __builtin_expect for paths that lead to a noreturn function.
10949 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10950 because it is unclear whether this is in fact an unlikely
10952 (_int_malloc, _int_free): Adjust.
10953 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10955 * malloc/arena.c (heap_trim): Likewise.
10957 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10959 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10960 it, free it if needed.
10961 (reauthenticate): Test and use ccwdir.
10962 (child_init_port): In non-resetids case, test and use ccwdir.
10963 (child_chdir): New nested function to set ccwdir.
10964 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10965 * hurd/hurd/port.h (_hurd_port_move): New function.
10966 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10967 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10968 * hurd/Versions (_hurd_port_move): Export function.
10969 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10971 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10972 of dtablesize for allocating dtable_cloexec.
10974 2018-11-09 Martin Sebor <msebor@redhat.com>
10976 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10977 it's already defined.
10978 (_strong_alias): Use __attribute_copy__.
10979 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10980 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10981 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10982 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10983 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10984 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10985 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10986 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10987 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10988 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10989 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10990 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10991 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10992 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10993 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10994 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10995 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10996 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10997 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10999 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11001 * misc/tst-efgcvt.c: Include support/check.h and
11002 support/test-driver.c. Do not include test-skeleton.c.
11003 (error_count): Remove.
11004 (output_error): Replace increments to error_count with calls to
11005 support_record_failure.
11006 (output_r_error): Likewise.
11007 (special): Likewise.
11008 (do_test): Unconditionally return zero.
11009 (TEST_FUNCTION): Remove.
11011 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11013 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11015 ($(linknamespace-header-tests)): Likewise.
11017 * conform/conformtest.py: New file.
11018 * conform/conformtest.pl: Remove.
11019 * conform/GlibcConform.pm: Likewise.
11020 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11021 (KEYWORDS_C99): Likewise.
11022 (KEYWORDS): Likewise.
11023 * conform/Makefile ($(conformtest-header-tests)): Use
11024 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11025 option. Use --header instead of --headers.
11026 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11028 * conform/data/spawn.h-data: Likewise.
11029 * conform/data/fcntl.h-data (openat): Add space after function
11031 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11032 (wcscasecmp_l): Likewise.
11033 * conform/data/termios.h-data (c_cc): Add space after element
11036 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11038 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11039 instead of manually comparing and reporting mismatching strings.
11040 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11041 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11043 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11045 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11046 __ASSUME_SOCKETCALL.
11047 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11048 (__ASSUME_SOCKETCALL): Remove.
11049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11050 (__ASSUME_SOCKETCALL): Likewise.
11051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11052 (__ASSUME_SOCKETCALL): Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11054 (__ASSUME_SOCKETCALL): Likewise.
11055 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11056 (__ASSUME_SOCKETCALL): Likewise.
11057 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11058 (__ASSUME_SOCKETCALL): Likewise.
11059 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11060 (__ASSUME_SOCKETCALL): Likewise.
11062 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11065 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11066 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11067 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11068 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11069 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11072 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11075 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11077 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11081 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11083 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11085 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11087 * support/support_test_compare_string.c
11088 (support_test_compare_string): Fix printf format.
11090 2018-11-07 Florian Weimer <fweimer@redhat.com>
11092 Implement TEST_COMPARE_STRING.
11093 * support/check.h (TEST_COMPARE_STRING): Define.
11094 (support_test_compare_string): Declare.
11095 * support/Makefile (libsupport-routines): Add
11096 support_test_compare_string.
11097 (tests): Add tst-test_compare_string.
11098 * support/support_test_compare_string.c: New file.
11099 * support/tst-test_compare_string.c: Likewise.
11101 2018-11-07 Andreas Schwab <schwab@suse.de>
11104 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11105 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11108 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11111 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11112 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11113 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11114 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11117 2018-11-06 Florian Weimer <fweimer@redhat.com>
11120 * posix/Makefile (routines): Add spawn_faction_addchdir.
11121 (tests): Add tst-spawn-chdir.
11122 * posix/Versions (GLIBC_2.29): Add
11123 posix_spawn_file_actions_addchdir_np.
11124 * posix/spawn_faction_addchdir.c: New file.
11125 * posix/spawn_faction_destroy.c
11126 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11127 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11128 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11130 * posix/tst-spawn-chdir.c: New file.
11131 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11132 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11133 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11134 posix_spawn_file_actions_addchdir_np.
11135 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11137 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11139 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11140 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11142 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11144 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11148 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11153 (GLIBC_2.29): Likewise.
11154 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11155 (GLIBC_2.29): Likewise.
11156 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11157 (GLIBC_2.29): Likewise.
11158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11159 (GLIBC_2.29): Likewise.
11160 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11163 (GLIBC_2.29): Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11165 (GLIBC_2.29): Likewise.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11167 (GLIBC_2.29): Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11169 (GLIBC_2.29): Likewise.
11170 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11172 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11176 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11186 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11188 * misc/Makefile (tests): Add tst-ldbl-error.
11189 * misc/tst-ldbl-error.c: New file.
11191 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11193 * misc/Makefile (tests): Add tst-ldbl-warn.
11194 * misc/tst-ldbl-warn.c: New file.
11196 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11198 * argp/Makefile (tests): Add tst-ldbl-argp.
11199 * argp/tst-ldbl-argp.c: New file.
11201 2018-11-05 Arjun Shankar <arjun@redhat.com>
11203 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11204 __gconv_path_elem and call __gconv_get_path unconditionally.
11206 2018-11-05 Andreas Schwab <schwab@suse.de>
11209 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11210 creating the first helper thread failed.
11212 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11214 * sysdeps/mach/hurd/msync.c: New file.
11216 2018-11-02 Florian Weimer <fweimer@redhat.com>
11218 * support/shell-container.c (copy_func): Call
11219 support_copy_file_range instead of copy_file_range to support
11220 cross-device copies.
11222 2018-11-02 Florian Weimer <fweimer@redhat.com>
11224 * support/test-container.c: Include <libc-pointer-arith.h> for
11227 2018-11-01 Zong Li <zong@andestech.com>
11229 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11230 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11231 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11232 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11234 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11235 variable to avoid overlap arguments.
11237 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11239 * posix/bug-regex22.c (main): Use puts with distinct error
11240 messages for unexpected success of re_compile_pattern, not printf
11241 with NULL argument to %s.
11243 * stdio-common/bug22.c: Include <libc-diag.h>.
11244 (do_test): Disable -Wformat-overflow= warnings around fprintf
11245 calls outputting more than INT_MAX characters.
11246 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11247 around printf call with NULL %s argument.
11250 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11251 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11253 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11254 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11255 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11256 (__ASSUME_SENDTO_SYSCALL): Likewise.
11257 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11258 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11260 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11261 (__ASSUME_CONNECT_SYSCALL): Likewise.
11262 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11263 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11264 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11266 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11268 [__LINUX_KERNEL_VERSION >= 0x040400]
11269 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11272 (listen): Likewise.
11273 (setsockopt): Likewise.
11275 2018-11-01 Fredrik Noring <noring@nocrew.org>
11277 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11278 with the ISA override.
11280 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11282 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11285 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11287 * manual/errno.texi (EIEIO): Document how translators should
11288 translate the error message.
11289 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11290 printing trailing whitespaces refused by git.
11291 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11292 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11293 * hurd/Makefile (user-interfaces): Add pci.
11295 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11297 * conform/linknamespace.py: New file.
11298 * conform/linknamespace.pl: Remove file.
11299 * conform/Makefile ($(linknamespace-header-tests)): Use
11300 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11303 2018-10-30 Florian Weimer <fweimer@redhat.com>
11305 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11308 2018-10-30 Florian Weimer <fweimer@redhat.com>
11310 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11312 2018-10-30 Florian Weimer <fweimer@redhat.com>
11314 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11315 support_blob_repeat.
11317 2018-10-30 Florian Weimer <fweimer@redhat.com>
11319 Avoid spurious test failures in stdlib/test-bz22786.
11320 * support/Makefile (libsupport-routines): Add blob_repeat.
11321 (tests): Add tst-support_blob_repeat.
11322 * support/blob_repeat.h: New file.
11323 * support/blob_repeat.c: Likewise.
11324 * support/tst-support_blob_repeat.c: Likewise.
11325 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11326 support_blob_repeat_allocate.
11328 2018-10-30 Andreas Schwab <schwab@suse.de>
11331 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11332 Don't use tail call.
11333 * elf/tst-unwind-main.c: New file.
11334 * elf/Makefile (tests): Add tst-unwind-main.
11335 (CFLAGS-tst-unwind-main.c): Define.
11337 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11340 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11341 n_cs_precedes to 0.
11342 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11344 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11346 * conform/glibcconform.py: Do not import shutil.
11347 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11350 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11351 critic_missing for versions before 3.4.
11352 * configure: Regenerated.
11353 * manual/install.texi (Tools for Compilation): Document
11354 requirement for Python to build glibc.
11355 * INSTALL: Regenerated.
11356 * Rules [PYTHON]: Make code unconditional.
11357 * benchtests/Makefile [PYTHON]: Likewise.
11358 * conform/Makefile [PYTHON]: Likewise.
11359 * manual/Makefile [PYTHON]: Likewise.
11360 * math/Makefile [PYTHON]: Likewise.
11362 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11364 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11365 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11366 answer to interrupt_operation, return EIEIO instead of EINTR.
11367 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11368 _hurd_intr_rpc_msg_about_to global point to start of controlled
11369 assembly snippet. Make it check canceled flag.
11370 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11371 the _hurd_intr_rpc_msg_about_to point.
11372 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11373 issue, remove cancel flag check.
11375 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11377 * scripts/build-many-glibcs.py: Remove compatibility for missing
11378 os.cpu_count and re.fullmatch.
11380 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11383 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11384 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11385 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11387 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11389 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11392 2018-10-25 Florian Weimer <fweimer@redhat.com>
11396 XFAIL siginfo_t si_band conform test on sparc64.
11397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11398 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11399 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11400 (conformtest-xfail-conds): Add sparc64-linux.
11401 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11403 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11405 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11407 * elf/elf.h (NT_MIPS_DSP): New macro.
11408 (NT_MIPS_FP_MODE): Likewise.
11410 2018-10-25 Zong Li <zong@andestech.com>
11412 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11413 name by adding the file extension (.so).
11415 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11417 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11418 (test-xfail-ISO11/threads.h/linknamespace,
11419 test-xfail-ISO11/threads.h/conform): Add.
11421 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11423 * math/gen-libm-test.py: Import os.
11424 (ALL_FLOATS_MANUAL): New constant.
11425 (ALL_FLOATS_SUFFIX): Likewise.
11426 (Ulps.all_functions): New function.
11427 (real_all_ulps): Likewise.
11428 (generate_err_table_sub): Likewise.
11429 (generate_err_table): Likewise.
11430 (main): Handle -s and -m options.
11431 * manual/libm-err-tab.pl: Remove.
11432 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11433 instead of libm-err-tab.pl.
11434 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11436 * manual/install.texi (Tools for Compilation): Document
11437 requirement for Python to build manual.
11438 * INSTALL: Regenerated.
11440 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11442 * bits/time64.h: New file.
11443 * include/time.h: Replace internal_time_t with __time64_t.
11444 * posix/bits/types (__time64_t): Add.
11445 * stdlib/Makefile: Add bits/time64.h to includes.
11446 * time/tzfile.c: Replace internal_time_t with __time64_t.
11448 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11450 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11451 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11452 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11453 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11454 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11456 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11457 * posix/spawn_faction_addclose.c
11458 (__posix_spawn_file_actions_addclose): Add hidden definition.
11459 * posix/spawn_faction_adddup2.c
11460 (__posix_spawn_file_actions_adddup2): Likewise.
11461 * posix/spawn_faction_destroy.c
11462 (__posix_spawn_file_actions_destroy): Likewise.
11463 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11465 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11466 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11467 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11469 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11470 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11473 2018-10-24 Andreas Schwab <schwab@suse.de>
11476 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11478 * elf/cache.c (print_cache): Likewise.
11480 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11482 * bits/timesize.h: New file.
11483 * stdlib/Makefile (headers): Add bits/timesize.h.
11484 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11485 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11486 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11487 (__SEM_PAD_AFTER_TIME): Likewise.
11488 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11489 (__SHM_PAD_AFTER_TIME): Likewise.
11490 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11491 (__MSQ_PAD_BEFORE_TIME): Likewise.
11492 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11493 (__SEM_PAD_BEFORE_TIME): Likewise.
11494 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11495 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11496 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11497 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11499 (__MSQ_PAD_BEFORE_TIME): Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11501 (__SEM_PAD_BEFORE_TIME): Likewise.
11502 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11503 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11505 (__MSQ_PAD_BEFORE_TIME): Likewise.
11506 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11507 (__SEM_PAD_BEFORE_TIME): Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11509 (__SHM_PAD_BEFORE_TIME): Likewise.
11510 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11511 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11512 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11514 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11516 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11517 USE_RDTSCP is defined.
11518 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11519 USE_RDTSCP is defined.
11521 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11523 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11527 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11528 independently of other flags.
11530 2018-10-23 Florian Weimer <fweimer@redhat.com>
11532 * time/tst-mktime2.c (N_STRINGS): Remove.
11533 (set_timezone): New function.
11534 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11535 (mktime_test1): Report localtime failure and check errno value.
11537 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11538 (do_test): Remove alarm call. Use set_timezone and array_length.
11540 2018-10-23 Andreas Schwab <schwab@suse.de>
11542 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11543 (__start_context): Use END instead of PSEUDO_END.
11545 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11547 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11550 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11554 * wcsmbs/c32rtomb.c: New file.
11555 * wcsmbs/mbrtoc32.c: Likewise.
11556 * wcsmbs/tst-c32-state.c: Likewise.
11557 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11558 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11559 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11560 (tests): Add tst-c32-state.
11561 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11564 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11566 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11567 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11569 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11572 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11573 pair and return 0 in that case, and use saved character to
11574 interpret following character.
11575 * wcsmbs/tst-c16-surrogate.c: New file.
11576 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11577 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11578 Depend on $(gen-locales)
11580 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11583 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11584 (struct siginfo_t): Use correct type for si_band.
11586 2018-10-19 Florian Weimer <fweimer@redhat.com>
11589 * resource/bits/types/struct_rusage.h (struct rusage): Update
11590 comment on struct. Remove extraneous field comment.
11592 2018-10-18 David S. Miller <davem@davemloft.net>
11594 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11595 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11596 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11597 sysdep_routines in subdir elf.
11598 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11599 version for __vdso_clock_gettime.
11600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11602 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11603 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11605 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11607 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11609 * sysdeps/i386/init-arch.h: Removed.
11610 * sysdeps/i386/i586/init-arch.h: Likewise.
11611 * sysdeps/i386/i686/init-arch.h: Likewise.
11612 * sysdeps/i386/i686/hp-timing.h: Likewise.
11613 * sysdeps/x86_64/hp-timing.h: Likewise.
11614 * sysdeps/i386/isa.h: New file.
11615 * sysdeps/i386/i586/isa.h: Likewise.
11616 * sysdeps/i386/i686/isa.h: Likewise.
11617 * sysdeps/x86_64/isa.h: Likewise.
11618 * sysdeps/x86/hp-timing.h: New file.
11619 * sysdeps/x86/init-arch.h: Include <isa.h>.
11621 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11623 * math/libm-test-pow.inc (pow_test_data): Do not allow
11624 divide-by-zero exception for pow(+/- 0, -Inf).
11626 2018-10-17 Zack Weinberg <zackw@panix.com>
11628 * manual/job.texi (Job Control is Optional): Remove node, as
11629 job control has not been optional in quite some time.
11630 (Job Control): Mention briefly that systems older than
11631 POSIX.1-2001 might not support job control.
11632 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11633 defined on systems conforming to POSIX.1-2001.
11635 2018-10-17 Arjun Shankar <arjun@redhat.com>
11638 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11640 * (__gconv_read_conf): Mark function static.
11641 * (once): New static variable.
11642 * (__gconv_load_conf): New function.
11643 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11644 * iconv/gconv_db.c (once): Remove static variable.
11645 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11647 * (__gconv_find_transform): Likewise.
11648 * iconv/tst-iconv-mt.c: New test.
11649 * iconv/Makefile: Add tst-iconv_mt.
11651 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11655 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11656 (shmatt_t): Define as __syscall_ulong_t.
11657 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11658 and [__SHM_PAD_AFTER_TIME].
11659 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11660 Define shm_segsz and associated padding based on
11661 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11662 Use __syscall_ulong_t instead of unsigned long int.
11663 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11665 [__USE_MISC] (struct shm_info): Likewise.
11666 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11667 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11668 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11670 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11671 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11672 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11673 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11676 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11680 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11681 (SHMLBA): Remove macro.
11682 (__getpagesize): Remove function declaration.
11683 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11685 (SHMLBA): Remove macro.
11686 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11688 (SHMLBA): Remove macro.
11689 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11691 (SHMLBA): Remove macro.
11692 (__getpagesize): Remove function declaration.
11693 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11695 (SHMLBA): Remove macro.
11696 (__getshmlba): Remove function declaration.
11697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11698 (SHMLBA): Remove macro.
11699 (__getpagesize): Remove function declaration.
11700 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11701 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11702 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11703 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11704 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11705 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11706 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11707 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11708 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11709 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11711 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11714 * nptl/tst-mutex10.c: New File.
11715 * nptl/Makefile (tests): Add tst-mutex10.
11716 (tst-mutex10-ENV): New variable.
11717 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11718 Ensure that elision path is used if elision is available.
11719 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11721 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11723 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11724 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11725 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11726 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11728 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11729 (__pthread_mutex_cond_lock_adjust): Likewise.
11730 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11732 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11733 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11734 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11735 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11737 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11738 Use atomic_load_relaxed and atomic_store_relaxed.
11739 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11740 Use atomic_store_relaxed.
11742 2018-10-17 Andreas Schwab <schwab@suse.de>
11744 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11745 * crypt/badsalttest.c (TIMEOUT): Likewise.
11746 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11747 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11748 * io/test-lfs.c (TIMEOUT): Likewise.
11749 * libio/tst-atime.c (TIMEOUT): Likewise.
11750 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11751 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11752 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11753 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11754 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11755 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11756 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11757 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11758 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11759 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11760 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11761 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11762 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11763 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11764 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11765 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11766 * nptl/tst-once2.c (TIMEOUT): Likewise.
11767 * nptl/tst-once3.c (TIMEOUT): Likewise.
11768 * nptl/tst-once4.c (TIMEOUT): Likewise.
11769 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11770 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11771 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11772 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11773 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11774 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11775 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11776 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11777 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11778 * posix/tst-chmod.c (TIMEOUT): Likewise.
11779 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11780 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11781 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11782 * posix/tst-regex2.c (TIMEOUT): Likewise.
11783 * posix/tst-waitid.c (TIMEOUT): Likewise.
11784 * rt/tst-aio.c (TIMEOUT): Likewise.
11785 * rt/tst-aio10.c (TIMEOUT): Likewise.
11786 * rt/tst-aio4.c (TIMEOUT): Likewise.
11787 * rt/tst-aio5.c (TIMEOUT): Likewise.
11788 * rt/tst-aio6.c (TIMEOUT): Likewise.
11789 * rt/tst-aio64.c (TIMEOUT): Likewise.
11790 * rt/tst-aio7.c (TIMEOUT): Likewise.
11791 * rt/tst-aio9.c (TIMEOUT): Likewise.
11792 * rt/tst-clock.c (TIMEOUT): Likewise.
11793 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11794 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11795 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11796 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11797 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11798 * rt/tst-timer4.c (TIMEOUT): Likewise.
11799 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11800 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11801 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11802 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11803 * time/tst-ftime.c (TIMEOUT): Likewise.
11804 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11806 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11808 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11809 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11812 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11816 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11817 instead of <bits/wordsize.h>.
11818 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11819 and [__SEM_PAD_AFTER_TIME].
11820 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11821 __syscall_ulong_t instead of unsigned long int.
11822 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11823 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11824 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11825 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11826 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11827 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11828 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11829 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11830 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11832 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11834 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11836 regex: simplify by using intprops.h
11838 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11839 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11840 intprops.h defines them.
11842 regex: __builtin_expect → __glibc_unlikely
11844 This refactoring was prompted by a problem when the regex code is
11845 used as part of Gnulib and when the builder’s compiler does not grok
11846 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11847 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11848 Although this refactoring does not fix the problem directly,
11849 we might as well have Gawk use the now-preferred glibc style for when
11850 __builtin_expect is unavailable.
11851 * posix/regex_internal.h (BE): Remove.
11852 All uses replaced by __glibc_unlikely or __glibc_likely.
11854 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11858 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11859 instead of <bits/wordsize.h>.
11860 (msgqnum_t): Define as __syscall_ulong_t.
11861 (msglen_t): Likewise.
11862 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11863 and [__MSQ_PAD_AFTER_TIME].
11864 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11865 __syscall_ulong_t instead of unsigned long int.
11866 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11867 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11868 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11871 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11872 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11873 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11874 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11875 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11878 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11880 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11881 (struct shmid_ds): Condition padding after time fields on
11882 [__WORDSIZE == 32].
11883 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11884 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11885 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11887 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11888 (struct semid_ds): Condition padding after time fields on
11889 [__WORDSIZE == 32].
11890 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11891 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11892 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11893 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11895 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11896 (struct msqid_ds): Condition padding after time fields on
11897 [__WORDSIZE == 32].
11898 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11899 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11900 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11901 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11903 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11905 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11907 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11909 * libio/tst-readline.c (TIMEOUT): Define.
11911 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11913 mktime fix for Gnulib + coreutils
11915 This fix affects only Gnulib. Problem discovered when
11916 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11918 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11919 Do not define since it is not used. Defining an unused static
11920 function prompts a warning from GCC when Coreutils is configured
11921 with --enable-gcc-warnings.
11923 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11925 * benchtests/scripts/compare_bench.py (main): set float type on
11926 threshold argument.
11928 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11931 * localedata/locales/kl_GL (mon): Update, the relative case.
11932 (alt_mon): Add, fill with month names in the nominative case.
11933 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11934 (d_fmt): Set to "%b %d %Y".
11936 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11938 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11939 <bits/mman-linux.h>.
11940 (PROT_READ): Don't define here.
11941 (PROT_WRITE): Likewise.
11942 (PROT_EXEC): Likewise.
11943 (PROT_NONE): Likewise.
11944 (PROT_GROWSDOWN): Likewise.
11945 (PROT_GROWSUP): Likewise.
11946 (MAP_SHARED): Likewise.
11947 (MAP_PRIVATE): Likewise.
11948 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11949 [__USE_MISC] (MAP_FILE): Likewise.
11950 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11951 [__USE_MISC] (MAP_ANON): Likewise.
11952 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11953 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11954 (MCL_CURRENT): Likewise.
11955 (MCL_FUTURE): Likewise.
11956 (MCL_ONFAULT): Likewise.
11957 [__USE_MISC] (MADV_NORMAL): Likewise.
11958 [__USE_MISC] (MADV_RANDOM): Likewise.
11959 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11960 [__USE_MISC] (MADV_WILLNEED): Likewise.
11961 [__USE_MISC] (MADV_DONTNEED): Likewise.
11962 [__USE_MISC] (MADV_FREE): Likewise.
11963 [__USE_MISC] (MADV_REMOVE): Likewise.
11964 [__USE_MISC] (MADV_DONTFORK): Likewise.
11965 [__USE_MISC] (MADV_DOFORK): Likewise.
11966 [__USE_MISC] (MADV_HWPOISON): Likewise.
11967 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11968 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11969 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11970 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11971 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11972 (__MAP_ANONYMOUS): New macro.
11973 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11974 <bits/mman-linux.h> inclusion.
11975 (MAP_FIXED): Likewise.
11976 (MS_SYNC): Likewise.
11977 (MS_ASYNC): Likewise.
11978 (MS_INVALIDATE): Likewise.
11979 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11980 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11981 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11982 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11983 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11984 [__USE_MISC] (MADV_DODUMP): Likewise.
11985 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11986 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11989 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11991 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11992 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11993 Add test-nldbl-redirect.
11994 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11995 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11996 $(objpfx)libnldbl_nonshared.a.
11998 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12000 * support/support.h (support_objdir_elf_ldso): New variable.
12001 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12002 * support/Makefile (CFLAGS-support_paths.c): Add definition
12003 for OBJDIR_ELF_LDSO_PATH.
12004 * support/test-container.c (main): Search for the ld.so
12005 which is also used by the testsuite.
12007 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12010 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12011 should be "sap" rather than "sab".
12012 (day): Fix spelling of Sunday, should be "sapaat" rather than
12015 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12017 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12019 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12022 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12023 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12024 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12026 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12028 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12030 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12032 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12034 (CFLAGS-elision-unlock.c): Likewise.
12035 (CFLAGS-elision-timed.c): Likewise.
12036 (CFLAGS-elision-trylock.c): Likewise.
12037 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12039 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12042 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12043 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12044 new fd_to_filename interface.
12045 * libio/freopen64.c (freopen64): Likewise.
12046 * libio/tst-memstream.h: New file.
12047 * libio/tst-memstream4.c: Likewise.
12048 * libio/tst-wmemstream4.c: Likewise.
12049 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12050 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12051 and remove internal dynamic allocation.
12053 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12055 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12056 (MREMAP_MAYMOVE): Do not define here.
12057 [__USE_GNU] (MREMAP_FIXED): Likewise.
12058 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12059 (MREMAP_MAYMOVE): Define here instead.
12060 [__USE_GNU] (MREMAP_FIXED): Likewise.
12061 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12062 (MREMAP_MAYMOVE): Remove.
12063 [__USE_GNU] (MREMAP_FIXED): Likewise.
12065 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12067 * math/fromfp.h: Do not include <math_private.h>.
12068 * math/s_cacosh_template.c: Likewise.
12069 * math/s_casin_template.c: Likewise.
12070 * math/s_casinh_template.c: Likewise.
12071 * math/s_ccos_template.c: Likewise.
12072 * math/s_cproj_template.c: Likewise.
12073 * math/s_fdim_template.c: Likewise.
12074 * math/s_fmaxmag_template.c: Likewise.
12075 * math/s_fminmag_template.c: Likewise.
12076 * math/s_iseqsig_template.c: Likewise.
12077 * math/s_ldexp_template.c: Likewise.
12078 * math/s_nextdown_template.c: Likewise.
12079 * math/w_log1p_template.c: Likewise.
12080 * math/w_scalbln_template.c: Likewise.
12081 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12082 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12083 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12084 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12085 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12086 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12087 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12088 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12089 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12090 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12091 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12092 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12093 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12094 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12095 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12096 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12097 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12102 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12103 * sysdeps/ieee754/k_standardf.c: Likewise.
12104 * sysdeps/ieee754/k_standardl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12107 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12114 * sysdeps/ieee754/s_signgam.c: Likewise.
12115 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12116 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12117 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12118 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12119 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12120 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12121 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12122 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12123 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12124 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12125 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12126 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12127 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12128 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12129 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12130 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12131 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12132 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12133 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12134 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12135 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12136 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12137 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12138 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12139 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12140 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12141 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12142 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12143 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12144 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12145 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12146 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12147 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12148 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12149 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12150 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12151 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12153 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12155 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/i386/dl-cet.c: Removed.
12159 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12161 (_dl_runtime_profile_shstk): Likewise.
12162 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12163 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12165 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12168 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12169 do_test_with_invalid_iov): New tests.
12170 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12171 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12172 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12174 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12175 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12176 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12178 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12180 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12181 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12182 (MATH_REDIRECT_BINARY_ARGS): New macro.
12183 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12184 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12185 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12187 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12189 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12190 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12200 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12201 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12206 * sysdeps/generic/math_private_calls.h
12207 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12208 Do not declare and define as an inline function.
12209 * math/divtc3.c (__divtc3): Use copysign functions instead of
12210 __copysign variants.
12211 * math/multc3.c (__multc3): Likewise.
12212 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12213 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12214 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12215 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12217 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12218 (__ieee754_yn): Likewise.
12219 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12220 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12221 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12222 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12223 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12225 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12228 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12232 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12233 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12235 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12236 (__ieee754_ynf): Likewise.
12237 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12238 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12239 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12242 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12243 (__ieee754_ynl): Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12249 (__ieee754_ynl): Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12257 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12259 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12260 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12261 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12263 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12264 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12265 using MATH_REDIRECT.
12266 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12268 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12271 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12279 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12280 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12282 (round): Redirect to __round.
12283 (__roundl): Call round instead of __round.
12284 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12286 [_ARCH_PWR5X] (__roundf): Likewise.
12287 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12288 functions instead of __round variants.
12289 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12294 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12296 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12299 (__ieee754_expl): Call roundl instead of __roundl.
12301 2018-09-27 Andreas Schwab <schwab@suse.de>
12304 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12305 (do_test): Make st1 static.
12307 2018-09-26 Andreas Schwab <schwab@suse.de>
12310 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12311 * elf/Makefile (tests): Add tst-unwind-ctor.
12312 (modules-names): Add tst-unwind-ctor-lib.
12313 ($(objpfx)tst-unwind-ctor): Depend on
12314 $(objpfx)tst-unwind-ctor-lib.so.
12316 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12318 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12319 file. Most contents moved from ....
12320 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12321 and include <bits/mman-map-flags-generic.h>.
12322 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12323 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12324 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12325 <bits/mman-map-flags-generic.h>.
12326 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12327 macros defined in <bits/mman-map-flags-generic.h>.
12328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12329 <bits/mman-map-flags-generic.h>.
12330 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12331 defined in <bits/mman-map-flags-generic.h>.
12333 2018-09-26 Andreas Schwab <schwab@suse.de>
12335 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12338 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12339 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12340 Fangrui Song <maskray@google.com>
12343 * config.make.in (have-textrel_ifunc): New define.
12344 * configure.ac: Add check if linker supports textrel relocation with
12346 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12348 (CFLAGS-tst-ifunc-textrel.c): New rule.
12349 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12350 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12351 * elf/tst-ifunc-textrel.c: New file.
12353 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12355 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12356 <bits/procfs-prregset.h>.
12357 (prgregset_t): Define using __prgregset_t.
12358 (prfpregset_t): Define using __prfpregset_t.
12359 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12360 (sysdep_headers): Add bits/procfs-prregset.h.
12361 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12362 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12363 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12364 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12366 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12367 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12368 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12371 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12372 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12373 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12374 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12375 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12376 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12377 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12378 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12379 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12380 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12381 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12382 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12383 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12385 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12386 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12387 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12388 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12389 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12390 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12391 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12392 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12393 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12395 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12396 AArch64 version. Include <bits/procfs.h>.
12397 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12398 (sysdep_headers): Add bits/procfs.h.
12399 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12400 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12401 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12402 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12403 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12404 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12405 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12407 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12408 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12409 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12410 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12411 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12412 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12413 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12414 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12415 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12417 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12419 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12422 2018-09-25 Arjun Shankar <arjun@redhat.com>
12424 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12425 (__gconv_max_path_elem_len): Likewise.
12426 (__gconv_nmodules): Likewise.
12427 (__gconv_get_path): Likewise.
12428 (path_elem): Move to ...
12429 * iconv/gconv_conf.c: ... here.
12430 (__gconv_get_path): Mark function static.
12431 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12432 * iconv/gconv_open.c: ... here.
12434 2018-09-24 Andreas Schwab <schwab@suse.de>
12436 * scripts/haveversions.awk: New file.
12437 * Makerules ($(common-objpfx)Versions.def)
12438 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12439 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12441 * Makeconfig ($(common-objpfx)Versions.def)
12442 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12443 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12445 ($(common-objpfx)Versions.mk): New rule. Include it.
12446 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12447 Emit error if build-obsolete-nsl = yes.
12448 * manual/install.texi (Configuring and compiling): Describe
12449 --enable-obsolete-nsl as unavaiable after version 2.28.
12450 * INSTALL: Regenerate.
12452 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12454 * NEWS: Add note about new TLE support on powerpc64le.
12455 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12456 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12458 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12459 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12460 * sysdeps/powerpc/powerpc32/sysdep.h,
12461 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12462 ABORT_TRANSACTION): Remove macros.
12463 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12465 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12467 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12468 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12470 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12472 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12475 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12476 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12477 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12478 which is the same as in it_IT.
12479 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12480 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12482 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12484 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12485 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12486 using MATH_REDIRECT.
12487 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12489 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12491 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12493 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12499 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12500 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12501 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12502 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12503 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12504 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12505 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12507 (ceil): Redirect to __ceil.
12508 (floor): Redirect to __floor.
12509 (trunc): Redirect to __trunc.
12510 (__truncl): Call trunc instead of __trunc.
12511 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12513 [_ARCH_PWR5X] (__truncf): Likewise.
12514 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12515 trunc functions instead of __trunc variants.
12516 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12518 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12525 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12526 [__i586__ || __pentium__].
12527 [__i486__]: Handle explicitly.
12528 (HAS_CPUID): Define to 1 if above macros are undefined.
12529 (HAS_I586): Likewise.
12530 (HAS_I686): Likewise.
12532 2018-09-20 Florian Weimer <fweimer@redhat.com>
12534 * misc/tst-gethostid.c: New file.
12535 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12536 (tst-gethostid): Link with -ldl.
12538 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12540 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12541 value from gethostbyname_r.
12543 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12545 * stdlib/tst-setcontext9.c (f1): Rename to...
12547 (f1b): New function implementing lower half of f1 in alternate stack.
12549 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12551 Fix mktime localtime offset confusion
12553 * include/time.h (__mktime_internal): The localtime offset is now
12554 of type long int instead of time_t. This is the longstanding type
12555 in glibc, and it is more than enough to represent difference
12556 between localtime and gmtime even if it is 32 bits and time_t is
12557 64. Changing it now will let us avoid an unnecessary change when
12558 time_t is widened to 64 bits on 32-bit platforms.
12559 * time/mktime-internal.h (mktime_offset_t): Now long int.
12561 Merge mktime, timegm from upstream Gnulib
12562 [BZ #23603][BZ #16346]
12563 This fixes some obscure problems with integer overflow.
12564 Although it looks scary, it is almost all a byte-for-byte copy
12565 from Gnulib, and the Gnulib code has been tested reasonably well.
12566 * include/intprops.h: New file, copied from Gnulib.
12567 * include/verify.h, time/mktime-internal.h:
12568 New tiny files, simplified from Gnulib.
12569 * time/mktime.c: Copy from Gnulib. This has the following changes:
12570 Do not include config.h if DEBUG_MKTIME is nonzero.
12571 Include stdbool.h, intprops.h, verify.h.
12572 Include string.h only if needed.
12573 Include stdlib.h on MS-Windows.
12574 Include mktime-internal.h.
12575 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12576 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12577 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12578 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12579 simplify later conditionals; default the others to zero. Use
12580 these conditionals to express only the code needed on the current
12581 platform. In uses of these conditionals, explicitly spell out how
12582 _LIBC affects things, so it’s easier to review from a glibc
12584 (WRAPV): Remove; no longer needed now that we have
12585 systematic overflow checking.
12586 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12587 compartmentalize tzset issues. Move system-dependent tzsettish
12588 code here from mktime.
12589 (verify): Remove; now done by verify.h. All uses changed.
12590 (long_int): Use a more-conservative definition, to avoid
12592 (SHR): Remove, replacing with ...
12593 (shr): New function, which means we needn’t worry about side
12594 effects in args, and conversion analysis is simpler.
12595 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12596 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12597 (time_t_avg, time_t_add_ok): Remove.
12598 (mktime_min, mktime_max): New constants.
12599 (leapyear, isdst_differ): Use bool for booleans.
12600 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12601 Use long_int, not time_t, for mktime differences.
12602 (long_int_avg): New function, replacing time_t_avg.
12603 INT_ADD_WRAPV replaces time_t_add_ok.
12604 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12606 (convert_time): New function.
12607 (ranged_convert): Use it.
12608 (__mktime_internal): Last arg now points to mktime_offset_t, not
12609 time_t. All uses changed. This is a no-op on glibc, where
12610 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12611 offset guess. Directly check for integer overflow instead of
12612 using a heuristic that works only 99.9...% of the time.
12613 Access *OFFSET only once, to avoid an unlikely race if the
12614 compiler delays a load and if this cascades into a signed integer
12616 (mktime): Move tzsettish code to my_tzset, and move
12617 localtime_offset to within mktime so that it doesn’t
12618 need a separate ifdef.
12619 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12620 instead of localtime.
12621 * time/timegm.c: Copy from Gnulib. This has the following changes:
12622 Include mktime-internal.h.
12623 [!_LIBC]: Include config.h and time.h. Do not include
12624 timegm.h or time_r.h. Make __mktime_internal a macro,
12625 and include mktime-internal.h to get its declaration.
12626 (timegm): Temporary is now mktime_offset_t, not time_t.
12627 This affects only Gnulib.
12629 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12632 * string/test-strstr.c (pr23637): New function.
12633 (test_main): Add tests with longer needles.
12634 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12635 * string/strstr.c (AVAILABLE): Likewise.
12637 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12639 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12641 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12643 * NEWS: Mention pow improvements.
12644 * math/Makefile (type-double-routines): Add e_pow_log_data.
12645 * sysdeps/generic/math_private.h (__exp1): Remove.
12646 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12647 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12648 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12650 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12651 (exp_inline): Remove.
12652 (__ieee754_exp): Only single double input is handled.
12653 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12654 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12655 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12656 (__pow_log_data): Define.
12657 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12658 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12659 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12660 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12662 (CFLAGS-e_pow-fma4.c): Likewise.
12664 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12666 Simplify tzfile fstat failure code
12668 * time/tzfile.c (__tzfile_read): Simplify slightly.
12670 Fix tzfile low-memory assertion failure
12672 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12673 when registering time zone abbreviations.
12675 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12677 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12678 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12679 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12680 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12681 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12682 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12683 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12684 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12685 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12689 (__ceill): Call ceil instead of __ceil.
12690 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12692 (__floorl): Call floor instead of __floor.
12694 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12696 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12697 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12698 using MATH_REDIRECT.
12699 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12701 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12704 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12708 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12713 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12714 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12717 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12718 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12719 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12721 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12722 functions instead of __ceil variants.
12723 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12726 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12729 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12731 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12732 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12735 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12737 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12738 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12739 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12740 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12741 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12742 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12743 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12744 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12745 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12746 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12747 (ILL_BADIADDR): Remove constant.
12748 (TRAP_BRANCH): Likewise.
12749 (TRAP_HWBKPT): Likewise.
12751 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12754 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12755 Remove [_MIPS_SIM = _ABIN32] conditional case.
12756 (struct elf_prpsinfo): Likewise.
12759 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12760 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12761 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12763 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12764 elf_prpsinfo): Likewise.
12765 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12766 elf_prpsinfo): Likewise.
12767 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12770 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12771 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12772 using MATH_REDIRECT.
12773 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12775 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12776 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12777 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12778 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12781 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12785 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12786 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12787 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12788 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12789 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12790 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12792 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12793 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12798 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12799 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12800 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12801 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12803 * math/e_scalbf.c (invalid_fn): Likewise.
12804 * math/e_scalbl.c (invalid_fn): Likewise.
12805 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12807 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12809 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12810 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12811 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12813 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12815 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12817 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12818 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12820 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12821 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12823 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12824 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12825 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12826 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12827 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12828 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12829 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12830 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12831 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12832 && !NO_MATH_REDIRECT] (floor): Likewise.
12833 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12835 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12838 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12839 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12842 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12847 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12848 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12853 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12855 [_ARCH_PWR5X] (__floorf): Likewise.
12856 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12858 [__SSE4_1__] (__floorf): Likewise.
12859 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12860 instead of __floor variants.
12861 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12862 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12863 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12864 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12865 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12866 * math/w_tgamma_compat.c (__tgamma): Likewise.
12867 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12868 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12869 * math/w_tgammal_compat.c (__tgammal): Likewise.
12870 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12873 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12875 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12878 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12879 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12881 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12887 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12889 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12890 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12891 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12892 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12894 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12896 * elf/Makefile (modules-names-tests): New variable.
12898 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12900 * NEWS: Mention log2 improvements.
12901 * math/Makefile (type-double-routines): Add e_log2_data.
12902 * sysdeps/i386/fpu/e_log2_data.c: New file.
12903 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12904 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12905 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12906 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12908 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12910 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12912 * NEWS: Mention log improvement.
12913 * math/Makefile (type-double-routines): Add e_log_data.
12914 * sysdeps/i386/fpu/e_log_data.c: New file.
12915 * sysdeps/ia64/fpu/e_log_data.c: New file.
12916 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12917 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12918 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12919 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12920 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12921 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12923 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12924 Xuepeng Guo <xuepeng.guo@intel.com>
12927 * sysdeps/i386/start.S: Include <sysdep.h>
12928 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12929 enabled. Add cfi_undefined (eip).
12931 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12935 (EXTRACT_WORDS64): Likewise.
12936 (INSERT_WORDS64): Likewise.
12937 (GET_FLOAT_WORD): Likewise.
12938 (SET_FLOAT_WORD): Likewise.
12940 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12942 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12943 build, but not for second build if --full-gcc. Use
12944 --enable-languages=all for second build if --full-gcc.
12945 (get_parser): Add --full-gcc option.
12946 (main): Update call to Context.
12948 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12951 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12952 Single Quotation Mark).
12953 (thousands_sep): Likewise.
12954 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12955 * localedata/locales/it_IT (thousands_sep): Use ".".
12956 (grouping): Use "3;3".
12958 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12960 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12961 x86_64 and i686 configs using --enable-obsolete-rpc
12962 --enable-obsolete-nsl.
12964 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12966 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12968 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12970 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12971 Increment size of new_argv by one.
12973 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12976 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12977 * localedata/locales/ar_IN (d_fmt): Likewise.
12978 * localedata/locales/bhb_IN (d_fmt): Likewise.
12979 * localedata/locales/bho_IN (d_fmt): Likewise.
12980 * localedata/locales/bn_BD (d_fmt): Likewise.
12981 * localedata/locales/bn_IN (d_fmt): Likewise.
12982 * localedata/locales/doi_IN (d_fmt): Likewise.
12983 * localedata/locales/gu_IN (d_fmt): Likewise.
12984 * localedata/locales/hi_IN (d_fmt): Likewise.
12985 * localedata/locales/hne_IN (d_fmt): Likewise.
12986 * localedata/locales/kn_IN (d_fmt): Likewise.
12987 * localedata/locales/mag_IN (d_fmt): Likewise.
12988 * localedata/locales/mai_IN (d_fmt): Likewise.
12989 * localedata/locales/mjw_IN (d_fmt): Likewise.
12990 * localedata/locales/ml_IN (d_fmt): Likewise.
12991 * localedata/locales/mni_IN (d_fmt): Likewise.
12992 * localedata/locales/mr_IN (d_fmt): Likewise.
12993 * localedata/locales/pa_IN (d_fmt): Likewise.
12994 * localedata/locales/raj_IN (d_fmt): Likewise.
12995 * localedata/locales/sat_IN (d_fmt): Likewise.
12996 * localedata/locales/sd_IN (d_fmt): Likewise.
12997 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12998 * localedata/locales/ta_IN (d_fmt): Likewise.
12999 * localedata/locales/ta_LK (d_fmt): Likewise.
13000 * localedata/locales/tcy_IN (d_fmt): Likewise.
13001 * localedata/locales/ur_IN (d_fmt): Likewise.
13003 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13004 * localedata/locales/ks_IN (d_fmt): Likewise.
13005 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13007 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13008 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13009 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13010 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13012 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13014 * NEWS: Mention exp and exp2 improvements.
13015 * math/Makefile (libm-support): Remove t_exp.
13016 (type-double-routines): Add math_err and e_exp_data.
13017 * sysdeps/aarch64/libm-test-ulps: Update.
13018 * sysdeps/arm/libm-test-ulps: Update.
13019 * sysdeps/i386/fpu/e_exp_data.c: New file.
13020 * sysdeps/i386/fpu/math_err.c: New file.
13021 * sysdeps/i386/fpu/t_exp.c: Remove.
13022 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13023 * sysdeps/ia64/fpu/math_err.c: New file.
13024 * sysdeps/ia64/fpu/t_exp.c: Remove.
13025 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13026 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13027 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13029 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13030 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13031 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13032 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13033 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13034 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13035 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13036 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13037 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13038 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13042 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13044 * sysdeps/alpha/fpu/math_private.h: Remove.
13046 * sysdeps/generic/math_private.h
13047 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13048 Move this inline function ....
13049 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13050 * include/math.h [!_ISOMAC]: To here....
13052 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13054 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13056 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13057 * include/fenv.h [!_ISOMAC]: ... to here.
13058 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13059 (feraiseexcept): Likewise.
13060 * math/fromfp.h: Do not include <fenv_private.h>.
13061 * math/s_cexp_template.c: Likewise.
13062 * math/s_csin_template.c: Likewise.
13063 * math/s_csinh_template.c: Likewise.
13064 * math/s_ctan_template.c: Likewise.
13065 * math/s_ctanh_template.c: Likewise.
13066 * math/s_iseqsig_template.c: Likewise.
13067 * math/w_acos_compat.c: Likewise.
13068 * math/w_acosf_compat.c: Likewise.
13069 * math/w_acosl_compat.c: Likewise.
13070 * math/w_asin_compat.c: Likewise.
13071 * math/w_asinf_compat.c: Likewise.
13072 * math/w_asinl_compat.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_log10_compat.c: Likewise.
13082 * math/w_log10f_compat.c: Likewise.
13083 * math/w_log10l_compat.c: Likewise.
13084 * math/w_log2_compat.c: Likewise.
13085 * math/w_log2f_compat.c: Likewise.
13086 * math/w_log2l_compat.c: Likewise.
13087 * math/w_log_compat.c: Likewise.
13088 * math/w_logf_compat.c: Likewise.
13089 * math/w_logl_compat.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13097 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13098 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13099 * sysdeps/ieee754/k_standardl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13113 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13117 * math/w_ilogb_template.c: Include <fenv.h> instead of
13119 * math/w_llogb_template.c: Likewise.
13120 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13121 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13123 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13125 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13126 * math/fromfp.h: Include <fenv_private.h>.
13127 * math/math-narrow.h: Likewise.
13128 * math/s_cexp_template.c: Likewise.
13129 * math/s_csin_template.c: Likewise.
13130 * math/s_csinh_template.c: Likewise.
13131 * math/s_ctan_template.c: Likewise.
13132 * math/s_ctanh_template.c: Likewise.
13133 * math/s_iseqsig_template.c: Likewise.
13134 * math/w_acos_compat.c: Likewise.
13135 * math/w_acosf_compat.c: Likewise.
13136 * math/w_acosl_compat.c: Likewise.
13137 * math/w_asin_compat.c: Likewise.
13138 * math/w_asinf_compat.c: Likewise.
13139 * math/w_asinl_compat.c: Likewise.
13140 * math/w_ilogb_template.c: Likewise.
13141 * math/w_j0_compat.c: Likewise.
13142 * math/w_j0f_compat.c: Likewise.
13143 * math/w_j0l_compat.c: Likewise.
13144 * math/w_j1_compat.c: Likewise.
13145 * math/w_j1f_compat.c: Likewise.
13146 * math/w_j1l_compat.c: Likewise.
13147 * math/w_jn_compat.c: Likewise.
13148 * math/w_jnf_compat.c: Likewise.
13149 * math/w_llogb_template.c: Likewise.
13150 * math/w_log10_compat.c: Likewise.
13151 * math/w_log10f_compat.c: Likewise.
13152 * math/w_log10l_compat.c: Likewise.
13153 * math/w_log2_compat.c: Likewise.
13154 * math/w_log2f_compat.c: Likewise.
13155 * math/w_log2l_compat.c: Likewise.
13156 * math/w_log_compat.c: Likewise.
13157 * math/w_logf_compat.c: Likewise.
13158 * math/w_logl_compat.c: Likewise.
13159 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13160 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13161 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13162 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13187 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13188 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13189 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13190 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13191 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13192 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13193 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13194 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13195 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13196 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13197 * sysdeps/ieee754/k_standardl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13225 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13234 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13235 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13236 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13237 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13238 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13239 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13240 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13241 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13242 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13243 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13244 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13245 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13246 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13247 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13248 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13249 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13250 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13251 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13252 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13253 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13254 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13255 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13256 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13257 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13258 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13259 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13260 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13261 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13262 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13263 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13264 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13265 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13266 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13267 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13268 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13270 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13273 * include/stdio.h (__libc_fatal): Mention newline in comment.
13274 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13275 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13277 * nss/nsswitch.c (__nss_next2): Likewise.
13278 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13279 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13280 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13281 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13282 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13283 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13284 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13285 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13286 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13287 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13288 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13289 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13290 (__netlink_assert_response): Likewise.
13292 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13294 * conform/glibcconform.py: New file.
13295 * conform/list-header-symbols.py: Likewise.
13296 * conform/list-header-symbols.pl: Remove.
13297 * conform/Makefile (tests-special): Only add linknamespace tests
13299 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13301 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13304 * support/Makefile (libsupport-routines): Add
13305 support_copy_file_range and xcopy_file_range.
13306 * support/support.h: Include <sys/types.h>.
13307 (support_copy_file_range): New prototype.
13308 * support/support_copy_file_range.c: New file. Copied and
13309 modified from io/copy_file_range-compat.c.
13310 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13311 instead of copy_file_range.
13312 * support/xcopy_file_range.c: New file.
13313 * support/xunistd.h (xcopy_file_range): New prototype.
13315 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13317 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13318 xpthread_create and xpthread_join.
13320 2018-08-30 Florian Weimer <fweimer@redhat.com>
13322 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13324 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13326 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13329 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13331 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13332 and minus_oflow as non-finite.
13334 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13337 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13338 moved to fenv_private.h except for ...
13339 (TOINT_INTRINSICS): Kept in math_private.h.
13340 (roundtoint): Likewise.
13341 (converttoint): Likewise.
13342 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13343 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13344 * sysdeps/arm/math_private.h: Remove.
13345 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13347 * sysdeps/generic/math_private.h: ... this file. Include
13348 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13349 Include <fenv_private.h>. Remove functions and macros moved to
13351 * sysdeps/i386/fpu/math_private.h: Remove.
13352 * sysdeps/mips/math_private.h: Move to ....
13353 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13354 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13355 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13356 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13357 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13358 * sysdeps/powerpc/fpu/math_private.h: Do not include
13360 * sysdeps/riscv/rvf/math_private.h: Move to ....
13361 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13362 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13364 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13365 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13366 * sysdeps/sparc/fpu/math_private.h: Remove.
13367 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13368 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13369 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13371 * sysdeps/x86_64/fpu/math_private.h: Do not include
13372 <sysdeps/i386/fpu/fenv_private.h>.
13374 2018-08-28 Florian Weimer <fweimer@redhat.com>
13377 * posix/tst-regcomp-truncated.c: New file.
13378 * posix/Makefile (tests): Add it.
13379 (tst-regcomp-truncated.out): Depend on generated locales.
13381 2018-08-28 Florian Weimer <fweimer@redhat.com>
13383 * support/test-container.c (main): Treat unshare failure with
13384 EPERM as an unsupported test.
13386 2018-08-28 Florian Weimer <fweimer@redhat.com>
13389 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13390 * nscd/netgroupcache.c
13391 (addgetnetgrentX): Add tofreep parameter. Do not free
13392 heap-allocated buffer.
13393 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13394 (addgetnetgrentX_ignore): New function.
13395 (addgetnetgrent): Call it.
13396 (readdgetnetgrent): Likewise.
13398 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13400 * string/memmem.c: Use memcmp for first match.
13402 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13405 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13407 2018-08-27 DJ Delorie <dj@redhat.com>
13409 * support/Makefile (others): Don't list programs explicitly as a
13410 dependency of "others".
13412 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13414 * sysdeps/generic/math-tests-trap-force.h: New file.
13415 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13416 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13417 * sysdeps/powerpc/math-tests.h: Remove file.
13418 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13420 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13421 Torvald Riegel <triegel@redhat.com>
13424 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13425 Update r to include the set wake-request flag if waiters are
13426 remaining after spinning.
13428 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13430 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13432 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13435 regex: fix uninitialized memory access
13436 I introduced this bug into gnulib in commit
13437 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13438 eventually it was merged into glibc. The bug was found by
13439 project-repo <bugs@feusi.co> and reported here:
13440 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13441 Diagnosis and draft fix reported by Assaf Gordon here:
13442 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13443 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13444 * posix/regex_internal.c (build_wcs_upper_buffer):
13445 Fix bug when mbrtowc returns 0.
13447 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13449 * po/be.po: Update translation.
13451 2018-08-24 DJ Delorie <dj@delorie.com>
13453 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13456 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13459 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13460 create temporary files in source tree.
13462 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13464 * sysdeps/generic/math-tests-trap.h: New file.
13465 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13466 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13467 * sysdeps/aarch64/math-tests.h: Remove file.
13468 * sysdeps/arm/math-tests.h: Likewise.
13469 * sysdeps/riscv/math-tests.h: Likewise.
13470 * sysdeps/aarch64/math-tests-trap.h: New file.
13471 * sysdeps/arm/math-tests-trap.h: Likewise.
13472 * sysdeps/riscv/math-tests-trap.h: Likewise.
13474 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13476 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13477 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13478 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13479 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13480 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13481 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13485 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13486 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13488 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13489 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13490 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13491 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13492 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13493 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13495 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13497 * sysdeps/generic/math-tests-exceptions.h: New file.
13498 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13499 (EXCEPTION_TESTS_float): Do not define here.
13500 (EXCEPTION_TESTS_double): Likewise.
13501 (EXCEPTION_TESTS_long_double): Likewise.
13502 (EXCEPTION_TESTS_float128): Likewise.
13503 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13505 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13506 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13507 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13508 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13509 * sysdeps/mips/math-tests.h: Likewise.
13510 * sysdeps/nios2/math-tests.h: Likewise.
13511 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13512 (EXCEPTION_TESTS_float): Do not define here.
13513 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13514 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13515 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13517 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13519 * NEWS: Move optimized sinf entry to 2.29.
13521 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13523 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13525 2018-08-22 DJ Delorie <dj@redhat.com>
13527 * Makefile (testroot.pristine): New rules to initialize the
13528 test-in-container "testroot".
13529 * Makerules (all-testsuite): Add tests-container.
13530 * Rules (tests-expected): Add tests-container.
13531 (binaries-all-tests): Likewise.
13532 (tests-container): New, run these tests in the testroot container.
13533 * support/Makefile (others): Add *-container, support_paths.c,
13534 xmkdirp, and links-dso-program.
13535 * support/links-dso-program-c.c: New.
13536 * support/links-dso-program.cc: New.
13537 * support/test-container.c: New.
13538 * support/shell-container.c: New.
13539 * support/echo-container.c: New.
13540 * support/true-container.c: New.
13541 * support/xmkdirp.c: New.
13542 * support/xsymlink.c: New.
13543 * support/support_paths.c: New.
13544 * support/support.h: Add support paths prototypes.
13545 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13547 * nss/tst-nss-test3.c: Convert to test-in-container.
13548 * nss/tst-nss-test3.root/: New.
13550 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13552 regex: port Gnulib code to z/OS POSIX environment
13553 Problem reported by Arnold Robbins in:
13554 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13555 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13558 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13560 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13561 (ROUNDING_TESTS_double): Remove.
13562 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13563 (ROUNDING_TESTS_double): Remove.
13564 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13565 (ROUNDING_TESTS_double): Remove.
13566 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13567 (ROUNDING_TESTS_float): Remove.
13568 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13569 (ROUNDING_TESTS_float): Remove.
13570 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13571 (ROUNDING_TESTS_float): Remove.
13572 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13573 !TEST_MATHVEC here.
13574 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13575 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13577 * sysdeps/generic/math-tests-rounding.h: New file.
13578 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13579 (ROUNDING_TESTS_float): Do not define here.
13580 (ROUNDING_TESTS_double): Likewise.
13581 (ROUNDING_TESTS_long_double): Likewise.
13582 (ROUNDING_TESTS_float128): Likewise.
13583 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13584 (ROUNDING_TESTS_double): Undefine before defining.
13585 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13586 (ROUNDING_TESTS_double): Undefine before defining.
13587 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13588 (ROUNDING_TESTS_double): Undefine before defining.
13589 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13590 (ROUNDING_TESTS_float): Undefine before defining.
13591 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13592 (ROUNDING_TESTS_float): Undefine before defining.
13593 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13594 (ROUNDING_TESTS_float): Undefine before defining.
13595 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13596 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13598 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13599 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13600 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13601 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13602 (ROUNDING_TESTS_float): Do not define here.
13603 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13604 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13605 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13606 (ROUNDING_TESTS_float): Likewise.
13607 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13608 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13609 * sysdeps/mips/math-tests.h [__mips_soft_float]
13610 (ROUNDING_TESTS_float): Likewise.
13611 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13612 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13613 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13614 (ROUNDING_TESTS_double): Likewise.
13615 (ROUNDING_TESTS_long_double): Likewise.
13617 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13619 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13620 (PF_XDP): New macro.
13621 (AF_XDP): New macro.
13622 (SOL_XDP): New macro.
13624 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13626 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13627 (TCP_INQ): Likewise.
13628 (TCP_CM_INQ): Likewise.
13629 (TCP_REPAIR_ON): Likewise.
13630 (TCP_REPAIR_OFF): Likewise.
13631 (TCP_REPAIR_OFF_NO_WP): Likewise.
13632 (struct tcp_zerocopy_receive): New type.
13634 2018-08-21 Florian Weimer <fweimer@redhat.com>
13636 * support/support.h (support_descriptor_supports_holes): Declare.
13637 * support/Makefile (libsupport-routines): Add
13638 support_descriptor_supports_holes.
13639 * support/support_descriptor_supports_holes.c: New file.
13640 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13641 and stop testing if holes are not supported.
13642 * io/test-lfs.c (do_prepare): Likewise.
13643 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13645 * timezone/tst-tzset.c (create_tz_file): Likewise.
13646 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13648 (do_prepare): Set it.
13649 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13651 2018-08-21 Florian Weimer <fweimer@redhat.com>
13654 * Makeconfig (+cflags): Do not sort (and deduplicate).
13656 2018-08-21 Florian Weimer <fweimer@redhat.com>
13658 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13659 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13661 2018-08-20 Florian Weimer <fweimer@redhat.com>
13663 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13664 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13666 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13668 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13669 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13670 and ssi_arch members.
13672 * elf/elf.c (NT_VMCOREDD): New macro.
13673 (AT_MINSIGSTKSZ): Likewise.
13675 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13678 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13679 s_cosf-ppc64 and s_cosf-power8.
13680 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13681 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13682 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13683 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13690 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13691 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13693 2018-08-17 Florian Weimer <fweimer@redhat.com>
13695 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13697 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13699 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13701 2018-08-16 Florian Weimer <fweimer@redhat.com>
13703 * configure.ac: Add --with-nonshared-cflags option.
13704 * config.make.in (extra-nonshared-cflags): Set variable.
13705 * Makeconfig (CFLAGS-.oS): Use it.
13706 * manual/install.texi (Configuring and compiling): Document
13707 --with-nonshared-cflags.
13708 * configure: Regenerate.
13709 * INSTALL: Likewise.
13711 2018-08-16 Florian Weimer <fweimer@redhat.com>
13713 * Makeconfig (ASFLAGS): Always append required assembler flags.
13715 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13717 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13718 (malloc_consolidate): Likewise.
13720 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13722 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13724 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13726 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13729 * benchtests/bench-strlen.c: Print performance numbers in json.
13731 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13733 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13734 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13735 only for little endian.
13736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13737 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13738 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13739 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13740 Add check for little endian.
13741 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13742 (__strcmp_power9): Add check for little endian.
13743 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13744 Add check for little endian.
13745 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13746 (__strncmp_power9): Add check for little endian.
13747 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13748 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13749 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13750 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13751 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13753 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13755 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13756 [!STRLEN](STRLEN): Set to __strlen.
13757 * sysdeps/aarch64/multiarch/strlen.c: New file.
13758 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13759 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13760 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13761 (__libc_ifunc_impl_list): Add strlen.
13762 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13763 strlen_generic and strlen_asimd.
13765 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13767 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13768 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13769 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13771 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13775 2018-08-14 Florian Weimer <fweimer@redhat.com>
13778 * include/stdio.h (__vfxprintf): Declare.
13779 * stdio-common/fxprintf.c (__vfxprintf): New function.
13780 (__fxprintf): Call it.
13781 * misc/err.c (convert_and_print): Remove function.
13782 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13783 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13784 * misc/Makefile (tests): Add tst-warn-wide.
13785 * misc/tst-warn-wide.c: New file.
13787 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13788 Szabolcs Nagy <szabolcs.nagy@arm.com>
13790 * NEWS: Mention sinf, cosf, sincosf.
13791 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13792 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13793 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13794 constants rather than including generic sincosf.h.
13795 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13796 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13797 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13798 (reduced_cos): Remove.
13799 (sinf_poly): New function.
13800 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13802 2018-08-14 Florian Weimer <fweimer@redhat.com>
13806 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13807 processing, bail out if no room, and close the stream before
13809 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13810 (tst-nss-files-alias-leak): Link with libdl.
13811 (tst-nss-files-alias-leak.out): Depend on nss_files.
13813 * nss/tst-nss-files-alias-leak.c: New file.
13815 2018-08-14 Florian Weimer <fweimer@redhat.com>
13817 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13818 server_user, stat_user.
13820 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13822 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13824 (io_pgetevents): New syscall.
13827 * manual/install.texi (Configuring and compiling): Do not list
13828 tools used for testing pretty printers here.
13829 (Tools for Compilation): List Python, PExpect and GDB here.
13830 Update descriptions of uses of Perl and Python.
13831 * INSTALL: Regenerate.
13833 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13836 2018-08-13 Florian Weimer <fweimer@redhat.com>
13838 * misc/error.c (error): Add missing va_end call.
13839 (error_at_line): Likewise.
13841 2018-08-13 Florian Weimer <fweimer@redhat.com>
13843 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13845 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13847 * benchtests/scripts/benchout.schema.json (properties): Add
13850 * benchtests/bench-skeleton.c (main): Add duration and
13851 iterations attributes.
13853 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13855 regex: Gnulib unibyte RRI uses bytes not chars
13856 Adjust the non-glibc code to agree with what Gawk needs for
13857 rational range interpretation (RRI) for regular expression ranges.
13858 In unibyte locales, Gawk wants ranges to use the underlying byte
13859 rather than the character code point. This change does not affect
13861 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13862 In unibyte locales, use the byte value rather than
13863 running it through btowc.
13865 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13867 * sysdeps/generic/math-tests-snan.h: New file.
13868 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13869 (SNAN_TESTS_float): Do not define here.
13870 (SNAN_TESTS_double): Likewise.
13871 (SNAN_TESTS_long_double): Likewise.
13872 (SNAN_TESTS_float128): Likewise.
13873 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13874 * sysdeps/i386/fpu/math-tests.h: Remove file.
13875 * sysdeps/ia64/math-tests-snan.h: New file.
13876 * sysdeps/ia64/math-tests.h: Remove file.
13877 * sysdeps/x86/math-tests.h: Likewise.
13878 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13880 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13881 Szabolcs Nagy <szabolcs.nagy@arm.com>
13883 * math/Makefile: Add s_sincosf_data.c.
13884 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13885 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13886 (sincosf_poly): Likewise.
13887 (reduce_small): Likewise.
13888 (reduce_large): Likewise.
13889 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13890 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13891 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13892 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13894 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13895 Szabolcs Nagy <szabolcs.nagy@arm.com>
13897 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13898 (converttoint): Use lround.
13899 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13900 document the semantics when TOINT_INTRINSICS is set.
13901 (converttoint): Likewise.
13902 (TOINT_RINT): Remove.
13903 (TOINT_SHIFT): Remove.
13904 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13907 2018-08-10 Florian Weimer <fweimer@redhat.com>
13910 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13912 (__old_getdents64): Use getdents64. Convert entries without
13914 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13915 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13916 tst-readdir64-compat.
13918 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13920 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13923 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13925 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13926 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13927 code to s390x-mcount.h and #include it.
13928 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13929 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13932 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13934 * stdlib/Versions: Remove __fentry__.
13935 * sysdeps/i386/Versions: Add __fentry__.
13936 * sysdeps/x86_64/Versions: Add __fentry__.
13938 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13940 * sysdeps/s390/Makefile: Register the new tests.
13941 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13942 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13943 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13944 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13945 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13946 * sysdeps/s390/tst-dl-runtime.c: New file.
13948 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13950 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13953 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13955 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13958 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13960 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13963 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13965 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13968 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13970 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13971 Use symbolic offsets for stack variables.
13973 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13975 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13976 Use symbolic offsets for stack variables.
13978 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13980 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13981 Use symbolic offsets for stack variables.
13983 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13985 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13986 Use symbolic offsets for stack variables.
13988 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13990 * math/gen-libm-test.py: New file.
13991 * math/gen-libm-test.pl: Remove.
13992 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13993 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13995 ($(libm-test-c-noauto-obj)): Likewise.
13996 ($(libm-test-c-auto-obj)): Likewise.
13997 ($(libm-test-c-narrow-obj)): Likewise.
13998 (regen-ulps): Likewise.
13999 * math/README.libm-test: Update references to gen-libm-test.pl.
14000 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14001 referencing gen-libm-test.pl.
14002 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14003 * math/libm-test-support.c: Likewise.
14004 * math/libm-test-support.h: Likewise.
14005 * sysdeps/generic/libm-test-ulps: Likewise.
14007 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14009 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14012 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14014 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14015 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14017 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14019 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14021 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14022 __pthread_setspecific): Add hidden proto.
14023 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14024 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14026 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14028 * benchtests/bench-string.h (buf1_size, buf2_size): New
14030 (init_sizes): New function.
14031 (test_init): Use it.
14032 (alloc_buf, exit_error): New functions.
14033 (alloc_bufs): Use ALLOC_BUF.
14034 (realloc_bufs): Remove.
14035 * benchtests/bench-memcmp.c (do_test): Adjust.
14036 * benchtests/bench-memset-large.c (do_test): Likewise.
14037 * benchtests/bench-memset-walk.c (do_test): Likewise.
14038 * benchtests/bench-memset.c (do_test): Likewise.
14039 * benchtests/bench-strncmp.c (do_test): Likewise.
14041 2018-08-06 Andreas Schwab <schwab@suse.de>
14043 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14044 of CONST_THREAD_AREA.
14046 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14048 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14049 (STATE_SAVE_MASK): Likewise.
14050 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14051 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14052 (STATE_SAVE_MASK): Likewise.
14053 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14054 instead of <cpu-features.h>.
14056 2018-08-03 DJ Delorie <dj@redhat.com>
14058 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14059 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14061 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14063 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14065 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14066 after TEST_* calls.
14067 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14068 * math/libm-test-logb.inc (logb_test_data): Likewise.
14070 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14072 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14073 * string/strstr.c (AVAILABLE): Likewise.
14075 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14079 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14080 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14081 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14083 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14085 * po/be.po: Update translation.
14087 * po/be.po: Update translation.
14089 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14091 * sysdeps/x86/cpu-features-offsets.sym
14092 (rtld_global_ro_offsetof): Removed.
14093 (CPU_FEATURES_SIZE): Likewise.
14094 (CPUID_OFFSET): Likewise.
14095 (CPUID_SIZE): Likewise.
14096 (CPUID_EAX_OFFSET): Likewise.
14097 (CPUID_EBX_OFFSET): Likewise.
14098 (CPUID_ECX_OFFSET): Likewise.
14099 (CPUID_EDX_OFFSET): Likewise.
14100 (FAMILY_OFFSET): Likewise.
14101 (MODEL_OFFSET): Likewise.
14102 (FEATURE_OFFSET): Likewise.
14103 (FEATURE_SIZ): Likewise.
14104 (COMMON_CPUID_INDEX_1): Likewise.
14105 (COMMON_CPUID_INDEX_7): Likewise.
14106 (FEATURE_INDEX_1): Likewise.
14107 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14109 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14111 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14112 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14113 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14114 (install-locales): Depend on install-locale-archive.
14115 (install-locale-archive): Define.
14116 (install-locale-files): Define.
14117 (build-one-locale): Define macro.
14118 * manual/install.texi (Running make install): Document.
14119 * manual/INSTALL: Regenerate.
14121 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14123 * benchtests/scripts/compare_strings.py: Import traceback.
14124 (parse_file): Pretty-print error.
14126 * NEWS: Mention the change.
14127 * elf/dl-tunables.list: Rename tune namespace to cpu.
14128 * sysdeps/powerpc/dl-tunables.list: Likewise.
14129 * sysdeps/x86/dl-tunables.list: Likewise.
14130 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14133 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14134 * manual/README.tunables: Likewise.
14135 * manual/tunables.texi: Likewise.
14136 * sysdeps/powerpc/cpu-features.c: Likewise.
14137 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14138 (init_cpu_features): Likewise.
14139 * sysdeps/x86/cpu-features.c: Likewise.
14140 * sysdeps/x86/cpu-features.h: Likewise.
14141 * sysdeps/x86/cpu-tunables.c: Likewise.
14142 * sysdeps/x86_64/Makefile: Likewise.
14143 * sysdeps/x86/dl-cet.c: Likewise.
14145 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14148 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14149 [__mips_hard_float].
14150 (FE_UNDERFLOW): Likewise.
14151 (FE_OVERFLOW): Likewise.
14152 (FE_DIVBYZERO): Likewise.
14153 (FE_INVALID): Likewise.
14154 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14155 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14156 (FE_UPWARD): Likewise.
14157 (FE_DOWNWARD): Likewise.
14158 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14159 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14160 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14161 [__mips_hard_float].
14162 (FP_ROUNDMODE): Likewise.
14163 (FP_RND_NEAREST): Likewise.
14164 (FP_RND_ZERO): Likewise.
14165 (FP_RND_PINF): Likewise.
14166 (FP_RND_MINF): Likewise.
14167 (FP_EX_INVALID): Likewise.
14168 (FP_EX_OVERFLOW): Likewise.
14169 (FP_EX_UNDERFLOW): Likewise.
14170 (FP_EX_DIVZERO): Likewise.
14171 (FP_EX_INEXACT): Likewise.
14172 (FP_INIT_ROUNDMODE): Likewise.
14173 * sysdeps/mips/nofpu/fesetenv.c: New file.
14174 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14176 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14178 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14179 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14180 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14181 conditional on [FE_UPWARD].
14183 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14185 regex: fix memory leak in Gnulib
14186 Problem and fix reported by Assaf Gordon in:
14187 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14188 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14189 range_ends members too, as they are defined in 'struct
14190 re_charset_t' even if not _LIBC. This affects only Gnulib.
14192 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14194 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14196 (get_common_indices): This.
14197 (init_cpu_features): Updated.
14199 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14201 * sysdeps/generic/math-tests-snan-payload.h: New file.
14202 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14203 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14204 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14205 * sysdeps/generic/math-tests.h: Include
14206 <math-tests-snan-payload.h>.
14207 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14208 * sysdeps/hppa/math-tests.h: Remove file.
14209 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14210 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14211 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14214 * sysdeps/generic/math-tests-snan-cast.h: New file.
14215 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14216 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14217 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14218 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14220 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14222 * version.h (RELEASE): Set to "development".
14223 (VERSION): Set to "2.28.9000".
14224 * NEWS (2.29): New section.
14226 * version.h (RELEASE): Set to "stable".
14227 (VERSION): Set to "2.28".
14228 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14229 * NEWS: Add the list of bugs fixed in 2.28.
14231 * po/ca.po: Update to latest version.
14232 * po/cs.po: Likewise
14233 * po/da.po: Likewise
14234 * po/el.po: Likewise
14235 * po/eo.po: Likewise
14236 * po/es.po: Likewise
14237 * po/fi.po: Likewise
14238 * po/fr.po: Likewise
14239 * po/gl.po: Likewise
14240 * po/hu.po: Likewise
14241 * po/ia.po: Likewise
14242 * po/id.po: Likewise
14243 * po/it.po: Likewise
14244 * po/ja.po: Likewise
14245 * po/ko.po: Likewise
14246 * po/lt.po: Likewise
14247 * po/nb.po: Likewise
14248 * po/nl.po: Likewise
14249 * po/pt_BR.po: Likewise
14250 * po/ru.po: Likewise
14251 * po/rw.po: Likewise
14252 * po/sk.po: Likewise
14253 * po/sl.po: Likewise
14254 * po/tr.po: Likewise
14255 * po/zh_CN.po: Likewise
14256 * po/zh_TW.po: Likewise
14258 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14260 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14262 (init): ... before initializing libpthread.
14264 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14265 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14266 (__mach_setup_tls): ... new function.
14267 (mach_setup_tls): New alias.
14268 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14269 __mach_setup_thread.
14270 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14271 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14272 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14273 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14275 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14277 * manual/install.texi: Update versions.
14278 * INSTALL: Regenerate.
14280 * manual/contrib.texi (Contributors): Update contributions.
14282 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14284 * po/be.po: Update translations.
14286 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14288 * sysdeps/sh/libm-test-ulps: Update.
14290 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14292 * po/bg.po: Update translations.
14293 * po/de.po: Likewise.
14294 * po/hr.po: Likewise.
14295 * po/pt_BR.po: Likewise.
14296 * po/sv.po: Likewise.
14297 * po/vi.po: Likewise.
14299 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14302 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14303 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14304 (CFLAGS-tst-cet-property-1.o): New.
14305 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14306 ($(objpfx)tst-cet-property-2): Likewise.
14307 ($(objpfx)tst-cet-property-2.out): Likewise.
14308 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14309 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14310 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14311 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14312 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14314 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14319 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14321 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14322 __sbrk): Do not set attribute_hidden.
14323 * sysdeps/mach/hurd/not-errno.h: New file.
14324 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14325 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14327 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14329 * po/uk.po: Update translations.
14330 * po/cs.po: Likewise.
14331 * po/pl.po: Likewise.
14333 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14335 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14336 parse beyond the note end.
14338 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14340 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14341 kernel does not support OFD locks.
14342 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14344 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14346 * sysdeps/mach/hurd/Versions (libc): Make __access and
14347 __access_noerrno external so they can override the ld symbols.
14348 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14349 __writev, __open64, __access_noerrno extern so they can be overrided.
14350 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14351 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14353 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14355 * po/libc.pot: Regenerate.
14357 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14359 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14361 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14364 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14366 (init_cpu_features): Call get_extended_indices for both Intel
14368 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14369 Remove "for AMD" comment.
14371 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14374 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14375 COMMON_CPUID_INDEX_80000001.
14377 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14379 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14380 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14382 2018-07-26 Florian Weimer <fweimer@redhat.com>
14384 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14385 aliases for symbols not in the implementation namespace.
14387 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14390 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14391 lowercase in LATIN script.
14392 * localedata/Makefile (test-input): Add en_US.UTF-8.
14393 * localedata/en_US.UTF-8.in: New file.
14394 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14395 and restore old tests.
14396 * posix/tst-regexloc.c (do_test): Add back range expression test.
14398 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14400 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14402 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14404 * nptl/threads.h: Move to ...
14405 * sysdeps/nptl/threads.h: ... here.
14406 * sysdeps/hurd/stdc-predef.h: New file.
14408 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14410 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14411 tst-cet-setcontext-1 if CET is enabled.
14412 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14413 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14415 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14417 * include/threads.h: Move to ...
14418 * sysdeps/nptl/threads.h: ... here.
14419 * sysdeps/htl/threads.h: New file.
14420 * conform/Makefile (linknamespace-libs-ISO11): Use
14421 static-thread-library instead of linking libpthread.
14422 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14424 2018-07-25 Florian Weimer <fweimer@redhat.com>
14426 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14427 nanoseconds into seconds.
14428 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14429 (do_test): Likewise.
14430 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14431 (do_test): Likewise. Avoid nanosecond overflow and spurious
14432 timeouts due to system load.
14433 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14434 (child_wait): Increment it.
14435 (do_test): Wait as long as necessary until all expected threads
14438 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14439 H.J. Lu <hongjiu.lu@intel.com>
14441 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14443 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14444 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14445 (__push___start_context): New.
14446 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14448 (__getcontext): Record the current shadow stack base. Save the
14449 caller's shadow stack pointer and base.
14450 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14451 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14452 (__push___start_context): New prototype.
14453 (__makecontext): Call __push___start_context to allocate a new
14454 shadow stack, push __start_context onto the new stack as well
14455 as the new shadow stack.
14456 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14458 (__setcontext): Restore the target shadow stack.
14459 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14461 (__swapcontext): Record the current shadow stack base. Save
14462 the caller's shadow stack pointer and base. Restore the target
14464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14465 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14466 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14468 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14470 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14471 tst-setcontext8 and tst-setcontext9.
14472 * stdlib/tst-setcontext6.c: New file.
14473 * stdlib/tst-setcontext7.c: Likewise.
14474 * stdlib/tst-setcontext8.c: Likewise.
14475 * stdlib/tst-setcontext9.c: Likewise.
14477 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14479 * stdlib/Makefile ((tests): Add tst-setcontext5.
14480 * stdlib/tst-setcontext5.c: New file.
14482 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14484 * stdlib/Makefile (tests): Add tst-setcontext4.
14485 * stdlib/tst-setcontext4.c: New file.
14487 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14489 * stdlib/Makefile (tests): Add tst-swapcontext1.
14490 * stdlib/tst-swapcontext1.c: New test.
14492 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14494 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14495 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14496 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14497 and tst-cet-legacy-4c.
14498 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14499 and tst-cet-legacy-mod-4.
14500 (CFLAGS-tst-cet-legacy-2.c): New.
14501 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14502 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14503 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14504 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14505 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14506 ($(objpfx)tst-cet-legacy-1): Likewise.
14507 ($(objpfx)tst-cet-legacy-2): Likewise.
14508 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14509 ($(objpfx)tst-cet-legacy-2a): Likewise.
14510 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14511 ($(objpfx)tst-cet-legacy-4): Likewise.
14512 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14513 ($(objpfx)tst-cet-legacy-4a): Likewise.
14514 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14515 (tst-cet-legacy-4a-ENV): Likewise.
14516 ($(objpfx)tst-cet-legacy-4b): Likewise.
14517 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14518 (tst-cet-legacy-4b-ENV): Likewise.
14519 ($(objpfx)tst-cet-legacy-4c): Likewise.
14520 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14521 (tst-cet-legacy-4c-ENV): Likewise.
14522 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14523 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14524 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14525 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14526 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14527 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14528 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14529 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14530 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14531 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14532 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14534 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14537 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14539 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14540 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14543 2018-07-25 Andreas Schwab <schwab@suse.de>
14546 * locale/weightwc.h (findidx): Handle the case where usrc is a
14547 prefix of cp but one character too short.
14549 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14551 * NEWS: Add ISO C threads addition.
14553 2018-07-24 Florian Weimer <fweimer@redhat.com>
14555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14556 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14557 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14560 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14562 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14563 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14564 <sys/prctl.h> and <asm/prctl.h>.
14565 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14566 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14568 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14569 ARCH_CET_LEGACY_BITMAP.
14570 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14571 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14572 * sysdeps/x86/libc-start.c: Include <startup.h>.
14574 2018-07-24 Florian Weimer <fweimer@redhat.com>
14576 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14577 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14579 2018-07-24 Rical Jasan <rj@2c3t.io>
14580 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14581 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14584 * manual/debug.texi: Update adjacent chapter name.
14585 * manual/probes.texi: Likewise.
14586 * manual/threads.texi (ISO C Threads): New section.
14587 (POSIX Threads): Convert to a section.
14589 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14590 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14593 * nptl/Makefile (tests): Add new test files.
14594 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14595 * nptl/tst-cnd-basic.c: Likewise.
14596 * nptl/tst-cnd-broadcast.c: Likewise.
14597 * nptl/tst-cnd-timedwait.c: Likewise.
14598 * nptl/tst-mtx-basic.c: Likewise.
14599 * nptl/tst-mtx-recursive.c: Likewise.
14600 * nptl/tst-mtx-timedlock.c: Likewise.
14601 * nptl/tst-mtx-trylock.c: Likewise.
14602 * nptl/tst-thrd-basic.c: Likewise.
14603 * nptl/tst-thrd-detach.c: Likewise.
14604 * nptl/tst-thrd-sleep.c: Likewise.
14605 * nptl/tst-tss-basic.c: Likewise.
14607 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14610 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14611 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14613 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14641 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14642 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14643 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14644 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14646 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14664 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14674 * conform/data/threads.h-data (thread_local): New macro.
14675 (TSS_DTOR_ITERATIONS): Likewise.
14677 (tss_dtor_t): Likewise.
14678 (tss_create): New function.
14679 (tss_get): Likewise.
14680 (tss_set): Likewise.
14681 (tss_delete): Likewise.
14682 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14683 tss_get, and tss_set objects.
14684 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14685 * nptl/tss_create.c: New file.
14686 * nptl/tss_delete.c: Likewise.
14687 * nptl/tss_get.c: Likewise.
14688 * nptl/tss_set.c: Likewise.
14689 * sysdeps/nptl/threads.h (thread_local): New define.
14690 (TSS_DTOR_ITERATIONS): Likewise.
14691 (tss_t): New typedef.
14692 (tss_dtor_t): Likewise.
14693 (tss_create): New prototype.
14694 (tss_get): Likewise.
14695 (tss_set): Likewise.
14696 (tss_delete): Likewise.
14699 * conform/data/threads.h-data (cnd_t): New type.
14700 (cnd_init): New function.
14701 (cnd_signal): Likewise.
14702 (cnd_broadcast): Likewise.
14703 (cnd_wait): Likewise.
14704 (cnd_timedwait): Likewise.
14705 (cnd_destroy): Likewise.
14706 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14707 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14709 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14710 * nptl/cnd_broadcast.c: New file.
14711 * nptl/cnd_destroy.c: Likewise.
14712 * nptl/cnd_init.c: Likewise.
14713 * nptl/cnd_signal.c: Likewise.
14714 * nptl/cnd_timedwait.c: Likewise.
14715 * nptl/cnd_wait.c: Likewise.
14716 * sysdeps/nptl/threads.h (cnd_t): New type.
14717 (cnd_init): New prototype.
14718 (cnd_signa): Likewise.
14719 (cnd_broadcast): Likewise.
14720 (cnd_wait): Likewise.
14721 (cnd_timedwait): Likewise.
14722 (cnd_destroy): Likewise.
14725 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14726 (once_flag): New type.
14727 (call_once): New function.
14728 * nptl/Makefile (libpthread-routines): Add call_once object.
14729 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14730 * nptl/call_once.c: New file.
14731 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14732 (once_flag): New type.
14733 (call_once): New prototype.
14736 * conform/data/threads.h-data (mtx_plain): New constant.
14737 (mtx_recursive): Likewise.
14738 (mtx_timed): Likewise.
14740 (mtx_init): New function.
14741 (mtx_lock): Likewise.
14742 (mtx_timedlock): Likewise.
14743 (mtx_trylock): Likewise.
14744 (mtx_unlock): Likewise.
14745 (mtx_destroy): Likewise.
14746 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14747 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14748 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14749 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14750 * nptl/mtx_destroy.c: New file.
14751 * nptl/mtx_init.c: Likewise.
14752 * nptl/mtx_lock.c: Likewise.
14753 * nptl/mtx_timedlock.c: Likewise.
14754 * nptl/mtx_trylock.c: Likewise.
14755 * nptl/mtx_unlock.c: Likewise.
14756 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14757 (mtx_recursive): Likewise.
14758 (mtx_timed): Likewise.
14760 (mtx_init): New prototype.
14761 (mtx_lock): Likewise.
14762 (mtx_timedlock): Likewise.
14763 (mtx_trylock): Likewise.
14764 (mtx_unlock): Likewise.
14765 (mtx_destroy): Likewise.
14768 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14769 (linknamespace-libs-ISO11): Add libpthread.a.
14770 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14772 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14773 * nptl/Makefile (headers): Add threads.h.
14774 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14775 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14777 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14778 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14779 thrd_join, thrd_sleep, and thrd_yield symbols.
14780 * nptl/descr.h (struct pthread): Add c11 field.
14781 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14782 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14783 routine with expected function prototype.
14784 (__pthread_create_2_1): Add C11 threads check based on attribute
14786 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14787 * nptl/thrd_create.c: New file.
14788 * nptl/thrd_current.c: Likewise.
14789 * nptl/thrd_detach.c: Likewise.
14790 * nptl/thrd_equal.c: Likewise.
14791 * nptl/thrd_exit.c: Likewise.
14792 * nptl/thrd_join.c: Likewise.
14793 * nptl/thrd_priv.h: Likewise.
14794 * nptl/thrd_sleep.c: Likewise.
14795 * nptl/thrd_yield.c: Likewise.
14796 * include/threads.h: Likewise.
14798 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14800 * bits/indirect-return.h: New file.
14801 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14802 * sysdeps/x86/bits/indirect-return.h: Likewise.
14803 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14804 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14805 (swapcontext): Add __INDIRECT_RETURN.
14806 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14807 (prepare_test_buffer): Use it.
14809 2018-07-24 Andreas Schwab <schwab@suse.de>
14812 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14813 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14815 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14817 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14818 Redefine if shadow stack is enabled.
14819 (SYSCALL_ERROR_LABEL): Likewise.
14820 (__vfork): Pop shadow stack and jump back to to caller directly
14821 when shadow stack is in use.
14822 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14823 Redefine if shadow stack is enabled.
14824 (SYSCALL_ERROR_LABEL): Likewise.
14825 (__vfork): Pop shadow stack and jump back to to caller directly
14826 when shadow stack is in use.
14828 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14830 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14833 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14836 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14838 * scripts/build-many-glibcs.py (Context.checkout): Default
14839 binutils version to 2.31 branch.
14841 2018-07-20 Zong Li <zong@andestech.com>
14843 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14844 URL of gcc's tarball.
14846 2018-07-20 Florian Weimer <fweimer@redhat.com>
14849 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14850 not compare an extra byte after the end of the weights.
14852 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14854 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14856 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14858 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14859 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14860 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14861 list of libraries whose stack executability is expected.
14862 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14863 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14865 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14866 libc.so libpthread.so.
14868 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14870 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14872 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14874 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14876 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14878 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14880 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14881 library to improve command line parsing.
14882 (__main__): make schema file as optional parameter (--schema),
14883 defaulting to benchtests/scripts/benchout.schema.json.
14884 (main): move out of the parsing stuff to __main_ and leave it
14885 only as caller of main comparison functions.
14887 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14889 * NEWS: Add a note for Intel CET status.
14890 * manual/install.texi: Likewise.
14891 * INSTALL: Regenerated.
14893 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14896 * localedata/locales/oc_FR (mon): Rename to...
14897 (alt_mon): This, then update October (typo fix).
14898 (mon): New content (genitive case, month names preceded by
14902 * localedata/locales/oc_FR (abday): Update all items.
14903 (day): Update Wednesday and Saturday (typo fixes).
14904 (abmon): Update all items, except May.
14905 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14906 (LC_IDENTIFICATION): Bump the revision number and date.
14907 Keep the "category" entries in alphabetic order.
14908 (LC_ADDRESS): Remove no longer needed comment.
14909 (LC_COLLATE): Use “copy "ca_ES"”.
14910 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14913 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14915 * grp/tst_fgetgrent.c: Include <unistd.h>.
14916 (main): Use mkstemp instead of tmpnam.
14917 * io/test-utime.c (main): Likewise.
14918 * posix/annexc.c (macrofile): Change to modifiable array.
14919 (main): Remove macrofile here.
14920 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14922 (check_header): Do not remove macrofile here.
14923 * posix/bug-getopt1.c: Include <stdlib.h>.
14924 (do_test): Use mkstemp instead of tmpnam.
14925 * posix/bug-getopt2.c: Include <stdlib.h>.
14926 (do_test): Use mkstemp instead of tmpnam.
14927 * posix/bug-getopt3.c: Include <stdlib.h>.
14928 (do_test): Use mkstemp instead of tmpnam.
14929 * posix/bug-getopt4.c: Include <stdlib.h>.
14930 (do_test): Use mkstemp instead of tmpnam.
14931 * posix/bug-getopt5.c: Include <stdlib.h>.
14932 (do_test): Use mkstemp instead of tmpnam.
14933 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14934 (main): Use mkstemp instead of tmpnam.
14935 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14936 (main): Use mkstemp instead of tmpnam.
14937 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14938 (main): use mkstemp instead of tmpnam.
14939 * stdlib/isomac.c (macrofile): Change to modifiable array.
14940 (main): Remove macrofile here.
14941 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14943 (check_header): Do not remove macrofile here.
14945 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14947 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14948 glibc.tune.x86_shstk.
14950 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14952 * NEWS: Mention --enable-cet.
14953 * manual/install.texi: Document --enable-cet.
14954 * INSTALL: Regenerated.
14956 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14958 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14959 Add _CET_NOTRACK before indirect jump to jump table.
14961 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14963 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14964 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14967 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14969 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14970 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14973 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14976 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14979 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14982 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14985 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14988 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14990 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14992 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14994 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14995 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14998 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15000 * sysdeps/i386/i686/multiarch/memset-sse2.S
15001 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15004 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15006 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15007 indirect jump to jump table.
15009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15014 (MEMCPY): Likewise.
15016 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15019 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15021 (MEMCPY): Likewise.
15023 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15025 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15026 _CET_NOTRACK before indirect jump to jump table.
15028 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15031 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15034 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15036 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15037 indirect jump to jump table.
15039 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15042 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15043 (LOCALES): Likewise.
15044 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15045 * localedata/locales/sah_RU: New file.
15046 * localedata/sah_RU.UTF-8.in: New file.
15048 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15050 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15052 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15053 _CET_ENDBR to indirect jump targets and adjust jump destination
15055 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15057 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15058 _CET_ENDBR to indirect jump targets and adjust jump destination
15060 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15062 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15063 _CET_ENDBR to indirect jump targets and adjust jump destination
15066 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15068 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15071 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15073 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15075 (_dl_tlsdesc_undefweak): Likewise.
15076 (_dl_tlsdesc_dynamic): Likewise.
15077 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15078 (_dl_tlsdesc_resolve_rel): Likewise.
15079 (_dl_tlsdesc_resolve_rela): Likewise.
15080 (_dl_tlsdesc_resolve_hold): Likewise.
15081 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15082 (_dl_tlsdesc_undefweak): Likewise.
15083 (_dl_tlsdesc_dynamic): Likewise.
15084 (_dl_tlsdesc_resolve_rela): Likewise.
15085 (_dl_tlsdesc_resolve_hold): Likewise.
15087 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15089 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15091 * sysdeps/x86_64/crti.S (_init): Likewise.
15094 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15097 * localedata/locales/os_RU (mon): Rename to...
15099 (mon): Import from CLDR (genitive case).
15101 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15103 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15104 cet-tunables.h> when CET is enabled.
15106 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15109 * configure.ac: Add --enable-cet.
15110 * configure: Regenerated.
15111 * elf/Makefille (all-built-dso): Add a comment.
15112 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15113 Include <dl-prop.h>.
15114 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15116 * elf/dl-open.c: Include <dl-prop.h>.
15117 (dl_open_worker): Call _dl_open_check.
15118 * elf/rtld.c: Include <dl-prop.h>.
15119 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15121 * sysdeps/generic/dl-prop.h: New file.
15122 * sysdeps/i386/dl-cet.c: Likewise.
15123 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15124 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15125 * sysdeps/x86/cet-tunables.h: Likewise.
15126 * sysdeps/x86/check-cet.awk: Likewise.
15127 * sysdeps/x86/configure: Likewise.
15128 * sysdeps/x86/configure.ac: Likewise.
15129 * sysdeps/x86/dl-cet.c: Likewise.
15130 * sysdeps/x86/dl-procruntime.c: Likewise.
15131 * sysdeps/x86/dl-prop.h: Likewise.
15132 * sysdeps/x86/libc-start.h: Likewise.
15133 * sysdeps/x86/link_map.h: Likewise.
15134 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15136 (_dl_runtime_profile): Likewise.
15137 (_dl_runtime_resolve_shstk): New.
15138 (_dl_runtime_profile_shstk): Likewise.
15139 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15141 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15142 (CFLAGS-.os): Likewise.
15143 (CFLAGS-.op): Likewise.
15144 (CFLAGS-.oS): Likewise.
15145 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15147 (tests-special): Add $(objpfx)check-cet.out.
15148 (cet-built-dso): New.
15149 (+$(cet-built-dso:=.note)): Likewise.
15150 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15151 ($(objpfx)check-cet.out): New.
15152 (generated): Add check-cet.out.
15153 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15155 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15156 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15157 (init_cpu_features): Call get_cet_status to check CET status
15158 and update dl_x86_feature_1 with CET status. Call
15159 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15160 (set_x86_shstk). Disable and lock CET in libc.a.
15161 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15162 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15163 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15164 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15165 (_CET_ENDBR): Define if not defined.
15166 (ENTRY): Add _CET_ENDBR.
15167 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15169 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15171 (_dl_runtime_profile): Likewise.
15173 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15176 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15177 restore r2 on longjmp.
15178 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15180 Added rules to build test tst-setjmp-bug21895-static.
15181 Added module setjmp-bug21895 and rules to build a shared object from it.
15182 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15183 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15185 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15187 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15188 * benchtests/bench-strstr.c: Likewise.
15189 * string/memmem.c (FASTSEARCH): Define.
15190 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15191 Add support for FASTSEARCH.
15192 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15193 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15194 (FASTSEARCH): Define.
15195 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15196 * string/test-strstr.c: Likewise.
15198 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15201 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15203 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15204 H.J. Lu <hongjiu.lu@intel.com>
15206 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15207 (__longjmp): Restore shadow stack pointer if shadow stack is
15208 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15209 isn't defined for __longjmp_cancel.
15210 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15211 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15212 and SHADOW_STACK_POINTER_OFFSET is defined.
15213 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15214 (setjmp): Save shadow stack pointer if shadow stack is enabled
15215 and SHADOW_STACK_POINTER_OFFSET is defined.
15216 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15217 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15218 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15221 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15222 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15223 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15224 Remove jmp_buf-ssp.sym.
15225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15227 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15228 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15229 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15231 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15232 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15233 (__longjmp): Restore shadow stack pointer if shadow stack is
15234 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15235 isn't defined for __longjmp_cancel.
15236 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15237 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15238 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15240 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15243 * nptl/pthread_create.c: Include <tls-setup.h>.
15244 (__pthread_create_2_1): Call tls_setup_tcbhead.
15245 * sysdeps/generic/tls-setup.h: New file.
15246 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15247 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15248 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15250 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15252 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15253 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15254 (X86_FEATURE_1_SHSTK): Likewise.
15255 (CET_ENABLED): Likewise.
15256 (IBT_ENABLED): Likewise.
15257 (SHSTK_ENABLED): Likewise.
15259 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15262 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15263 (LOCALES): Likewise.
15264 * localedata/dsb_DE.UTF-8.in: New file.
15265 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15267 2018-07-12 Florian Weimer <fweimer@redhat.com>
15269 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15270 __mprotect, not mprotect.
15272 2018-07-11 Florian Weimer <fweimer@redhat.com>
15274 * io/Makefile (headers): Add bits/statx.h.
15276 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15278 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15279 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15281 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15282 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15285 2018-07-10 Florian Weimer <fweimer@redhat.com>
15287 * io/Makefile (routines): Add statx.
15288 (tests-internal): Add tst-statx.
15289 * io/Versions (GLIBC_2.28): Export statx.
15290 * io/bits/statx.h: New file.
15291 * io/sys/stat.h [__USE_GNU]: Include it.
15292 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15293 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15295 * io/statx.c: New file.
15296 * io/statx_generic.: Likewise.
15297 * io/tst-statx.: Likewise.
15298 * include/bits/statx.h: Likewise.
15299 * sysdeps/unix/sysv/linux/kernel-features.h
15300 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15302 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15306 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15307 * sysdeps/unix/sysv/linux/statx.c: New file.
15308 * manual/filesys.texi: Note that statx is undocumented.
15309 * sysdeps/**/libc*.abilist: Update.
15311 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15313 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15314 a kernel issue which lead to test failure in some cases.
15316 2018-07-10 Florian Weimer <fweimer@redhat.com>
15319 * posix/regexec.c (check_node_accept_bytes): When comparing
15320 weights, do not compare an extra byte after the end of the
15323 2018-07-10 Florian Weimer <fweimer@redhat.com>
15325 * libio/readline.c: Fix copyright year.
15326 * libio/tst-readline.c Likewise.
15327 * nss/tst-nss-files-hosts-getent.c: Likewise.
15329 2018-07-06 Florian Weimer <fweimer@redhat.com>
15332 * nss/nss_files/files-XXX.c (internal_getent): Use
15333 __libc_readline_unlocked. Seek back to the start of the line if
15334 parsing failes with ERANGE.
15335 (get_contents_ret, get_contents): Remove.
15336 * nss/tst-nss-files-hosts-getent.c: New file.
15337 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15338 (tst-nss-files-hosts-getent): Link with -ldl.
15340 2018-07-06 Florian Weimer <fweimer@redhat.com>
15342 * include/stdio.h (__libc_readline_unlocked): Declare.
15343 (__ftello64, __fseeko64): Declare aliases.
15344 * libio/readline.c: New file.
15345 * libio/tst-readline.c: Likewise.
15346 (routines): Add readline.
15347 (tests-internal): Add tst-readlime.
15348 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15349 __libc_readline_unlocked.
15350 * libio/fseeko.c (__fseeko): Rename from fseeko.
15351 (fseeko): Add alias.
15352 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15353 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15354 (fseeko64): Add alias.
15355 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15356 * libio/ftello64.c (__ftello64): Rename from ftello64.
15357 (ftello64): Add alias.
15359 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15361 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15364 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15366 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15367 Use dl_hwcap without masking.
15368 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15369 Remove HWCAP_CPUID.
15371 2018-07-06 Florian Weimer <fweimer@redhat.com>
15373 * conform/conformtest.pl (checknamespace): Escape literal braces
15374 in regular expressions.
15376 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15378 * sysdeps/x86/cpu-features.c (get_common_indeces):
15379 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15380 * sysdeps/x86/cpu-features.c (init_cpu_features):
15381 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15383 2018-07-05 Florian Weimer <fweimer@redhat.com>
15385 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15387 (CFLAGS-elf-init.oS): Likewise.
15389 2018-07-05 Florian Weimer <fweimer@redhat.com>
15390 Carlos O'Donell <carlos@redhat.com>
15392 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15393 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15394 with stack protector enabled because there is no risk of infinite
15397 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15401 * libc-abis (ABSOLUTE): New ABI.
15402 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15403 * NEWS: Mention the new ABI.
15405 2018-07-05 Florian Weimer <fweimer@redhat.com>
15408 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15409 (RENAME_WHITEOUT): Define.
15410 [__USE_GNU] (renameat2): Declare.
15411 * stdio-common/Makefile (routines): Add renameat2.
15412 (tests): Add tst-renameat2.
15413 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15414 * stdio-common/renameat2.c: New file.
15415 * stdio-common/tst-renameat2.c: Likewise.
15416 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15417 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15419 * sysdeps/unix/sysv/linux/kernel-features.h
15420 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15421 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15422 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15424 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15425 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15426 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15427 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15428 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15429 * include/stdio.h (__renameat): Add alias for renameat.
15430 * stdio-common/renameat.c (__renameat): Rename from renameat.
15431 Add hidden definition and alias.
15432 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15433 * sysdeps/mach/hurd/renameat.c: Likewise.
15434 * sysdeps/**/libc*.abilist: Add renameat2.
15436 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15438 * posix/bug-regex33.c: Fix build after regex sync.
15440 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15443 * localedata/tst-langinfo-setlocale.c: New file.
15444 * localedata/tst-langinfo-setlocale-static.c: New file.
15445 * localedata/tst-langinfo-newlocale.c: New file.
15446 * localedata/tst-langinfo-newlocale-static.c: New file.
15447 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15448 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15449 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15450 (tests-static): Remove tst-langinfo-static. Add
15451 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15452 (tests-special): Remove $(objpfx)tst-langinfo.out,
15453 $(objpfx)tst-langinfo-static.out. Add
15454 $(objpfx)tst-langinfo-setlocale.out,
15455 $(objpfx)tst-langinfo-newlocale.out,
15456 $(objpfx)tst-langinfo-setlocale-static.out,
15457 $(objpfx)tst-langinfo-newlocale-static.out.
15458 ($(objpfx)tst-langinfo.out): Remove.
15459 ($(objpfx)tst-langinfo-static.out): Remove.
15460 ($(objpfx)tst-langinfo-newlocale.out): New target.
15461 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15462 (test-xfail-tst-langinfo-newlocale-static): Add.
15463 ($(objpfx)tst-langinfo-setlocale.out): New target.
15464 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15465 * localedata/tst-langinfo.c: Call test_locale.
15466 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15469 2018-07-04 Florian Weimer <fweimer@redhat.com>
15471 testrun.sh: Implement --tool=strace, --tool=valgrind
15472 * Makefile (testrun-script): Define variable.
15473 (testrun.sh): Use variable.
15474 * manual/install.texi (Tools for Compilation): make 4.0 or later
15476 * configure.ac: Check for make 4.0 or later.
15477 * INSTALL: Regenerate.
15478 * configure: Likewise.
15480 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15486 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15487 * posix/PCRE.tests: Remove invalid test.
15488 * posix/bug-regex28.c: Fix expected values for used syntax.
15489 * posix/bug-regex37.c: New file.
15490 * posix/bug-regex38.c: Likewise.
15491 * posix/regcomp.c: Sync with gnulib.
15492 * posix/regex.c: Likewise.
15493 * posix/regex.h: Likewise.
15494 * posix/regex_internal.c: Likewise.
15495 * posix/regex_internal.h: Likewise.
15496 * posix/regexec.c: Likewise.
15498 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15501 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15502 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15503 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15504 * localedata/unicode-gen/PropList.txt: likewise.
15505 * localedata/unicode-gen/UnicodeData.txt: likewise.
15506 * localedata/charmaps/UTF-8: Regenerate.
15507 * localedata/locales/i18n_ctype: likewise.
15508 * localedata/locales/tr_TR: likewise.
15509 * localedata/locales/translit_circle: likewise.
15510 * localedata/locales/translit_cjk_compat: likewise.
15511 * localedata/locales/translit_combining: likewise.
15512 * localedata/locales/translit_compat: likewise.
15513 * localedata/locales/translit_font: likewise.
15514 * localedata/locales/translit_fraction: likewise.
15516 2018-07-03 Florian Weimer <fweimer@redhat.com>
15519 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15520 * stdio-common/tst-printf.sh: Adjust expected output.
15521 * LICENSES: Update.
15523 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15525 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15528 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15530 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15531 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15532 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15533 * stdio-common/tst-printfsz-islongdouble.c: New file.
15534 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15536 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15537 [subdir == stdio-common] (tests-internal): Add
15538 test-printf-size-ieee128, and test-printf-size-ibm128.
15539 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15540 (CFLAGS-test-printf-size-ibm128.c): New variables.
15541 [subdir == stdio-common] (tests-special): Add
15542 $(objpfx)test-printf-size-ieee128.out and
15543 $(objpfx)test-printf-size-ibm128.out.
15544 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15545 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15546 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15547 __printf_sizeieee128.
15548 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15550 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15552 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15555 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15557 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15558 (exp2f_inline): Likewise.
15559 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15560 (__math_uflowf): Likewise.
15561 (__math_may_uflowf): Likewise.
15562 (__math_divzerof): Likewise.
15563 (__math_invalidf): Likewise.
15564 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15565 (__math_oflowf): Likewise.
15566 (__math_uflowf): Likewise.
15567 (__math_may_uflowf): Likewise.
15568 (__math_divzerof): Likewise.
15569 (__math_invalidf): Likewise.
15571 2018-06-29 DJ Delorie <dj@redhat.com>
15572 Carlos O'Donell <carlos@redhat.com>
15575 * include/libc-symbols.h: Comment the freeres framework.
15576 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15577 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15578 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15579 * dlfcn/dlerror.c: Include libc-symbols.h
15580 (__dlerror_main_freeres): New function.
15581 * dlfcn/dlfreeres.c: New file.
15582 * dlfcn/sdlfreeres.c: New file.
15583 * include/dlfcn.h: Declare __dlerror_main_freeres.
15584 * malloc/set-freeres.c: Declare __libdl_freeres, and
15585 __libpthread_freeres.
15586 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15587 the releavant libraries are loaded.
15588 * malloc/thread-freeres.c: Add comments.
15589 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15590 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15591 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15592 (__free_stacks): Rename to...
15593 (free_stacks): ...this. Mark static.
15594 (queue_stack): Call free_stacks.
15595 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15596 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15597 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15598 ptr_freeres element from struct.
15599 (pthread_functions): Remove .ptr_freeres from struct initializer.
15600 [SHARED] (nptl_freeres): Remove.
15601 * nptl/nptlfreeres.c: New file.
15603 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15604 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15606 (__free_stacks): Rename to...
15607 (__nptl_stacks_freeres): ...this.
15608 (__shm_directory_freeres): Declare.
15609 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15610 (__nptl_unwind_freeres): ...this.
15611 * resolv/res-close.c: Add comment.
15612 * resolv/resolv_conf.c: Include libc-symbols.h.
15613 * string/strerror_l.c: Include libc-symbols.h.
15614 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15615 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15616 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15617 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15619 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15621 * stdlib/tst-strfmon_l.c: Add tests for long double.
15623 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15626 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15627 * localedata/locales/dsb_DE: New file.
15629 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15632 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15634 (alt_mon): New entry, import from CLDR (nominative case).
15636 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15639 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15641 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15643 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15644 Use vector registers.
15646 * sysdeps/aarch64/multiarch/memmove_falkor.S
15647 (__memcpy_falkor): Use vector registers.
15649 2018-06-29 Martin Sebor <msebor@redhat.com>
15651 * manual/stdio.texi (Customizing Printf): Mention interaction
15652 with GCC built-ins.
15654 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15657 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15658 `st_value' is 0 if `st_shndx' is SHN_ABS.
15659 * elf/tst-absolute-zero.c: New file.
15660 * elf/tst-absolute-zero-lib.c: New file.
15661 * elf/tst-absolute-zero-lib.lds: New file.
15662 * elf/Makefile (tests): Add `tst-absolute-zero'.
15663 (modules-names): Add `tst-absolute-zero-lib'.
15664 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15665 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15666 ($(objpfx)tst-absolute-zero: New dependency.
15668 2018-06-29 Zack Weinberg <zackw@panix.com>
15670 * configure.ac: New command-line option --disable-crypt.
15671 Force --disable-nss-crypt when --disable-crypt is given, with a
15672 warning if it was explicitly enabled.
15673 * configure: Regenerate.
15674 * config.make.in: New boolean substitution variable $(build-crypt).
15675 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15676 when $(build-crypt).
15677 * manual/install.texi: Document --disable-crypt.
15678 * INSTALL: Regenerate.
15680 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15681 which is never set.
15682 * conform/Makefile: Only include libcrypt.a in
15683 linknamespace-libs-xsi and linknamespace-libs-XPG4
15684 when $(build-crypt).
15685 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15686 USE_CRYPT to 1 when $(build-crypt).
15687 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15688 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15689 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15691 2018-06-29 Zack Weinberg <zackw@panix.com>
15693 * crypt/crypt.h, posix/unistd.h: Update comments and
15694 prototypes for crypt and crypt_r.
15696 * manual/crypt.texi (Cryptographic Functions): New initial
15698 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15699 (Unpredictable Bytes): Improve initial exposition. Clarify error
15700 behavior of getentropy and getrandom.
15701 * manual/examples/genpass.c: Generate a salt using getentropy
15702 instead of the current time. Use hash $5$ (SHA-2-256).
15703 * manual/examples/testpass.c: Demonstrate validation against
15704 hashes generated with three different one-way functions.
15706 * manual/intro.texi: crypt.texi does not need an overview
15709 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15710 * manual/terminal.texi: Consistently refer to "passphrases"
15711 * instead of "passwords", and to the "user database" instead
15712 * of the "password database".
15713 * manual/users.texi: Similarly. Add notes about how actual
15714 passphrase hashes are now stored in the shadow database.
15715 Remove 20-year-old junk todo note.
15717 2018-06-29 Zack Weinberg <zackw@panix.com>
15719 * manual/crypt.texi: Use a normal top-level @node declaration.
15720 Move most of the introductory text to the 'crypt' section.
15721 Move the example programs below the @deftypefun for 'crypt_r'.
15722 Move the 'getpass' section...
15723 * manual/terminal.texi: ...here.
15725 2018-06-29 Zack Weinberg <zackw@panix.com>
15726 Florian Weimer <fweimer@redhat.com>
15728 * posix/unistd.h: Do not declare encrypt.
15729 (_XOPEN_CRYPT): Remove macro definition.
15730 (crypt): Declare only for _USE_MISC.
15731 * stdlib/stdlib.h: Do not declare setkey.
15732 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15733 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15735 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15736 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15737 into compat symbols. Don't define initial_perm if it's not
15739 * crypt/cert.c: Link explicitly with the expected versions for
15740 setkey and encrypt. If they are not available at all, mark
15741 the test as unsupported.
15743 * sunrpc/des_crypt.c: Unconditionally block linkage with
15744 cbc_crypt and ecb_crypt for new binaries.
15745 * sunrpc/des_soft.c: Unconditionally block linkage with
15746 des_setparity for new binaries.
15748 * manual/crypt.texi: Remove the entire "DES Encryption"
15749 section. Also remove the paragraph talking about FIPS 140-2
15750 from the introduction.
15751 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15752 of libgcrypt for "real" encryption, not DES.
15753 * manual/conf.texi (Constants for Sysconf): Mention that
15754 _XOPEN_CRYPT is no longer impelemented.
15756 * conform/data/unistd.h-data: Remove crypt function declaration.
15758 2018-06-29 Florian Weimer <fweimer@redhat.com>
15761 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15762 (disallow_malloc_check): Remove variable.
15763 (__malloc_check_init): Adjust.
15764 (malloc_set_state): Update comment.
15765 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15768 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15771 * localedata/locales/ast_ES (mon): Rename to...
15773 (mon): Import from CLDR (genitive case).
15775 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15776 Jakub Sitnicki <jkbs@redhat.com>
15779 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15780 on NLM_F_DUMP_INTR.
15782 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15784 * manual/llio.texi: Remove spurious space.
15786 2018-06-28 Florian Weimer <fweimer@redhat.com>
15789 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15792 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15794 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15795 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15796 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15797 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15798 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15799 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15800 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15802 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15805 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15806 Copy and null-terminate entries that are not terminated, in
15807 addition to empty ones.
15809 2018-06-27 Florian Weimer <fweimer@redhat.com>
15812 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15813 (extend_alloca_account): Remove.
15814 * manual/stdio.texi (Variable Arguments Output): Update comment.
15816 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15818 * nptl/sockperf.c: Remove file.
15820 2018-06-27 Florian Weimer <fweimer@redhat.com>
15823 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15824 scratch_buffer instead of extend_alloca.
15826 2018-06-27 Florian Weimer <fweimer@redhat.com>
15829 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15830 scratch_buffer instead of extend_alloca. Update comments.
15832 2018-06-27 Florian Weimer <fweimer@redhat.com>
15835 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15836 instead of extend_alloca.
15838 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15841 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15842 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15844 * scripts/test-installation.pl: Put temporary files in build
15845 directory, not /tmp.
15846 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15847 (CFLAGS-bug4.c): Likewise.
15848 (CFLAGS-bug5.c): Likewise.
15849 (CFLAGS-test-fseek.c): Likewise.
15850 (CFLAGS-test-popen.c): Likewise.
15851 (CFLAGS-test_rdwr.c): Likewise.
15852 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15854 * stdio-common/bug4.c (main): Likewise.
15855 * stdio-common/bug5.c (main): Likewise.
15856 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15857 * stdio-common/test-popen.c (do_test): Likewise.
15858 * stdio-common/test_rdwr.c (main): Likewise.
15860 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15862 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15863 (sem_open): Set sem.newsem.pad to zero for valgrind.
15865 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15868 * NEWS: Mention fcntl64 addition.
15869 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15870 * login/utmp_file.c: Likewise.
15871 * sysdeps/posix/fdopendir.c: Likewise.
15872 * sysdeps/posix/opendir.c: Likewise.
15873 * sysdeps/unix/pt-fcntl.c: Likewise.
15874 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15875 __fcntl64_nocancel_adjusted): New prototype.
15876 (__fcntl_nocancel_adjusted): Remove prototype.
15877 * io/Makefile (routines): Add fcntl64.
15878 (CFLAGS-fcntl64.c): New rule.
15879 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15880 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15881 * io/fcntl.h (fcntl64): Add prototype and redirect if
15882 __USE_FILE_OFFSET64 is defined.
15883 * io/fcntl64.c: New file.
15884 * manual/llio.text: Add a note for which commands fcntl acts a
15885 cancellation point.
15886 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15887 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15888 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15890 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15891 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15893 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15894 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15895 to __fcntl64_nocancel.
15896 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15897 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15898 to __fcntl64_nocancel.
15899 * sysdeps/generic/not-cancel.h: Likewise.
15900 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15901 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15902 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15903 (fcntl64): New symbol.
15904 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15915 fcntl64): Likewise.
15916 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15918 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15929 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15933 2018-06-26 Florian Weimer <fweimer@redhat.com>
15935 Run thread shutdown functions in an explicit order.
15936 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15938 (__libc_thread_freeres): Call thread shutdown functions
15940 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15941 * include/string.h (__strerror_thread_freeres): Declare.
15942 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15943 arena_thread_freeres. No longer static. Remove thread shutdown
15945 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15947 * resolv/res-close.c (__res_thread_freeres): Renamed from
15948 res_thread_freeres. No longer static. Remove thread shutdown
15950 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15951 * resolv/resolv_conf.c (freeres): Remove incorrect section
15952 attribute and use libc_freeres_fn.
15953 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15954 strerror_thread_freeres. No longer static. Remove thread
15955 shutdown hook registration.
15956 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15957 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15958 shutdown hook registration.
15959 * Makerules (shlib.lds): Do not provide section boundary symbols
15960 for __libc_thread_subfreeres.
15961 * manual/memory.texi (Basic Allocation): Update comment.
15963 2018-06-26 Florian Weimer <fweimer@redhat.com>
15965 Remove always-defined _RPC_THREAD_SAFE_ macro.
15966 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15967 Do not define _RPC_THREAD_SAFE_.
15968 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15970 * sunrpc/clnt_perr.c: Likewise.
15971 * sunrpc/clnt_raw.c: Likewise.
15972 * sunrpc/clnt_simp.c: Likewise.
15973 * sunrpc/key_call.c: Likewise.
15974 * sunrpc/rpc_common.c: Likewise.
15975 * sunrpc/rpc_main.c: Likewise.
15976 * sunrpc/rpc_thread.c: Likewise.
15977 * sunrpc/svc.c: Likewise.
15978 * sunrpc/svc_raw.c: Likewise.
15979 * sunrpc/svc_simple.c: Likewise.
15980 * sumrpc/svcauth_des.c: Likewise.
15982 2018-06-26 Florian Weimer <fweimer@redhat.com>
15984 * libio/Makefile (tests-internal): Add tst-vtables,
15985 tst-vtables-interposed.
15986 * libio/tst-vtables.c: New file.
15987 * libio/tst-vtables-common.c: Likewise.
15988 * libio/tst-vtables-interposed.c: Likewise.
15990 2018-06-26 Florian Weimer <fweimer@redhat.com>
15992 * support/support_test_main.c (support_test_main): Only call
15993 setvbuf if not disables.
15994 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15995 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15997 2018-06-26 Florian Weimer <fweimer@redhat.com>
16000 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16002 2018-06-25 Florian Weimer <fweimer@redhat.com>
16005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16006 Use struct scratch_buffer instead of extend_alloca.
16008 2018-06-25 Florian Weimer <fweimer@redhat.com>
16011 * nss/getent.c (initgroups_keys): Use dynarray instead of
16014 2018-06-25 Florian Weimer <fweimer@redhat.com>
16017 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16018 Use struct scratch_buffer instead of extend_alloca.
16020 2018-06-25 Florian Weimer <fweimer@redhat.com>
16023 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16024 back to malloc directly, without stack allocations.
16026 2018-06-25 Florian Weimer <fweimer@redhat.com>
16029 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16032 2018-06-25 Florian Weimer <fweimer@redhat.com>
16035 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16037 * nscd/hstcache.c (addhstbyX): Likewise.
16038 * nscd/pwdcache.c (addpwbyX): Likewise.
16039 * nscd/servicescache.c (addservbyX): Likewise.
16041 2018-06-25 Florian Weimer <fweimer@redhat.com>
16044 * nscd/connections.c (read_cmdline): New function.
16045 (restart): Use it. Update comment.
16047 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16050 * localedata/locales/csb_PL (mon): Rename to...
16052 (abmon): Rename to...
16053 (ab_alt_mon): This.
16054 (mon): Add with proper genitive forms, copy from Wikipedia.
16057 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16060 * localedata/locales/csb_PL (mon): Fix typos:
16061 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16062 (yesstr): Add, value is "jo".
16063 (nostr): Add, value is "nié".
16065 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16067 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16068 all log1p and significand functions on m680x0.
16069 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16070 of s_significand.c..
16071 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16072 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16073 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16074 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16075 s_log1p.c and include it..
16077 2018-06-21 Vincent Chen <vincentc@andestech.com>
16079 * elf/elf.h (R_NDS32_NONE): New define.
16080 (R_NDS32_32_RELA): Likewise.
16081 (R_NDS32_COPY): Likewise.
16082 (R_NDS32_GLOB_DAT): Likewise.
16083 (R_NDS32_JUMP_SLOT): Likewise.
16084 (R_NDS32_RELATIVE): Likewise.
16085 (R_NDS32_TLS_TPOFF): Likewise.
16086 (R_NDS32_TLS_DESC): Likewise.
16088 2018-06-21 Mark Wielaard <mark@klomp.org>
16090 * elf/elf.h (R_BPF_MAP_FD): Removed.
16091 (R_BPF_64_64, R_BPF_64_32): New.
16093 2018-06-21 Florian Weimer <fweimer@redhat.com>
16096 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16097 Renamed from libc_feholdsetround_ctx.
16098 (default_libc_feresetround_ctx): Renamed from
16099 libc_feresetround_ctx.
16100 (default_libc_feholdsetround_noex_ctx): Renamed from
16101 libc_feholdsetround_noex_ctx.
16102 (default_libc_feresetround_noex_ctx): Renamed from
16103 libc_feresetround_noex_ctx.
16104 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16105 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16106 forwardning to the old implementations under the new names.
16107 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16108 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16109 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16110 (libc_feresetround_ctx): Forward to default implements for i386
16111 and MATH_SET_BOTH_ROUNDING_MODES.
16112 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16113 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16115 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16117 * string/tst-cmp.c: Include <libc-diag.h>.
16118 (strncmp_max): Disable -Wstringop-overflow= around call to
16120 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16123 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16124 (main): Disable -Wunused-value around call to strpbrk.
16125 * string/bug-strspn1.c: Include <libc-diag.h>.
16126 (main): Disable -Wunused-value around call to strspn.
16128 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16129 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16131 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16132 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16134 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16136 * math/Makefile (libm-calls): Move s_significandF to...
16137 (gen-libm-calls): ... here.
16138 * math/s_significand_template.c: New file.
16139 * math/s_significand.c: Removed.
16140 * math/s_significandf.c: Removed.
16141 * math/s_significandl.c: Removed.
16142 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16143 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16145 * math/e_exp2_template.c (declare_mgen_finite_alias,
16146 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16147 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16148 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16150 2018-06-20 Florian Weimer <fweimer@redhat.com>
16152 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16154 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16157 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16158 floating-point number to strtod functions rather than possibly
16159 negating result of those functions.
16160 * stdio-common/tst-scanf-round.c: New file.
16161 * stdio-common/Makefile (tests): Add tst-scanf-round.
16162 ($(objpfx)tst-scanf-round): Depend on $(libm).
16164 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16166 * sysdeps/mach/hurd/localplt.data: Move to...
16167 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16168 R_386_GLOB_DAT like on Linux i386.
16170 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16172 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16173 (SHM_STAT_ANY): New macro.
16174 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16175 (SHM_STAT_ANY): Likewise.
16176 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16177 (SHM_STAT_ANY): Likewise.
16178 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16179 (SHM_STAT_ANY): Likewise.
16180 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16181 (SHM_STAT_ANY): Likewise.
16182 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16183 (SHM_STAT_ANY): Likewise.
16184 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16185 (SHM_STAT_ANY): Likewise.
16186 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16187 (SHM_STAT_ANY): Likewise.
16188 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16189 (SHM_STAT_ANY): Likewise.
16190 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16191 (SHM_STAT_ANY): Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16193 (SHM_STAT_ANY): Likewise.
16194 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16195 (SHM_STAT_ANY): Likewise.
16197 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16198 (SEM_STAT_ANY): New macro.
16199 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16200 (SEM_STAT_ANY): Likewise.
16201 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16202 (SEM_STAT_ANY): Likewise.
16203 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16204 (SEM_STAT_ANY): Likewise.
16205 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16206 (SEM_STAT_ANY): Likewise.
16207 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16208 (SEM_STAT_ANY): Likewise.
16209 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16210 (SEM_STAT_ANY): Likewise.
16211 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16212 (SEM_STAT_ANY): Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16214 (SEM_STAT_ANY): Likewise.
16215 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16216 (SEM_STAT_ANY): Likewise.
16218 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16219 (MSG_STAT_ANY): New macro.
16220 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16221 (MSG_STAT_ANY): Likewise.
16222 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16223 (MSG_STAT_ANY): Likewise.
16224 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16225 (MSG_STAT_ANY): Likewise.
16226 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16227 (MSG_STAT_ANY): Likewise.
16228 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16229 (MSG_STAT_ANY): Likewise.
16230 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16231 (MSG_STAT_ANY): Likewise.
16232 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16233 (MSG_STAT_ANY): Likewise.
16234 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16235 (MSG_STAT_ANY): Likewise.
16236 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16237 (MSG_STAT_ANY): Likewise.
16239 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16240 (MAP_TYPE): Change value to 0x2b.
16242 2018-06-18 Florian Weimer <fweimer@redhat.com>
16245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16246 socket with SOCK_CLOEXEC.
16248 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16251 * sysdeps/powerpc/powerpc64/le/Makefile
16252 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16253 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16254 (gnulib-tests): Also add $(f128-loader-link) for
16255 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16257 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16259 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16260 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16262 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16263 (sendfile64): New strong alias.
16264 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16265 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16266 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16267 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16269 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16270 ___pthread_get_cleanup_stack.
16271 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16272 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16273 * mach/shortcut.awk: Make syscall stubs include
16274 <mach-shortcuts-hidden.h> and add hidden definition.
16275 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16276 (__mach_msg): Add hidden prototype.
16277 * mach/msg.c: Include <mach.h>.
16278 (__mach_msg): Add hidden definition.
16279 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16280 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16281 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16282 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16283 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16284 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16285 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16286 prototype and definition.
16287 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16288 hidden target for _hurd_self_sigstate.
16290 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16293 * stdlib/tst-strtod-nan-sign-main.c: New file.
16294 * stdlib/tst-strtod-nan-sign.c: Likewise.
16295 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16296 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16297 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16298 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16299 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16301 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16307 2018-06-14 Florian Weimer <fweimer@redhat.com>
16310 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16311 that the result stays within the ISO-8859-1 range.
16312 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16313 characters are defined in IBM273.
16315 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16317 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16318 __mach_task_self): Remove attribute_hidden.
16320 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16322 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16323 ignore -Wrestrict for one test.
16325 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16326 Szabolcs Nagy <szabolcs.nagy@arm.com>
16328 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16330 2018-06-14 Florian Weimer <fweimer@redhat.com>
16332 * scripts/update-abilist.sh: Accept empty list of files to patch.
16334 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16336 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16337 test-xfail-check-abi-libmachuser): Add.
16338 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16339 __libc_read and __libc_write to __read and __write.
16340 * sysdeps/hurd/include/hurd/port.h: New file.
16341 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16342 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16343 __thread_switch, __evc_wait): Move declarations to...
16344 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16346 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16347 use PLT to call _hurd_self_sigstate.
16349 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16352 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16353 MAX_EXP as overflowing.
16354 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16356 (round_str): Output also whether result overflows in each rounding
16358 * stdlib/tst-strtod-round-data: Add more tests.
16359 * stdlib/tst-strtod-round-data.h: Regenerated.
16360 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16361 (TEST): Handle extra arguments for overflow flags.
16362 (struct test_overflow): New type.
16363 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16364 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16365 (test_in_one_mode): Take argument with overflow information.
16366 (do_test): Update calls to test_in_one_mode.
16368 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16370 * elf/dl-load (_dl_dst_substitute): Correct comment.
16371 (_dl_dst_count): Likewise.
16373 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16374 lll_futex_timed_wait.
16376 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16379 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16381 * math/test-nan-const.c: New file.
16382 * math/Makefile (tests): Add test-nan-const.
16383 (CFLAGS-test-nan-const.c): New variable.
16385 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16387 * benchtests/scripts/compare_strings.py (process_results): Add
16388 funcs argument. Compare only functions which are selected.
16389 (main): Check if base function is among selected functions.
16390 Pass selected functions to process_results.
16391 (__main__): Add -f/--functions argument.
16393 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16394 Hongbo Zhang <hongbo.zhang@linaro.org>
16396 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16397 __memcpy_falkor for phecda core.
16398 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16399 __memmove_falkor for phecda core.
16400 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16401 __memset_falkor for phecda core.
16402 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16404 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16405 macro to identify phecda core.
16407 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16408 Andreas Schwab <schwab@suse.de>
16409 Dmitry V. Levin <ldv@altlinux.org>
16410 Florian Weimer <fweimer@redhat.com>
16417 * elf/dl-dst.h: Remove DL_DST_COUNT.
16418 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16419 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16420 (is_dst): Comment. Support ELF gABI.
16421 (_dl_dst_count): Comment. Simplify and count DSTs.
16422 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16423 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16426 2018-06-12 Zack Weinberg <zackw@panix.com>
16428 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16429 * sysdeps/unix/sysv/linux/dl-sysdep.c
16430 Include not-cancel.h. Use __close_nocancel instead of __close,
16431 __open64_nocancel instead of __open, __read_nocancel instead of
16432 __libc_read, and __write_nocancel instead of __libc_write.
16434 * csu/check_fds.c (check_one_fd)
16435 * sysdeps/posix/fdopendir.c (__fdopendir)
16436 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16437 instead of __fcntl and/or __libc_fcntl.
16439 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16440 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16441 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16442 Use __open64_nocancel instead of __open_nocancel.
16444 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16445 hidden_proto declarations to the end and issue them if either
16446 IS_IN(libc) or IS_IN(rtld).
16447 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16448 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16449 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16450 read_nocancel, waitpid_nocancel, write_nocancel.
16452 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16453 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16454 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16456 * nptl/pt-fcntl.c: New file.
16457 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16458 (libpthread-routines): Add pt-fcntl.
16459 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16460 (__libc_fcntl): Remove attribute_hidden.
16461 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16462 __fcntl_nocancel_adjusted, not fcntl_common.
16463 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16464 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16465 to fcntl_nocancel.c.
16466 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16469 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16471 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16472 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16473 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16474 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16475 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16476 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16477 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16478 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16479 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16480 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16481 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16482 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16483 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16484 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16485 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16486 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16487 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16488 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16489 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16490 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16492 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16493 libpthread-routines.
16494 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16497 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16498 __libc_read, and __write instead of __libc_write. Define
16499 __open64 in addition to __open.
16501 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16505 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16506 to _private_tm[3] and add __glibc_reserved2.
16507 Add _Static_assert of offset of __private_ss == 0x30.
16508 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16509 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16511 2018-06-12 Florian Weimer <fweimer@redhat.com>
16513 x86: Make strncmp usable from rtld.
16514 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16515 __strncmp_ia32 if in libc (and not in rtld).
16516 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16517 strncmp if not in libc (and not to __strncmp_sse2).
16519 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16522 * localedata/locales/gd_GB (mon): Rename to...
16524 (mon): Import from CLDR (genitive case).
16525 * localedata/locales/hsb_DE (mon): Rename to...
16527 (mon): Import from CLDR (genitive case).
16528 * localedata/locales/wa_BE (mon): Rename to...
16530 (mon): Add, fill with the proper genitive forms, but CLDR data
16531 is incomplete; completed according to the comments in this file.
16532 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16534 * localedata/locales/wa_BE (country_name): Reword
16535 "Beljike" -> "Beldjike".
16537 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16541 cases of non-finite arguments.
16542 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16544 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16547 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16549 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16552 * include/unistd.h (__execvpex): New prototype.
16553 * posix/Makefile (tests): Add tst-spawn4.
16554 (tests-internal): Add tst-spawn4-compat.
16555 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16556 * posix/tst-spawn4-compat.c: New file.
16557 * posix/tst-spawn4.c: Likewise.
16558 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16559 binaries as shell scripts.
16560 * sysdeps/posix/spawni.c (__spawni): Likewise.
16562 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16565 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16566 ($(all-built-dso:=.dynsym): New target.
16567 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16568 ($(objpfx)check-initfini.out): New target.
16569 (generated): Add check-initfini.out.
16570 * scripts/check-initfini.awk: New file.
16571 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16573 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16575 * sysdeps/arm/crti.S (_init): Mark as hidden.
16577 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16579 * sysdeps/i386/crti.S (_init): Mark as hidden.
16581 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16583 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16585 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16587 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16589 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16591 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16593 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16595 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16597 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16599 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16601 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16603 * sysdeps/sh/crti.S (_init): Mark as hidden.
16605 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16607 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16610 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16612 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16613 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16614 and TF redirection to KFtype and KF only when the default
16615 long double type is not the IEEE 128-bit floating point type.
16617 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16619 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16621 (HWCAP_USCAT): Likewise.
16622 (HWCAP_ILRCPC): Likewise.
16623 (HWCAP_FLAGM): Likewise.
16624 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16626 (_dl_aarch64_cap_flags): Add new flag names.
16628 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16629 (MAP_FIXED_NOREPLACE): New macro.
16630 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16631 (MAP_FIXED_NOREPLACE): Likewise.
16632 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16633 (MAP_FIXED_NOREPLACE): Likewise.
16634 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16635 (MAP_FIXED_NOREPLACE): Likewise.
16636 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16637 (MAP_FIXED_NOREPLACE): Likewise.
16638 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16639 (MAP_FIXED_NOREPLACE): Likewise.
16640 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16641 (MAP_FIXED_NOREPLACE): Likewise.
16642 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16643 (MAP_FIXED_NOREPLACE): Likewise.
16644 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16645 (MAP_FIXED_NOREPLACE): Likewise.
16646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16647 (MAP_FIXED_NOREPLACE): Likewise.
16648 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16649 (MAP_FIXED_NOREPLACE): Likewise.
16650 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16651 (MAP_FIXED_NOREPLACE): Likewise.
16652 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16653 (MAP_FIXED_NOREPLACE): Likewise.
16654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16655 (MAP_FIXED_NOREPLACE): Likewise.
16656 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16657 (MAP_FIXED_NOREPLACE): Likewise.
16659 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16662 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16664 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16667 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16669 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16671 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16673 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16675 * benchtests/scripts/compare_string.py: (process_results) Catch
16676 exception in non-existent base_func and catch exception in
16677 non-existent attribute.
16678 (parse_file) Catch exception if input file does not exist.
16680 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16682 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16683 options to avoid diff calculation and omit header, respectively.
16684 (main): process --no-diff and --no-header
16686 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16687 H.J. Lu <hongjiu.lu@intel.com>
16689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16690 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16693 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16694 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16695 and __wcsncmp_sse2.
16696 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16697 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16698 AVX unaligned load is fast and vzeroupper is preferred.
16699 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16700 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16701 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16702 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16703 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16704 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16705 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16706 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16707 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16708 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16711 2018-06-01 Florian Weimer <fweimer@redhat.com>
16713 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16714 configuring with --disable-multi-arch, building with
16715 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16718 2018-06-01 Florian Weimer <fweimer@redhat.com>
16720 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16721 results from building with “-march=x86-64 -mtune=generic
16722 -mfpmath=sse” and running on a Haswell-era CPU.
16724 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16727 * soft-fp/sqrttf2.c: Remove file.
16728 * soft-fp/sqrtdf2.c: Move to ....
16729 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16731 (__sqrtdf2): Make conditional on
16732 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16734 * soft-fp/sqrtsf2.c: Move to ....
16735 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16737 (__sqrtsf2): Make conditional on
16738 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16740 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16741 (gcc-double-routines): Remove sqrtdf2.
16742 (gcc-quad-routines): Remove sqrttf2.
16743 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16744 Do not filter out sqrtsf2 and sqrtdf2.
16745 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16746 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16748 2018-06-01 Florian Weimer <fweimer@redhat.com>
16750 * sysdeps/generic/libcidn.abilist: Remove file.
16752 2018-06-01 Florian Weimer <fweimer@redhat.com>
16755 * libio/strfile.h (struct _IO_str_fields): Rename members to
16756 discourage their use and add comment.
16757 (_IO_STR_DYNAMIC): Remove unused macro.
16758 * libio/strops.c (_IO_str_init_static_internal): Do not use
16759 callback pointers. Call malloc and free.
16760 (_IO_str_overflow): Do not use callback pointers. Call malloc
16762 (enlarge_userbuf): Likewise.
16763 (_IO_str_finish): Call free.
16764 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16765 _allocate_buffer_unused.
16766 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16768 (enlarge_userbuf): Likewise.
16769 (_IO_wstr_finish): Call free.
16770 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16771 _allocate_buffer_unused, _free_buffer_unused.
16772 * libio/memstream.c (__open_memstream): Likewise.
16773 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16774 * libio/wmemstream.c (open_wmemstream): Likewise.
16776 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16778 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16781 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16783 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16784 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16785 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16787 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16789 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16791 2018-05-29 Florian Weimer <fweimer@redhat.com>
16793 * support/Makefile (libsupport-routines): Add
16794 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16795 xpthread_barrierattr_setpshared.
16796 * support/xpthread_barrierattr_destroy.c: New file.
16797 * support/xpthread_barrierattr_init.c: Likewise.
16798 * support/xpthread_barrierattr_setpshared.c: Likewise.
16800 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16803 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16804 _r_debug and update DT_DEBUG for debugger.
16806 2018-05-29 Florian Weimer <fweimer@redhat.com>
16808 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16809 (tst-strtod5i.out): Likewise.
16811 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16814 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16815 (sparc64-quad-routines): New variable. Moved from ....
16816 [$(subdir) = soft-fp] (sysdep_routines): Add
16817 $(sparc64-quad-routines). Moved from ....
16818 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16819 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16820 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16822 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16823 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16824 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16825 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16826 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16827 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16828 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16829 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16830 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16831 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16832 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16833 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16834 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16835 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16836 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16837 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16838 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16839 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16840 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16841 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16842 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16843 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16844 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16845 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16846 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16847 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16848 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16849 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16850 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16851 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16852 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16853 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16854 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16855 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16856 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16857 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16858 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16859 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16860 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16861 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16862 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16863 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16864 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16865 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16866 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16867 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16868 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16869 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16870 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16871 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16872 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16873 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16874 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16875 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16876 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16877 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16878 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16879 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16881 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16882 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16883 (sparc32-quad-routines): New variable. Moved from ....
16884 [$(subdir) = soft-fp] (sysdep_routines): Add
16885 $(sparc32-quad-routines). Moved from ....
16886 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16887 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16889 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16890 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16891 * sysdeps/sparc/sparc32/q_add.c: ... here.
16892 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16893 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16894 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16895 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16896 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16897 * sysdeps/sparc/sparc32/q_div.c: ... here.
16898 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16899 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16900 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16901 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16902 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16903 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16904 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16905 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16906 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16907 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16908 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16909 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16910 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16911 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16912 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16913 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16914 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16915 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16916 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16917 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16918 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16919 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16920 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16921 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16922 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16923 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16924 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16925 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16926 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16927 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16928 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16929 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16930 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16931 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16932 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16933 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16934 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16935 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16936 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16937 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16938 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16939 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16940 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16941 * sysdeps/sparc/sparc32/q_util.c: ... here.
16942 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16943 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16944 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16945 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16947 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16948 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16950 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16951 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16952 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16953 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16955 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16961 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16962 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16964 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16967 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16970 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16972 * sysdeps/sh/Implies: Remove sh/soft-fp.
16973 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16974 * sysdeps/sh/sfp-machine.h: ... here.
16976 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16978 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16979 (__mempcpy_erms): Skip zero length.
16980 (__memmove_erms): Likewise.
16981 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16982 (__memset_erms): Likewise.
16984 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16986 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16987 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16988 Add functions moved from ....
16989 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16990 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16991 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16993 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16994 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16995 * sysdeps/alpha/e_sqrtl.c: ... here.
16996 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16997 * sysdeps/alpha/local-soft-fp.h: ... here.
16998 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16999 * sysdeps/alpha/ots_add.c: ... here.
17000 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17001 * sysdeps/alpha/ots_cmp.c: ... here.
17002 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17003 * sysdeps/alpha/ots_cmpe.c: ... here.
17004 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17005 * sysdeps/alpha/ots_cvtqux.c: ... here.
17006 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17007 * sysdeps/alpha/ots_cvtqx.c: ... here.
17008 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17009 * sysdeps/alpha/ots_cvttx.c: ... here.
17010 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17011 * sysdeps/alpha/ots_cvtxq.c: ... here.
17012 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17013 * sysdeps/alpha/ots_cvtxt.c: ... here.
17014 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17015 * sysdeps/alpha/ots_div.c: ... here.
17016 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17017 * sysdeps/alpha/ots_mul.c: ... here.
17018 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17019 * sysdeps/alpha/ots_nintxq.c: ... here.
17020 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17021 * sysdeps/alpha/ots_sub.c: ... here.
17022 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17023 * sysdeps/alpha/sfp-machine.h: ... here.
17025 2018-05-23 Florian Weimer <fweimer@redhat.com>
17033 Switch to extern IDNA implementation (libidn2).
17034 * libidn: Remove subdirectory.
17035 * LICENSES: Do not mention licensing conditions for the removed
17037 * config.h.in (HAVE_LIBIDN): Remove.
17038 * include/dlfcn.h (__libc_dlopen): Update comment.
17039 * include/idna.h: Remove file.
17040 * inet/Makefile (routines): Add idna.
17041 (tests-static, tests-internal): Add tst-idna_name_classify.
17042 (LOCALES): Generate locales for tests.
17043 (tst-idna_name_classify.out): Depend on generated locales.
17044 * inet/idna_name_classify.c: New file.
17045 * inet/tst-idna_name_classify.c: Likewise.
17046 * inet/net-internal.h (__idna_to_dns_encoding)
17047 (__idna_from_dns_encoding): Declare.
17048 * inet/net-internal.h (enum idna_name_classification): Define.
17049 (__idna_name_classify): Declare.
17050 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17051 __idna_from_dns_encoding.
17052 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17053 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17054 name as a fallback in case of encoding errors.
17055 (getnameinfo): Use DEPRECATED_NI_IDN.
17056 * inet/idna.c: New file.
17057 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17058 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17059 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17060 (modules-names): Add tst-no-libidn2.
17061 (extra-test-objs): Add tst-no-libidn2.os.
17062 (LDFLAGS-tst-no-libidn2.so): Set soname.
17063 (LOCALES): Set, and generate locales.
17064 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17065 (tst-resolv-ai_idn-latin1): Likewise.
17066 (tst-resolv-ai_idn-nolibidn2): Likewise.
17067 (tst-resolv-ai_idn.out): Depend on locales.
17068 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17069 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17071 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17072 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17073 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17074 * resolv/tst-resolv-ai_idn.c: New file.
17075 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17076 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17077 * resolv/tst-no-libidn2.c: Likewise.
17078 * support/support_format_addrinfo.c (format_ai_flags): Do not
17079 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17080 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17081 (gaih_inet): Call __idna_to_dns_encoding and
17082 __idna_from_dns_encoding, and use the original (punycode) name if
17083 __idna_from_dns_encoding fails due to an encoding error.
17084 (getaddrinfo): Use DEPRECATED_AI_IDN.
17085 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17086 * sysdeps/unix/inet/configure: Remove file.
17087 * sysdeps/unix/inet/configure.ac: Likewise.
17089 2018-05-23 Florian Weimer <fweimer@redhat.com>
17091 Implement allocate_once.
17092 * include/allocate_once.h: New file.
17093 * misc/allocate_once.c: Likewise.
17094 * misc/tst-allocate_once.c: Likewise.
17095 * misc/Makefile (routines): Add allocate_once.
17096 (tests-internal): Add tst-allocate_once.
17097 (generated): Add tst-allocate_once.mtrace,
17098 tst-allocate_once-mem.out.
17099 (tests-special): Add tst-allocate_once-mem.out.
17100 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17101 (tst-allocate_once-mem.out): Call mtrace.
17102 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17104 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17107 * string/test-memcpy.c (do_test1): New function.
17108 (test_main): Call it.
17110 2018-05-23 Andreas Schwab <schwab@suse.de>
17114 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17115 (L(preloop_large)): Save initial destination pointer in %r11 and
17116 use it instead of %rax after the loop.
17117 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17119 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17121 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17122 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17123 -I../soft-fp. Moved from ....
17124 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17125 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17126 * sysdeps/aarch64/e_sqrtl.c: ... here.
17127 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17128 * sysdeps/aarch64/sfp-machine.h: ... here.
17130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17131 -Wmaybe-uninitialized around access to fq[0].
17132 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17136 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17137 aliases for non-libc case of versioned symbols.
17138 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17139 (llseek): Define as compat symbol if
17140 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17142 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17143 Make into a compat symbol, disabled for minimum symbol version
17144 GLIBC_2.28 and later.
17145 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17147 2018-05-22 Florian Weimer <fweimer@redhat.com>
17149 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17150 not add -mpreferred-stack-boundary=4.
17151 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17152 (stack-align-test-flags): Likewise.
17153 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17155 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17156 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17157 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17158 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17159 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17160 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17161 (CFLAGS-tst-align2.c): Likewise.
17163 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17165 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17166 (index_arch_Prefer_FSRM): Likewise.
17167 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17168 Also check Prefer_FSRM.
17169 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17170 Also return OPTIMIZE (erms) for Prefer_FSRM.
17172 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17174 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17175 (index_cpu_FSRM): Likewise.
17176 (reg_FSRM): Likewise.
17178 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17180 * math/gen-tgmath-tests.py: Import sys.
17181 (Tests.__init__): Initialize macros_seen.
17182 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17183 if requested to do so for this macro.
17184 (Tests.add_all_tests): Take argument for macro for which to
17186 (Tests.check_macro_list): New function.
17187 (main): Handle check-list argument and argument specifying macro
17188 for which to generate tests.
17189 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17190 [PYTHON] (tgmath3-macro-tests): Likewise.
17191 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17192 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17193 not test-tgmath3.c.
17194 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17195 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17197 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17198 [PYTHON] ($(foreach
17199 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17201 [PYTHON] (tests-special): Add
17202 $(objpfx)test-tgmath3-macro-list.out.
17203 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17205 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17206 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17210 * time/tzset.c (SECSPERDAY): Cast to time_t.
17211 * time/tst-y2039.c: New file.
17212 * time/Makefile (tests): Add tst-y2039.
17214 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17216 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17217 (PREFETCH_ONE_SET): Remove duplicate line.
17219 2018-05-17 Florian Weimer <fweimer@redhat.com>
17221 * sysdeps/generic/math-type-macros-double.h: Include
17222 <math-nan-payload-double.h> after <libm-alias-double.h>.
17223 * sysdeps/generic/math-type-macros-float.h: Include
17224 <math-nan-payload-float.h> after <libm-alias-float.h>.
17225 * sysdeps/generic/math-type-macros-float128.h: Include
17226 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17227 * sysdeps/generic/math-type-macros-ldouble.h: Include
17228 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17230 2018-05-17 Andreas Schwab <schwab@suse.de>
17232 * resolv/res_send.c (__res_context_send): Don't set errno when
17233 returing error after malloc failure.
17235 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17237 * nptl/allocatestack.c (allocate_stack): Remove the
17238 !__ASSUME_PRIVATE_FUTEX paths.
17239 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17240 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17242 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17243 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17244 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17245 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17246 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17247 !__ASSUME_PRIVATE_FUTEX path.
17248 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17249 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17250 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17251 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17252 !__ASSUME_PRIVATE_FUTEX macros.
17253 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17254 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17256 * sysdeps/unix/sysv/linux/kernel-features.h
17257 (__ASSUME_PRIVATE_FUTEX): Removed.
17259 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17261 * math/Makefile (libm-narrow-fns): Add div.
17262 (libm-test-funcs-narrow): Likewise.
17263 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17264 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17265 * math/gen-auto-libm-tests.c (test_functions): Add div.
17266 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17267 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17268 (NARROW_DIV_TRIVIAL): Likewise.
17269 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17271 (__ddivl): Likewise.
17272 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17274 (CFLAGS-nldbl-ddiv.c): New variable.
17275 (CFLAGS-nldbl-fdiv.c): Likewise.
17276 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17280 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17281 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17282 * math/auto-libm-test-in: Add tests of div.
17283 * math/auto-libm-test-out-narrow-div: New generated file.
17284 * math/libm-test-narrow-div.inc: New file.
17285 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17288 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17289 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17290 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17299 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17300 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17301 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17302 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17304 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17330 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17333 * nscd/nscd-client.h (sendfileall): Remove prototype.
17334 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17335 (handle_request): Use writeall instead of sendfileall.
17336 * nscd/aicache.c (addhstaiX): Likewise.
17337 * nscd/grpcache.c (cache_addgr): Likewise.
17338 * nscd/hstcache.c (cache_addhst): Likewise.
17339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17340 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17341 * nscd/pwdcache.c (cache_addpw): Likewise.
17342 * nscd/servicescache.c (cache_addserv): Likewise.
17343 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17344 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17348 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17350 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17351 Include <string/strncat.c>.
17352 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17354 (__GI___strncat): New hidden alias.
17356 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17358 * sysdeps/mips/mips32/libm-test-ulps: Update.
17359 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17361 2018-05-16 Florian Weimer <fweimer@redhat.com>
17363 * support/Makefile (libsupport-routines): Add support_quote_blob,
17364 support_test_compare_blob.
17365 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17366 * support/check.h (TEST_COMPARE_BLOB): Define.
17367 (support_test_compare_blob): Declare.
17368 * support/support.h (support_quote_blob): Declare.
17369 * support/support_quote_blob.c: New file.
17370 * support/support_test_compare_blob.c: Likewise.
17371 * support/tst-support_quote_blob.c: Likewise.
17372 * support/tst-test_compare_blob.c: Likewise.
17374 2018-05-16 Florian Weimer <fweimer@redhat.com>
17376 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17377 of <strtod_nan_double.h>.
17378 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17379 instead of SET_MANTISSA.
17380 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17381 of include <strtod_nan_float.h>.
17382 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17383 instead of <strtod_nan_ldouble.h>.
17384 * stdlib/strtod_nan_double.h: Move to ...
17385 * sysdeps/generic/math-nan-payload-double.h: ... here.
17386 (FLOAT): Remove definition.
17387 (SET_MANTISSA): Rename to ...
17388 (SET_NAN_PAYLOAD): ... this.
17389 * stdlib/strtod_nan_float.h: Move to ...
17390 * sysdeps/generic/math-nan-payload-float.h: ... here.
17391 (FLOAT): Remove definition.
17392 (SET_MANTISSA): Rename to ...
17393 (SET_NAN_PAYLOAD): ... this.
17394 * sysdeps/generic/math-type-macros-double.h: Include
17395 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17396 instead of <math-svid-compat.h>.
17397 * sysdeps/generic/math-type-macros-float.h: Include
17398 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17399 instead of <math-svid-compat.h>.
17400 * sysdeps/generic/math-type-macros-float128.h: Include
17401 <math-nan-payload-float128.h>.
17402 * sysdeps/generic/math-type-macros-ldouble.h: Include
17403 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17404 instead of <math-svid-compat.h>.
17405 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17406 check for definition.
17407 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17408 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17409 Include <ieee754_float128.h>.
17410 (FLOAT): Remove definition.
17411 (SET_MANTISSA): Rename to ...
17412 (SET_NAN_PAYLOAD): ... this.
17413 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17414 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17415 Do not include <float128_private.h>.
17416 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17418 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17419 (FLOAT): Remove definition.
17420 (SET_MANTISSA): Rename to ...
17421 (SET_NAN_PAYLOAD): ... this.
17422 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17423 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17424 (FLOAT): Remove definition.
17425 (SET_MANTISSA): Rename to ...
17426 (SET_NAN_PAYLOAD): ... this.
17427 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17428 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17429 (FLOAT): Remove definition.
17430 (SET_MANTISSA): Rename to ...
17431 (SET_NAN_PAYLOAD): ... this.
17432 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17433 of "../stdlib/strtod_nan_double.h".
17434 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17435 of "../stdlib/strtod_nan_float.h".
17436 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17437 instead of "../stdlib/strtod_nan_ldouble.h".
17438 * manual/arith.texi (Parsing of Floats): Adjust comment.
17440 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17442 * math/Makefile (libm-narrow-fns): Add mul.
17443 (libm-test-funcs-narrow): Likewise.
17444 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17445 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17446 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17447 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17448 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17449 (NARROW_MUL_TRIVIAL): Likewise.
17450 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17451 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17453 (__dmull): Likewise.
17454 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17456 (CFLAGS-nldbl-dmul.c): New variable.
17457 (CFLAGS-nldbl-fmul.c): Likewise.
17458 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17460 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17462 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17463 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17464 * math/auto-libm-test-in: Add tests of mul.
17465 * math/auto-libm-test-out-narrow-mul: New generated file.
17466 * math/libm-test-narrow-mul.inc: New file.
17467 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17468 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17470 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17471 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17472 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17478 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17479 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17480 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17481 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17482 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17483 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17484 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17486 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17512 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17514 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17515 with *%eax in call.
17517 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17519 * sysdeps/i386/ldsodefs.h: Removed.
17520 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17521 * sysdeps/x86/ldsodefs.h: This.
17522 (La_i86_regs): New.
17523 (La_i86_retval): Likewise.
17524 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17525 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17527 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17529 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17532 2018-05-13 Alan Modra <amodra@gmail.com>
17534 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17535 R_PARISC_TLS_DTPOFF32 reloc addend.
17537 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17539 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17540 * math/math.h: Restrict the prototype definition for the functions
17541 issignaling(_Float128) and iszero(_Float128); and template
17542 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17543 __HAVE_FLOAT128_UNLIKE_LDBL.
17544 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17545 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17546 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17547 __f128() constants; define the type _Float128 as long double;
17548 and reuse long double in __CFLOAT128.
17550 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/generic/math_private.h: Do not include
17554 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17556 * math/fromfp.h: Include <math-barriers.h>.
17557 * math/math-narrow.h: Likewise.
17558 * math/s_nextafter.c: Likewise.
17559 * math/s_nexttowardf.c: Likewise.
17560 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17561 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17562 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17563 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17564 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17565 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17566 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17572 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17575 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17581 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17583 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17584 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17585 * sysdeps/ieee754/k_standardl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17602 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17603 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17604 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17605 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17606 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17607 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17609 2018-05-11 Florian Weimer <fweimer@redhat.com>
17611 Use 64-bit epoch values in the time zone file parser.
17612 * include/time.h (internal_time_t): Define.
17613 (__tzfile_compute): Use it.
17614 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17616 (transitions): Switch to internal_time_t.
17617 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17619 (__tzfile_compute): Use internal_time_t for timer argument. Check
17620 for truncation before calling __offtime.
17622 2018-05-11 Florian Weimer <fweimer@redhat.com>
17625 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17626 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17628 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17629 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17630 export without --enable-obsolete-rpc.
17631 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17632 symbol. This should not have been exported, ever.
17634 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17637 * localedata/locales/gd_GB (abmon): Fix typo in May:
17638 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17640 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17642 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17643 Use multiple registers to copy data in loop tail.
17645 * sysdeps/aarch64/multiarch/memmove_falkor.S
17646 (__memmove_falkor): Use multiple registers to move data in
17649 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17651 * math/math-underflow.h: New file.
17652 * sysdeps/generic/math_private.h: Do not include <float.h>.
17653 (fabs_tg): Remove macro. Moved to math-underflow.h.
17654 (min_of_type_f): Likewise.
17655 (min_of_type_): Likewise.
17656 (min_of_type_l): Likewise.
17657 (min_of_type_f128): Likewise.
17658 (min_of_type): Likewise.
17659 (math_check_force_underflow): Likewise.
17660 (math_check_force_underflow_nonneg): Likewise.
17661 (math_check_force_underflow_complex): Likewise.
17662 * math/e_exp2_template.c: Include <math-underflow.h>.
17663 * math/k_casinh_template.c: Likewise.
17664 * math/s_catan_template.c: Likewise.
17665 * math/s_catanh_template.c: Likewise.
17666 * math/s_ccosh_template.c: Likewise.
17667 * math/s_cexp_template.c: Likewise.
17668 * math/s_clog10_template.c: Likewise.
17669 * math/s_clog_template.c: Likewise.
17670 * math/s_csin_template.c: Likewise.
17671 * math/s_csinh_template.c: Likewise.
17672 * math/s_csqrt_template.c: Likewise.
17673 * math/s_ctan_template.c: Likewise.
17674 * math/s_ctanh_template.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17693 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17695 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17699 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17700 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17701 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17702 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17703 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17705 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17743 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17753 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17755 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17760 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/generic/math-barriers.h: New file.
17763 * sysdeps/generic/math_private.h [!math_opt_barrier]
17764 (math_opt_barrier): Move to math-barriers.h.
17765 [!math_opt_barrier] (math_force_eval): Likewise.
17766 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17767 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17769 (math_force_eval): Likewise.
17770 * sysdeps/alpha/fpu/math-barriers.h: New file.
17771 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17773 (math_force_eval): Likewise.
17774 * sysdeps/x86/fpu/math-barriers.h: New file.
17775 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17777 (math_force_eval): Likewise.
17778 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17779 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17780 multiple-include guard for rename.
17781 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17782 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17784 (math_force_eval): Likewise.
17786 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17790 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17792 * stdlib/Makefile (test-bz22786): New test.
17793 * stdlib/test-bz22786.c: New test.
17795 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17797 * include/math-narrow-eval.h: New file. Contents moved from ....
17798 * sysdeps/generic/math_private.h: ... here.
17799 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17800 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17801 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17802 * stdlib/strtod_l.c: Likewise.
17803 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17804 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17805 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17818 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17819 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17821 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17822 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17823 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17825 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17827 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17829 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17830 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17831 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17833 2018-05-08 Andreas Schwab <schwab@suse.de>
17835 * sysdeps/nptl/internaltypes.h: Fix comment.
17837 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17839 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17840 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17843 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17845 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17846 of I into loop header.
17847 * benchtests/bench-memmove-walk.c
17848 (test_main): Likewise.
17850 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17853 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17854 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17856 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17859 * elf/dl-load.c (open_verify): Fix stack overflow.
17860 * elf/Makefile (tst-big-note): New test.
17861 * elf/tst-big-note-lib.S: New.
17862 * elf/tst-big-note.c: New.
17864 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17866 * scripts/abilist.awk: Ignore absolute symbols.
17867 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17868 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17869 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17870 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17871 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17872 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17873 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17874 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17875 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17876 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17877 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17878 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17960 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17974 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18002 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18023 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18113 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18167 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18181 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18220 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18223 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18224 Use atomic_load_acquire to load __tid.
18226 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18228 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18229 Restore the pointer into %rdx, after syscall and use %rdx,
18230 instead of %rsi, to restore context.
18232 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18234 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18235 Pop the pointer into %rdx after syscall and use %rdx, instead
18236 of %rsi, to restore context.
18238 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18240 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18241 handlers after setjmp.
18242 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18244 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18245 <libc-pointer-arith.h>.
18246 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18247 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18248 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18249 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18250 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18251 * sysdeps/x86/__longjmp_cancel.S: New file.
18252 * sysdeps/x86/longjmp.c: Likewise.
18253 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18255 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18257 * NEWS: Add ustat.h deprecation entry.
18258 * bits/ustat.h: Remove file.
18259 * misc/sys/ustat.h: Likewise.
18260 * misc/ustat.h: Likewise.
18261 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18262 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18263 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18264 compatibility mode.
18265 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18266 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18267 generic Linux implementation.
18269 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18271 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18272 * math/w_expl_compat.c: Likewise.
18273 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18275 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18277 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18279 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18281 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18282 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18283 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18285 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18288 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18289 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18292 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18294 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18296 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18297 * math/w_asin_template.c: Likewise.
18298 * math/w_atanh_template.c: Likewise.
18300 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18302 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18303 to powerpc/powerpc64/be for big-endian.
18304 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18307 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18309 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18310 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18311 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18312 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18313 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18314 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18315 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18316 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18317 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18318 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18319 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18320 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18321 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18322 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18323 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18324 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18325 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18326 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18327 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18328 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18329 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18330 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18331 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18332 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18333 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18334 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18335 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18336 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18337 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18338 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18340 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18341 adjusted to imply powerpc64 and older processors on powerpc64/be.
18342 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18343 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18344 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18345 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18346 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18347 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18348 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18349 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18352 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18354 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18359 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18360 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18374 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18375 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18376 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18377 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18380 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18385 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18386 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18387 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18388 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18389 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18391 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18393 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18396 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18397 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18398 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18399 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18400 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18401 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18403 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18405 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18408 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18409 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18411 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18412 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18415 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18416 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18417 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18418 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18419 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18421 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18422 and adjusted to imply olders processors.
18423 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18424 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18426 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18427 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18428 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18429 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18430 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18431 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18432 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18433 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18452 powerpc64 and adjusted.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18458 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18460 * sysdeps/tile: Remove.
18461 * sysdeps/unix/sysv/linux/tile: Likewise.
18462 * README (tilegx-*-linux-gnu): Remove from list of supported
18464 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18465 contribution of support for generic Linux kernel syscall
18467 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18468 tilegx configurations.
18469 (Config.install_linux_headers): Do not handle tile.
18470 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18472 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18473 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18474 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18475 conditional undefine and redefine.
18476 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18478 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18479 conditional undefine and redefine.
18481 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18483 * signal/tst-sigaction.c: New file to test BZ #23069.
18484 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18486 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18489 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18490 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18491 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18492 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18494 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18496 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18497 _DIRENT_MATCHES_DIRENT64 is not defined.
18498 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18499 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18501 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18502 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18504 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18506 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18507 version to GCC 8 branch.
18509 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18511 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18512 (check_no_hidden): Use type of original function when declaring
18515 * sysdeps/unix/sysv/linux/sys/ptrace.h
18516 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18517 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18518 (struct __ptrace_seccomp_metadata): New type.
18519 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18520 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18521 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18522 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18523 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18524 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18526 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18528 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18530 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18531 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18532 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18533 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18534 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18536 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18538 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18540 * dirent/versionsort.c (versionsort): Likewise.
18541 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18542 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18543 * dirent/versionsort64.c (versionsort64): Likewise.
18544 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18545 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18546 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18547 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18548 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18549 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18551 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18552 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18553 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18556 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18559 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18561 * elf/elf.h (NT_PPC_PKEY): New macro.
18563 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18566 * localedata/locales/hr_HR: fix thousands_sep and
18569 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18571 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18572 (XTABS): Define to TAB3.
18574 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18576 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18578 * dirent/scandir-tail-common.c: New file.
18579 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18580 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18581 * dirent/scandir.c: Use scandir-tail-common.c.
18582 * dirent/scandirat.c: Likewise.
18583 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18584 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18585 if _DIRENT_MATCHES_DIRENT64 is defined.
18586 * dirent/scandirat64.c (scandirat64): Likewise.
18587 * include/dirent.h (__scandir_tail): Only define iff
18588 _DIRENT_MATCHES_DIRENT64 is not defined.
18589 (__scandir64_tail): Define regardless.
18590 (__scandirat, scandirat64): Remove libc_hidden_proto.
18591 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18592 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18594 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18597 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18599 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18601 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18603 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18605 (_dl_aarch64_cap_flags): Add asimdfhm.
18607 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18609 * sysdeps/nios2/libm-test-ulps: Update.
18611 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18613 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18614 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18616 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18618 (_DIRENT_MATCHES_DIRENT64): Undef
18619 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18620 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18621 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18622 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18623 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18624 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18625 use getdents64 syscalls as base.
18626 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18627 symbol if required.
18628 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18629 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18630 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18635 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18637 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18638 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18640 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18642 * scripts/test_printers_common.py (init_test): Disable lock elision.
18644 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18646 * math/test-tgmath.c (count_double, count_float,
18647 count_ldouble, count_cdouble, count_cfloat,
18648 count_cldouble): Use volatile int.
18650 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18652 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18653 (conformtest-xfail-conds): Add i386-gnu.
18654 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18656 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18657 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18658 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18659 msqid_ds.msg_lrpid): Likewise.
18660 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18662 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18663 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18664 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18665 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18667 (struct statvfs64): Likewise.
18668 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18670 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18671 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18672 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18673 instead of wait_queue.
18674 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18675 instead of vm_area_struct.
18676 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18677 struct sched_param definition to it.
18678 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18679 * bits/types/struct_sched_param.h: New file.
18680 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18681 <bits/types/struct_sched_param.h> instead of <sched.h>.
18682 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18683 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18684 generic version but include <bits/pthreadtypes.h> to make struct
18685 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18686 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18688 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18689 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18690 [__USE_XOPEN] (OFDEL): New macro.
18691 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18692 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18693 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18695 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18696 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18697 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18699 * sysdeps/i386/sys/ucontext.h: Likewise.
18700 * sysdeps/m68k/sys/ucontext.h: Likewise.
18701 * sysdeps/mips/sys/ucontext.h: Likewise.
18702 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18703 * sysdeps/mach/hurd/i386/Makefile
18704 (test-xfail-POSIX/fcntl.h/conform): Add.
18705 (test-xfail-POSIX/signal.h/conform): Add.
18706 (test-xfail-POSIX/semaphore.h/conform): Add.
18707 (test-xfail-POSIX/regex.h/conform): Add.
18708 (test-xfail-POSIX/aio.h/conform): Add.
18709 (test-xfail-POSIX/mqueue.h/conform): Add.
18710 (test-xfail-POSIX/sys/types.h/conform): Add.
18711 (test-xfail-UNIX98/fcntl.h/conform): Add.
18712 (test-xfail-UNIX98/netdb.h/conform): Add.
18713 (test-xfail-UNIX98/signal.h/conform): Add.
18714 (test-xfail-UNIX98/semaphore.h/conform): Add.
18715 (test-xfail-UNIX98/regex.h/conform): Add.
18716 (test-xfail-UNIX98/aio.h/conform): Add.
18717 (test-xfail-UNIX98/ftw.h/conform): Add.
18718 (test-xfail-UNIX98/mqueue.h/conform): Add.
18719 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18720 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18721 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18722 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18723 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18724 (test-xfail-UNIX98/sys/types.h/conform): Add.
18725 (test-xfail-UNIX98/stdlib.h/conform): Add.
18726 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18727 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18728 (test-xfail-POSIX2008/netdb.h/conform): Add.
18729 (test-xfail-POSIX2008/signal.h/conform): Add.
18730 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18731 (test-xfail-POSIX2008/regex.h/conform): Add.
18732 (test-xfail-POSIX2008/aio.h/conform): Add.
18733 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18734 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18735 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18736 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18737 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18738 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18739 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18740 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18741 (test-xfail-XOPEN2K/signal.h/conform): Add.
18742 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18743 (test-xfail-XOPEN2K/regex.h/conform): Add.
18744 (test-xfail-XOPEN2K/aio.h/conform): Add.
18745 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18746 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18747 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18748 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18749 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18750 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18751 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18752 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18753 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18754 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18755 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18756 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18757 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18758 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18759 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18760 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18761 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18762 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18763 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18764 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18765 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18766 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18767 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18768 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18769 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18770 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18771 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18773 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18774 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18776 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18778 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18779 --enable-obsolete for powerpc-linux-gnuspe.
18781 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18783 * conform/data/sys/un.h-data: Allow sun_ prefix.
18784 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18786 * sysdeps/mach/include/mach.h: Likewise.
18787 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18788 * sysdeps/mach/include/mach_error.h: Likewise.
18790 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18792 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18793 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18794 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18795 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18797 2018-04-16 Andreas Schwab <schwab@suse.de>
18800 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18802 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18804 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18805 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18807 2018-04-12 DJ Delorie <dj@redhat.com>
18809 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18812 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18814 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18815 (struct kernel_sigaction): Use the same definition on 31bit as is used
18818 2018-04-09 Florian Weimer <fweimer@redhat.com>
18821 * resolv/res_send.c (send_dg): Use designated initializers instead
18822 of assignment to zero-initialize other fields of struct mmsghdr.
18824 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18826 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18827 __READDIR_ALIAS): Undefine after usage.
18828 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18829 __READDIR_R_ALIAS): Likewise.
18830 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18831 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18832 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18833 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18834 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18835 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18836 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18837 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18838 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18842 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18843 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18845 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18846 * sysdeps/unix/sysv/linux/readdir.c: New file.
18847 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18848 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18849 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18851 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18853 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18855 * manual/charset.texi (Converting a Character): Fix typo.
18857 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18861 * sysdeps/arm/libm-test-ulps: Update.
18863 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18864 as base implementation.
18865 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18866 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18867 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18869 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18870 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18871 remove unrequired definitions and update comments.
18872 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18873 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18874 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18875 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18876 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18880 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18881 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18882 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18883 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18884 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18885 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18886 and RESET_SA_RESTORER hooks.
18888 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18890 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18892 2018-04-05 Florian Weimer <fweimer@redhat.com>
18894 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18895 integer overflow, memory leak on error, and indeterminate errno
18896 value. Add a null wide character to terminate the result string.
18897 * manual/charset.texi (Converting a Character): Mention embedded
18898 null bytes in the mbrtowc input string. Explain what happens in
18899 the -2 result case. Do not claim that mbrtowc is simple or
18900 obvious to use. Adjust the description of the code example. Use
18901 @code, not @var, for concrete variables.
18903 2018-04-05 Florian Weimer <fweimer@redhat.com>
18905 * manual/examples/mbstouwcs.c: New file.
18906 * manual/charset.texi (Converting a Character): Include it.
18908 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18910 * include/dirent.h (dirfd): Add hidden proto.
18911 * dirent/dirfd.c (dirfd): Add hidden def.
18912 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18913 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18915 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18917 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18918 sin, cos and sincos to 1 ULP.
18920 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18923 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18925 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18926 * elf/tst-absolute-sym.c: New file.
18927 * elf/tst-absolute-sym-lib.c: New file.
18928 * elf/tst-absolute-sym-lib.lds: New file.
18929 * elf/Makefile (tests): Add `tst-absolute-sym'.
18930 (modules-names): Add `tst-absolute-sym-lib'.
18931 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18932 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18933 ($(objpfx)tst-absolute-sym): New dependency.
18936 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18938 (SYMBOL_ADDRESS): New macro.
18939 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18940 SYMBOL_ADDRESS for symbol address calculation.
18941 * elf/dl-runtime.c (_dl_fixup): Likewise.
18942 (_dl_profile_fixup): Likewise.
18943 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18944 * elf/rtld.c (dl_main): Likewise.
18945 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18946 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18947 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18948 (elf_machine_rela): Likewise.
18949 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18950 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18951 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18952 (elf_machine_rela): Likewise.
18953 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18954 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18955 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18956 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18958 (elf_machine_reloc): Likewise.
18959 (elf_machine_got_rel): Likewise.
18960 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18961 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18962 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18966 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18967 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18971 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18976 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18979 2018-04-04 Zack Weinberg <zackw@panix.com>
18981 * sysdeps/generic/internal-signals.h: Include signal.h,
18982 sigsetops.h, and stdbool.h.
18983 (__libc_signal_block_all): Actually block all signals.
18984 (__libc_signal_block_app): Likewise.
18985 (__libc_signal_restore_set): Actually restore the signal mask.
18987 2018-04-04 Florian Weimer <fweimer@redhat.com>
18989 inet: Actually build and run tst-deadline.
18990 * inet/Makefile (tests-internal): Add tst-deadline and do not
18991 overwrite the variable.
18992 (tests-static-internal): Remove variable.
18994 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18997 * bits/uio-ext.h (RWF_APPEND): New.
18998 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18999 * manual/llio.texi: Document RWF_APPEND.
19000 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19001 (RWF_SUPPORTED): Add RWF_APPEND.
19003 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19006 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19007 check for internal nptl signals.
19008 * nptl/sigaction.c (__sigaction): Likewise.
19009 * signal/sigaddset.c (sigaddset): Likewise.
19010 * signal/sigdelset.c (sigdelset): Likewise.
19011 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19012 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19014 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19015 to filter out internal nptl signals.
19016 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19017 also check realtime signals using standard macros.
19018 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19019 __is_internal_signal, __libc_signal_block_all,
19020 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19021 * sysdeps/nptl/sigfillset.c: Remove file.
19022 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19023 Change return to bool.
19024 (__clear_internal_signals): Remove SIGTIMER clean since it is
19025 equal to SIGCANEL on Linux.
19026 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19027 signal set was constructed using standard functions.
19029 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19031 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19032 ifname is too long.
19033 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19034 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19035 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19037 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19038 * signal/sigaddset.c: Include <sigsetopts.h>.
19039 * signal/sigdelset.c: Likewise.
19041 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19045 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19046 logic as sin and cos.
19048 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19050 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19051 inputs. Return correct sign.
19052 (do_sincos): Remove small input check before do_sin, let do_sin set
19057 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19059 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19060 (do_cos_slow): Likewise.
19061 (do_sin_slow): Likewise.
19062 (reduce_and_compute): Likewise.
19067 (sloww1): Likewise.
19068 (sloww2): Likewise.
19070 (bslow1): Likewise.
19071 (bslow2): Likewise.
19072 (cslow2): Likewise.
19074 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19076 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19077 (do_cos): Remove corp parameter and calculations.
19078 (do_sin): Likewise.
19079 (do_sincos): Remove cor variable.
19080 (__sin): Use do_sincos for huge inputs.
19082 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19083 (reduce_and_compute_sincos): Remove unused function.
19085 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19087 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19088 reduce_sincos, improve accuracy to 136 bits.
19089 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19090 (__sin): Use improved reduction and simplified do_sincos calculation.
19092 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19094 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19096 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19097 (do_sincos_2): Likewise.
19098 (__sin): Remove middle range reduction case.
19100 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19103 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19105 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19111 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19113 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19116 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19118 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19119 Remove definitions.
19120 (opendir_oflags): Use O_DIRECTORY regardless.
19121 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19122 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19124 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19126 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19127 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19129 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19130 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19131 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19132 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19133 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19134 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19136 * htl/Makefile: Bump licence to LGPL 2.1+.
19137 * htl/alloca_cutoff.c: Likewise.
19138 * htl/cthreads-compat.c: Likewise.
19139 * htl/lockfile.c: Likewise.
19140 * htl/pt-alloc.c: Likewise.
19141 * htl/pt-cancel.c: Likewise.
19142 * htl/pt-cleanup.c: Likewise.
19143 * htl/pt-create.c: Likewise.
19144 * htl/pt-dealloc.c: Likewise.
19145 * htl/pt-detach.c: Likewise.
19146 * htl/pt-exit.c: Likewise.
19147 * htl/pt-getattr.c: Likewise.
19148 * htl/pt-initialize.c: Likewise.
19149 * htl/pt-internal.h: Likewise.
19150 * htl/pt-join.c: Likewise.
19151 * htl/pt-self.c: Likewise.
19152 * htl/pt-setcancelstate.c: Likewise.
19153 * htl/pt-setcanceltype.c: Likewise.
19154 * htl/pt-sigmask.c: Likewise.
19155 * htl/pt-spin-inlines.c: Likewise.
19156 * htl/pt-testcancel.c: Likewise.
19157 * htl/pt-yield.c: Likewise.
19158 * htl/tests/test-1.c: Likewise.
19159 * htl/tests/test-10.c: Likewise.
19160 * htl/tests/test-11.c: Likewise.
19161 * htl/tests/test-12.c: Likewise.
19162 * htl/tests/test-13.c: Likewise.
19163 * htl/tests/test-14.c: Likewise.
19164 * htl/tests/test-15.c: Likewise.
19165 * htl/tests/test-16.c: Likewise.
19166 * htl/tests/test-17.c: Likewise.
19167 * htl/tests/test-2.c: Likewise.
19168 * htl/tests/test-3.c: Likewise.
19169 * htl/tests/test-4.c: Likewise.
19170 * htl/tests/test-5.c: Likewise.
19171 * htl/tests/test-6.c: Likewise.
19172 * htl/tests/test-7.c: Likewise.
19173 * htl/tests/test-8.c: Likewise.
19174 * htl/tests/test-9.c: Likewise.
19175 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19176 * sysdeps/htl/bits/cancelation.h: Likewise.
19177 * sysdeps/htl/bits/pthread-np.h: Likewise.
19178 * sysdeps/htl/bits/pthread.h: Likewise.
19179 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19180 * sysdeps/htl/bits/semaphore.h: Likewise.
19181 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19182 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19183 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19184 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19185 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19186 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19187 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19188 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19189 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19190 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19191 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19192 * sysdeps/htl/old_pt-atfork.c: Likewise.
19193 * sysdeps/htl/pt-atfork.c: Likewise.
19194 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19195 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19196 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19197 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19198 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19199 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19200 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19201 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19202 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19203 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19204 * sysdeps/htl/pt-attr-init.c: Likewise.
19205 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19206 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19207 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19208 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19209 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19210 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19211 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19212 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19213 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19214 * sysdeps/htl/pt-attr.c: Likewise.
19215 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19216 * sysdeps/htl/pt-barrier-init.c: Likewise.
19217 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19218 * sysdeps/htl/pt-barrier.c: Likewise.
19219 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19220 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19221 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19222 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19223 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19224 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19225 * sysdeps/htl/pt-cond-init.c: Likewise.
19226 * sysdeps/htl/pt-cond-signal.c: Likewise.
19227 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19228 * sysdeps/htl/pt-cond-wait.c: Likewise.
19229 * sysdeps/htl/pt-cond.c: Likewise.
19230 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19231 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19232 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19233 * sysdeps/htl/pt-condattr-init.c: Likewise.
19234 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19235 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19236 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19237 * sysdeps/htl/pt-equal.c: Likewise.
19238 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19239 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19240 * sysdeps/htl/pt-getschedparam.c: Likewise.
19241 * sysdeps/htl/pt-getspecific.c: Likewise.
19242 * sysdeps/htl/pt-init-specific.c: Likewise.
19243 * sysdeps/htl/pt-key-create.c: Likewise.
19244 * sysdeps/htl/pt-key-delete.c: Likewise.
19245 * sysdeps/htl/pt-key.h: Likewise.
19246 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19247 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19248 * sysdeps/htl/pt-mutex-init.c: Likewise.
19249 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19250 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19251 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19252 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19253 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19254 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19255 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19256 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19257 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19258 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19259 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19260 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19261 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19262 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19263 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19264 * sysdeps/htl/pt-mutexattr.c: Likewise.
19265 * sysdeps/htl/pt-once.c: Likewise.
19266 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19267 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19268 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19269 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19270 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19271 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19272 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19273 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19274 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19275 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19276 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19277 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19278 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19279 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19280 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19281 * sysdeps/htl/pt-setschedparam.c: Likewise.
19282 * sysdeps/htl/pt-setschedprio.c: Likewise.
19283 * sysdeps/htl/pt-setspecific.c: Likewise.
19284 * sysdeps/htl/pt-spin.c: Likewise.
19285 * sysdeps/htl/pt-startup.c: Likewise.
19286 * sysdeps/htl/pthread.h: Likewise.
19287 * sysdeps/htl/sem-close.c: Likewise.
19288 * sysdeps/htl/sem-destroy.c: Likewise.
19289 * sysdeps/htl/sem-getvalue.c: Likewise.
19290 * sysdeps/htl/sem-init.c: Likewise.
19291 * sysdeps/htl/sem-open.c: Likewise.
19292 * sysdeps/htl/sem-post.c: Likewise.
19293 * sysdeps/htl/sem-timedwait.c: Likewise.
19294 * sysdeps/htl/sem-trywait.c: Likewise.
19295 * sysdeps/htl/sem-unlink.c: Likewise.
19296 * sysdeps/htl/sem-wait.c: Likewise.
19297 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19298 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19299 * sysdeps/mach/htl/pt-block.c: Likewise.
19300 * sysdeps/mach/htl/pt-spin.c: Likewise.
19301 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19302 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19303 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19304 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19305 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19306 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19307 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19308 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19309 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19310 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19311 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19312 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19313 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19314 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19315 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19316 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19317 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19318 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19319 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19320 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19321 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19322 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19323 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19324 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19325 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19326 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19327 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19328 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19329 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19330 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19331 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19332 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19333 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19334 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19335 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19336 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19337 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19338 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19339 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19340 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19341 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19342 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19343 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19345 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19346 * README: Remove the mention of out-of-tree patches needed for
19349 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19350 (UTIME_NOW, UTIME_OMIT): Define macros.
19352 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19353 instead of pthread_detach.
19354 (__cthread_fork): Call __pthread_create instead of pthread_create.
19355 (__cthread_keycreate): Call __pthread_key_create instead of
19356 pthread_key_create.
19357 (__cthread_getspecific): Call __pthread_getspecific instead of
19358 pthread_getspecific.
19359 (__cthread_setspecific): Call __pthread_setspecific instead of
19360 pthread_setspecific.
19361 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19362 __pthread_mutex_unlock instead of pthread_mutex_lock and
19363 pthread_mutex_unlock.
19364 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19365 ___pthread_get_cleanup_stack.
19366 (__pthread_get_cleanup_stack): New strong alias.
19367 * htl/pt-create.c: Include <pthreadP.h>.
19368 (entry_point): Call __pthread_exit instead of pthread_exit.
19369 (pthread_create): Rename to __pthread_create.
19370 (pthread_create): New strong alias.
19371 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19372 (pthread_detach): New strong alias.
19373 (__pthread_detach): Call __pthread_cond_broadcast instead of
19374 pthread_cond_broadcast.
19375 * htl/pt-exit.c: Include <pthreadP.h>.
19376 (__pthread_exit): Call __pthread_setcancelstate and
19377 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19378 __pthread_get_cleanup_stack.
19379 * htl/pt-testcancel.c: Include <pthreadP.h>.
19380 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19381 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19382 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19383 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19384 pthread_attr_getstacksize.
19385 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19386 Rename to __pthread_attr_getstackaddr.
19387 (pthread_attr_getstackaddr): New strong alias.
19388 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19389 Rename to __pthread_attr_getstacksize.
19390 (pthread_attr_getstacksize): New strong alias.
19391 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19392 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19393 (pthread_attr_setstack): New strong alias.
19394 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19395 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19396 pthread_attr_getstacksize, pthread_attr_setstacksize and
19397 pthread_attr_setstackaddr.
19398 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19399 Rename to __pthread_attr_setstackaddr.
19400 (pthread_attr_setstackaddr): New strong alias.
19401 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19402 Rename to __pthread_attr_setstacksize.
19403 (pthread_attr_setstacksize): New strong alias.
19404 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19405 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19407 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19408 (__pthread_key_create): New hidden def.
19409 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19410 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19411 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19412 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19413 __pthread_setspecific, __pthread_setcancelstate,
19414 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19415 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19416 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19418 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19419 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19420 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19421 (pthread_attr_setstackaddr): New strong alias.
19422 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19423 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19424 (pthread_attr_setstacksize): New strong alias.
19425 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19426 (call_exit): Call __pthread_exit instead of pthread_exit.
19427 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19428 (_pthread_mutex_init): New hidden definition.
19429 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19430 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19431 instead of pthread_attr_init and pthread_attr_setstack.
19433 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19434 __vm_deallocate instead of vm_allocate and vm_deallocate.
19435 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19437 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19439 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19441 * hurd/siginfo.c: Include <libioP.h>.
19442 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19443 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19445 * mach/devstream.c: Include <libioP.h>.
19446 (dealloc_ref): Call __mach_port_deallocate instead of
19447 mach_port_deallocate.
19448 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19449 Call __mach_port_deallocate instead of mach_port_deallocate.
19450 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19452 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19454 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19455 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19456 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19458 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19460 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19461 instead of sysconf.
19462 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19463 __clock_gettime instead of clock_gettime.
19464 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19465 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19466 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19467 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19468 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19470 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19471 __clock_gettime and __nanosleep instead of clock_gettime and
19473 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19474 __hurd_catch_signal.
19475 (hurd_catch_signal): New strong alias.
19476 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19477 __hurd_catch_signal instead of hurd_catch_signal.
19478 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19479 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19480 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19481 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19482 (_hurd_thread_sigstate): Add hidden def.
19483 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19485 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19486 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19487 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19488 __hurd_file_name_path_lookup.
19489 (hurd_file_name_path_lookup): New strong alias.
19490 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19491 hurd_file_name_path_lookup.
19492 * mach/errstring.c (mach_error_type): Add hidden def.
19493 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19494 * mach/mutex-init.c (__mutex_init): Add hidden def.
19495 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19496 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19497 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19498 * sysdeps/mach/hurd/getcwd.c
19499 (_hurd_canonicalize_directory_name_internal): Rename to
19500 __hurd_canonicalize_directory_name_internal.
19501 (_hurd_canonicalize_directory_name_internal): New strong alias.
19502 (__canonicalize_directory_name_internal, __getcwd): Call
19503 __hurd_canonicalize_directory_name_internal instead of
19504 _hurd_canonicalize_directory_name_internal.
19505 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19506 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19508 * sysdeps/hurd/include/hurd.h: New file.
19509 * sysdeps/hurd/include/hurd/fd.h: New file.
19510 * sysdeps/hurd/include/hurd/signal.h: New file.
19511 * sysdeps/mach/include/lock-intern.h: New file.
19512 * sysdeps/mach/include/mach.h: New file.
19513 * sysdeps/mach/include/mach/mig_support.h: New file.
19514 * sysdeps/mach/include/mach_error.h: New file.
19515 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19517 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19518 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19519 _HEADER_H_HIDDEN_DEF macro.
19520 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19521 _hurd_fd_error_signal): Add hidden prototype.
19522 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19524 * libio/iolibio.h (_IO_puts): New hidden prototype.
19525 * libio/ioputs.c (_IO_puts): New hidden def.
19526 * sysdeps/mach/hurd/localplt.data: New file.
19528 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19529 Amos Jeffries <squid3@treenet.co.nz>
19530 David Michael <fedora.dm0@gmail.com>
19531 Marco Gerards <marco@gnu.org>
19532 Marcus Brinkmann <marcus@gnu.org>
19533 Neal H. Walfield <neal@gnu.org>
19534 Pino Toscano <toscano.pino@tiscali.it>
19535 Richard Braun <rbraun@sceen.net>
19536 Roland McGrath <roland@gnu.org>
19537 Samuel Thibault <samuel.thibault@ens-lyon.org>
19538 Thomas DiModica <ricinwich@yahoo.com>
19539 Thomas Schwinge <tschwinge@gnu.org>
19541 * htl: New directory.
19542 * sysdeps/htl: New directory.
19543 * sysdeps/hurd/htl: New directory.
19544 * sysdeps/i386/htl: New directory.
19545 * sysdeps/mach/htl: New directory.
19546 * sysdeps/mach/hurd/htl: New directory.
19547 * sysdeps/mach/hurd/i386/htl: New directory.
19548 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19549 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19550 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19552 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19554 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19555 signals in thread created for runing timers.
19557 2018-04-01 Florian Weimer <fweimer@redhat.com>
19559 * support/support_format_addrinfo.c (support_format_addrinfo):
19560 Include unknown error number in formatted result.
19562 2018-03-29 Florian Weimer <fweimer@redhat.com>
19564 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19567 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19569 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19570 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19572 (__ASSUME_CLONE_BACKWARDS): Define.
19574 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19578 early when linux sentinel value is set.
19580 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19582 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19584 2018-03-27 Andreas Schwab <schwab@suse.de>
19587 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19588 allocation of private copy of nsaddr_list fails.
19590 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19594 * sysdeps/unix/sysv/linux/umount.c: ... here.
19595 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19596 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19597 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19598 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19600 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19601 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19603 2018-03-26 Andreas Schwab <schwab@suse.de>
19605 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19606 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19607 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19608 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19609 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19610 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19611 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19612 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19613 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19614 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19615 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19616 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19617 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19618 (R_RISCV_NUM): Define.
19620 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19622 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19623 TLS declaration of errno.
19624 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19626 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19627 (ARCH_SETUP_TLS): Likewise.
19628 * sysdeps/mach/hurd/libc-start.h: New file copied from
19629 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19630 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19631 instead of __libc_setup_tls.
19632 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19633 __libc_setup_tls before initializing libpthread and running _hurd_init
19634 which starts the signal thread.
19635 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19637 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19639 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19642 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19643 after it is defined.
19645 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19646 Max Horn <max@quendi.de>
19650 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19652 * string/test-memmove.c (do_test2): New testcase.
19654 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19656 * sysdeps/generic/frame.h: Remove file.
19657 * sysdeps/arm/frame.h: Likewise.
19658 * sysdeps/hppa/frame.h: Likewise.
19659 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19661 (GET_FRAME): Likewise.
19662 (GET_STACK): Likewise.
19663 (CALL_SIGHANDLER): Likewise.
19664 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19666 (GET_FRAME): Likewise.
19667 (GET_STACK): Likewise.
19668 (CALL_SIGHANDLER): Likewise.
19669 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19670 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19671 (GET_FRAME): Likewise.
19672 (GET_STACK): Likewise.
19673 (CALL_SIGHANDLER): Likewise.
19674 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19675 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19676 (GET_FRAME): Likewise.
19677 (GET_STACK): Likewise.
19678 (ADVANCE_STACK_FRAME): Likewise.
19679 (CALL_SIGHANDLER): Likewise.
19680 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19681 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19682 (GET_FRAME): Likewise.
19683 (GET_STACK): Likewise.
19684 (CALL_SIGHANDLER): Likewise.
19685 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19686 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19687 (GET_FRAME): Likewise.
19688 (GET_STACK): Likewise.
19689 (CALL_SIGHANDLER): Likewise.
19690 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19691 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19692 (GET_FRAME): Likewise.
19693 (GET_STACK): Likewise.
19694 (CALL_SIGHANDLER): Likewise.
19695 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19696 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19697 (GET_FRAME): Likewise.
19698 (GET_STACK): Likewise.
19699 (CALL_SIGHANDLER): Likewise.
19700 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19701 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19702 (GET_FRAME): Likewise.
19703 (GET_STACK): Likewise.
19704 (CALL_SIGHANDLER): Likewise.
19705 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19706 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19707 (GET_FRAME): Likewise.
19708 (GET_STACK): Likewise.
19709 (CALL_SIGHANDLER): Likewise.
19710 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19711 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19712 (GET_FRAME): Likewise.
19713 (GET_STACK): Likewise.
19714 (CALL_SIGHANDLER): Likewise.
19715 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19717 (GET_FRAME): Likewise.
19718 (GET_STACK): Likewise.
19719 (CALL_SIGHANDLER): Likewise.
19720 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19721 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19722 (GET_FRAME): Likewise.
19723 (GET_STACK): Likewise.
19724 (CALL_SIGHANDLER): Likewise.
19725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19726 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19727 (FIRST_FRAME_POINTER): Likewise.
19728 (ADVANCE_STACK_FRAME): Likewise.
19729 (GET_STACK): Likewise.
19730 (GET_FRAME): Likewise.
19731 (CALL_SIGHANDLER): Likewise.
19732 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19733 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19734 (ADVANCE_STACK_FRAME): Likewise.
19735 (GET_STACK): Likewise.
19736 (GET_FRAME): Likewise.
19737 (CALL_SIGHANDLER): Likewise.
19738 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19740 (GET_FRAME): Likewise.
19741 (GET_STACK): Likewise.
19742 (CALL_SIGHANDLER): Likewise.
19743 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19745 (GET_FRAME): Likewise.
19746 (GET_STACK): Likewise.
19747 (CALL_SIGHANDLER): Likewise.
19749 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19751 * sysdeps/x86_64/backtrace.c: Move to ....
19752 * debug/backtrace.c: ... here.
19753 * sysdeps/aarch64/backtrace.c: Remove file.
19754 * sysdeps/alpha/backtrace.c: Likewise.
19755 * sysdeps/hppa/backtrace.c: Likewise.
19756 * sysdeps/ia64/backtrace.c: Likewise.
19757 * sysdeps/mips/backtrace.c: Likewise.
19758 * sysdeps/nios2/backtrace.c: Likewise.
19759 * sysdeps/riscv/backtrace.c: Likewise.
19760 * sysdeps/sh/backtrace.c: Likewise.
19761 * sysdeps/tile/backtrace.c: Likewise.
19763 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19766 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19769 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19772 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19773 possibly overflowing computations.
19775 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19777 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19778 values from Linux-specific section now that it is in the GNU section.
19779 * sysdeps/gnu/errlist.c: Regenerate.
19781 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19783 * math/Makefile (libm-narrow-fns): Add sub.
19784 (libm-test-funcs-narrow): Likewise.
19785 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19786 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19787 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19788 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19789 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19790 (NARROW_SUB_TRIVIAL): Likewise.
19791 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19793 (__dsubl): Likewise.
19794 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19796 (CFLAGS-nldbl-dsub.c): New variable.
19797 (CFLAGS-nldbl-fsub.c): Likewise.
19798 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19802 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19803 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19804 * math/auto-libm-test-in: Add tests of sub.
19805 * math/auto-libm-test-out-narrow-sub: New generated file.
19806 * math/libm-test-narrow-sub.inc: New file.
19807 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19809 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19810 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19811 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19812 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19821 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19822 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19823 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19824 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19826 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19844 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19845 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19851 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19854 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19857 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19859 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19861 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19863 2018-03-18 Richard Braun <rbraun@sceen.net>
19865 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19868 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19870 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19871 (__libc_cleanup_fct): Define function.
19872 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19873 __libc_cleanup_end): Rewrite implementation using
19874 __attribute__ ((__cleanup__)).
19875 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19876 * hurd/Makefile (routines): Add hurdlock.
19877 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19879 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19880 * hurd/hurdpid.c: Include <lowlevellock.h>
19881 (_S_msg_proc_newids): Use lll_wait to synchronize.
19882 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19883 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19884 * mach/Makefile (lock-headers): Remove machine-lock.h.
19885 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19887 (__spin_lock_t): New type.
19888 (__SPIN_LOCK_INITIALIZER): New macro.
19889 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19890 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19891 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19892 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19893 (__mutex_init): Initialize with lll.
19894 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19895 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19897 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19898 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19899 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19900 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19901 (__setpgid): Use lll for synchronization.
19902 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19903 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19904 instead of <cthreads.h>.
19905 (_IO_lock_inexpensive): New macro
19906 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19907 (__libc_lock_self0): New declaration.
19908 (__libc_lock_owner_self): New macro.
19909 (__libc_key_t): Remove type.
19910 (_LIBC_LOCK_INITIALIZER): New macro.
19911 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19912 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19913 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19914 __libc_lock_define_initialized_recursive,
19915 __rtld_lock_define_initialized_recursive,
19916 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19917 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19918 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19919 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19920 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19921 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19922 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19924 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19925 * hurd/hurdlock.c: New file.
19926 * hurd/hurdlock.h: New file.
19927 * mach/lowlevellock.h: New file
19929 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19931 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19933 when opening a symlink with O_NOFOLLOW.
19934 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19935 path when flags contains O_NOFOLLOW.
19936 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19937 if flags contains O_DIRECTORY and the result is a directory.
19938 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19939 oneself when the pointer given in D is nul (as set by ext2fs).
19940 * sysdeps/mach/hurd/mlockall.c: New file.
19941 * sysdeps/mach/hurd/munlockall.c: New file.
19943 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19945 * hurd/hurdsig.c: Include <pthread.h>.
19946 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19947 get the signal thread stack layout.
19948 * hurd/Makefile (headers): Remove threadvar.h.
19949 (inline-headers): Remove threadvar.h.
19950 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19951 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19952 __hurd_threadvar_max, __hurd_errno_location.
19953 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19954 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19955 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19956 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19957 unless TLS is not initialized yet, in which case we do not need a
19958 critical section yet anyway.
19959 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19961 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19963 (__hurd_threadvar_index): Remove enum.
19964 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19965 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19967 (__hurd_reply_port0): New variable declaration.
19968 (__hurd_local_reply_port): New macro.
19969 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19970 (interrupted_reply_port_location): Add thread_t parameter. Use it
19971 with THREAD_TCB to access thread-local variables.
19972 (_hurdsig_abort_rpcs): Pass ss->thread to
19973 interrupted_reply_port_location.
19974 (_hurd_internal_post_signal): Likewise.
19975 (_hurdsig_init): Use presence of cthread_fork instead of
19976 __hurd_threadvar_stack_mask to start signal thread by hand.
19977 Remove signal thread threadvar initialization.
19978 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19979 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19980 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19982 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19984 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19985 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19986 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19987 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19988 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19989 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19990 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19992 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19993 <hurd/threadvar.h>.
19994 [IS_IN(rtld)] (rtld_errno): New variable.
19995 [IS_IN(rtld)] (__errno_location): New weak function.
19996 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19997 * sysdeps/mach/hurd/errno.c: Remove file.
19998 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19999 (__fork): Remove THREADVAR_SPACE macro and its use.
20000 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20002 (init): Do not initialize threadvar.
20003 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20005 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20006 __hurd_local_reply_port instead of threadvar.
20007 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20008 _hurd_sigstate fields.
20009 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20010 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20011 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20012 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20013 instead of threadvar.
20014 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20015 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20016 (use_threadvar, global_reply_port): Remove variables.
20017 (__hurd_reply_port0): New variable.
20018 (__mig_get_reply_port): Use __hurd_local_reply_port and
20019 __hurd_reply_port0 instead of threadvar.
20020 (__mig_dealloc_reply_port): Likewise.
20021 (__mig_init): Do not initialize threadvar.
20022 * sysdeps/mach/hurd/profil.c: Fix comment.
20023 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20024 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20025 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20026 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20027 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20028 __cthread_setspecific.
20029 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20030 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20031 __cthread_t instead of cthread_fork, cthread_detach,
20032 pthread_getattr_np, pthread_attr_getstack.
20033 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20034 __cthread_keycreate.
20035 (cthread_getspecific): Rename to __cthread_getspecific.
20036 (cthread_setspecific): Rename to __cthread_setspecific.
20037 (__libc_getspecific): Use __cthread_getspecific instead of
20038 cthread_getspecific.
20039 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20040 __cthread_keycreate instead of cthread_keycreate.
20041 (__libc_setspecific): Use __cthread_setspecific instead of
20042 cthread_setspecific.
20043 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20046 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20047 testing whether it is defined.
20049 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20051 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20053 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20054 * sysdeps/mach/i386/thread_state.h
20055 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20057 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20059 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20061 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20062 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20064 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20066 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20067 descriptor instead of creating a new one.
20068 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20070 * mach/setup-thread.c: Include <ldsodefs.h>.
20071 (__mach_setup_thread): Call _dl_allocate_tls, pass
20072 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20073 MACHINE_THREAD_STATE_FLAVOR, before getting
20074 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20075 MACHINE_THREAD_STATE_FLAVOR with the result.
20076 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20077 MACHINE_THREAD_STATE_FIX_NEW.
20078 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20079 too. Add original thread parameter.
20081 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20083 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20084 Remove inline function.
20086 * sysdeps/i386/fpu/libm-test-ulps: Update.
20087 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20089 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20091 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20094 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20096 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20097 (__sincos_code): Remove define and undefine.
20098 [__FAST_MATH__] (__sincos): Remove inline function.
20099 [__FAST_MATH__] (__sincosf): Remove inline function.
20100 [__FAST_MATH__] (__sincosl): Remove inline function.
20101 (__atan2l): Remove inline functions.
20102 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20103 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20105 (floor): Remove inline function.
20107 [__FAST_MATH__] (__ldexp_code): Remove macro.
20108 [__FAST_MATH__] (ldexp): Remove inline function.
20109 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20110 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20111 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20112 [__USE_ISOC99] (__lrint_code): Remove macro.
20113 [__USE_ISOC99] (__llrint_code): Likewise.
20114 [__USE_ISOC99] (lrintf): Remove inline function.
20115 [__USE_ISOC99] (lrint): Likewise.
20116 [__USE_ISOC99] (lrintl): Likewise.
20117 [__USE_ISOC99] (llrint): Likewise.
20118 [__USE_ISOC99] (llrintf): Likewise.
20119 [__USE_ISOC99] (llrintl): Likewise.
20121 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20123 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20124 (__ieee754_sqrtf): Remove.
20125 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20126 (__ieee754_sqrtf): Remove.
20127 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20128 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20129 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20130 (__ieee754_sqrtf): Remove.
20131 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20132 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20135 (__ieee754_sqrt): Remove.
20136 (__ieee754_sqrtf): Remove.
20137 (__ieee754_sqrtl): Remove.
20138 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20139 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20140 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20141 (__ieee754_sqrtf): Remove.
20142 (__ieee754_sqrtl): Remove.
20144 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20146 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20147 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20148 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20149 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20150 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20151 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20152 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20153 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20155 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20156 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20157 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20158 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20159 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20160 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20161 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20162 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20163 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20164 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20165 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20166 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20167 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20168 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20169 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20170 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20172 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20173 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20184 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20185 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20188 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20189 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20190 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20191 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20192 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20193 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20194 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20196 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20198 * include/math.h (sqrt): Declare with asm redirect.
20201 (sqrtf128): Likewise.
20202 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20203 nonlib and libnldbl with -fmath-errno.
20204 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20205 * math/w_sqrt_template.c: Likewise.
20206 * math/w_sqrtf_compat.c: Likewise.
20207 * math/w_sqrtl_compat.c: Likewise.
20208 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20209 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20210 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20213 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20215 * benchtests/Makefile: Define _ISOMAC.
20216 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20217 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20218 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20219 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20220 * benchtests/bench-timing.h: Define attribute_hidden.
20222 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20224 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20227 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20230 * localedata/locales/cs_CZ (mon): Rename to...
20232 (mon): Import from CLDR (genitive case).
20234 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20237 * localedata/locales/el_CY (abmon): Rename to...
20238 (ab_alt_mon): This.
20239 (abmon): Import from CLDR (abbreviated genitive case).
20240 * localedata/locales/el_GR (abmon): Rename to...
20241 (ab_alt_mon): This.
20242 (abmon): Import from CLDR (abbreviated genitive case).
20244 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20247 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20249 2018-03-15 Robert Buj <robert.buj@gmail.com>
20252 * localedata/locales/ca_ES (abmon): Rename to...
20253 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20254 (mon): Rename to...
20256 (abmon): Import from CLDR (genitive case, month names preceded by
20259 (abday): Synchronize with CLDR.
20260 (d_t_fmt): Likewise.
20264 (LC_TIME): Improve indentation.
20265 (LC_TELEPHONE): Likewise.
20266 (LC_NAME): Likewise.
20267 (LC_ADDRESS): Likewise.
20269 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20271 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20272 (lrintf): Remove definitions used only with old GCC.
20273 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20274 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20275 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20276 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20277 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20278 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20279 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20280 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20281 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20282 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20283 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20284 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20285 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20286 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20287 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20288 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20289 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20290 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20291 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20292 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20293 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20294 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20295 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20296 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20297 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20298 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20299 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20300 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20302 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20304 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20305 instruction to unbreak builds with binutils 2.26 and older.
20307 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20309 * sysdeps/aarch64/strncmp.S (count): New macro.
20310 (strncmp): Store misaligned length in SRC1 in COUNT.
20311 (mutual_align): Adjust.
20312 (misaligned8): Load dword at a time when it is safe.
20314 2018-03-12 Zack Weinberg <zackw@panix.com>
20318 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20319 if the _IO_EOF_SEEN bit is already set; update commentary.
20320 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20321 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20323 * support/support_openpty.c, support/tty.h: New files.
20324 * support/Makefile (libsupport-routines): Add support_openpty.
20326 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20328 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20329 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20331 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20333 * po/pt_BR.po: Update translations.
20335 2018-03-12 David Michael <fedora.dm0@gmail.com>
20337 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20338 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20339 get a port to the startup server.
20341 2018-03-11 Zack Weinberg <zackw@panix.com>
20343 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20344 before nldbl-compat.h.
20346 2018-03-10 Zack Weinberg <zackw@panix.com>
20348 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20349 math.h or math_private.h.
20351 * sysdeps/alpha/fpu/s_isnan.c
20352 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20353 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20354 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20355 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20356 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20357 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20358 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20359 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20363 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20365 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20366 Include math_private.h.
20368 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20369 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20370 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20371 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20372 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20373 * sysdeps/powerpc/power7/fpu/s_logb.c:
20374 Include math.h and math_private.h.
20376 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20377 uses of $at in .set noat / .set at.
20379 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20381 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20382 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20383 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20384 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20387 2018-03-09 Florian Weimer <fweimer@redhat.com>
20389 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20392 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20395 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20396 Add nop before __startcontext, add explaining comments.
20398 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20401 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20403 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20404 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20405 Do not build hardware transactional code for __SPE__.
20406 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20407 (__lll_trylock_elision): Likewise.
20408 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20409 (__lll_unlock_elision): Likewise.
20411 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20412 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20413 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20414 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20415 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20416 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20417 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20418 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20419 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20420 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20421 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20422 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20424 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20425 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20426 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20427 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20428 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20429 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20430 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20431 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20432 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20433 (__ASSUME_CLONE_BACKWARDS): Define.
20434 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20435 __clone2 if __NR_clone2 is defined.
20436 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20437 (__ASSUME_CLONE_BACKWARDS): Likewise.
20438 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20439 (__ASSUME_CLONE_BACKWARDS): Likewise.
20440 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20441 (__ASSUME_CLONE2): Likewise.
20442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20443 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20444 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20445 variants and the define architecture can use.
20446 (__ASSUME_CLONE_DEFAULT): Define as default.
20447 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20448 (__ASSUME_CLONE_BACKWARDS): Likewise.
20449 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20450 (__ASSUME_CLONE_BACKWARDS): Likewise.
20451 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20452 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20454 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20456 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20458 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20461 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20462 (do_test_limit): Likewise.
20464 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20465 for every implementation.
20466 (do_test): Likewise.
20468 * benchtests/bench-strncmp.c: Convert output to json.
20470 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20472 * io/futimens.c: Add missing start-of-file descriptive comment.
20473 * io/utime.c: Likewise.
20474 * misc/futimesat.c: Likewise.
20475 * misc/utimes.c: Likewise.
20476 * sysdeps/mach/hurd/futimesat.c: Likewise.
20477 * sysdeps/mach/hurd/utimes.c: Likewise.
20478 * sysdeps/posix/utime.c: Likewise.
20479 * sysdeps/posix/utimes.c: Likewise.
20480 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20481 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20482 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20483 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20485 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20487 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20489 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20490 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20491 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20492 (__futimens): Move implementation to...
20493 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20494 utime_tvalue_from_tspec): ... new helper functions.
20495 (hurd_futimens): New function.
20496 * sysdeps/mach/hurd/futimesat.c: New file.
20497 * sysdeps/mach/hurd/utimensat.c: New file.
20499 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20501 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20502 UTIME_OMIT): New macros.
20503 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20504 before reverting to converting time spec to time value and calling
20506 * sysdeps/mach/hurd/utime-helper.c: New file.
20507 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20508 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20509 reverting to utime_tvalue_from_tval and __file_utimes.
20510 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20511 (__lutimes): Just call hurd_futimens after lookup.
20512 * sysdeps/mach/hurd/utimes.c: Likewise.
20514 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20516 * bits/sigaction.h: Add include guard.
20517 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20518 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20519 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20520 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20521 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20522 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20524 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20525 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20527 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20529 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20530 -Wmaybe-uninitialized for -Os.
20531 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20534 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20536 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20537 __INO_T_MATCHES_INO64_T is defined.
20538 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20539 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20541 * dirent/alphasort64.c: Likewise.
20542 * dirent/scandir.c: Likewise.
20543 * dirent/scandir64-tail.c: Likewise.
20544 * dirent/scandir64.c: Likewise.
20545 * dirent/scandirat.c: Likewise.
20546 * dirent/scandirat64.c: Likewise.
20547 * dirent/versionsort.c: Likewise.
20548 * dirent/versionsort64.c: Likewise.
20549 * include/dirent.h: Likewise.
20551 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20552 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20553 for socketpair endpoint.
20554 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20555 WRITE_BUFFER_SIZE as buffer size for sending socket.
20556 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20557 issue on system where send is implemented with sendto syscall.
20558 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20559 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20560 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20561 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20564 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20565 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20566 sa_restorer for vDSO case.
20567 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20569 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20571 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20572 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20573 * hurd/hurd/ioctl.h: Include <mach/port.h>
20574 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20575 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20576 <mach/mach_types.h> and <mach/message.h>.
20577 (headers): Move mach/param.h to bits/mach/param.h.
20578 * sysdeps/mach/i386/mach/param.h: Move file to ...
20579 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20580 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20582 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20583 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20584 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20585 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20586 trivial, for C++ conformity.
20587 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20588 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20589 Process mig output through $(migheadersed).
20590 * hurd/Makefile (migheadersed): Define variable.
20591 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20592 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20594 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20595 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20596 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20597 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20598 <bits/types/sigset_t.h>.
20599 [!defined __USE_GNU]: Do not #error out.
20600 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20601 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20602 Include <stddef.h> and <bits/types/sigset_t.h>
20603 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20604 instead of sighandler_t.
20605 * stdlib/errno.h (error_t): Move definition to...
20606 * bits/types/error_t.h: ... new header.
20607 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20608 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20609 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20610 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20611 * hurd/hurd.h: Include <bits/types/error_t.h>
20612 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20613 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20614 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20615 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20616 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20617 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20618 * sysdeps/mach/hurd/futimens.c: New file.
20620 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20623 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20624 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20625 * nscd/gai.c (__nss_hosts_database): Readd definition.
20626 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20627 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20628 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20630 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20632 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20633 (ifunc_one): Likewise.
20635 2018-03-01 DJ Delorie <dj@delorie.com>
20638 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20641 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20643 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20644 `match_pid' parameter.
20645 (td_ta_thr_iter): Update accordingly.
20647 2018-03-01 Florian Weimer <fweimer@redhat.com>
20649 * nptl/Makefile (install-lib-ldscripts): Remove.
20650 (install): Remove rule.
20651 ($(inst_libdir)/libpthread.so): Likewise.
20653 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20656 * localedata/locales/an_ES: update month and day names,
20657 improve d_fmt, improve postal_fmt, add country_post,
20660 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20662 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20663 Ukrainian instead of Bulgarian.
20665 2018-03-01 Florian Weimer <fweimer@redhat.com>
20667 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20670 2018-03-01 Florian Weimer <fweimer@redhat.com>
20672 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20673 * nptl/Makefile (routines): Add pthread_atfork.
20674 (static-only-routines): Set to pthread_atfork.
20675 (libpthread-routines): Remove pthread_atfork.
20676 (libpthread-static-only-routines): Remove.
20677 (install): Update comment.
20678 (libpthread.so): Do not install libpthread_nonshared.a.
20679 (tests): Do not link with libpthread_nonshared.a.
20680 (generated): Remove libpthread_nonshared.a.
20681 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20682 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20683 with libpthread_nonshared.a.
20685 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20688 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20689 (libc_feholdexcept_setroundf128): New macro.
20690 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20693 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20695 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20696 * include/inttypes.h: New file.
20698 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20700 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20701 -Os in two more places.
20703 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20705 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20706 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20707 be sorted correctly at the moment because of a bug.
20709 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20711 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20712 treat ñ as a primary different character, sync the collation
20713 for Spanish with CLDR.
20714 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20715 * localedata/Makefile: Add new test files.
20716 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20717 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20719 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20720 * localedata/am_ET.UTF-8.in: New test file.
20721 * localedata/az_AZ.UTF-8.in: Likewise.
20722 * localedata/be_BY.UTF-8.in: Likewise.
20723 * localedata/ber_DZ.UTF-8.in: Likewise.
20724 * localedata/ber_MA.UTF-8.in: Likewise.
20725 * localedata/bg_BG.UTF-8.in: Likewise.
20726 * localedata/br_FR.UTF-8.in: Likewise.
20727 * localedata/cmn_TW.UTF-8.in: Likewise.
20728 * localedata/crh_UA.UTF-8.in: Likewise.
20729 * localedata/csb_PL.UTF-8.in: Likewise.
20730 * localedata/cv_RU.UTF-8.in: Likewise.
20731 * localedata/cy_GB.UTF-8.in: Likewise.
20732 * localedata/dz_BT.UTF-8.in: Likewise.
20733 * localedata/eo.UTF-8.in: Likewise.
20734 * localedata/es_ES.UTF-8.in: Likewise.
20735 * localedata/fa_IR.UTF-8.in: Likewise.
20736 * localedata/fi_FI.UTF-8.in: Likewise.
20737 * localedata/fil_PH.UTF-8.in: Likewise.
20738 * localedata/fur_IT.UTF-8.in: Likewise.
20739 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20740 * localedata/ha_NG.UTF-8.in: Likewise.
20741 * localedata/ig_NG.UTF-8.in: Likewise.
20742 * localedata/ik_CA.UTF-8.in: Likewise.
20743 * localedata/kk_KZ.UTF-8.in: Likewise.
20744 * localedata/ku_TR.UTF-8.in: Likewise.
20745 * localedata/ky_KG.UTF-8.in: Likewise.
20746 * localedata/ln_CD.UTF-8.in: Likewise.
20747 * localedata/mi_NZ.UTF-8.in: Likewise.
20748 * localedata/ml_IN.UTF-8.in: Likewise.
20749 * localedata/mn_MN.UTF-8.in: Likewise.
20750 * localedata/mr_IN.UTF-8.in: Likewise.
20751 * localedata/mt_MT.UTF-8.in: Likewise.
20752 * localedata/nb_NO.UTF-8.in: Likewise.
20753 * localedata/om_KE.UTF-8.in: Likewise.
20754 * localedata/os_RU.UTF-8.in: Likewise.
20755 * localedata/ps_AF.UTF-8.in: Likewise.
20756 * localedata/ro_RO.UTF-8.in: Likewise.
20757 * localedata/ru_RU.UTF-8.in: Likewise.
20758 * localedata/sc_IT.UTF-8.in: Likewise.
20759 * localedata/se_NO.UTF-8.in: Likewise.
20760 * localedata/sq_AL.UTF-8.in: Likewise.
20761 * localedata/sv_SE.UTF-8.in: Likewise.
20762 * localedata/szl_PL.UTF-8.in: Likewise.
20763 * localedata/tg_TJ.UTF-8.in: Likewise.
20764 * localedata/tk_TM.UTF-8.in: Likewise.
20765 * localedata/tt_RU.UTF-8.in: Likewise.
20766 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20767 * localedata/ug_CN.UTF-8.in: Likewise.
20768 * localedata/uz_UZ.UTF-8.in: Likewise.
20769 * localedata/vi_VN.UTF-8.in: Likewise.
20770 * localedata/yi_US.UTF-8.in: Likewise.
20771 * localedata/yo_NG.UTF-8.in: Likewise.
20772 * localedata/zh_CN.UTF-8.in: Likewise.
20773 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20774 file and fix bugs in the collation.
20775 * localedata/locales/az_AZ: Likewise.
20776 * localedata/locales/be_BY: Likewise.
20777 * localedata/locales/ber_DZ: Likewise.
20778 * localedata/locales/ber_MA: Likewise.
20779 * localedata/locales/bg_BG: Likewise.
20780 * localedata/locales/br_FR: Likewise.
20781 * localedata/locales/br_FR@euro: Likewise.
20782 * localedata/locales/ca_ES: Likewise.
20783 * localedata/locales/cns11643_stroke: Likewise.
20784 * localedata/locales/crh_UA: Likewise.
20785 * localedata/locales/cs_CZ: Likewise.
20786 * localedata/locales/csb_PL: Likewise.
20787 * localedata/locales/cv_RU: Likewise.
20788 * localedata/locales/cy_GB: Likewise.
20789 * localedata/locales/da_DK: Likewise.
20790 * localedata/locales/dz_BT: Likewise.
20791 * localedata/locales/en_CA: Likewise.
20792 * localedata/locales/eo: Likewise.
20793 * localedata/locales/es_CU: Likewise.
20794 * localedata/locales/es_EC: Likewise.
20795 * localedata/locales/es_ES: Likewise.
20796 * localedata/locales/es_US: Likewise.
20797 * localedata/locales/et_EE: Likewise.
20798 * localedata/locales/fa_IR: Likewise.
20799 * localedata/locales/fi_FI: Likewise.
20800 * localedata/locales/fil_PH: Likewise.
20801 * localedata/locales/fur_IT: Likewise.
20802 * localedata/locales/gez_ER@abegede: Likewise.
20803 * localedata/locales/ha_NG: Likewise.
20804 * localedata/locales/hr_HR: Likewise.
20805 * localedata/locales/hsb_DE: Likewise.
20806 * localedata/locales/hu_HU: Likewise.
20807 * localedata/locales/ig_NG: Likewise.
20808 * localedata/locales/ik_CA: Likewise.
20809 * localedata/locales/is_IS: Likewise.
20810 * localedata/locales/iso14651_t1_pinyin: Likewise.
20811 * localedata/locales/kk_KZ: Likewise.
20812 * localedata/locales/ku_TR: Likewise.
20813 * localedata/locales/ky_KG: Likewise.
20814 * localedata/locales/ln_CD: Likewise.
20815 * localedata/locales/lt_LT: Likewise.
20816 * localedata/locales/lv_LV: Likewise.
20817 * localedata/locales/mi_NZ: Likewise.
20818 * localedata/locales/ml_IN: Likewise.
20819 * localedata/locales/mn_MN: Likewise.
20820 * localedata/locales/mr_IN: Likewise.
20821 * localedata/locales/mt_MT: Likewise.
20822 * localedata/locales/nb_NO: Likewise.
20823 * localedata/locales/om_KE: Likewise.
20824 * localedata/locales/os_RU: Likewise.
20825 * localedata/locales/pl_PL: Likewise.
20826 * localedata/locales/ps_AF: Likewise.
20827 * localedata/locales/ro_RO: Likewise.
20828 * localedata/locales/ru_RU: Likewise.
20829 * localedata/locales/ru_UA: Likewise.
20830 * localedata/locales/sc_IT: Likewise.
20831 * localedata/locales/se_NO: Likewise.
20832 * localedata/locales/si_LK: Likewise.
20833 * localedata/locales/sq_AL: Likewise.
20834 * localedata/locales/sv_FI: Likewise.
20835 * localedata/locales/sv_FI@euro: Likewise.
20836 * localedata/locales/sv_SE: Likewise.
20837 * localedata/locales/szl_PL: Likewise.
20838 * localedata/locales/tg_TJ: Likewise.
20839 * localedata/locales/ti_ER: Likewise.
20840 * localedata/locales/tk_TM: Likewise.
20841 * localedata/locales/tl_PH: Likewise.
20842 * localedata/locales/tr_TR: Likewise.
20843 * localedata/locales/tt_RU: Likewise.
20844 * localedata/locales/tt_RU@iqtelif: Likewise.
20845 * localedata/locales/ug_CN: Likewise.
20846 * localedata/locales/uk_UA: Likewise.
20847 * localedata/locales/uz_UZ: Likewise.
20848 * localedata/locales/uz_UZ@cyrillic: Likewise.
20849 * localedata/locales/vi_VN: Likewise.
20850 * localedata/locales/yi_US: Likewise.
20851 * localedata/locales/yo_NG: Likewise.
20853 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20855 * gen-locales.mk: Make test files which contain @ modifiers in their
20857 * localedata/gen-locale.sh: Likewise.
20859 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20861 * posix/tst-fnmatch.input: Fix results for range expressions
20863 * posix/tst-regexloc.c: Do not use a range expression for
20864 de_DE.ISO-8859-1 locale.
20866 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20868 * posix/bug-regex5.c: Fix test case because with the new
20869 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20870 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20873 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20875 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20876 downloaded from ISO, the collation order of @-. and space has changed.
20877 Therefore, this test file needed to be adapted.
20878 * localedata/fr_CA.UTF-8.in: Likewise.
20879 * localedata/fr_FR.UTF-8.in: Likewise.
20880 * localedata/uk_UA.UTF-8.in: Likewise.
20882 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20884 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20885 order of ȥ in the new iso14651_t1_common file.
20886 * localedata/pl_PL.UTF-8.in: Likewise.
20888 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20890 * localedata/locales/iso14651_t1_common: Add sections for various
20891 scripts to the iso14651_t1_common file.
20893 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20895 * localedata/locales/iso14651_t1_common: Use the code point of a
20896 character in the fourth collation level instead of IGNORE for all
20897 entries which have IGNORE on all 4 levels.
20899 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20901 * localedata/locales/iso14651_t1_common: Add some convenient collation
20902 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20903 rules similar to those in CLDR.
20905 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20907 * localedata/locales/iso14651_t1_common: The new version of this
20908 file downloaded from ISO contained several syntax errors which
20909 are fixed by this patch.
20911 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20913 * localedata/locales/iso14651_t1_common: replace all <U.....>
20914 with <U000.....> because glibc understands only 4 digit or 8 digit
20916 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20918 * localedata/locales/iso14651_t1_common: Necessary changes
20919 to make the file downloaded from ISO usable by glibc.
20921 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20924 * localedata/locales/iso14651_t1_common: Update file to
20925 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20927 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20929 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20930 of <nptl/pthreadP.h>
20931 (thread_attr_compare): Move function to...
20932 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20933 * sysdeps/nptl/timer_routines.h: ... new header.
20934 * sysdeps/mach/hurd/gai_misc.h: New file.
20936 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20938 * string/strcoll_l.c: Include <libc-diag.h>.
20939 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20940 declarations of seq1 and seq2.
20943 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20944 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20946 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20951 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20952 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20953 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20954 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20955 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20957 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20960 macros used in __ptrace_request.
20962 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20965 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20967 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20968 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20972 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20975 * ctype/ctype.c (tolower): Use libc_hidden_def.
20976 (toupper): Likewise.
20977 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20978 [!_ISOMAC] (toupper): Likewise.
20980 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20982 * localedata/Makefile: Remove --quiet argument when
20985 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20988 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20990 * localedata/locales/pt_PT (LC_TIME): likewise
20992 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20995 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20996 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20997 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20999 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21003 * nptl/Makefile (routines): Remove unregister-atfork.
21004 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21005 (fork_handler_alloc): Remove function.
21006 (fork_handlers, fork_handler_init): New variables.
21007 (__fork_lock): Rename to atfork_lock.
21008 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21009 to use a dynamic array to add/remove atfork handlers.
21010 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21011 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21012 Remove declaration.
21013 (fork_handler): Remove next, refcntr, and need_signal member.
21014 (__run_fork_handler_type): New enum.
21015 (__run_fork_handlers): New prototype.
21016 * nptl/register-atfork.c: Remove file.
21017 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21019 * sysdeps/nptl/nptl-signals.h: Move to ...
21020 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21022 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21023 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21024 unnecessary check for SIGTIMER.
21025 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21026 remove unnecessary removal of SIGTIMER.
21027 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21028 include-signals.h rename.
21029 * nptl/pthreadP.h: Likewise.
21030 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21031 __is_internal_signal instead of __nptl_is_internal_signal.
21033 2018-02-22 Andrew Waterman <andrew@sifive.com>
21036 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21037 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21038 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21039 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21041 2018-02-22 DJ Delorie <dj@delorie.com>
21043 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21045 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21047 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21048 do_misaligned, not misaligned8.
21050 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21052 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21053 Add memcpy_thunderx2.
21054 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21056 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21057 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21058 and IS_THUNDERX2PA checks.
21059 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21060 Use macro to set name appropriately.
21061 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21062 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21063 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21065 (IS_THUNDERX2): New macro.
21067 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21069 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21071 2018-02-21 Zack Weinberg <zackw@panix.com>
21073 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21074 Define here, unconditionally.
21075 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21076 * libio/libioP.h: Remove #if 0 blocks.
21077 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21078 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21079 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21081 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21082 Assume weak_alias is always defined.
21084 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21085 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21086 Remove #if 0 and #ifdef TODO blocks.
21087 Assume text_set_element is always defined.
21089 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21090 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21091 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21093 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21094 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21095 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21096 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21097 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21098 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21099 Reformat bit flags for _flags field to make occupancy clearer.
21101 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21102 Keep definitions consistent with those in libio/libio.h.
21104 * libio/libio.h (_IO_file_flags): Remove macro.
21105 All uses changed to _flags.
21107 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21108 (__HAVE_COLUMN, _IO_BE): Don't define.
21109 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21110 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21111 * libio/libioP.h (EOF): Don't define.
21112 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21113 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21114 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21115 testing _IO_UNIFIED_JUMPTABLES.
21117 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21118 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21119 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21120 (_IO_size_t): Delete; all uses changed to size_t.
21121 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21122 (_IO_off_t): Delete; all uses changed to off_t.
21123 (_IO_off64_t): Delete; all uses changed to off64_t.
21124 (_IO_pid_t): Delete; all uses changed to pid_t.
21125 (_IO_uid_t): Delete; all uses changed to uid_t.
21126 (_IO_wint_t): Delete; all uses changed to wint_t.
21127 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21128 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21129 (_IO_cookie_io_functions_t): Delete; all uses changed to
21130 cookie_io_functions_t.
21131 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21132 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21133 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21134 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21136 * libio/iofopncook.c: Remove unnecessary forward declarations.
21137 * libio/iolibio.h: Correct outdated commentary.
21138 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21139 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21140 Remove unnecessary casts.
21141 * stdio-common/getline.c: Use _IO_getdelim directly.
21142 Don't redefine ssize_t.
21143 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21144 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21145 Remove outdated comments.
21146 * stdio-common/vfscanf.c: Don't redefine va_list.
21148 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21149 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21150 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21151 which are always true, and __cplusplus, which is always false.
21153 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21157 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21158 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21159 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21160 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21162 [!_ISOMAC] (putc_unlocked): Likewise.
21163 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21164 define inline if [__USE_EXTERN_INLINES].
21165 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21170 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21171 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21172 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21173 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21174 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21176 * time/tzfile.c (__tzfile_read): Likewise.
21178 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21181 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21183 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21185 * io/fcntl.h: Fix a typo in a comment.
21187 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21190 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21191 define _DEFAULT_SOURCE.
21192 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21194 2018-02-21 Florian Weimer <fweimer@redhat.com>
21197 * elf/cache.c (save_cache): Call fsync on temporary file before
21199 (save_aux_cache): Call fdatasync on temporary file before renaming
21202 2018-02-21 Florian Weimer <fweimer@redhat.com>
21205 * include/caller.h: Remove file.
21206 * elf/dl-caller.c: Likewise.
21207 * elf/Makefile (dl-routines): Remove dl-caller.
21208 (shared-only-routines): Do not add dl-caller.
21209 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21211 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21213 (dl_open_worker): Do not call __check_caller.
21214 (_dl_open): Do not set caller_dl_open member.
21215 * elf/rtld.c (_rtld_global_ro): Do not initialize
21216 _dl_check_caller member.
21217 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21218 _dl_check_caller member.
21219 (_dl_check_caller): Remove declaration.
21220 * sysdeps/unix/sysv/linux/dl-execstack.c
21221 (_dl_make_stack_executable): Do not call __check_caller.
21223 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21225 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21226 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21228 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21230 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21233 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21236 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21237 of 199606L, 200112L, and 200809L.
21238 (_XOPEN_SOURCE): Document special values of 600 and 700.
21239 (_ISOC11_SOURCE): Document macro.
21240 (_ATFILE_SOURCE): Likewise.
21241 (_FORTIFY_SOURCE): Likewise.
21243 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21247 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21248 and define as weak alias of __ferror_unlocked. Use
21250 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21252 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21253 function if [__USE_EXTERN_INLINES].
21254 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21257 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21260 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21262 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21265 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21266 the GLIBC_2.1 version.
21268 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21271 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21272 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21273 intl/tst-gettext-de.po from po/de.po by removing the
21274 POT-Creation-Date line.
21275 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21277 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21280 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21282 * mach/Makefile (headers): Add mach/param.h.
21283 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21284 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21285 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21286 (__ptsname_r): Move implementation to...
21287 (__ptsname_internal): ... new function. Add filling the STP
21290 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21292 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21295 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21297 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21300 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21302 * nptl/Makefile (tst-mutex8-ENV): Delete.
21303 * nptl/tst-mutex8.c (check_type):
21304 Add runtime check if mutex will be elided.
21306 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21310 * manual/install.texi (Configuring and compiling): Describe
21311 passing CC and CFLAGS on configure command line, not as
21312 environment variables. Use @code markup on those variables.
21313 Specify what options go in CC and what go in CFLAGS. Note the
21314 requirement to compile with optimization.
21315 * INSTALL: Regenerated.
21318 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21319 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21320 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21321 __sigprocmask instead of sigprocmask.
21322 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21324 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21325 __sigsetjmp and sigprocmask.
21328 * include/argz.h (argz_next): Use libc_hidden_proto.
21329 (__argz_next): Likewise.
21330 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21331 (argz_next): Use libc_hidden_weak.
21334 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21336 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21340 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21342 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21346 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21347 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21348 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21349 (__feof_unlocked): New declaration, and inline function if
21350 [__USE_EXTERN_INLINES].
21351 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21352 instead of feof_unlocked.
21353 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21354 * nss/nsswitch.c (nss_parse_file): Likewise.
21355 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21357 * time/getdate.c (__getdate_r): Likewise.
21358 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21359 Define as macro to call __feof_unlocked.
21361 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21363 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21365 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21367 * math/Makefile: Remove mpexp.c and mplog.c
21368 * sysdeps/i386/fpu/mpexp.c: Delete file.
21369 * sysdeps/i386/fpu/mplog.c: Likewise.
21370 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21371 * sysdeps/ia64/fpu/mplog.c: Likewise.
21372 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21373 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21374 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21375 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21376 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21377 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21378 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21379 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21380 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21381 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21382 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21384 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21385 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21386 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21387 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21389 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21391 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21393 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21395 * sysdeps/sh/libm-test-ulps: Update.
21397 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21399 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21402 2018-02-12 Zack Weinberg <zackw@panix.com>
21405 * posix/sys/types.h: Don't include sys/sysmacros.h.
21406 * misc/sys/sysmacros.h: Remove the conditional deprecation
21407 warnings for the macros defined by this header.
21409 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21411 * manual/probes.texi: Remove slowexp probes.
21412 * math/Makefile: Remove slowexp.
21413 * sysdeps/generic/math_private.h (__slowexp): Remove.
21414 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21415 document error bounds.
21416 * sysdeps/i386/fpu/slowexp.c: Remove.
21417 * sysdeps/ia64/fpu/slowexp.c: Remove.
21418 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21419 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21420 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21421 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21422 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21423 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21426 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21428 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21430 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21433 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21434 * benchtests/pow-inputs: Update comment for slow path cases.
21435 * manual/probes.texi (slowpow_p10): Delete removed probe.
21436 (slowpow_p10): Likewise.
21437 * math/Makefile: Remove halfulp.c and slowpow.c.
21438 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21439 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21440 (__halfulp): Remove.
21441 (__slowpow): Remove.
21442 * sysdeps/i386/fpu/halfulp.c: Delete file.
21443 * sysdeps/i386/fpu/slowpow.c: Likewise.
21444 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21445 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21447 improve comments and add error analysis.
21448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21449 (power1): Remove function:
21450 (log1): Remove error argument, add error analysis.
21451 (my_log2): Remove function.
21452 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21453 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21454 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21455 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21456 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21457 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21458 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21459 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21462 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21465 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21467 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21469 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21470 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21472 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21475 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21476 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21477 and PTRACE_SETHBPREGS.
21479 2018-02-10 Zack Weinberg <zackw@panix.com>
21482 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21484 * malloc/tst-malloc-stats-cancellation.c: New test case.
21485 * malloc/Makefile: Add new test case.
21487 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21489 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21491 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21493 * math/Makefile (libm-narrow-fns): Add add.
21494 (libm-test-funcs-narrow): Likewise.
21495 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21496 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21497 * math/gen-auto-libm-tests.c (test_functions): Add add.
21498 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21499 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21500 (NARROW_ADD_TRIVIAL): Likewise.
21501 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21503 (__daddl): Likewise.
21504 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21506 (CFLAGS-nldbl-dadd.c): New variable.
21507 (CFLAGS-nldbl-fadd.c): Likewise.
21508 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21510 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21512 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21513 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21514 * math/auto-libm-test-in: Add tests of add.
21515 * math/auto-libm-test-out-narrow-add: New generated file.
21516 * math/libm-test-narrow-add.inc: New file.
21517 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21520 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21521 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21522 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21525 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21528 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21529 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21531 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21532 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21533 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21534 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21536 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21559 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21561 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21562 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21564 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21565 (f128-pairs): New variable.
21566 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21567 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21569 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21570 Also make tests add $(f128-loader-link) to gnulib-tests.
21572 2018-02-09 DJ Delorie <dj@redhat.com>
21575 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21576 64-bit ELF type for 64-bit ELF objects.
21578 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21580 * math/libm-test-driver.c (snan_tests_arg): New variable.
21581 * math/libm-test-support.h (snan_tests_arg): New declaration.
21582 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21584 * math/Makefile (test-type-pairs): New variable.
21585 (test-type-pairs-f64xf128-yes): Likewise.
21586 (tests): Add test-narrow-macros.
21587 (libm-test-funcs-narrow): New variable.
21588 (libm-test-c-narrow): Likewise.
21589 (generated): Add $(libm-test-c-narrow).
21590 (libm-tests-base-narrow): New variable.
21591 (libm-tests-narrow): Likewise.
21592 (libm-tests): Add $(libm-tests-narrow).
21593 (libm-tests-for-type): Handle $(libm-tests-narrow).
21594 (libm-test-c-narrow-obj): New variable.
21595 ($(libm-test-c-narrow-obj)): New rule.
21596 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21597 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21598 $(o-iterator) to set dependencies and CFLAGS.
21599 * math/gen-auto-libm-tests.c: Document use for narrowing
21601 (output_for_one_input_case): Take argument NARROW.
21602 (generate_output): Likewise. Update call to
21603 output_for_one_input_case.
21604 (main): Take --narrow option. Update call to generate_output.
21605 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21606 (apply_lit): Update call to _apply_lit.
21607 (apply_arglit): New function.
21608 (parse_args): Handle "a" arguments.
21609 (parse_auto_input): Handle format names using ":".
21610 * math/README.libm-test: Document "a" parameter type.
21611 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21612 (ARG_TYPE_TRUE_MIN): Likewise.
21613 (ARG_TYPE_MAX): Likwise.
21614 (ARG_MIN_EXP): Likewise.
21615 (ARG_MAX_EXP): Likewise.
21616 (ARG_MANT_DIG): Likewise.
21617 (TEST_COND_arg_ibm128): Likewise.
21618 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21619 (TEST_COND_arg_fmt): New macro.
21620 (init_max_error): Update prototype.
21621 * math/libm-test-support.c (test_ibm128): New variable.
21622 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21623 instead of using [TEST_COND_ibm128] conditional.
21624 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21625 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21626 [TEST_NARROW] (TEST_MSG): New definition.
21627 (arg_plus_zero): New macro.
21628 (arg_minus_zero): Likewise.
21629 (arg_plus_infty): Likewise.
21630 (arg_minus_infty): Likewise.
21631 (arg_qnan_value_pl): Likewise.
21632 (arg_qnan_value): Likewise.
21633 (arg_snan_value_pl): Likewise.
21634 (arg_snan_value): Likewise.
21635 (arg_max_value): Likewise.
21636 (arg_min_value): Likewise.
21637 (arg_min_subnorm_value): Likewise.
21638 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21639 (RUN_TEST_LOOP_aa_f): New macro.
21640 (TEST_SUFF): New macro.
21641 (TEST_SUFF_STR): Likewise.
21642 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21643 (TEST_COND_any_ibm128): New macro.
21644 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21645 this_func. Update call to init_max_error.
21646 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21647 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21648 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21649 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21650 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21651 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21652 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21653 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21654 * math/test-math-vector.h (TEST_NARROW): Likewise.
21655 * math/test-arg-double.h: New file.
21656 * math/test-arg-float128.h: Likewise.
21657 * math/test-arg-float32x.h: Likewise.
21658 * math/test-arg-float64.h: Likewise.
21659 * math/test-arg-float64x.h: Likewise.
21660 * math/test-arg-ldouble.h: Likewise.
21661 * math/test-math-narrow.h: Likewise.
21662 * math/test-narrow-macros.c: Likewise.
21663 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21664 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21665 test-narrow-macros-ldbl-64.
21666 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21668 * math/bits/mathcalls-narrow.h: New file.
21669 * include/bits/mathcalls-narrow.h: Likewise.
21670 * math/math-narrow.h: Likewise.
21671 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21672 (__MATHCALL_NARROW_ARGS_2): Likewise.
21673 (__MATHCALL_NARROW_ARGS_3): Likewise.
21674 (__MATHCALL_NARROW_NORMAL): Likewise.
21675 (__MATHCALL_NARROW_REDIR): Likewise.
21676 (__MATHCALL_NARROW): Likewise.
21677 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21678 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21680 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21681 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21682 (libm-narrow-fns): New variable.
21683 (libm-narrow-types-basic): Likewise.
21684 (libm-narrow-types-ldouble-yes): Likewise.
21685 (libm-narrow-types-float128-yes): Likewise.
21686 (libm-narrow-types-float128-alias-yes): Likewise.
21687 (libm-narrow-types): Likewise.
21688 (libm-routines): Add narrowing functions.
21689 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21690 (libc_feholdexcept_setroundf128): New macro.
21691 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21692 * sysdeps/ieee754/float128/float128_private.h: Include
21693 <math/math-narrow.h>.
21694 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21695 Undefine and redefine.
21696 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21697 (libm_alias_float_ldouble): Undefine and redefine.
21698 (libm_alias_double_ldouble): Likewise.
21700 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21702 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21704 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21707 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21709 * manual/creature.texi: Convert references to gcc.info to gcc.
21710 * manual/stdio.texi: Likewise.
21711 * manual/string.texi: Likewise.
21713 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21716 * posix/bits/types.h (__int_least8_t): New typedef.
21717 (__uint_least8_t): Likewise.
21718 (__int_least16_t): Likewise.
21719 (__uint_least16_t): Likewise.
21720 (__int_least32_t): Likewise.
21721 (__uint_least32_t): Likewise.
21722 (__int_least64_t): Likewise.
21723 (__uint_least64_t): Likewise.
21724 * sysdeps/generic/stdint.h (int_least8_t): Define using
21726 (int_least16_t): Define using __int_least16_t.
21727 (int_least32_t): Define using __int_least32_t.
21728 (int_least64_t): Define using __int_least64_t.
21729 (uint_least8_t): Define using __uint_least8_t.
21730 (uint_least16_t): Define using __uint_least16_t.
21731 (uint_least32_t): Define using __uint_least32_t.
21732 (uint_least64_t): Define using __uint_least64_t.
21733 * wcsmbs/uchar.h: Include <bits/types.h>.
21734 (char16_t): Define using __uint_least16_t conditional only on
21736 (char32_t): Define using __uint_least32_t conditional only on
21738 * wcsmbs/test-char-types.c: New file.
21739 * wcsmbs/Makefile (tests): Add test-char-types.
21741 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21744 2018-02-07 Zack Weinberg <zackw@panix.com>
21746 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21747 Delete all contents except for definitions of _G_HAVE_MMAP and
21748 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21749 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21750 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21753 * libio/libio.h: Don't include bits/_G_config.h here.
21754 Include stddef.h with __need_wchar_t defined. Include
21755 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21756 Define _IO_iconv_t here, directly.
21757 Don't define _IO_HAVE_ST_BLKSIZE.
21758 * libio/libioP.h: Include _G_config.h here. Move include of
21759 shlib-compat.h up with rest of includes. Simplify conditionals
21760 controlling definition of _IO_JUMPS_OFFSET.
21762 * csu/init.c: Remove always-true #if around entire file.
21763 Don't include stdio.h. Set _IO_stdin_used to hardwired
21764 constant 0x20001, and update commentary.
21765 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21766 Replace all uses of _G_va_list with __gnuc_va_list.
21767 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21768 instead of #if _IO_HAVE_ST_BLKSIZE.
21769 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21770 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21773 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21774 multiple-include guard to match.
21775 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21777 Remove preprocessor conditionals that are always true and/or
21778 redundant to other preprocessor conditionals in the same nest.
21779 Include shlib-compat.h unconditionally.
21780 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21781 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21782 defined after including stdio.h.
21783 Use __BEGIN_DECLS/__END_DECLS.
21785 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21786 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21787 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21789 2018-02-07 Zack Weinberg <zackw@panix.com>
21791 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21792 New single-type headers split from _G_config.h.
21793 * libio/bits/types/cookie_io_functions_t.h
21794 * libio/bits/types/struct_FILE.h
21795 New single-type headers split from libio.h.
21797 * libio/Makefile: Install the above new headers. Don't install
21798 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21800 * libio/_G_config.h, libio/libio.h: Delete file.
21802 * libio/bits/libio.h: Remove improper-inclusion guard.
21803 Include stdio.h and don't repeat anything that it does.
21804 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21805 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21806 __io_read_fn as cookie_read_function_t,
21807 __io_write_fn as cookie_write_function_t,
21808 __io_seek_fn as cookie_seek_function_t,
21809 __io_close_fn as cookie_close_function_t,
21810 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21811 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21812 here, in the "compatibility defines" section. Remove an #if 0
21813 block. Use the "body" macros from bits/types/struct_FILE.h to
21814 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21815 and _IO_ferror_unlocked.
21816 Move prototypes of __uflow and __overflow...
21818 * libio/stdio.h: ...here. Don't include bits/libio.h.
21819 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21820 directly from stdarg.h. Include bits/types/__fpos_t.h,
21821 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21822 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21823 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21824 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21825 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21826 __ssize_t, not _IO_ssize_t. Unconditionally define
21827 BUFSIZ as 8192 and EOF as (-1).
21829 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21830 macros from bits/types/struct_FILE.h instead of _IO_* macros
21831 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21832 instead of _IO_ssize_t.
21833 * libio/bits/stdio2.h: Similarly.
21835 * libio/iolibio.h: Add multiple-include guard.
21836 Include bits/libio.h after stdio.h.
21837 * libio/libioP.h: Add multiple-include guard.
21838 Include stdio.h and bits/libio.h before iolibio.h.
21840 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21841 * include/bits/types/cookie_io_functions_t.h
21842 * include/bits/types/struct_FILE.h: New wrappers.
21844 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21845 Get definitions of _G_fpos_t and _G_fpos64_t from
21846 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21847 respectively. Remove improper-inclusion guards.
21849 * conform/data/stdio.h-data: Update expectations of va_list.
21850 * scripts/check-installed-headers.sh: Remove special case for
21851 libio.h and _G_config.h.
21853 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21857 * include/sys/sysmacros.h [!_ISOMAC]
21858 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21859 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21860 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21861 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21863 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21864 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21866 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21867 Undefine and redefine to add use __gnu_dev_ prefix.
21868 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21870 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21871 and define as hidden inline function.
21872 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21874 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21876 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21877 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21878 (gnu_dev_minor): Likewise.
21879 (gnu_dev_makedev): Likewise.
21880 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21882 * posix/wordexp.c (exec_comm_child): Likewise.
21883 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21884 instead of minor and __gnu_dev_major instead of major.
21885 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21886 __gnu_dev_major instead of major.
21887 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21888 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21889 instead of gnu_dev_minor.
21890 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21891 (SLAVE_P): Likewise.
21892 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21893 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21897 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21899 * locale/weightwc.h (findidx): Likewise.
21901 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21903 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21904 (slowlog_inexact): Likewise
21905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21906 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21908 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21911 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21912 missing second underscore to parameter name.
21914 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21920 * bits/byteswap.h: Update file comment. Do not include
21921 <bits/byteswap-16.h>.
21922 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21924 (__bswap_16): Define as inline function.
21925 (__bswap_constant_32): Reformat definition.
21926 (__bswap_32): Always define as inline function, not macro, using
21927 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21928 otherwise __bswap_constant_32.
21929 (__bswap_constant_64): Reformat definition. Do not use
21930 __extension__ here.
21931 (__bswap_64): Always define as inline function, not macro. Use
21932 __extension__ on function definition. Use __builtin_bswap64 if
21933 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21934 * string/test-endian-file-scope.c: New file.
21935 * string/test-endian-sign-conversion.c: Likewise.
21936 * string/Makefile (headers): Remove bits/byteswap-16.h.
21937 (tests): Add test-endian-file-scope and
21938 test-endian-sign-conversion.
21939 (CFLAGS-test-endian-sign-conversion.c): New variable.
21940 * bits/byteswap-16.h: Remove file.
21941 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21942 * sysdeps/ia64/bits/byteswap.h: Likewise.
21943 * sysdeps/m68k/bits/byteswap.h: Likewise.
21944 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21945 * sysdeps/s390/bits/byteswap.h: Likewise.
21946 * sysdeps/tile/bits/byteswap.h: Likewise.
21947 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21948 * sysdeps/x86/bits/byteswap.h: Likewise.
21951 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21952 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21953 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21954 199901L] (__restrict): Define to restrict.
21957 * string/testcopy.c: Include <support/support.h>. Do not include
21958 <malloc.h>. Use <support/test-driver.c>.
21959 (main): Rename to do_test. Make static. Use xmalloc instead of
21963 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21964 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21965 (SSIZE_MAX): Define to INT_MAX.
21966 * posix/test-ssize-max.c: New file.
21967 * posix/Makefile (tests): Add test-ssize-max.
21970 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21971 <support/support.h>. Do not include <malloc.h>.
21972 (query_auxv): Use xmalloc instead of malloc.
21975 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21976 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21979 2018-02-06 Florian Weimer <fweimer@redhat.com>
21982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21983 Use scratch_buffer instead of extend_alloca.
21985 2018-02-06 Zack Weinberg <zackw@panix.com>
21987 * libio/stdio.h: Don't define getc or putc as macros.
21988 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21989 not _IO_getc and _IO_putc.
21991 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21992 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21994 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21996 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21997 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21999 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22002 * elf/elf.h (NT_PRFPREG): New macro.
22003 (NT_S390_VXRS_LOW): Likewise.
22004 (NT_S390_VXRS_HIGH): Likewise.
22005 (NT_S390_GS_CB): Likewise.
22006 (NT_S390_GS_BC): Likewise.
22007 (NT_S390_RI_CB): Likewise.
22009 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22010 (MAP_SYNC): New macro.
22011 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22013 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22014 (MAP_SYNC): Likewise.
22015 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22016 (MAP_SYNC): Likewise.
22017 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22018 (MAP_SYNC): Likewise.
22019 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22020 (MAP_SYNC): Likewise.
22021 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22022 (MAP_SYNC): Likewise.
22023 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22024 (MAP_SYNC): Likewise.
22025 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22027 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22030 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22031 (MAP_SHARED_VALIDATE): New macro.
22032 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22033 (MAP_SHARED_VALIDATE): Likewise.
22035 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22037 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22038 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22039 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22041 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22043 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22044 (DT_NUM): Updated to 35.
22046 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22049 __builtin_expect with __glibc_likely and __glibc_unlikely.
22050 (elf_machine_rela): Likewise.
22051 (elf_machine_lazy_rel): Likewise.
22053 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22056 __builtin_expect with __glibc_likely and __glibc_unlikely.
22057 (elf_machine_lazy_rel): Likewise.
22059 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22062 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22064 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22066 2018-02-05 Andreas Schwab <schwab@suse.de>
22069 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22072 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22074 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22075 not check against PTHREAD_STACK_MIN.
22077 2018-02-02 Sean McKean <smckean83@gmail.com>
22080 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22082 2018-02-02 Florian Weimer <fweimer@redhat.com>
22085 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22086 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22087 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22088 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22089 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22090 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22091 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22092 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22093 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22094 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22095 * misc/tst-preadvwritev2.c (do_test): Call it.
22096 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22098 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22100 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22102 * benchtests/bench-memcmp.c: Print json instead of plain text.
22104 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22107 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22111 (s390_sthyi): New syscall.
22113 * sysdeps/generic/ldbl-classify-compat.h: New file.
22114 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22115 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22116 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22117 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22118 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22119 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22121 <ldbl-classify-compat.h>.
22122 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22123 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22124 <ldbl-classify-compat.h>.
22125 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22126 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22127 <ldbl-classify-compat.h>.
22128 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22130 <ldbl-classify-compat.h>.
22131 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22133 <ldbl-classify-compat.h>.
22134 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22135 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22136 <ldbl-classify-compat.h>.
22137 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22138 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22139 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22140 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22141 * sysdeps/microblaze/math_private.h: Likewise.
22142 * sysdeps/nios2/math_private.h: Likewise.
22143 * sysdeps/sh/math_private.h: Likewise.
22145 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22146 * sysdeps/m68k/coldfire/math_private.h: ... here.
22147 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22148 * sysdeps/tile/math_private.h: Likewise.
22149 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22151 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22154 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22156 (libc_fetestexcept): Likewise.
22157 (libc_feupdateenv_test): Likewise.
22158 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22159 (libc_fetestexcept): Likewise.
22160 (libc_feupdateenv_test): Likewise.
22161 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22162 (libc_fetestexcept): Likewise.
22163 (libc_feupdateenv_test): Likewise.
22164 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22165 (libc_fetestexcept): Likewise.
22166 (libc_feupdateenv_test): Likewise.
22168 * sysdeps/generic/math_private.h
22169 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22170 New inline function.
22171 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22174 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22175 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22176 * sysdeps/generic/math_private.h
22177 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22179 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22181 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22183 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22185 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22187 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22189 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22190 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22191 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22192 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22193 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22194 (__fegetenv): Likewise.
22195 (fesetenv): Likewise.
22196 (__fesetenv): Likewise.
22197 (feupdateenv): Likewise.
22198 (__feupdateenv): Likewise.
22199 (fegetround): Likewise.
22200 (__fegetround): Likewise.
22201 (fesetround): Likewise.
22202 (__fesetround): Likewise.
22204 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22205 (feraiseexcept): New macro.
22206 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22207 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22209 (__feraiseexcept): Likewise.
22210 (feclearexcept): Likewise.
22211 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22212 (__feraiseexcept): Likewise.
22213 (feclearexcept): Likewise.
22214 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22215 (__feraiseexcept): Likewise.
22216 (feclearexcept): Likewise.
22217 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22218 (__feraiseexcept): Likewise.
22219 (feclearexcept): Likewise.
22220 (fetestexcept): Likewise.
22222 * sysdeps/m68k/coldfire/math-tests.h: New file.
22224 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22225 * sysdeps/m68k/bits/fenv.h: ... here.
22226 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22228 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22230 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22232 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22234 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22236 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22238 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22239 (__FE_UNDEFINED): New enum constant.
22240 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22242 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22244 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22246 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22247 to match generic bits/fenv.h.
22248 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22251 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22253 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22254 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22255 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22256 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22258 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22259 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22260 Joseph Myers <joseph@codesourcery.com>
22263 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22264 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22265 computation using c.
22266 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22267 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22268 computation using c.
22270 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22272 * version.h (RELEASE): Set to "development".
22273 (VERSION): Set to "2.27.9000".
22274 * NEWS (2.28): New section.
22276 * version.h (RELEASE): Set to "stable".
22277 (VERSION): Set to "2.27".
22278 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22280 * NEWS: Add the list of bugs fixed in 2.27.
22282 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22284 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22285 against PTHREAD_STACK_MIN.
22287 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22289 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22291 (Rafał Lużyński, Andreas Schwab): Update.
22293 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22296 * NEWS: List the languages which actually use the alternative
22297 months feature in this release. Also explain that "alt_mon" and
22298 "ab_alt_mon" are optional.
22300 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22303 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22305 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22307 * manual/install.texi (Tools for Compilation): Update the newest
22308 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22309 * INSTALL: Regenerated.
22311 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22313 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22314 instead of __builtin_expect.
22316 2018-01-30 Florian Weimer <fweimer@redhat.com>
22318 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22320 * nss/tst-nss-getpwent.c (do_test): Likewise.
22322 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22325 * localedata/locales/hr_HR (mon): Rename to...
22327 (mon): Import from CLDR (genitive case).
22328 (d_t_fmt): Update the comment.
22330 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22332 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22333 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22334 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22336 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22338 * mach/Versions: Fix version when __mach_host_self_ was added.
22339 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22340 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22341 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22342 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22343 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22344 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22345 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22346 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22347 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22348 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22349 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22350 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22351 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22352 || to respect codestyle.
22353 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22354 (do_test_bz20181): Rename accordingly.
22355 * malloc/malloc.c: Include <assert.h>.
22356 (assert): Do not define.
22357 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22358 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22359 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22360 * sysdeps/mach/hurd/hp-timing.h: New file.
22361 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22363 2018-01-29 Darius Rad <darius@bluespec.com>
22365 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22367 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22369 * sysdeps/init_array/crti.S (.section .init_array): Add
22370 PREINIT_FUNCTION when defined.
22371 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22372 * config.h.in: Regenerate.
22373 * manual/platform.texi: Add RISC-V documenation for
22374 __riscv_flush_icache.
22375 * sysdeps/riscv/__longjmp.S: New file.
22376 * sysdeps/riscv/backtrace.c: Likewise.
22377 * sysdeps/riscv/bits/endian.h: Likewise.
22378 * sysdeps/riscv/bits/setjmp.h: Likewise.
22379 * sysdeps/riscv/bits/wordsize.h: Likewise.
22380 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22381 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22382 * sysdeps/riscv/dl-trampoline.S: Likewise.
22383 * sysdeps/riscv/gccframe.h: Likewise.
22384 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22385 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22386 * sysdeps/riscv/machine-gmon.h: Likewise.
22387 * sysdeps/riscv/memusage.h: Likewise.
22388 * sysdeps/riscv/setjmp.S: Likewise.
22389 * sysdeps/riscv/sys/asm.h: Likewise.
22390 * sysdeps/riscv/tls-macros.h: Likewise.
22391 * sysdeps/riscv/dl-tls.h: New file.
22392 * sysdeps/riscv/libc-tls.c: Likewise.
22393 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22394 * sysdeps/riscv/nptl/tls.h: Likewise.
22395 * sysdeps/riscv/stackinfo.h: Likewise.
22396 * sysdeps/riscv/bits/fenv.h: New file.
22397 * sysdeps/riscv/e_sqrtl.c: Likewise.
22398 * sysdeps/riscv/fpu_control.h: Likewise.
22399 * sysdeps/riscv/math-tests.h: Likewise.
22400 * sysdeps/riscv/nofpu/Implies: Likewise.
22401 * sysdeps/riscv/sfp-machine.h: Likewise.
22402 * sysdeps/riscv/tininess.h: Likewise.
22403 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22404 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22405 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22406 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22407 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22408 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22409 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22410 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22411 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22412 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22413 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22414 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22415 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22416 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22417 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22418 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22419 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22420 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22421 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22422 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22423 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22424 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22425 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22426 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22427 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22428 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22429 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22430 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22431 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22432 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22433 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22434 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22435 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22436 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22437 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22438 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22439 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22440 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22441 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22442 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22443 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22444 * sysdeps/riscv/rvf/math_private.h: Likewise.
22445 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22446 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22447 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22448 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22449 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22450 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22451 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22452 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22453 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22454 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22455 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22456 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22457 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22458 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22459 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22460 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22461 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22462 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22463 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22464 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22465 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22466 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22467 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22468 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22469 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22470 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22471 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22472 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22473 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22474 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22475 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22476 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22477 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22478 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22479 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22480 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22481 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22482 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22483 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22484 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22485 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22486 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22487 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22488 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22489 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22490 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22491 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22492 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22493 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22494 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22495 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22496 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22497 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22498 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22499 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22500 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22501 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22502 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22503 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22504 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22505 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22506 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22507 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22509 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22510 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22511 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22512 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22513 * sysdeps/riscv/Implies: New file.
22514 * sysdeps/riscv/Makefile: Likewise.
22515 * sysdeps/riscv/configure: Likewise.
22516 * sysdeps/riscv/configure.ac: Likewise.
22517 * sysdeps/riscv/nptl/Makefile: Likewise.
22518 * sysdeps/riscv/preconfigure: Likewise.
22519 * sysdeps/riscv/rv64/Implies-after: Likewise.
22520 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22521 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22522 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22524 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22525 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22527 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22528 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22529 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22531 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22532 (Config): Likewise.
22534 2018-01-29 Florian Weimer <fweimer@redhat.com>
22537 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22538 libnsl_hidden_proto.
22539 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22540 libnsl_hidden_proto.
22541 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22542 * nis/Makefile (libnsl-routines): Add nss-default only for
22543 build-obsolete-nsl.
22544 * nis/nis_defaults.c (__nis_default_ttl): Add
22545 libnsl_hidden_nolink_def.
22546 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22548 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22549 * nis/ypclnt.c (yp_maplist): Likewise.
22551 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22554 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22556 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22558 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22559 clean -dxfq for git updates when replacing sources.
22561 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22562 --disable-libcilkrts unconditionally, not just for the final GCC
22565 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22568 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22571 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22574 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22577 * localedata/locales/be_BY (mon): Rename to...
22578 (alt_mon): This, then synchronize with CLDR (nominative case).
22579 (abmon): Rename to...
22580 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22581 (mon): Import from CLDR (genitive case).
22583 * localedata/locales/be_BY@latin (mon): Rename to...
22585 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22587 * localedata/locales/be_BY@latin (lang_name): Reworded to
22588 "biełaruskaja mova".
22590 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22593 * localedata/locales/el_CY (mon): Renamed to...
22595 (mon): Import from CLDR (genitive case).
22596 * localedata/locales/el_GR: Likewise.
22598 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22601 * localedata/locales/ru_RU (mon): Rename to...
22603 (abmon): Rename to...
22604 (ab_alt_mon): This.
22605 (mon): Import from CLDR (genitive case).
22606 (abmon): Copy from the old content except the 5th month which is
22607 now in the genitive case, even when abbreviated.
22608 * localedata/locales/ru_UA: Likewise.
22609 * time/tst-strptime.c (day_tests): Add an actual example of
22610 a difference between %b and %Ob in Russian.
22612 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22614 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22615 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22617 * resolv/res-close.c: Include <stdlib.h>.
22618 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22619 <sys/wait.h>, <time.h>, <sys/uio.h>.
22620 (NOT_CANCEL_H): Add inclusion guard.
22621 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22622 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22623 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22625 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22626 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22627 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22629 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22630 timer_ptr2id to cast struct timer_node * to void *.
22631 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22632 --disable-libcilkrts to gcc configure.
22633 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22634 and make them the default for now.
22635 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22636 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22637 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22638 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22639 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22641 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22642 __task_terminate would ever return successfully.
22643 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22645 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22646 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22647 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22648 critical section to make code simpler and avoid warning.
22649 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22650 critical section to make code simpler and avoid warning.
22651 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22652 const char * instead of char *.
22653 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22654 __hurd_file_name_split, hurd_file_name_split,
22655 __hurd_directory_name_split, hurd_directory_name_split,
22656 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22657 hurd_file_name_path_lookup): Make lookup function parameter take a
22658 const char *name instead of char *name.
22659 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22660 __hurd_directory_name_split): Likewise.
22661 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22662 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22663 * sysdeps/mach/hurd/check_native.c: New file.
22664 * sysdeps/mach/hurd/check_pf.c: New file.
22665 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22666 (__freeifaddrs): Define macro to freeifaddrs.
22667 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22668 * sysdeps/mach/libmachuser.abilist: New file.
22669 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22670 (do_test_bz20181): Rename accordingly.
22671 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22672 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22674 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22675 version only if __USE_EXTERN_INLINES is defined.
22676 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22677 __hurd_sockfail): Likewise.
22678 (_hurd_fd_get): Always declare functions, and provide inline versions
22679 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22680 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22681 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22682 _hurd_port_set): Always declare functions, and provide inline versions
22683 only if __USE_EXTERN_INLINES and _LIBC are defined and
22685 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22686 _hurd_critical_section_unlock): Likewise.
22687 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22688 * __hurd_threadvar_location): Likewise.
22689 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22690 _hurd_userlink_clear): Likewise.
22691 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22692 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22693 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22694 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22695 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22696 __spin_lock_locked): Likewise.
22697 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22698 __spin_lock_locked): Likewise.
22699 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22700 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22701 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22702 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22703 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22704 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22705 _POSIX_NO_TRUNC): Define to 0.
22706 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22707 check size against PTHREAD_STACK_MIN.
22708 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22709 IS_IN(libpthread)]: Include <sigsetops.h>.
22710 * mach/Makefile (user-interfaces): Add mach/gnumach.
22711 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22712 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22713 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22714 instead of invalid -1.
22715 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22716 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22717 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22720 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22722 * hurd/fcntl-internal.h: New file.
22724 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22726 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22728 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22730 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22733 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22734 Build only shared objects.
22736 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22738 * README: Update for hppa.
22740 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22742 * sysdeps/sparc/fpu/libm-test-ulps: Update
22743 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22745 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22749 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22752 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22753 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22754 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22755 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22758 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22761 * bits/types/__cancel_jmp_buf_tag.h: New file.
22762 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22763 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22764 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22765 * nptl/Makefile (headers): Add
22766 bits/types/__cancel_jmp_buf_tag.h.
22767 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22768 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22769 * sysdeps/nptl/pthread.h: Include
22770 <bits/types/__cancel_jmp_buf_tag.h>.
22771 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22773 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22775 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22778 * localedata/locales/uk_UA (mon): Renamed to...
22780 (alt_digits): "0" removed and then renamed to...
22782 (date_fmt): Definition changed not to use the alternative
22785 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22787 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22788 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22789 * elf/elf.h (EF_RISCV_RVC): New define.
22790 (EF_RISCV_FLOAT_ABI): Likewise.
22791 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22792 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22793 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22794 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22795 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22797 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22799 2018-01-25 Andreas Schwab <schwab@suse.de>
22801 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22803 * sysdeps/gnu/configure: Regenerate.
22804 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22805 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22807 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22808 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22809 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22810 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22813 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22815 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22816 URL, and run autoconf, make it the default for now.
22818 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22820 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22821 soft-float ColdFire configuration.
22823 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22824 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22825 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22827 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22830 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22832 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22834 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22837 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22838 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22839 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22842 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22845 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22846 Rename to __reserved and add comment.
22847 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22848 Rename to __reserved.
22850 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22852 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22853 i686-gnu configurations.
22854 (Context.run_builds): Include mig, gnumach and hurd in components
22856 (Context.checkout): Add mig, gnumach and hurd to components.
22857 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22859 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22860 (Config.build): Install gnumach headers, build mig and install
22861 hurd headers for 'gnu' OS.
22862 (Config.install_gnumach_headers): New function.
22863 (Config.install_hurd_headers): Likewise.
22864 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22865 when building for 'gnu' OS.
22867 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22869 * manual/tunables.texi (Hardware Capability Tunables): Fix
22872 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22874 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22875 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22876 (ALTMON_11, ALTMON_12): Improve documentation.
22877 * manual/time.texi (strftime): Likewise.
22879 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22882 * localedata/locales/pl_PL: Alternative month names added,
22883 primary month names are genitive now.
22884 * time/tst-strptime.c (day_tests): Actually use a genitive case
22885 of a month name in Polish language.
22887 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22890 * manual/locale.texi: Document ALTMON_1..12 constants for
22891 nl_langinfo. Specify when to use ALTMON instead of MON.
22892 * manual/time.texi (strftime, strptime): Document GNU extension
22893 permitting O modifier with %B and %b. Specify when to use
22896 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22899 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22900 names, define them as the same as abbreviated month names explicitly.
22901 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22902 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22903 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22904 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22905 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22906 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22907 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22908 _NL_WABALTMON_12): New enum constants.
22909 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22910 wab_alt_mon, and ab_alt_mon_defined members.
22911 (time_output): Output ab_alt_mon and wab_alt_mon members.
22912 (time_read): Read them, initialize them as copies of abmon and wabmon
22913 respectively if they are missing, initialize ab_alt_mon_defined.
22914 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22915 * locale/programs/locfile-kw.h: Regenerate.
22916 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22917 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22919 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22920 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22921 (__strftime_internal): Handle %Ob and %Oh formats.
22922 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22923 (__strptime_internal): Handle %Ob and %Oh formats.
22924 * time/tst-strptime.c (day_tests): Add more tests to parse different
22925 forms of month names including the new %Ob format specifier.
22927 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22930 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22931 define them as the same as primary full month names explicitly.
22932 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22933 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22934 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22935 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22936 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22937 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22938 _NL_WALTMON_12): New enum constants.
22939 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22940 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22942 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22943 walt_mon, and alt_mon_defined members.
22944 (time_output): Output alt_mon and walt_mon members.
22945 (time_read): Read them, initialize them as copies of mon and wmon
22946 respectively if they are missing, initialize alt_mon_defined.
22947 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22948 * locale/programs/locfile-kw.h: Regenerate.
22949 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22950 * localedata/tst-langinfo.c (map): Add tests for the new constants
22951 ALTMON_1 .. ALTMON_12.
22952 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22954 * time/strftime_l.c (f_altmonth): New macro.
22955 (__strftime_internal): Handle %OB format.
22956 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22957 (__strptime_internal): Handle %OB format.
22958 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22959 of month names including the new %OB format specifier.
22961 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22964 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22965 from ABORT_TRANSACTION.
22966 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22967 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22968 ABORT_TRANSACTION_IMPL): Likewise.
22969 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22970 Linux code, but remove the code that aborts transactions.
22972 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22974 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22976 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22978 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22979 in date: "2004-14-09" should be "2004-09-14".
22980 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22981 "2003-15-09" should be "2003-09-15".
22983 2018-01-18 Arjun Shankar <arjun@redhat.com>
22989 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22991 (_int_memalign): check for integer overflow before calling
22993 * malloc/tst-malloc-too-large.c: New test.
22994 * malloc/Makefile: Add tst-malloc-too-large.
22996 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22998 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22999 in date: "2017-24-07" should be "2017-07-24".
23000 * localedata/locales/mai_IN: Likewise.
23001 * localedata/locales/mai_NP: Likewise.
23003 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23005 * po/ru.po: Update translations.
23007 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23010 * sysdeps/hppa/backtrace.c: New file.
23012 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23015 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23016 align La_x86_64_retval to VEC_SIZE.
23018 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23020 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23021 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23023 2018-01-16 Florian Weimer <fweimer@redhat.com>
23025 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23026 Move tst-thread-exit-clobber ...
23027 [$(CXX)] (tests-unsupported): ... to here.
23029 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23031 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23032 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23033 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23034 (_dl_aarch64_cap_flags): Update.
23035 (_DL_HWCAP_COUNT): Update.
23037 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23039 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23040 (_DL_HWCAP_LAST): Remove.
23041 (_DL_HWCAP_COUNT): Move to ...
23042 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23043 (_DL_HWCAP_COUNT): ... here.
23045 2018-01-16 Florian Weimer <fweimer@redhat.com>
23047 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23048 mode with GNU extensions.
23050 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23052 * elf/elf.h (NT_ARM_SVE): Define.
23054 2018-01-15 Florian Weimer <fweimer@redhat.com>
23057 * nptl/tst-minstack-throw.cc: New file.
23058 * nptl/Makefile (tests): Add tst-minstack-throw.
23059 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23060 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23062 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23064 * scripts/build-many-glibcs.py (Context.checkout): Default
23065 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23068 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23071 * elf/elf.h (DF_1_STUB): Define.
23072 (DF_1_PIE): Define.
23074 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23078 Do not add 0.5 to integer or out-of-range arguments.
23080 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23082 * po/bg.po: Update translations.
23083 * po/cs.po: Likewise.
23084 * po/de.po: Likewise.
23085 * po/ko.po: Likewise.
23086 * po/pl.po: Likewise.
23087 * po/sv.po: Likewise.
23088 * po/uk.po: Likewise.
23089 * po/vi.po: Likewise.
23091 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23093 * aarch64/start.S (_start): Use __wrap_main.
23094 (__wrap_main): New local symbol.
23096 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23100 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23101 generic_getcwd if the path returned by getcwd syscall is not absolute.
23102 * io/tst-getcwd-abspath.c: New test.
23103 * io/Makefile (tests): Add tst-getcwd-abspath.
23105 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23107 * malloc/malloc.c (malloc_consolidate): Add size check.
23109 2018-01-12 Florian Weimer <fweimer@redhat.com>
23111 * support/write_message.c (write_message): Preserve errno.
23112 * support/check.c (print_failure): Likewise.
23113 * support/support_test_verify_impl.c (support_test_verify_impl):
23115 * support/support_test_compare_failure.c
23116 (support_test_compare_failure): Likewise.
23118 2018-01-12 Florian Weimer <fweimer@redhat.com>
23121 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23122 Prevent installation of libnsl.so.
23123 (libnsl-inhibit-o): Do not build (or install) static libraries.
23125 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23128 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23129 before the day number which may produce a double space.
23130 (date_fmt): Likewise.
23132 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23134 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23135 instead of fegetenv.
23137 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23140 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23141 comment to say exceptions are discarded.
23142 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23144 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23147 2018-01-11 Florian Weimer <fweimer@redhat.com>
23149 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23152 2018-01-11 Florian Weimer <fweimer@redhat.com>
23155 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23156 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23158 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23162 negative arguments in test for NaN or infinity argument.
23164 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23166 * po/libc.pot: Regenerate.
23168 2018-01-10 Florian Weimer <fweimer@redhat.com>
23171 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23172 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23174 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23176 * hurd/hurd/fd.h: Include <fcntl.h>
23177 (__hurd_at_flags): New function.
23178 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23179 with call to __hurd_at_flags.
23180 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23181 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23183 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23184 (__access_noerrno): Use __faccessat_common instead of access_common.
23185 (__access): Likewise.
23186 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23187 with a call to __faccessat.
23188 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23189 (__faccessat_common): ... this. Move implementation of __access into it when
23190 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23191 reauthenticate_cwdir_at helper to implement AT mechanism.
23192 (__faccessat_noerrno): New function, just calls __faccessat_common.
23193 (__faccessat): New function, just calls __faccessat_common.
23194 (faccessat): Define weak alias.
23196 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23200 (CFLAGS-s_fmaxmagl.c): New variable.
23201 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23205 long int for arguments of possibly overflowing addition or
23207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23209 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23212 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23213 (CFLAGS-e_remainderl.c): New variable.
23216 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23218 (CFLAGS-s_cacoshl.c): Likewise.
23219 (CFLAGS-s_casinhl.c): Likewise.
23220 (CFLAGS-s_catanl.c): Likewise.
23221 (CFLAGS-s_catanhl.c): Likewise.
23222 (CFLAGS-s_cexpl.c): Likewise.
23223 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23224 (CFLAGS-s_csinhl.c): Likewise.
23225 (CFLAGS-s_clogl.c): Likewise.
23226 (CFLAGS-s_clog10l.c): Likewise.
23227 (CFLAGS-s_csinl.c): Likewise.
23228 (CFLAGS-s_csqrtl.c): Likewise.
23230 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23231 2017-01-09 Svante Signell <svante.signell@gmail.com>
23233 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23234 (_hurd_exec_paths): New function.
23235 * hurd/hurd.h (_hurd_exec): Deprecate function.
23236 (_hurd_exec_paths): Declare function.
23237 * hurd/Versions: Export _hurd_exec_paths.
23238 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23239 (__execve): Use __getcwd to build absolute path, and use
23240 _hurd_exec_paths instead of _hurd_exec.
23241 * sysdeps/mach/hurd/spawni.c: Likewise.
23242 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23245 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23247 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23248 test instead of failing in case of ENOENT returned by posix_openpt.
23250 2018-01-08 Florian Weimer <fweimer@redhat.com>
23252 resolv: Support binary labels in test framework.
23253 * support/resolv_test.c (struct to_be_freed): Remove.
23254 (struct compressed_name): New.
23255 (allocate_compressed_name, ascii_tolower)
23256 (compare_compressed_name): New functions.
23257 (struct resolv_response_builder): Update type of
23258 compression_offsets for use with tsearch. Rempve to_be_freed.
23259 (response_push_pointer_to_free): Remove function.
23260 (resolv_response_add_name): Rewrite using struct compressed_name
23261 and tsearch instead of hsearch_r.
23262 (response_builder_allocate): Remove initialization of
23263 compression_offsets.
23264 (response_builder_free): Update for removal of to_be_freed. Use
23265 tdestroy instead of hdestroy_r.
23266 * resolv/Makefile (tests): Add tst-resolv-binary.
23267 (tst-resolv-binary): Link with -lresolv -lpthread.
23269 2018-01-08 Florian Weimer <fweimer@redhat.com>
23271 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23272 time. Pass positive flag instead of negative flag to
23273 support_test_compare_failure.
23274 (support_test_compare_failure): Change negative parameter to
23276 * support/support_test_compare_failure.c (report)
23277 (support_test_compare_failure): Likewise.
23278 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23279 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23281 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23284 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23285 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23286 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23288 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23290 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23293 Add s_sincosf-sse2 and s_sincosf-fma.
23294 (CFLAGS-s_sincosf-fma.c): New.
23295 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23296 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23297 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23298 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23299 __sincosf is defined.
23301 2018-01-08 Florian Weimer <fweimer@redhat.com>
23303 * nptl/tst-thread-exit-clobber.cc: New file.
23304 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23306 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23307 (tests): Add tst-thread-exit-clobber.
23308 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23310 2018-01-08 Florian Weimer <fweimer@redhat.com>
23312 * support/check.h (support_static_assert): Define.
23313 (TEST_COMPARE): Use it.
23315 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23317 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23318 [!__RLIM_T_MATCHES_RLIM64_T]
23319 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23320 __getrlimit64. Add libc_hidden_weak.
23322 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23324 * elf/elf.h (R_RISCV_NONE): New define.
23325 (R_RISCV_32): Likewise.
23326 (R_RISCV_64): Likewise.
23327 (R_RISCV_RELATIVE): Likewise.
23328 (R_RISCV_COPY): Likewise.
23329 (R_RISCV_JUMP_SLOT): Likewise.
23330 (R_RISCV_TLS_DTPMOD32): Likewise.
23331 (R_RISCV_TLS_DTPMOD64): Likewise.
23332 (R_RISCV_TLS_DTPREL32): Likewise.
23333 (R_RISCV_TLS_DTPREL64): Likewise.
23334 (R_RISCV_TLS_TPREL32): Likewise.
23335 (R_RISCV_TLS_TPREL64): Likewise.
23336 * Makerules (make-link-multidir): Make directories before linking into
23338 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23340 (VDSO_HASH_LINUX_4_15): Likewise.
23341 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23342 in subdirectories of lib.
23343 * nptl/Makefile (/librt.so): Always depend on
23344 "$(shared-thread-library)".
23346 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23348 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23349 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23350 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23352 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23353 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23355 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23356 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23357 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23358 * sysdeps/gnu/glob-lstat-compat.c: New file.
23359 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23360 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23362 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23364 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23365 Reserve 16 chars to reloc_addr before calling _itoa_word.
23367 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23370 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23371 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23373 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23374 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23376 * resource/tst-getrlimit.c: Add copyright header.
23378 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23379 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23381 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23382 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23383 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23384 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23386 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23387 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23388 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23389 RLIM64_INFINITY): Fix values to match the kernel ones.
23390 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23391 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23392 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23393 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23394 getrlimit64@@GLIBC_2_27.
23395 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23397 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23398 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23399 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23400 setrlimit, getrlimit64 and setrlimit64.
23402 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23405 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23406 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23408 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23410 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23411 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23412 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23414 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23418 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23419 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23423 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23424 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23425 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23426 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23428 2018-01-04 Florian Weimer <fweimer@redhat.com>
23431 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23432 Align the stack before calling exit.
23433 * stdlib/tst-makecontext-align.c: New file.
23434 * stdlib/Makefile (tests): Add tst-makecontext-align.
23436 2018-01-04 Florian Weimer <fweimer@redhat.com>
23438 Add support for calling dlvsym from libc.so.
23439 * include/dlfcn.h (__libc_dlvsym): Declare.
23440 * elf/Makefile (tests-static-internal): Add
23441 tst-libc_dlvsym-static.
23442 (tests-internal): Add tst-libc_dlvsym.
23443 (modules-names): Add tst-libc_dlvsym-dso.
23444 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23445 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23446 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23447 object tst-libc_dlvsym-dso.so needs to be built before running
23449 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23450 * elf/Versions: Export __libc_dlvsym.
23451 * elf/dl-libc.c (struct do_dlvsym_args): New.
23452 (do_dlvsym, __libc_dlvsym): New functions.
23453 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23454 (_dl_open_hook2): New variable.
23455 (__libc_register_dl_open_hook): Set it.
23456 * elf/tst-libc_dlvsym-dso.c: New file.
23457 * elf/tst-libc_dlvsym-static.c: Likewise.
23458 * elf/tst-libc_dlvsym.c: Likewise.
23459 * elf/tst-libc_dlvsym.h: Likewise.
23461 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23463 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23464 include <sys/mount.h>.
23466 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23468 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23469 Add __NO_MATH_ERRNO__ check.
23471 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23473 * sysdeps/mips/mips32/libm-test-ulps: Update.
23474 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23476 2018-01-02 Florian Weimer <fweimer@redhat.com>
23478 * misc/tst-pselect.c: Add copyright header.
23480 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23482 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23484 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23486 (settrlimit): Rename into setrlimit.
23487 (__sttrlimit): Rename into __setrlimit.
23489 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23490 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23491 never defined in that case.
23493 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23495 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23497 * sysdeps/arm/libm-test-ulps: Update.
23499 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23500 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23502 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23504 * NEWS: Add cosf and sincosf to list of optimized functions.
23506 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23509 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23510 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23511 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23512 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23514 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23517 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23519 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23520 making a copy of it.
23522 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23524 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23525 trailing whitespace removed.
23526 * scripts/config.guess: Update to version 2018-01-01.
23527 * scripts/config.sub: Update to version 2018-01-01.
23528 * scripts/move-if-change: Update from gnulib.
23530 * NEWS: Update copyright dates.
23531 * catgets/gencat.c (print_version): Likewise.
23532 * csu/version.c (banner): Likewise.
23533 * debug/catchsegv.sh: Likewise.
23534 * debug/pcprofiledump.c (print_version): Likewise.
23535 * debug/xtrace.sh (do_version): Likewise.
23536 * elf/ldconfig.c (print_version): Likewise.
23537 * elf/ldd.bash.in: Likewise.
23538 * elf/pldd.c (print_version): Likewise.
23539 * elf/sotruss.sh: Likewise.
23540 * elf/sprof.c (print_version): Likewise.
23541 * iconv/iconv_prog.c (print_version): Likewise.
23542 * iconv/iconvconfig.c (print_version): Likewise.
23543 * locale/programs/locale.c (print_version): Likewise.
23544 * locale/programs/localedef.c (print_version): Likewise.
23545 * login/programs/pt_chown.c (print_version): Likewise.
23546 * malloc/memusage.sh (do_version): Likewise.
23547 * malloc/memusagestat.c (print_version): Likewise.
23548 * malloc/mtrace.pl: Likewise.
23549 * manual/libc.texinfo: Likewise.
23550 * nptl/version.c (banner): Likewise.
23551 * nscd/nscd.c (print_version): Likewise.
23552 * nss/getent.c (print_version): Likewise.
23553 * nss/makedb.c (print_version): Likewise.
23554 * posix/getconf.c (main): Likewise.
23555 * scripts/test-installation.pl: Likewise.
23556 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23558 * All files with FSF copyright notices: Update copyright dates
23559 using scripts/update-copyrights.
23560 * locale/programs/charmap-kw.h: Regenerated.
23561 * locale/programs/locfile-kw.h: Likewise.
23563 2017-12-31 Zack Weinberg <zackw@panix.com>
23565 * libio/bits/libio-ldbl.h: Correct check for improper
23566 inclusion. Add own multiple include guard.
23568 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23569 Dmitry V. Levin <ldv@altlinux.org>
23573 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23574 string token expansion. Check for NULL pointer or empty string possibly
23575 returned by expand_dynamic_string_token.
23576 (decompose_rpath): Check for empty path after dynamic string
23579 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23582 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23584 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23585 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23586 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23587 and PTRACE_SYSCALL.
23588 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23593 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23595 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23596 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23597 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23598 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23600 bits/ptrace-shared.h.
23601 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23602 <bits/ptrace-shared.h>.
23603 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23604 __ptrace_peeksiginfo_flags, ptrace): Remove.
23605 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23609 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23611 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23614 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23615 end of the loop. Improve comments.
23617 2017-12-29 Zack Weinberg <zackw@panix.com>
23620 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23621 might be set on success.
23623 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23626 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23627 is unchanged on success.
23629 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23631 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23633 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23634 expand_dynamic_string_token): Likewise.
23635 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23638 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23641 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23642 is set and name contains ':', and all code depending on these checks.
23644 2017-12-24 Zack Weinberg <zackw@panix.com>
23646 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23647 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23649 * libio/libio.h: Rename the original version of this file to
23650 libio/bits/libio.h. Error out if not included by stdio.h or the
23652 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23653 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23654 if not included by bits/libio.h or the stub _G_config.h.
23655 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23656 sysdeps/unix/sysv/linux/bits. Error out if not included by
23657 bits/libio.h or the stub _G_config.h.
23658 * libio/stdio.h: Include bits/libio.h, not libio.h.
23659 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23660 well as libio.h and _G_config.h.
23662 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23663 * libio/strfile.h, stdio-common/vfscanf.c
23664 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23665 Include stdio.h, not _G_config.h nor libio.h.
23666 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23667 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23669 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23671 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23674 * stdlib/getrandom.c (getrandom): Fix comment.
23675 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23677 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23680 * manual/arith.texi (strtoul): Fix a typo.
23683 * manual/arith.texi (finite): Fix the description of the return
23686 2017-12-22 Eric Blake <ebb9@byu.net>
23688 Avoid gcc warnings on cygwin
23689 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23690 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23691 Avoid unused variable.
23693 2017-12-22 Florian Weimer <fweimer@redhat.com>
23695 * io/Makefile (routines): Add copy_file_range.
23696 (tests): Add tst-copy_file_range.
23697 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23698 * io/Versions (GLIBC_2.27): Export copy_file_range.
23699 * io/copy_file_range-compat.c: New file.
23700 * io/copy_file_range.c: Likewise.
23701 * io/tst-copy_file_range-compat.c: Likewise.
23702 * io/tst-copy_file_range.c: Likewise.
23703 * manual/llio.texi (Copying File Data): New section.
23704 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23705 * support/Makefile (libsupport-routines): Add support-xfstat,
23706 xftruncate, xlseek.
23707 * support/support-xfstat.c: New file.
23708 * support/xftruncate.c: Likewise.
23709 * support/xlseek.c: Likewise.
23710 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23711 * sysdeps/unix/sysv/linux/**.abilist: Update.
23712 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23714 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23716 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23717 disable-multi-arch variant to aarch64-linux-gnu.
23719 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23721 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23722 trailing whitespace removed.
23723 * scripts/config.guess: Update to version 2017-12-17.
23724 * scripts/config.sub: Update to version 2017-11-23.
23725 * scripts/install-sh: Update to version 2017-09-23.17.
23726 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23728 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23730 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23731 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23732 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23733 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23734 * sysdeps/tile/crtn.S: Likewise.
23735 * sysdeps/tile/dl-start.S (_start): Likewise.
23736 * sysdeps/tile/dl-trampoline.S: Likewise.
23737 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23738 * sysdeps/tile/start.S (_start): Likewise.
23739 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23740 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23741 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23742 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23743 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23744 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23745 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23747 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23749 * sysdeps/tile/preconfigure: Remove tilegx folder.
23750 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23751 * sysdeps/tile/Implies: ... here.
23752 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23753 * sysdeps/tile/Makefile: ... here.
23754 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23755 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23756 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23757 * sysdeps/tile/bits/wordsize.h: ... here.
23758 * sysdeps/tile/tilegx/*: Move to ...
23759 * sysdeps/tile/*: ... here.
23760 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23761 * sysdeps/tile/tilegx32/Implies: ... here.
23762 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23763 * sysdeps/tile/tilegx64/Implies: ... here.
23764 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23766 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23767 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23768 * sysdeps/unix/sysv/linux/tile/*: ... here.
23769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23770 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23772 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23774 * README: Remove tilepro-*-linux-gnu from supported architecture.
23775 * scripts/build-many-glibcs.py: Likewise.
23776 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23777 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23778 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23779 elf_machine_matches_host, elf_machine_dynamic,
23780 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23781 howto, elf_machine_rela): Likewise.
23782 * sysdeps/tile/dl-start.S (_start): Likewise.
23783 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23784 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23785 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23786 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23787 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23788 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23790 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23791 * sysdeps/tile/preconfigure: Likewise.
23792 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23793 POINTER_CHK_GUARD): Likewise.
23794 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23795 * sysdeps/tile/start.S (_start): Likewise.
23796 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23798 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23799 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23801 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23802 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23803 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23805 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23806 * sysdeps/tile/tilepro/Implies: Remove file.
23807 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23808 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23809 * sysdeps/tile/tilepro/memchr.c: Likewise.
23810 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23811 * sysdeps/tile/tilepro/memset.c: Likewise.
23812 * sysdeps/tile/tilepro/memusage.h: Likewise.
23813 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23814 * sysdeps/tile/tilepro/strchr.c: Likewise.
23815 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23816 * sysdeps/tile/tilepro/strlen.c: Likewise.
23817 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23818 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23819 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23820 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23821 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23822 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23823 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23825 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23826 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23827 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23828 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23829 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23830 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23831 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23832 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23833 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23834 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23835 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23836 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23837 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23838 tilepro mention in comment.
23840 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23841 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23842 * nptl/pthread_join_common.c: New file: common function used on
23843 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23844 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23845 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23846 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23847 (cleanup): Move definition to pthread_join_common.c.
23848 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23849 Remove superflous checks.
23850 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23853 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23855 * sysdeps/aarch64/libm-test-ulps: Update.
23857 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23859 * sysdeps/aarch64/memset.S (MEMSET): Define.
23861 2017-12-20 Florian Weimer <fweimer@redhat.com>
23864 nptl: Provide full implementation of pthread_self in libc.so.
23865 * nptl/Makefile (routines): Add pthread_self.
23866 (libpthread-routines): Replace pthread_self with
23867 compat-pthread_self.
23868 * nptl/forward.c (pthread_self): Remove.
23869 * nptl/nptl-init.c (pthread_functions): Do not initialize
23871 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23872 * nptl/compat-pthread_self.c: New file.
23873 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23874 Remove ptr_pthread_self.
23876 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23878 * posix/regcomp.c: Fix spelling in comments.
23879 * posix/regex.h: Likewise.
23880 * posix/regex_internal.c: Likewise.
23881 * posix/regexec.c: Likewise.
23883 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23886 * math/Makefile [C++] (tests): Add test for iseqsig.
23887 * math/math.h [C++] (iseqsig): New implementation, which does
23888 not rely on __MATH_TG/__builtin_types_compatible_p.
23889 * math/test-math-iseqsig.cc: New file.
23890 * sysdeps/powerpc/powerpc64le/Makefile
23891 (CFLAGS-test-math-iseqsig.cc): New variable.
23893 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23895 * elf/dl-load.c (is_trusted_path): Remove.
23896 (fillin_rpath): Remove check_trusted argument and its use,
23897 all callers changed.
23899 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23902 * Makeconfig (link-pie-before-libc): Replace -pie with
23903 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23904 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23905 (tst-dlopen-aout-no-pie): New.
23906 (LDFLAGS-tst-prelink): Removed.
23907 (tst-prelink-no-pie): New.
23908 (LDFLAGS-tst-main1): Removed.
23909 (tst-main1-no-pie): New.
23910 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23911 (tst-gmon-no-pie): New.
23913 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23915 * manual/install.texi: Document that --enable-static-pie
23917 * INSTALL: Regenerated.
23919 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23922 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23925 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23929 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23933 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23935 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23936 <errno.h>. Include "eexp.tbl".
23937 (half): New constant.
23939 (__ieee754_exp): Rewrite.
23940 (__slowexp): Remove prototype.
23941 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23942 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23943 * sysdeps/i386/fpu/slowexp.c: Likewise.
23944 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23945 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23946 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23949 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23950 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23952 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23953 (CPPFLAGS-slowexp.c): Remove variable.
23954 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23955 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23956 (CFLAGS-slowexp-fma.c): Remove variable.
23957 (CFLAGS-slowexp-fma4.c): Likewise.
23958 (CFLAGS-slowexp-avx.c): Likewise.
23959 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23963 * math/Makefile (type-double-routines): Remove slowexp.
23964 * manual/probes.texi (slowexp_p6): Remove.
23965 (slowexp_p32): Likewise.
23967 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23969 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23972 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23974 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23978 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23980 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23981 <errno.h>. Include "eexp.tbl".
23982 (half): New constant.
23984 (__ieee754_exp): Rewrite.
23985 (__slowexp): Remove prototype.
23986 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23987 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23988 * sysdeps/i386/fpu/slowexp.c: Likewise.
23989 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23990 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23991 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23994 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23995 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23997 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23998 (CPPFLAGS-slowexp.c): Remove variable.
23999 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24000 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24001 (CFLAGS-slowexp-fma.c): Remove variable.
24002 (CFLAGS-slowexp-fma4.c): Likewise.
24003 (CFLAGS-slowexp-avx.c): Likewise.
24004 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24007 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24008 * math/Makefile (type-double-routines): Remove slowexp.
24009 * manual/probes.texi (slowexp_p6): Remove.
24010 (slowexp_p32): Likewise.
24012 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24013 James Clarke <jrtc27@jrtc27.com>
24016 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24019 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24022 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24025 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24028 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24029 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24030 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24031 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24034 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24037 * bits/types/__cancel_jmp_buf_tag.h: New file.
24038 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24039 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24040 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24041 * nptl/Makefile (headers): Add
24042 bits/types/__cancel_jmp_buf_tag.h.
24043 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24044 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24045 * sysdeps/nptl/pthread.h: Include
24046 <bits/types/__cancel_jmp_buf_tag.h>.
24047 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24049 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24051 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24053 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24054 --enable-static-pie variants to x86_64, x32 and i686.
24056 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24059 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24060 argument for attrubutes. All callers changed.
24061 (__inline_mathop1): Likewise. All callers changed.
24062 (__inline_mathop): Likewise. All callers changed.
24063 [__USE_MISC] (scalbn): Use __inline_forward instead of
24064 __inline_forward_c.
24065 [__USE_ISOC99] (scalbln): Likewise.
24066 [__USE_ISOC99] (nearbyint): Likewise.
24067 [__USE_ISOC99] (lrint): Likewise.
24068 [__USE_MISC] (scalbnf): Likewise.
24069 [__USE_ISOC99] (scalblnf): Likewise.
24070 [__USE_ISOC99] (nearbyintf): Likewise.
24071 [__USE_ISOC99] (lrintf): Likewise.
24072 [__USE_MISC] (scalbnl): Likewise.
24073 [__USE_ISOC99] (scalblnl): Likewise.
24074 [__USE_ISOC99] (nearbyintl): Likewise.
24075 [__USE_ISOC99] (lrintl): Likewise.
24076 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24077 __inline_mathop and __m81_defun changed.
24079 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24080 CPU or FPU for ARM hard-float configurations.
24082 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24084 * nptl/tst-attr3.c: Include <libc-diag.h>.
24085 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24087 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24089 * string/tester.c (test_strncat): Also disable -Warray-bounds
24090 warnings for two tests.
24092 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24095 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24096 $(cc-pie-default) == yes.
24097 * config.make.in (cc-pie-default): New.
24098 * configure.ac (libc_cv_pie_default): Renamed to ...
24099 (libc_cv_cc_pie_default): This.
24100 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24101 * configure: Regenerated.
24103 2017-12-18 Florian Weimer <fweimer@redhat.com>
24106 ld.so: Harden dl-libc/libdl hooks.
24107 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24108 (rtld_active): New function.
24109 * dlfcn/dladdr.c (__dladdr): Call it.
24110 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24111 * dlfcn/dlclose.c (__dlcose): Likewise.
24112 * dlfcn/dlerror.c (__dlerror): Likewise.
24113 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24114 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24115 * dlfcn/dlopen.c (__dlopen): Likewise.
24116 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24117 * dlfcn/dlsym.c (__dlsym): Likewise.
24118 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24119 * libio/vtables.c (_IO_vtable_check): Likewise.
24120 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24121 (__libc_dlclose): Likewise.
24122 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24125 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24128 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24129 buffers for readlink input and output.
24131 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24134 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24135 inhibit_stack_protector.
24138 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24139 inhibit_stack_protector.
24141 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24144 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24145 code and invocation.
24147 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24149 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24151 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24154 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24156 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24158 * sysdeps/s390/fpu/libm-test-ulps: Update.
24160 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24164 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24166 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24167 constants to s_sincosf.h file.
24168 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24171 * sysdeps/ieee754/flt-32/s_sincosf.h:
24174 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24177 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24180 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24183 * INSTALL: Regenerated.
24184 * Makeconfig (real-static-start-installed-name): New.
24185 (pic-default): Updated for --enable-static-pie.
24186 (pie-default): New for --enable-static-pie.
24187 (default-pie-ldflag): Likewise.
24188 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24189 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24190 Replace $(static-start-installed-name) with
24191 $(real-static-start-installed-name).
24192 (+prectorT): Updated for --enable-static-pie.
24193 (+postctorT): Likewise.
24194 (CFLAGS-.o): Add $(pie-default).
24195 (CFLAGS-.op): Likewise.
24196 * NEWS: Mention --enable-static-pie.
24197 * config.h.in (ENABLE_STATIC_PIE): New.
24198 * configure.ac (--enable-static-pie): New configure option.
24199 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24200 (have-static-pie): Likewise.
24201 Enable static PIE if linker supports --no-dynamic-linker.
24202 (ENABLE_STATIC_PIE): New AC_DEFINE.
24203 (enable-static-pie): New LIBC_CONFIG_VAR.
24204 * configure: Regenerated.
24205 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24206 gr$(start-installed-name) for --enable-static-pie.
24207 (extra-objs): Likewise.
24208 (install-lib): Likewise.
24209 (extra-objs): Add static-reloc.o and static-reloc.os
24210 ($(objpfx)$(start-installed-name)): Also depend on
24211 $(objpfx)static-reloc.o.
24212 ($(objpfx)r$(start-installed-name)): New.
24213 ($(objpfx)g$(start-installed-name)): Also depend on
24214 $(objpfx)static-reloc.os.
24215 ($(objpfx)gr$(start-installed-name)): New.
24216 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24218 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24220 * csu/static-reloc.c: New file.
24221 * elf/Makefile (routines): Add dl-reloc-static-pie.
24222 (elide-routines.os): Likewise.
24223 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24224 (tst-tls1-static-non-pie-no-pie): New.
24225 * elf/dl-reloc-static-pie.c: New file.
24226 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24227 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24228 STATIC_PIE_BOOTSTRAP.
24229 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24230 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24231 (tests-static): Likewise.
24232 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24233 (tst-gmon-static-no-pie): New.
24234 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24235 (CRT-tst-gmon-static-pie): Likewise.
24236 (tst-gmon-static-pie-ENV): Likewise.
24237 (tests-special): Likewise.
24238 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24239 (clean-tst-gmon-static-pie-data): Likewise.
24240 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24241 * gmon/tst-gmon-static-pie.c: New file.
24242 * manual/install.texi: Document --enable-static-pie.
24243 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24244 (_dl_get_dl_main_map): Likewise.
24245 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24246 * sysdeps/x86_64/configure.ac: Likewise.
24247 * sysdeps/i386/configure: Regenerated.
24248 * sysdeps/x86_64/configure: Likewise.
24249 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24250 (ASFLAGS-.op): Likewise.
24252 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24254 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24255 * posix/tst-mmap-offset.c (fname): Use /tmp.
24256 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24258 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24260 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24262 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24264 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24267 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24269 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24270 --with-float=hard for arm-linux-gnueabihf configurations.
24273 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24274 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24275 ($(mo-installed)): Use $(objpfx)%.mo.
24276 (realclean): Remove rule.
24278 * po/Makefile (linguas): Remove rule and dependencies.
24279 (linguas.mo): Likewise.
24280 (.PHONY): Do not depend on linguas and linguas.mo.
24281 (podir): Remove variable.
24282 (pofiles): Likewise.
24283 [$(pofiles)] (%.po): Remove rule.
24285 * sysdeps/sparc/sparc32/Makefile
24286 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24287 start-of-line whitespace in argument of echo.
24288 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24289 with whitespace. Generate __wrap_.udiv alias.
24290 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24291 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24292 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24293 * sysdeps/sparc/sparc32/urem.S: Likewise.
24295 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24297 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24298 for aligned inputs.
24300 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24302 * benchtests/bench-strcmp.c: Print output in JSON format.
24304 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24306 2017-12-14 Florian Weimer <fweimer@redhat.com>
24310 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24311 the expanded path string.
24313 2017-12-14 Florian Weimer <fweimer@redhat.com>
24317 * elf/dl-load.c (system_dirs): Update comment.
24318 (nsystem_dirs_len): Use array_length.
24319 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24321 2017-12-14 Florian Weimer <fweimer@redhat.com>
24323 Simplify compiling most of support/ outside of glibc.
24324 * support/check_addrinfo.c: Include <string.h>.
24325 * support/check_dns_packet.c: Likewise.
24326 * support/check_hostent.c: Likewise.
24327 * support/support_can_chroot.c: Include <support/xunistd.h>.
24328 * support/support_format_addrinfo.c: Include <stdlib.h>
24329 * support/support_format_dns_packet.c: Include <stdbool.h>.
24330 * support/support_format_hostent.c: Include <stdlib.h>.
24331 * support/support_format_netent.c: Likewise.
24332 * support/support_write_string.c: Include <support/xunistd.h>.
24333 * support/xdlfcn.c: Include <stddef.h>.
24335 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24337 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24339 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24340 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24343 (sysdeps_routines): Add memset-niagara7.
24344 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24346 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24348 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24349 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24350 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24351 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24352 Add niagara7 option.
24353 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24357 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24358 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24363 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24364 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24365 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24366 and __memmove_niagara7.
24367 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24368 Add niagara7 option.
24369 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24370 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24371 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24372 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24373 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24375 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24377 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24378 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24379 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24380 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24382 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24383 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24384 _dl_sparc_cap_flags array.
24385 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24387 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24389 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24390 time whenever possible.
24392 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24394 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24395 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24397 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24399 * soft-fp/fmadf4.c: Move to ....
24400 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24401 * soft-fp/fmasf4.c: Move to ....
24402 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24403 * soft-fp/fmatf4.c: Move to ....
24404 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24405 * sysdeps/ieee754/soft-fp/Makefile: New file.
24406 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24407 * sysdeps/arm/preconfigure: Regenerated.
24408 * sysdeps/arm/nofpu/Implies: New file.
24409 * sysdeps/arm/s_fma.c: Remove file.
24410 * sysdeps/arm/s_fmaf.c: Likewise.
24411 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24412 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24413 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24414 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24415 * sysdeps/microblaze/s_fma.c: Remove file.
24416 * sysdeps/microblaze/s_fmaf.c: Likewise.
24417 * sysdeps/mips/mips32/nofpu/Implies: New file.
24418 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24419 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24420 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24421 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24422 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24423 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24424 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24426 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24427 * sysdeps/nios2/s_fma.c: Remove file.
24428 * sysdeps/nios2/s_fmaf.c: Likewise.
24429 * sysdeps/sh/nofpu/Implies: New file.
24430 * sysdeps/sh/s_fma.c: Remove file.
24431 * sysdeps/sh/s_fmaf.c: Likewise.
24432 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24433 * sysdeps/tile/s_fma.c: Remove file.
24434 * sysdeps/tile/s_fmaf.c: Likewise.
24436 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24439 Add s_cosf-sse2 and s_cosf-fma.
24440 (CFLAGS-s_cosf-fma.c): New.
24441 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24442 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24443 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24445 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24447 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24449 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24451 * libio/Makefile (tests): Add tst-bz22415.
24452 (tst-bz22415-ENV): New rule.
24453 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24454 (tests-special): Add tst-bz22415-mem.out.
24455 ($(objpfx)tst-bz22415-mem.out): New rule.
24456 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24457 in case of a successful seek operation.
24458 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24459 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24460 buffer is required.
24461 * libio/tst-bz22415.c: New test.
24463 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24465 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24467 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24468 __IPC_64 to 0 to avoid IPC_64 being set.
24470 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24473 * math/bits/mathcalls.h (nextafter): Remove const.
24474 (nexttoward): Likewise.
24476 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24478 * configure.ac (--with-fp): Remove configure option.
24479 (with_fp_cond): New variable.
24480 (libc_cv_with_fp): New configure test. Use this variable instead
24482 * configure: Regenerated.
24483 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24484 * manual/install.texi (Configuring and compiling): Remove
24486 * INSTALL: Regenerated.
24487 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24488 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24489 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24490 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24491 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24492 use --without-fp to configure glibc.
24494 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24496 * manual/locale.texi (nl_langinfo): Fix a typo.
24498 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24501 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24503 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24505 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24506 (CFLAGS-argp-parse.c): Likewise.
24507 (CFLAGS-argp-fmtstream.c): Likewise.
24508 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24509 (CPPFLAGS-sha512-crypt.c): Likewise.
24510 (CPPFLAGS-md5-crypt.c): Likewise.
24511 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24512 (CFLAGS-stack_chk_fail_local.c): Likewise.
24513 (CFLAGS-backtrace.c): Likewise.
24514 (CFLAGS-sprintf_chk.c): Likewise.
24515 (CFLAGS-snprintf_chk.c): Likewise.
24516 (CFLAGS-vsprintf_chk.c): Likewise.
24517 (CFLAGS-vsnprintf_chk.c): Likewise.
24518 (CFLAGS-asprintf_chk.c): Likewise.
24519 (CFLAGS-vasprintf_chk.c): Likewise.
24520 (CFLAGS-obprintf_chk.c): Likewise.
24521 (CFLAGS-dprintf_chk.c): Likewise.
24522 (CFLAGS-vdprintf_chk.c): Likewise.
24523 (CFLAGS-printf_chk.c): Likewise.
24524 (CFLAGS-fprintf_chk.c): Likewise.
24525 (CFLAGS-vprintf_chk.c): Likewise.
24526 (CFLAGS-vfprintf_chk.c): Likewise.
24527 (CFLAGS-gets_chk.c): Likewise.
24528 (CFLAGS-fgets_chk.c): Likewise.
24529 (CFLAGS-fgets_u_chk.c): Likewise.
24530 (CFLAGS-fread_chk.c): Likewise.
24531 (CFLAGS-fread_u_chk.c): Likewise.
24532 (CFLAGS-swprintf_chk.c): Likewise.
24533 (CFLAGS-vswprintf_chk.c): Likewise.
24534 (CFLAGS-wprintf_chk.c): Likewise.
24535 (CFLAGS-fwprintf_chk.c): Likewise.
24536 (CFLAGS-vwprintf_chk.c): Likewise.
24537 (CFLAGS-vfwprintf_chk.c): Likewise.
24538 (CFLAGS-fgetws_chk.c): Likewise.
24539 (CFLAGS-fgetws_u_chk.c): Likewise.
24540 (CFLAGS-read_chk.c): Likewise.
24541 (CFLAGS-pread_chk.c): Likewise.
24542 (CFLAGS-pread64_chk.c): Likewise.
24543 (CFLAGS-recv_chk.c): Likewise.
24544 (CFLAGS-recvfrom_chk.c): Likewise.
24545 (CFLAGS-tst-longjmp_chk.c): Likewise.
24546 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24547 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24548 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24549 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24550 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24551 (CFLAGS-tst-chk1.c): Likewise.
24552 (CFLAGS-tst-chk2.c): Likewise.
24553 (CFLAGS-tst-chk3.c): Likewise.
24554 (CFLAGS-tst-chk4.cc): Likewise.
24555 (CFLAGS-tst-chk5.cc): Likewise.
24556 (CFLAGS-tst-chk6.cc): Likewise.
24557 (CFLAGS-tst-lfschk1.c): Likewise.
24558 (CFLAGS-tst-lfschk2.c): Likewise.
24559 (CFLAGS-tst-lfschk3.c): Likewise.
24560 (CFLAGS-tst-lfschk4.cc): Likewise.
24561 (CFLAGS-tst-lfschk5.cc): Likewise.
24562 (CFLAGS-tst-lfschk6.cc): Likewise.
24563 (CFLAGS-tst-ssp-1.c): Likewise.
24564 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24565 (CFLAGS-scandir64.c): Likewise.
24566 (CFLAGS-scandir-tail.c): Likewise.
24567 (CFLAGS-scandir64-tail.c): Likewise.
24568 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24569 (CFLAGS-dl-tunables.c): Likewise.
24570 (CFLAGS-dl-runtime.c): Likewise.
24571 (CFLAGS-dl-lookup.c): Likewise.
24572 (CFLAGS-dl-iterate-phdr.c): Likewise.
24573 (CFLAGS-vismain.c): Likewise.
24574 (CFLAGS-tst-linkall-static.c): Likewise.
24575 (CFLAGS-tst-linkall-static.c): Likewise.
24576 (CPPFLAGS-dl-load.c): Likewise.
24577 (CFLAGS-ldconfig.c): Likewise.
24578 (CFLAGS-dl-cache.c): Likewise.
24579 (CFLAGS-cache.c): Likewise.
24580 (CFLAGS-rtld.c): Likewise.
24581 (CFLAGS-multiload.c): Likewise.
24582 (CFLAGS-filtmod1.c): Likewise.
24583 (CFLAGS-tst-align.c): Likewise.
24584 (CFLAGS-tst-align2.c): Likewise.
24585 (CFLAGS-tst-alignmod.c): Likewise.
24586 (CFLAGS-tst-alignmod2.c): Likewise.
24587 (CPPFLAGS-tst-execstack.c): Likewise.
24588 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24589 (CFLAGS-tst-latepthreadmod.c): Likewise.
24590 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24591 (CFLAGS-getgrnam_r.c): Likewise.
24592 (CFLAGS-getgrent_r.c): Likewise.
24593 (CFLAGS-getgrent.c): Likewise.
24594 (CFLAGS-fgetgrent.c): Likewise.
24595 (CFLAGS-fgetgrent_r.c): Likewise.
24596 (CFLAGS-putgrent.c): Likewise.
24597 (CFLAGS-initgroups.c): Likewise.
24598 (CFLAGS-getgrgid.c): Likewise.
24599 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24600 (CFLAGS-getsgent.c): Likewise.
24601 (CFLAGS-fgetsgent.c): Likewise.
24602 (CFLAGS-fgetsgent_r.c): Likewise.
24603 (CFLAGS-putsgent.c): Likewise.
24604 (CFLAGS-getsgnam.c): Likewise.
24605 (CFLAGS-getsgnam_r.c): Likewise.
24606 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24607 (CFLAGS-iconv_charmap.c): Likewise.
24608 (CFLAGS-dummy-repertoire.c): Likewise.
24609 (CFLAGS-charmap.c): Likewise.
24610 (CFLAGS-linereader.c): Likewise.
24611 (CFLAGS-simple-hash.c): Likewise.
24612 (CFLAGS-gconv_conf.c): Likewise.
24613 (CFLAGS-iconvconfig.c): Likewise.
24614 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24615 (CFLAGS-gethstbyad.c): Likewise.
24616 (CFLAGS-gethstbynm_r.c): Likewise.
24617 (CFLAGS-gethstbynm.c): Likewise.
24618 (CFLAGS-gethstbynm2_r.c): Likewise.
24619 (CFLAGS-gethstbynm2.c): Likewise.
24620 (CFLAGS-gethstent_r.c): Likewise.
24621 (CFLAGS-gethstent.c): Likewise.
24622 (CFLAGS-rcmd.c): Likewise.
24623 (CFLAGS-getnetbynm_r.c): Likewise.
24624 (CFLAGS-getnetbynm.c): Likewise.
24625 (CFLAGS-getnetbyad_r.c): Likewise.
24626 (CFLAGS-getnetbyad.c): Likewise.
24627 (CFLAGS-getnetent_r.c): Likewise.
24628 (CFLAGS-getnetent.c): Likewise.
24629 (CFLAGS-getaliasent_r.c): Likewise.
24630 (CFLAGS-getaliasent.c): Likewise.
24631 (CFLAGS-getrpcent_r.c): Likewise.
24632 (CFLAGS-getrpcent.c): Likewise.
24633 (CFLAGS-getservent_r.c): Likewise.
24634 (CFLAGS-getservent.c): Likewise.
24635 (CFLAGS-getprtent_r.c): Likewise.
24636 (CFLAGS-getprtent.c): Likewise.
24637 (CFLAGS-either_ntoh.c): Likewise.
24638 (CFLAGS-either_hton.c): Likewise.
24639 (CFLAGS-getnetgrent.c): Likewise.
24640 (CFLAGS-getnetgrent_r.c): Likewise.
24641 (CFLAGS-tst-checks-posix.c): Likewise.
24642 (CFLAGS-tst-sockaddr.c): Likewise.
24643 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24644 (CFLAGS-tst-translit.c): Likewise.
24645 (CFLAGS-tst-gettext2.c): Likewise.
24646 (CFLAGS-tst-codeset.c): Likewise.
24647 (CFLAGS-tst-gettext3.c): Likewise.
24648 (CFLAGS-tst-gettext4.c): Likewise.
24649 (CFLAGS-tst-gettext5.c): Likewise.
24650 (CFLAGS-tst-gettext6.c): Likewise.
24651 * io/Makefile (CFLAGS-open.c): Likewise.
24652 (CFLAGS-open64.c): Likewise.
24653 (CFLAGS-creat.c): Likewise.
24654 (CFLAGS-creat64.c): Likewise.
24655 (CFLAGS-fcntl.c): Likewise.
24656 (CFLAGS-poll.c): Likewise.
24657 (CFLAGS-ppoll.c): Likewise.
24658 (CFLAGS-lockf.c): Likewise.
24659 (CFLAGS-statfs.c): Likewise.
24660 (CFLAGS-fstatfs.c): Likewise.
24661 (CFLAGS-statvfs.c): Likewise.
24662 (CFLAGS-fstatvfs.c): Likewise.
24663 (CFLAGS-fts.c): Likewise.
24664 (CFLAGS-fts64.c): Likewise.
24665 (CFLAGS-ftw.c): Likewise.
24666 (CFLAGS-ftw64.c): Likewise.
24667 (CFLAGS-lockf.c): Likewise.
24668 (CFLAGS-posix_fallocate.c): Likewise.
24669 (CFLAGS-posix_fallocate64.c): Likewise.
24670 (CFLAGS-fallocate.c): Likewise.
24671 (CFLAGS-fallocate64.c): Likewise.
24672 (CFLAGS-read.c): Likewise.
24673 (CFLAGS-write.c): Likewise.
24674 (CFLAGS-test-stat.c): Likewise.
24675 (CFLAGS-test-lfs.c): Likewise.
24676 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24677 (CFLAGS-fputc.c): Likewise.
24678 (CFLAGS-fputwc.c): Likewise.
24679 (CFLAGS-freopen64.c): Likewise.
24680 (CFLAGS-freopen.c): Likewise.
24681 (CFLAGS-fseek.c): Likewise.
24682 (CFLAGS-fseeko64.c): Likewise.
24683 (CFLAGS-fseeko.c): Likewise.
24684 (CFLAGS-ftello64.c): Likewise.
24685 (CFLAGS-ftello.c): Likewise.
24686 (CFLAGS-fwide.c): Likewise.
24687 (CFLAGS-genops.c): Likewise.
24688 (CFLAGS-getc.c): Likewise.
24689 (CFLAGS-getchar.c): Likewise.
24690 (CFLAGS-getwc.c): Likewise.
24691 (CFLAGS-getwchar.c): Likewise.
24692 (CFLAGS-iofclose.c): Likewise.
24693 (CFLAGS-iofflush.c): Likewise.
24694 (CFLAGS-iofgetpos64.c): Likewise.
24695 (CFLAGS-iofgetpos.c): Likewise.
24696 (CFLAGS-iofgets.c): Likewise.
24697 (CFLAGS-iofgetws.c): Likewise.
24698 (CFLAGS-iofputs.c): Likewise.
24699 (CFLAGS-iofputws.c): Likewise.
24700 (CFLAGS-iofread.c): Likewise.
24701 (CFLAGS-iofsetpos64.c): Likewise.
24702 (CFLAGS-iofsetpos.c): Likewise.
24703 (CFLAGS-ioftell.c): Likewise.
24704 (CFLAGS-iofwrite.c): Likewise.
24705 (CFLAGS-iogetdelim.c): Likewise.
24706 (CFLAGS-iogetline.c): Likewise.
24707 (CFLAGS-iogets.c): Likewise.
24708 (CFLAGS-iogetwline.c): Likewise.
24709 (CFLAGS-ioputs.c): Likewise.
24710 (CFLAGS-ioseekoff.c): Likewise.
24711 (CFLAGS-ioseekpos.c): Likewise.
24712 (CFLAGS-iosetbuffer.c): Likewise.
24713 (CFLAGS-iosetvbuf.c): Likewise.
24714 (CFLAGS-ioungetc.c): Likewise.
24715 (CFLAGS-ioungetwc.c): Likewise.
24716 (CFLAGS-oldfileops.c): Likewise.
24717 (CFLAGS-oldiofclose.c): Likewise.
24718 (CFLAGS-oldiofgetpos64.c): Likewise.
24719 (CFLAGS-oldiofgetpos.c): Likewise.
24720 (CFLAGS-oldiofsetpos64.c): Likewise.
24721 (CFLAGS-oldiofsetpos.c): Likewise.
24722 (CFLAGS-peekc.c): Likewise.
24723 (CFLAGS-putc.c): Likewise.
24724 (CFLAGS-putchar.c): Likewise.
24725 (CFLAGS-putwc.c): Likewise.
24726 (CFLAGS-putwchar.c): Likewise.
24727 (CFLAGS-rewind.c): Likewise.
24728 (CFLAGS-wfileops.c): Likewise.
24729 (CFLAGS-wgenops.c): Likewise.
24730 (CFLAGS-oldiofopen.c): Likewise.
24731 (CFLAGS-iofopen.c): Likewise.
24732 (CFLAGS-iofopen64.c): Likewise.
24733 (CFLAGS-oldtmpfile.c): Likewise.
24734 (CFLAGS-tst_putwc.c): Likewise.
24735 * locale/Makefile (CFLAGS-md5.c): Likewise.
24736 (CFLAGS-charmap.c): Likewise.
24737 (CFLAGS-locfile.c): Likewise.
24738 (CFLAGS-charmap-dir.c): Likewise.
24739 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24740 (CFLAGS-getpt.c): Likewise.
24741 (CFLAGS-pt_chown.c): Likewise.
24742 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24743 (CFLAGS-obstack.c): Likewise.
24744 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24745 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24746 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24747 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24748 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24749 (CFLAGS-test-tgmath.c): Likewise.
24750 (CFLAGS-test-tgmath2.c): Likewise.
24751 (CFLAGS-test-tgmath-ret.c): Likewise.
24752 (CFLAGS-test-powl.c): Likewise.
24753 (CFLAGS-test-snan.c): Likewise.
24754 (CFLAGS-test-signgam-finite.c): Likewise.
24755 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24756 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24757 (CFLAGS-test-signgam-uchar.c): Likewise.
24758 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24759 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24760 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24761 (CFLAGS-test-signgam-uint.c): Likewise.
24762 (CFLAGS-test-signgam-uint-init.c): Likewise.
24763 (CFLAGS-test-signgam-uint-static.c): Likewise.
24764 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24765 (CFLAGS-test-signgam-ullong.c): Likewise.
24766 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24767 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24768 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24769 (CFLAGS-test-math-cxx11.cc): Likewise.
24770 (CFLAGS-test-math-isinff.cc): Likewise.
24771 (CFLAGS-test-math-iszero.cc): Likewise.
24772 (CFLAGS-test-math-issignaling.cc): Likewise.
24773 (CFLAGS-test-math-iscanonical.cc): Likewise.
24774 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24775 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24776 (CFLAGS-test-flt-eval-method.c): Likewise.
24777 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24778 (CFLAGS-test-finite-macros.c): Likewise.
24779 * misc/Makefile (CFLAGS-select.c): Likewise.
24780 (CFLAGS-tsearch.c): Likewise.
24781 (CFLAGS-lsearch.c): Likewise.
24782 (CFLAGS-pselect.c): Likewise.
24783 (CFLAGS-readv.c): Likewise.
24784 (CFLAGS-writev.c): Likewise.
24785 (CFLAGS-preadv.c): Likewise.
24786 (CFLAGS-preadv64.c): Likewise.
24787 (CFLAGS-pwritev.c): Likewise.
24788 (CFLAGS-pwritev64.c): Likewise.
24789 (CFLAGS-preadv2.c): Likewise.
24790 (CFLAGS-preadv64v2.c): Likewise.
24791 (CFLAGS-pwritev2.c): Likewise.
24792 (CFLAGS-pwritev64v2.c): Likewise.
24793 (CFLAGS-usleep.c): Likewise.
24794 (CFLAGS-syslog.c): Likewise.
24795 (CFLAGS-error.c): Likewise.
24796 (CFLAGS-getpass.c): Likewise.
24797 (CFLAGS-mkstemp.c): Likewise.
24798 (CFLAGS-mkstemp64.c): Likewise.
24799 (CFLAGS-getsysstats.c): Likewise.
24800 (CFLAGS-getusershell.c): Likewise.
24801 (CFLAGS-err.c): Likewise.
24802 (CFLAGS-tst-tsearch.c): Likewise.
24803 (CFLAGS-msync.c): Likewise.
24804 (CFLAGS-fdatasync.c): Likewise.
24805 (CFLAGS-fsync.c): Likewise.
24806 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24807 (CFLAGS-unwind.c): Likewise.
24808 (CFLAGS-unwind-forcedunwind.c): Likewise.
24809 (CFLAGS-pthread_cancel.c): Likewise.
24810 (CFLAGS-pthread_setcancelstate.c): Likewise.
24811 (CFLAGS-pthread_setcanceltype.c): Likewise.
24812 (CFLAGS-cancellation.c): Likewise.
24813 (CFLAGS-libc-cancellation.c): Likewise.
24814 (CFLAGS-pthread_exit.c): Likewise.
24815 (CFLAGS-forward.c): Likewise.
24816 (CFLAGS-pthread_testcancel.c): Likewise.
24817 (CFLAGS-pthread_join.c): Likewise.
24818 (CFLAGS-pthread_timedjoin.c): Likewise.
24819 (CFLAGS-pthread_once.c): Likewise.
24820 (CFLAGS-pthread_cond_wait.c): Likewise.
24821 (CFLAGS-sem_wait.c): Likewise.
24822 (CFLAGS-sem_timedwait.c): Likewise.
24823 (CFLAGS-fcntl.c): Likewise.
24824 (CFLAGS-lockf.c): Likewise.
24825 (CFLAGS-pread.c): Likewise.
24826 (CFLAGS-pread64.c): Likewise.
24827 (CFLAGS-pwrite.c): Likewise.
24828 (CFLAGS-pwrite64.c): Likewise.
24829 (CFLAGS-wait.c): Likewise.
24830 (CFLAGS-waitpid.c): Likewise.
24831 (CFLAGS-sigwait.c): Likewise.
24832 (CFLAGS-msgrcv.c): Likewise.
24833 (CFLAGS-msgsnd.c): Likewise.
24834 (CFLAGS-tcdrain.c): Likewise.
24835 (CFLAGS-open.c): Likewise.
24836 (CFLAGS-open64.c): Likewise.
24837 (CFLAGS-pause.c): Likewise.
24838 (CFLAGS-recv.c): Likewise.
24839 (CFLAGS-send.c): Likewise.
24840 (CFLAGS-accept.c): Likewise.
24841 (CFLAGS-sendto.c): Likewise.
24842 (CFLAGS-connect.c): Likewise.
24843 (CFLAGS-recvfrom.c): Likewise.
24844 (CFLAGS-recvmsg.c): Likewise.
24845 (CFLAGS-sendmsg.c): Likewise.
24846 (CFLAGS-close.c): Likewise.
24847 (CFLAGS-read.c): Likewise.
24848 (CFLAGS-write.c): Likewise.
24849 (CFLAGS-nanosleep.c): Likewise.
24850 (CFLAGS-sigsuspend.c): Likewise.
24851 (CFLAGS-msync.c): Likewise.
24852 (CFLAGS-fdatasync.c): Likewise.
24853 (CFLAGS-fsync.c): Likewise.
24854 (CFLAGS-pt-system.c): Likewise.
24855 (CFLAGS-tst-cleanup2.c): Likewise.
24856 (CFLAGS-tst-cleanupx2.c): Likewise.
24857 (CFLAGS-flockfile.c): Likewise.
24858 (CFLAGS-ftrylockfile.c): Likewise.
24859 (CFLAGS-funlockfile.c): Likewise.
24860 (CFLAGS-tst-initializers1.c): Likewise.
24861 (CFLAGS-tst-initializers1-c89.c): Likewise.
24862 (CFLAGS-tst-initializers1-c99.c): Likewise.
24863 (CFLAGS-tst-initializers1-c11.c): Likewise.
24864 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24865 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24866 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24867 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24868 (CFLAGS-nscd_getgr_r.c): Likewise.
24869 (CFLAGS-nscd_gethst_r.c): Likewise.
24870 (CFLAGS-nscd_getai.c): Likewise.
24871 (CFLAGS-nscd_initgroups.c): Likewise.
24872 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24873 (CFLAGS-pause.c): Likewise.
24874 (CFLAGS-pread.c): Likewise.
24875 (CFLAGS-pread64.c): Likewise.
24876 (CFLAGS-pwrite.c): Likewise.
24877 (CFLAGS-pwrite64.c): Likewise.
24878 (CFLAGS-sleep.c): Likewise.
24879 (CFLAGS-wait.c): Likewise.
24880 (CFLAGS-waitid.c): Likewise.
24881 (CFLAGS-waitpid.c): Likewise.
24882 (CFLAGS-getopt.c): Likewise.
24883 (CFLAGS-wordexp.c): Likewise.
24884 (CFLAGS-sysconf.c): Likewise.
24885 (CFLAGS-pathconf.c): Likewise.
24886 (CFLAGS-fpathconf.c): Likewise.
24887 (CFLAGS-spawn.c): Likewise.
24888 (CFLAGS-spawnp.c): Likewise.
24889 (CFLAGS-spawni.c): Likewise.
24890 (CFLAGS-glob.c): Likewise.
24891 (CFLAGS-glob64.c): Likewise.
24892 (CFLAGS-getconf.c): Likewise.
24893 (CFLAGS-nanosleep.c): Likewise.
24894 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24895 (CFLAGS-getpwent.c): Likewise.
24896 (CFLAGS-getpw.c): Likewise.
24897 (CFLAGS-fgetpwent_r.c): Likewise.
24898 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24899 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24900 (CFLAGS-mq_timedreceive.c): Likewise.
24901 (CFLAGS-mq_timedsend.c): Likewise.
24902 (CFLAGS-clock_nanosleep.c): Likewise.
24903 (CFLAGS-librt-cancellation.c): Likewise.
24904 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24905 (CFLAGS-getspent.c): Likewise.
24906 (CFLAGS-fgetspent.c): Likewise.
24907 (CFLAGS-fgetspent_r.c): Likewise.
24908 (CFLAGS-putspent.c): Likewise.
24909 (CFLAGS-getspnam.c): Likewise.
24910 (CFLAGS-getspnam_r.c): Likewise.
24911 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24912 (CFLAGS-sigsuspend.c): Likewise.
24913 (CFLAGS-sigtimedwait.c): Likewise.
24914 (CFLAGS-sigwait.c): Likewise.
24915 (CFLAGS-sigwaitinfo.c): Likewise.
24916 (CFLAGS-sigreturn.c): Likewise.
24917 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24918 (CFLAGS-vfwprintf.c): Likewise.
24919 (CFLAGS-tmpfile.c): Likewise.
24920 (CFLAGS-tmpfile64.c): Likewise.
24921 (CFLAGS-tempname.c): Likewise.
24922 (CFLAGS-psignal.c): Likewise.
24923 (CFLAGS-vprintf.c): Likewise.
24924 (CFLAGS-cuserid.c): Likewise.
24925 (CFLAGS-errlist.c): Likewise.
24926 (CFLAGS-siglist.c): Likewise.
24927 (CFLAGS-scanf15.c): Likewise.
24928 (CFLAGS-scanf17.c): Likewise.
24929 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24930 (CFLAGS-msort.c): Likewise.
24931 (CFLAGS-qsort.c): Likewise.
24932 (CFLAGS-system.c): Likewise.
24933 (CFLAGS-fmtmsg.c): Likewise.
24934 (CFLAGS-strfmon.c): Likewise.
24935 (CFLAGS-strfmon_l.c): Likewise.
24936 (CFLAGS-strfromd.c): Likewise.
24937 (CFLAGS-strfromf.c): Likewise.
24938 (CFLAGS-strfroml.c): Likewise.
24939 (CFLAGS-tst-bsearch.c): Likewise.
24940 (CFLAGS-tst-qsort.c): Likewise.
24941 (CFLAGS-tst-makecontext2.c): Likewise.
24942 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24943 (CFLAGS-xnlm_prot.c): Likewise.
24944 (CFLAGS-xrstat.c): Likewise.
24945 (CFLAGS-xyppasswd.c): Likewise.
24946 (CFLAGS-xklm_prot.c): Likewise.
24947 (CFLAGS-xrex.c): Likewise.
24948 (CFLAGS-xsm_inter.c): Likewise.
24949 (CFLAGS-xmount.c): Likewise.
24950 (CFLAGS-xrusers.c): Likewise.
24951 (CFLAGS-xspray.c): Likewise.
24952 (CFLAGS-xnfs_prot.c): Likewise.
24953 (CFLAGS-xrquota.c): Likewise.
24954 (CFLAGS-xkey_prot.c): Likewise.
24955 (CFLAGS-auth_unix.c): Likewise.
24956 (CFLAGS-key_call.c): Likewise.
24957 (CFLAGS-pmap_rmt.c): Likewise.
24958 (CFLAGS-clnt_perr.c): Likewise.
24959 (CFLAGS-openchild.c): Likewise.
24960 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24961 (CFLAGS-msgsnd.c): Likewise.
24962 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24963 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24964 (CFLAGS-tzset.c): Likewise.
24965 (CFLAGS-getdate.c): Likewise.
24966 (CFLAGS-test_time.c): Likewise.
24967 (CPPFLAGS-tst-tzname.c): Likewise.
24968 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24969 (CFLAGS-zic.c): Likewise.
24970 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24971 (CFLAGS-wcswidth.c): Likewise.
24972 (CFLAGS-wcstol.c): Likewise.
24973 (CFLAGS-wcstoul.c): Likewise.
24974 (CFLAGS-wcstoll.c): Likewise.
24975 (CFLAGS-wcstoull.c): Likewise.
24976 (CFLAGS-wcstod.c): Likewise.
24977 (CFLAGS-wcstold.c): Likewise.
24978 (CFLAGS-wcstof128.c): Likewise.
24979 (CFLAGS-wcstof.c): Likewise.
24980 (CFLAGS-wcstol_l.c): Likewise.
24981 (CFLAGS-wcstoul_l.c): Likewise.
24982 (CFLAGS-wcstoll_l.c): Likewise.
24983 (CFLAGS-wcstoull_l.c): Likewise.
24984 (CFLAGS-wcstod_l.c): Likewise.
24985 (CFLAGS-wcstold_l.c): Likewise.
24986 (CFLAGS-wcstof128_l.c): Likewise.
24987 (CFLAGS-wcstof_l.c): Likewise.
24988 (CPPFLAGS-tst-wchar-h.c): Likewise.
24989 (CPPFLAGS-wcstold_l.c): Likewise.
24991 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24993 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24995 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24996 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24998 * manual/tunables.texi (Hardware Capability Tunables): Document
24999 glibc.tune.cached_memopt.
25000 * sysdeps/powerpc/cpu-features.c: New file.
25001 * sysdeps/powerpc/cpu-features.h: New file.
25002 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25003 _dl_powerpc_cpu_features.
25004 * sysdeps/powerpc/dl-tunables.list: New file.
25005 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25006 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25007 (INIT_ARCH): Initialize use_aligned_memopt.
25008 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25009 IS_IN(rtld))]: Restrict dl_platform_init availability and
25010 initialize CPU features used by tunables.
25011 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25012 Add memcpy-power8-cached.
25013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25014 __memcpy_power8_cached.
25015 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25019 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25021 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25022 (CFLAGS-noinl-tester.c): Likewise.
25023 (CFLAGS-tst-strlen.c): Likewise.
25024 (CFLAGS-stratcliff.c): Likewise.
25025 (CFLAGS-test-ffs.c): Likewise.
25026 (CFLAGS-tst-inlcall.c): Likewise.
25027 (CFLAGS-tst-xbzero-opt.c): Likewise.
25028 (CFLAGS-memcpy.c): Likewise.
25029 (CFLAGS-wordcopy.c): Likewise.
25031 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25033 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25034 Store r15 on stack and add cfi rule.
25035 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25038 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25041 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25044 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25046 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25047 Add s_sinf-sse2 and s_sinf-fma.
25048 (CFLAGS-s_sinf-fma.c): New.
25049 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25050 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25051 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25053 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25055 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25057 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25060 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25061 part of result to imaginary part of argument if it is zero and the
25062 real part of the argument is not finite.
25063 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25064 of result to real part of argument if it is zero and the imaginary
25065 part of the argument is not finite.
25067 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25070 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25071 and to the list of locales to be built for testing.
25072 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25073 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25074 and build the collation rules upon that.
25076 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25078 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25079 * manual/math.texi (Mathematics): Document support for _Float32.
25080 * math/Makefile (test-types): Add float32.
25081 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25082 * stdlib/Versions (GLIBC_2.27): Likewise.
25083 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25084 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25086 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25088 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25090 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25091 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25096 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25097 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25098 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25100 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25101 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25103 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25104 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25106 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25107 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25108 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25109 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25110 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25135 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25146 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25151 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25152 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25153 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25155 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25157 * stdlib/strtof.c: Include <bits/floatn.h>
25158 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25159 and later undefine as macro. Define as weak alias if
25161 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25162 and later undefine as macro. Define as weak alias if
25164 * stdlib/strtof_l.c: Include <bits/floatn.h>
25165 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25166 and later undefine as macro. Define as weak alias if
25168 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25169 and later undefine as macro. Define as weak alias if
25172 * stdlib/strfromf.c: Include <bits/floatn.h>.
25173 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25174 and later undefine as macro and define as weak alias.
25176 * math/test-float32.h: New file.
25178 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25179 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25180 (libm_alias_float_other_r): Create f32 alias.
25181 (libm_alias_float_r): Use semicolon before call to
25182 libm_alias_float_other_r.
25184 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25185 second argument to libm_alias_float_other.
25186 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25187 second argument to libm_alias_float_other.
25188 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25189 argument to libm_alias_float_other.
25192 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25193 real part of result for argument 0 + i * NaN.
25194 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25195 results for tests of 0 + i * NaN.
25197 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25199 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25201 2017-12-06 David S. Miller <davem@davemloft.net>
25203 * sysdeps/sparc/fpu/libm-test-ulps: Update
25204 exp_{downward,towardzero,upward} ulps.
25206 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25208 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25211 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25213 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25220 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25223 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25224 and to the list of locales to be built for testing.
25225 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25226 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25227 and build the collation rules upon that.
25229 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25231 * NEWS: Add sinf to list of optimized functions.
25233 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25235 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25236 (__HAVE_FLOAT32X): Likewise.
25237 * manual/math.texi (Mathematics): Document support for _Float64
25239 * math/Makefile (test-types): Add float64 and float32x.
25240 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25242 * stdlib/Versions (GLIBC_2.27): Likewise.
25243 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25244 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25245 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25246 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25247 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25248 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25253 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25254 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25256 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25257 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25258 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25259 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25260 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25261 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25262 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25263 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25266 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25269 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25270 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25287 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25288 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25290 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25305 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25311 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25312 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25314 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25316 * bits/floatn-common.h: Include <bits/long-double.h>.
25317 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25318 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25319 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25320 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25321 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25322 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25323 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25324 (__builtin_huge_valf64): Use __builtin_huge_vall.
25325 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25326 (__builtin_inff64): Use __builtin_infl.
25327 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25328 (__builtin_nanf64): Use __builtin_nanl.
25329 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25330 (__builtin_nansf64): Use __builtin_nansl.
25332 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25333 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25334 Carlos O'Donell <carlos@redhat.com>
25336 * elf/dl-tunables.list: Add elision parameters.
25337 * manual/tunables.texi: Add entries about elision tunable.
25338 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25339 Add callback functions to dynamically enable/disable elision.
25340 Add multiple callbacks functions to set elision parameters.
25341 Deleted __libc_enable_secure check.
25342 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25343 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25344 * configure: Regenerated.
25345 * configure.ac: Option enable_lock_elision was deleted.
25346 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25347 * config.make.in: Remove references to enable_lock_elision.
25348 * manual/install.texi: Elision configure option was removed.
25349 * INSTALL: Regenerated to remove enable_lock_elision.
25351 Disable elision so it can verify error case for destroying a mutex.
25352 * sysdeps/powerpc/nptl/elide.h:
25353 Cleanup ENABLE_LOCK_ELISION check.
25354 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25355 * sysdeps/s390/configure: Regenerated.
25356 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25357 * nptl/tst-mutex8.c:
25358 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25359 * sysdeps/powerpc/powerpc32/sysdep.h:
25360 Deleted all ENABLE_LOCK_ELISION checks.
25361 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25362 * sysdeps/powerpc/sysdep.h: Likewise.
25363 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25364 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25365 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25366 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25367 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25368 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25369 enable-lock-elision.
25371 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25373 * stdlib/strtod.c: Include <bits/floatn.h>.
25374 (BUILD_DOUBLE): New macro.
25375 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25376 (strtof64): Define and later undefine as macro. Define as weak
25377 alias if [!USE_WIDE_CHAR].
25378 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25379 (wcstof64): Define and later undefine as macro. Define as weak
25380 alias if [USE_WIDE_CHAR].
25381 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25382 (strtof32x): Define and later undefine as macro. Define as weak
25383 alias if [!USE_WIDE_CHAR].
25384 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25385 (wcstof32x): Define and later undefine as macro. Define as weak
25386 alias if [USE_WIDE_CHAR].
25387 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25388 (BUILD_DOUBLE): New macro.
25389 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25390 (strtof64_l): Define and later undefine as macro. Define as weak
25391 alias if [!USE_WIDE_CHAR].
25392 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25393 (wcstof64_l): Define and later undefine as macro. Define as weak
25394 alias if [USE_WIDE_CHAR].
25395 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25396 (strtof32x_l): Define and later undefine as macro. Define as weak
25397 alias if [!USE_WIDE_CHAR].
25398 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25399 (wcstof32x_l): Define and later undefine as macro. Define as weak
25400 alias if [USE_WIDE_CHAR].
25402 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25404 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25405 (reduced): Use ones as double instead of integer.
25407 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25409 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25411 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25413 * stdlib/strfromd.c: Include <bits/floatn.h>.
25414 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25415 and later undefine as macro and define as weak alias.
25416 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25419 * math/test-float32x.h: New file.
25420 * math/test-float64.h: Likewise.
25422 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25423 (libm_alias_double_other_r_f64): New macro.
25424 (libm_alias_double_other_r_f32x): Likewise.
25425 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25426 libm_alias_double_other_r_f32x.
25427 (libm_alias_double_r): Use semicolon before call to
25428 libm_alias_double_other_r.
25429 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25431 (libm_alias_double_other_r_f64): New macro.
25432 (libm_alias_double_other_r_f32x): Likewise.
25433 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25434 libm_alias_double_other_r_f32x.
25436 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25438 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25440 (SINF_FUNC): Likewise. Replace floor with simple casts.
25442 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25445 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25446 and to the list of locales to be built for testing.
25447 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25448 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25449 and build the collation rules upon that.
25451 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25453 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25454 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25455 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25456 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25457 instead of __insn__xxx.
25458 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25459 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25460 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25461 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25462 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25463 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25465 2017-12-05 Florian Weimer <fweimer@redhat.com>
25467 Linux: Implement interfaces for memory protection keys
25468 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25470 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25471 * support/xunistd.h (xsysconf): Declare.
25472 * support/xraise.c: New file.
25473 * support/xsigaction.c: Likewise.
25474 * support/xsignal.c: Likewise.
25475 * support/xsysconf.c: Likewise.
25476 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25477 pkey_set, pkey_get, pkey_mprotect.
25478 [misc] (tests): Add tst-pkey.
25479 (tst-pkey): Link with -lpthread.
25480 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25481 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25483 (PKEY_DISABLE_WRITE): Define.
25484 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25486 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25487 (SEGV_PKUERR): Add.
25488 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25489 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25490 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25491 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25493 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25494 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25495 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25496 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25497 * sysdeps/unix/sysv/linux/**.abilist: Update.
25499 2017-12-05 Florian Weimer <fweimer@redhat.com>
25501 * support/tst-test_compare.c (subprocess): Use long long instead
25502 of long argument for consistent type width across 32-bit and
25503 64-bit architectures.
25504 (do_test): Adjust expected output.
25506 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25509 (cosf): Define using libm_alias_float.
25510 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25511 (fabsf): Define using libm_alias_float.
25512 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25513 (fmaf): Define using libm_alias_float.
25514 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25515 (rintf): Define using libm_alias_float.
25516 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25517 (sinf): Define using libm_alias_float.
25518 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25519 <libm-alias-float.h>.
25520 (modff): Define using libm_alias_float.
25521 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25522 <libm-alias-float.h>.
25523 (logbf): Define using libm_alias_float.
25524 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25525 <libm-alias-float.h>.
25526 (ceilf): Define using libm_alias_float.
25527 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25528 <libm-alias-float.h>.
25529 (copysignf): Define using libm_alias_float.
25530 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25531 <libm-alias-float.h>.
25532 (floorf): Define using libm_alias_float.
25533 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25534 <libm-alias-float.h>.
25535 (llrintf): Define using libm_alias_float.
25536 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25537 <libm-alias-float.h>.
25538 (llroundf): Define using libm_alias_float.
25539 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25540 <libm-alias-float.h>.
25541 (lrintf): Define using libm_alias_float.
25542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25543 <libm-alias-float.h>.
25544 (lroundf): Define using libm_alias_float.
25545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25546 <libm-alias-float.h>.
25547 (nearbyintf): Define using libm_alias_float.
25548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25549 <libm-alias-float.h>.
25550 (rintf): Define using libm_alias_float.
25551 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25552 <libm-alias-float.h>.
25553 (roundf): Define using libm_alias_float.
25554 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25555 <libm-alias-float.h>.
25556 (truncf): Define using libm_alias_float.
25557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25558 Include <libm-alias-float.h>.
25559 (ceilf): Define using libm_alias_float.
25560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25561 Include <libm-alias-float.h>.
25562 (copysignf): Define using libm_alias_float.
25563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25564 Include <libm-alias-float.h>.
25565 (floorf): Define using libm_alias_float.
25566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25567 Include <libm-alias-float.h>.
25568 (llrintf): Define using libm_alias_float.
25569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25570 Include <libm-alias-float.h>.
25571 (llroundf): Define using libm_alias_float.
25572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25573 Include <libm-alias-float.h>.
25574 (logbf): Define using libm_alias_float.
25575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25576 Include <libm-alias-float.h>.
25577 (lrintf): Define using libm_alias_float.
25578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25579 Include <libm-alias-float.h>.
25580 (lroundf): Define using libm_alias_float.
25581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25582 Include <libm-alias-float.h>.
25583 (modff): Define using libm_alias_float.
25584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25585 Include <libm-alias-float.h>.
25586 (roundf): Define using libm_alias_float.
25587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25588 Include <libm-alias-float.h>.
25589 (truncf): Define using libm_alias_float.
25590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25591 <libm-alias-float.h>.
25592 (llrintf): Define using libm_alias_float.
25593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25594 <libm-alias-float.h>.
25595 (llroundf): Define using libm_alias_float.
25596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25597 <libm-alias-float.h>.
25598 (ceilf): Define using libm_alias_float.
25599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25600 <libm-alias-float.h>.
25601 (floorf): Define using libm_alias_float.
25602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25603 <libm-alias-float.h>.
25604 (llroundf): Define using libm_alias_float.
25605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25606 <libm-alias-float.h>.
25607 (lroundf): Define using libm_alias_float.
25608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25609 <libm-alias-float.h>.
25610 (roundf): Define using libm_alias_float.
25611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25612 <libm-alias-float.h>.
25613 (truncf): Define using libm_alias_float.
25614 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25615 <libm-alias-float.h>.
25616 (copysignf): Define using libm_alias_float.
25617 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25618 <libm-alias-float.h>.
25619 (llrintf): Define using libm_alias_float.
25620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25621 <libm-alias-float.h>.
25622 (llroundf): Define using libm_alias_float.
25623 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25624 <libm-alias-float.h>.
25625 (lrintf): Define using libm_alias_float.
25626 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25627 <libm-alias-float.h>.
25628 (lroundf): Define using libm_alias_float.
25629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25630 <libm-alias-float.h>.
25631 (ceilf): Define using libm_alias_float.
25632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25633 <libm-alias-float.h>.
25634 (copysignf): Define using libm_alias_float.
25635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25636 <libm-alias-float.h>.
25637 (cosf): Define using libm_alias_float.
25638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25639 <libm-alias-float.h>.
25640 (floorf): Define using libm_alias_float.
25641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25642 <libm-alias-float.h>.
25643 (llrintf): Define using libm_alias_float.
25644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25645 <libm-alias-float.h>.
25646 (llroundf): Define using libm_alias_float.
25647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25648 <libm-alias-float.h>.
25649 (logbf): Define using libm_alias_float.
25650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25651 <libm-alias-float.h>.
25652 (modff): Define using libm_alias_float.
25653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25654 <libm-alias-float.h>.
25655 (roundf): Define using libm_alias_float.
25656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25657 <libm-alias-float.h>.
25658 (sinf): Define using libm_alias_float.
25659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25660 <libm-alias-float.h>.
25661 (truncf): Define using libm_alias_float.
25662 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25663 <libm-alias-float.h>.
25664 (ceilf): Define using libm_alias_float.
25665 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25666 <libm-alias-float.h>.
25667 (copysignf): Define using libm_alias_float.
25668 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25669 <libm-alias-float.h>.
25670 (floorf): Define using libm_alias_float.
25671 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25672 <libm-alias-float.h>.
25673 (llrintf): Define using libm_alias_float.
25674 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25675 <libm-alias-float.h>.
25676 (llroundf): Define using libm_alias_float.
25677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25678 <libm-alias-float.h>.
25679 (nearbyintf): Define using libm_alias_float.
25680 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25681 <libm-alias-float.h>.
25682 (rintf): Define using libm_alias_float.
25683 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25684 <libm-alias-float.h>.
25685 (roundf): Define using libm_alias_float.
25686 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25687 <libm-alias-float.h>.
25688 (truncf): Define using libm_alias_float.
25689 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25690 <libm-alias-float.h>.
25691 (ceilf): Define using libm_alias_float.
25692 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25693 <libm-alias-float.h>.
25694 (floorf): Define using libm_alias_float.
25695 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25696 <libm-alias-float.h>.
25697 (llroundf): Define using libm_alias_float.
25698 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25699 <libm-alias-float.h>.
25700 (roundf): Define using libm_alias_float.
25701 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25702 <libm-alias-float.h>.
25703 (truncf): Define using libm_alias_float.
25704 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25705 <libm-alias-float.h>.
25706 (copysignf): Define using libm_alias_float.
25707 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25708 <libm-alias-float.h>.
25709 (llrintf): Define using libm_alias_float.
25710 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25711 <libm-alias-float.h>.
25712 (llroundf): Define using libm_alias_float.
25713 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25714 <libm-alias-float.h>.
25715 (cosf): Define using libm_alias_float.
25716 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25717 <libm-alias-float.h>.
25718 (llrintf): Define using libm_alias_float.
25719 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25720 <libm-alias-float.h>.
25721 (llroundf): Define using libm_alias_float.
25722 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25723 <libm-alias-float.h>.
25724 (sinf): Define using libm_alias_float.
25726 2017-12-04 Florian Weimer <fweimer@redhat.com>
25728 * support/check.h (TEST_COMPARE): Define.
25729 (support_test_compare_failure): Declare.
25730 * support/Makefile (libsupport-routines): Add
25731 support_test_compare_failure.
25732 (tests): Add tst-test_compare.
25733 * support /support_test_compare_failure.c: New file.
25734 * support/tst-test_compare.c: Likewise.
25736 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25739 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25740 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25741 available, this rewrite of the collation rules does reproduce
25742 the test file in the same order.
25744 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25747 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25748 digraphs in the month and day names. Using single code points for
25749 digraphs is deprecated. While there are dedicated Unicode
25750 codepoints, for the digraphs, these are included for backwards
25751 compatibility and modern texts use a sequence of Basic Latin
25752 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25753 This makes the month and day names agree exactly with CLDR now,
25754 CLDR does not use the single code points for the digraphs either.
25756 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25758 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25760 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25762 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25765 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25767 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25768 Define only for libc.so.
25770 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25773 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25774 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25775 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25778 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25781 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25783 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25786 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25787 PREINIT_FUNCTION_WEAK is nonzero.
25788 (gmon_initializer): New function. Put procedure label for it in
25789 .init_array section.
25790 (_init): Don't call PREINIT_FUNCTION.
25791 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25792 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25793 value when map argument is null.
25795 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25796 depi instruction from PIC pc-relative sequence.
25797 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25798 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25799 (elf_machine_load_address): Likewise.
25800 (elf_machine_runtime_setup): Likewise.
25802 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25805 <libm-alias-double.h>.
25806 (logb): Define using libm_alias_double.
25807 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25808 <libm-alias-double.h>.
25809 (copysign): Define using libm_alias_double.
25810 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25811 <libm-alias-double.h>.
25812 (llrint): Define using libm_alias_double.
25813 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25814 <libm-alias-double.h>.
25815 (llround): Define using libm_alias_double.
25816 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25817 <libm-alias-double.h>.
25818 (lrint): Define using libm_alias_double.
25819 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25820 <libm-alias-double.h>.
25821 (lround): Define using libm_alias_double.
25822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25823 Include <libm-alias-double.h>.
25824 (copysign): Define using libm_alias_double.
25825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25826 Include <libm-alias-double.h>.
25827 (llrint): Define using libm_alias_double.
25828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25829 Include <libm-alias-double.h>.
25830 (llround): Define using libm_alias_double.
25831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25832 <libm-alias-double.h>.
25833 (logb): Define using libm_alias_double.
25834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25835 Include <libm-alias-double.h>.
25836 (lrint): Define using libm_alias_double.
25837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25838 Include <libm-alias-double.h>.
25839 (lround): Define using libm_alias_double.
25840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25841 <libm-alias-double.h>.
25842 (llrint): Define using libm_alias_double.
25843 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25844 <libm-alias-double.h>.
25845 (llround): Define using libm_alias_double.
25846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25847 <libm-alias-double.h>.
25848 (llround): Define using libm_alias_double.
25849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25850 <libm-alias-double.h>.
25851 (lround): Define using libm_alias_double.
25852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25853 <libm-alias-double.h>.
25854 (copysign): Define using libm_alias_double.
25855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25856 <libm-alias-double.h>.
25857 (llrint): Define using libm_alias_double.
25858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25859 <libm-alias-double.h>.
25860 (llround): Define using libm_alias_double.
25861 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25862 <libm-alias-double.h>.
25863 (lrint): Define using libm_alias_double.
25864 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25865 <libm-alias-double.h>.
25866 (lround): Define using libm_alias_double.
25867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25868 <libm-alias-double.h>.
25869 (copysign): Define using libm_alias_double.
25870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25871 <libm-alias-double.h>.
25872 (llrint): Define using libm_alias_double.
25874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25875 <libm-alias-double.h>.
25876 (llround): Define using libm_alias_double.
25877 (lround): Likewise.
25878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25879 <libm-alias-double.h>.
25880 (logb): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25882 <libm-alias-double.h>.
25883 (copysign): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25885 <libm-alias-double.h>.
25886 (llrint): Define using libm_alias_double.
25888 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25889 <libm-alias-double.h>.
25890 (llround): Define using libm_alias_double.
25891 (lround): Likewise.
25892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25893 <libm-alias-double.h>.
25894 (llround): Define using libm_alias_double.
25895 (lround): Likewise.
25896 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25897 <libm-alias-double.h>.
25898 (copysign): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25900 <libm-alias-double.h>.
25901 (llrint): Define using libm_alias_double.
25903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25904 <libm-alias-double.h>.
25905 (llround): Define using libm_alias_double.
25906 (lround): Likewise.
25907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25908 <libm-alias-double.h>.
25909 (llrint): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25912 <libm-alias-double.h>.
25913 (llround): Define using libm_alias_double.
25914 (lround): Likewise.
25916 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25919 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25920 compat symbol based on llround.
25922 * sysdeps/powerpc/power7/fpu/s_logb.c
25923 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25924 symbol based on __logb, not on logb.
25925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25926 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25928 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25930 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25931 (rint): Define using libm_alias_double.
25932 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25933 <libm-alias-double.h>.
25934 (modf): Define using libm_alias_double.
25935 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25936 <libm-alias-double.h>.
25937 (ceil): Define using libm_alias_double.
25938 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25939 <libm-alias-double.h>.
25940 (floor): Define using libm_alias_double.
25941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25942 <libm-alias-double.h>.
25943 (nearbyint): Define using libm_alias_double.
25944 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25945 <libm-alias-double.h>.
25946 (rint): Define using libm_alias_double.
25947 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25948 <libm-alias-double.h>.
25949 (round): Define using libm_alias_double.
25950 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25951 <libm-alias-double.h>.
25952 (trunc): Define using libm_alias_double.
25953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25954 <libm-alias-double.h>.
25955 (ceil): Define using libm_alias_double.
25956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25957 Include <libm-alias-double.h>.
25958 (floor): Define using libm_alias_double.
25959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25960 <libm-alias-double.h>.
25961 (modf): Define using libm_alias_double.
25962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25963 Include <libm-alias-double.h>.
25964 (round): Define using libm_alias_double.
25965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25966 Include <libm-alias-double.h>.
25967 (trunc): Define using libm_alias_double.
25968 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25969 <libm-alias-double.h>.
25970 (ceil): Define using libm_alias_double.
25971 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25972 <libm-alias-double.h>.
25973 (floor): Define using libm_alias_double.
25974 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25975 <libm-alias-double.h>.
25976 (round): Define using libm_alias_double.
25977 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25978 <libm-alias-double.h>.
25979 (trunc): Define using libm_alias_double.
25980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25981 <libm-alias-double.h>.
25982 (ceil): Define using libm_alias_double.
25983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25984 <libm-alias-double.h>.
25985 (floor): Define using libm_alias_double.
25986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25987 <libm-alias-double.h>.
25988 (modf): Define using libm_alias_double.
25989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25990 <libm-alias-double.h>.
25991 (round): Define using libm_alias_double.
25992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25993 <libm-alias-double.h>.
25994 (trunc): Define using libm_alias_double.
25995 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25996 <libm-alias-double.h>.
25997 (ceil): Define using libm_alias_double.
25998 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25999 <libm-alias-double.h>.
26000 (floor): Define using libm_alias_double.
26001 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26002 <libm-alias-double.h>.
26003 (nearbyint): Define using libm_alias_double.
26004 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26005 <libm-alias-double.h>.
26006 (rint): Define using libm_alias_double.
26007 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26008 <libm-alias-double.h>.
26009 (round): Define using libm_alias_double.
26010 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26011 <libm-alias-double.h>.
26012 (trunc): Define using libm_alias_double.
26013 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26014 <libm-alias-double.h>.
26015 (ceil): Define using libm_alias_double.
26016 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26017 <libm-alias-double.h>.
26018 (floor): Define using libm_alias_double.
26019 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26020 <libm-alias-double.h>.
26021 (round): Define using libm_alias_double.
26022 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26023 <libm-alias-double.h>.
26024 (trunc): Define using libm_alias_double.
26026 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26027 (fabs): Define using libm_alias_double.
26028 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26029 (fma): Define using libm_alias_double.
26030 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26031 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26032 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26033 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26035 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26037 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26039 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26040 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26041 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26044 due redirect macro.
26046 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26048 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26050 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26052 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26053 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26054 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26055 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26058 (libm-sysdep_routines): Add s_nearbyintf-generic and
26059 s_nearbyint-generic.
26060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26073 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26084 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26095 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26106 (sysdep_calls): New rule.
26107 (sysdep_routines): Use sysdep_calls as base.
26108 (libm-sysdep_routines): Add generic rule for symbols shared with
26109 libc. Add s_copysign-generic and s_copysign-generic objects.
26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26119 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26122 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26123 the list of locales to be built for testing.
26124 * localedata/is_IS.UTF-8.in: New file.
26125 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26128 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26130 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26131 <libm-alias-float.h>.
26132 (fabsf): Define using libm_alias_float.
26134 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26136 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26138 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26140 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26141 <libm-alias-float.h>.
26142 (fabsf): Define using libm_alias_float.
26143 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26144 <libm-alias-float.h>.
26145 (lrintf): Define using libm_alias_float.
26146 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26147 <libm-alias-float.h>.
26148 (rintf): Define using libm_alias_float.
26150 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26151 <libm-alias-double.h>.
26152 (fabs): Define using libm_alias_double.
26153 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26154 <libm-alias-double.h>.
26155 (lrint): Define using libm_alias_double.
26156 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26157 <libm-alias-double.h>.
26158 (rint): Define using libm_alias_double.
26160 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26161 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26162 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26163 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26164 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26165 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26166 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26167 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26168 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26169 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26170 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26171 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26172 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26173 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26174 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26175 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26176 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26177 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26179 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26180 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26181 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26183 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26184 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26185 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26187 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26188 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26189 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26190 s_expm1_template.c.
26191 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26192 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26193 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26195 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26196 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26197 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26198 s_floor_template.c.
26199 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26200 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26201 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26202 s_frexp_template.c.
26203 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26204 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26205 s_lrint_template.c.
26206 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26207 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26208 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26210 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26211 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26212 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26213 s_nearbyint_template.c.
26214 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26215 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26216 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26217 s_remquo_template.c.
26218 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26219 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26220 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26222 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26223 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26224 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26226 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26228 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26229 s_sincos_template.c.
26230 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26231 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26232 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26234 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26235 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26236 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26238 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26239 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26240 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26241 s_trunc_template.c.
26242 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26243 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26244 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26245 s_atan.c instead of including s_atan.c.
26246 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26247 s_atanf.c instead of including s_atanf.c.
26248 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26249 s_atanl.c instead of including s_atanl.c.
26250 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26251 instead of s_atan.c.
26252 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26253 instead of s_atanf.c.
26254 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26255 instead of s_atanl.c.
26257 * scripts/update-copyrights: Do not handle intl/plural.c
26260 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26263 * configure.ac (BISON): Require to be present.
26264 * configure: Regenerated.
26265 * intl/Makefile (generated): Add plural.c.
26266 [$(BISON) != no]: Make code unconditional.
26267 (plural.c): Change rule to $(objpfx)plural.c.
26268 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26269 * intl/plural.c: Remove.
26270 * manual/install.texi (Tools for Compilation): Document bison as
26272 * INSTALL: Regenerated.
26274 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26276 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26277 <libm-alias-double.h>.
26278 (llrint): Define using libm_alias_double.
26279 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26280 <libm-alias-float.h>.
26281 (llrintf): Define using libm_alias_float.
26282 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26283 <libm-alias-ldouble.h>.
26284 (llrintl): Define using libm_alias_ldouble.
26286 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26287 declare_mgen_alias instead of weak_alias.
26288 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26289 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26290 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26292 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26294 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26296 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26297 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26298 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26300 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26301 Add submul_1-generic.
26302 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26303 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26304 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26306 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26307 Add addmul_1-generic.
26308 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26309 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26310 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26312 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26314 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26315 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26316 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26318 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26320 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26321 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26322 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26324 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26326 According to CLDR, collation rules for Serbian and Bosnian
26327 should be the same as for Croatian.
26330 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26331 and to the list of locales to be built for testing.
26332 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26333 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26334 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26335 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26337 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26339 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26340 to make test case pass.
26341 * localedata/hr_HR.UTF-8.in: Add more test strings.
26343 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26345 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26347 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26349 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26350 the list of locales to built for testing.
26351 * localedata/hr_HR.UTF-8.in: New file.
26353 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26356 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26358 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26359 CLDR (except use ligatures for the digraphs, CLDR does not use
26360 the ligatures), add first_workday, some fixes in the date and time
26362 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26364 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26365 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26366 Add int_p_cs_precedes and int_n_cs_precedes.
26367 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26368 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26370 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26371 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26373 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26374 and lang_lib. Change postal_fmt.
26376 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26378 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26380 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26381 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26382 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26383 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26384 * sysdeps/generic/setjmpP.h: New file.
26385 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26386 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26387 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26388 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26389 Add jmp_buf-ssp.sym.
26390 (tests): Add tst-saved_mask-1.
26392 2017-11-30 Arjun Shankar <arjun@redhat.com>
26396 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26397 instead of request2size.
26399 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26402 (__lllrint): Remove alias.
26403 (lllrint): Likewise.
26404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26405 (__lllrintf): Likewise.
26406 (lllrintf): Likewise.
26408 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26409 <libm-alias-float.h>.
26410 (copysignf): Define using libm_alias_float.
26411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26412 <libm-alias-float.h>.
26413 (fabsf): Define using libm_alias_float.
26414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26415 Include <libm-alias-float.h>.
26416 (copysignf): Define using libm_alias_float.
26417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26418 <libm-alias-float.h>.
26419 (fabsf): Define using libm_alias_float.
26420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26421 <libm-alias-float.h>.
26422 (fdimf): Define using libm_alias_float.
26423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26424 <libm-alias-float.h>.
26425 (fmaf): Define using libm_alias_float.
26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26427 <libm-alias-float.h>.
26428 (llrintf): Define using libm_alias_float.
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26430 Include <libm-alias-float.h>.
26431 (nearbyintf): Define using libm_alias_float.
26432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26433 <libm-alias-float.h>.
26434 (rintf): Define using libm_alias_float.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26436 <libm-alias-float.h>.
26437 (llrintf): Define using libm_alias_float.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26439 <libm-alias-float.h>.
26440 (lrintf): Define using libm_alias_float.
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26442 <libm-alias-float.h>.
26443 (nearbyintf): Define using libm_alias_float.
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26445 <libm-alias-float.h>.
26446 (rintf): Define using libm_alias_float.
26447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26448 <libm-alias-float.h>.
26449 (ceilf): Define using libm_alias_float.
26450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26451 <libm-alias-float.h>.
26452 (floorf): Define using libm_alias_float.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26454 <libm-alias-float.h>.
26455 (fmaf): Define using libm_alias_float.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26457 <libm-alias-float.h>.
26458 (lrintf): Define using libm_alias_float.
26459 (llrintf): Likewise.
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26461 <libm-alias-float.h>.
26462 (nearbyintf): Define using libm_alias_float.
26463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26464 <libm-alias-float.h>.
26465 (rintf): Define using libm_alias_float.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26467 <libm-alias-float.h>.
26468 (truncf): Define using libm_alias_float.
26469 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26470 <libm-alias-float.h>.
26471 (copysignf): Define using libm_alias_float.
26472 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26473 <libm-alias-float.h>.
26474 (fabsf): Define using libm_alias_float.
26475 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26476 <libm-alias-float.h>.
26477 (lrintf): Define using libm_alias_float.
26478 (llrintf): Likewise.
26479 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26480 <libm-alias-float.h>.
26481 (nearbyintf): Define using libm_alias_float.
26482 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26483 <libm-alias-float.h>.
26484 (rintf): Define using libm_alias_float.
26486 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26488 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26489 <libm-alias-double.h>.
26490 (copysign): Define using libm_alias_double.
26491 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26492 <libm-alias-double.h>.
26493 (fabs): Define using libm_alias_double.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26495 Include <libm-alias-double.h>.
26496 (copysign): Define using libm_alias_double.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26498 <libm-alias-double.h>.
26499 (fabs): Define using libm_alias_double.
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26501 <libm-alias-double.h>.
26502 (fdim): Define using libm_alias_double.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26504 <libm-alias-double.h>.
26505 (fma): Define using libm_alias_double.
26506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26507 <libm-alias-double.h>.
26508 (llrint): Define using libm_alias_double.
26509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26510 Include <libm-alias-double.h>.
26511 (nearbyint): Define using libm_alias_double.
26512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26513 <libm-alias-double.h>.
26514 (rint): Define using libm_alias_double.
26515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26516 <libm-alias-double.h>.
26517 (fabs): Define using libm_alias_double.
26518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26519 <libm-alias-double.h>.
26520 (llrint): Define using libm_alias_double.
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26522 <libm-alias-double.h>.
26523 (nearbyint): Define using libm_alias_double.
26524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26525 <libm-alias-double.h>.
26526 (rint): Define using libm_alias_double.
26527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26528 <libm-alias-double.h>.
26529 (ceil): Define using libm_alias_double.
26530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26531 <libm-alias-double.h>.
26532 (floor): Define using libm_alias_double.
26533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26534 <libm-alias-double.h>.
26535 (fma): Define using libm_alias_double.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26537 <libm-alias-double.h>.
26538 (lrint): Define using libm_alias_double.
26539 (llrint): Likewise.
26540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26541 <libm-alias-double.h>.
26542 (nearbyint): Define using libm_alias_double.
26543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26544 <libm-alias-double.h>.
26545 (rint): Define using libm_alias_double.
26546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26547 <libm-alias-double.h>.
26548 (trunc): Define using libm_alias_double.
26549 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26550 <libm-alias-double.h>.
26551 (copysign): Define using libm_alias_double.
26552 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26553 <libm-alias-double.h>.
26554 (fabs): Define using libm_alias_double.
26555 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26556 <libm-alias-double.h>.
26557 (lrint): Define using libm_alias_double.
26558 (llrint): Likewise.
26559 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26560 <libm-alias-double.h>.
26561 (nearbyint): Define using libm_alias_double.
26562 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26563 <libm-alias-double.h>.
26564 (rint): Define using libm_alias_double.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26569 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26571 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26572 SPARC --disable-multi-arch glibc variants.
26574 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26575 <libm-alias-float.h>.
26576 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26578 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26579 <libm-alias-float.h>.
26580 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26582 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26583 <libm-alias-float.h>.
26584 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26586 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26587 <libm-alias-float.h>.
26588 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26590 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26591 <libm-alias-float.h>.
26592 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26594 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26595 <libm-alias-float.h>.
26596 (ceilf): Define using libm_alias_float.
26597 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26598 <libm-alias-float.h>.
26599 (floorf): Define using libm_alias_float.
26600 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26601 <libm-alias-float.h>.
26602 (fmaf): Define using libm_alias_float.
26603 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26604 <libm-alias-float.h>.
26605 (nearbyintf): Define using libm_alias_float.
26606 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26607 <libm-alias-float.h>.
26608 (rintf): Define using libm_alias_float.
26609 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26610 <libm-alias-float.h>.
26611 (truncf): Define using libm_alias_float.
26612 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26613 (copysignf): Define using libm_alias_float.
26614 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26615 (cosf): Define using libm_alias_float.
26616 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26617 (fabsf): Define using libm_alias_float.
26618 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26619 (fmaxf): Define using libm_alias_float.
26620 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26621 (fminf): Define using libm_alias_float.
26622 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26623 (llrintf): Define using libm_alias_float.
26624 [!__ILP32__] (lrintf): Likewise.
26625 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26626 (sincosf): Define using libm_alias_float.
26627 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26628 (sinf): Define using libm_alias_float.
26629 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26630 (lrintf): Define using libm_alias_float.
26632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26633 <libm-alias-double.h>.
26634 (atan): Define using libm_alias_double.
26635 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26636 <libm-alias-double.h>.
26637 (ceil): Define using libm_alias_double.
26638 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26639 <libm-alias-double.h>.
26640 (floor): Define using libm_alias_double.
26641 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26642 <libm-alias-double.h>.
26643 (fma): Define using libm_alias_double.
26644 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26645 <libm-alias-double.h>.
26646 (nearbyint): Define using libm_alias_double.
26647 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26648 <libm-alias-double.h>.
26649 (rint): Define using libm_alias_double.
26650 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26651 <libm-alias-double.h>.
26652 (sin): Define using libm_alias_double.
26654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26655 <libm-alias-double.h>.
26656 (tan): Define using libm_alias_double.
26657 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26658 <libm-alias-double.h>.
26659 (trunc): Define using libm_alias_double.
26660 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26661 (copysign): Define using libm_alias_double.
26662 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26663 (fabs): Define using libm_alias_double.
26664 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26665 (fmax): Define using libm_alias_double.
26666 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26667 (fmin): Define using libm_alias_double.
26668 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26669 (llrint): Define using libm_alias_double.
26670 [!__ILP32__] (lrint): Likewise.
26671 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26672 (lrint): Define using libm_alias_double.
26674 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26677 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26687 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26697 (libm-sysdep_routines): Add s_nearbyint-generic and
26698 s_nearbyintf-generic objects.
26699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26700 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26707 Add s_finitef-generic and s_finite-generic objects.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26716 Add s_isinff-generic and s_isinf-generic objects.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26725 Add s_isnanf-generic and s_isnan-generic objects.
26726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26733 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26737 (sysdep_routines): Use sysdep_calls as base.
26738 (libm-sysdep_routines): Add generic rule for symbols shared with
26739 libc. Add s_signbit-generic and s_signbitf-generic objects.
26740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26747 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26749 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26750 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26751 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26752 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26753 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26754 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26755 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26756 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26757 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26758 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26759 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26760 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26761 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26762 libm_alias_float_r.
26763 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26764 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26766 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26767 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26768 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26769 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26770 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26771 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26772 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26773 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26774 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26775 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26777 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26779 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26780 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26781 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26782 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26783 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26784 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26785 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26786 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26787 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26788 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26789 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26790 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26791 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26792 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26793 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26794 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26795 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26796 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26797 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26799 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26800 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26801 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26802 * sysdeps/ia64/fpu/w_lgammaf_main.c
26803 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26804 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26806 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26807 Alexandre Oliva <aoliva@redhat.com>
26810 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26811 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26813 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26815 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26816 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26817 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26818 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26819 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26820 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26821 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26822 instead of “ifdef DIACRIT_BACKWARD”.
26824 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26826 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26827 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26828 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26829 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26830 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26831 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26839 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26840 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26841 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26842 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26843 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26845 ($(have-as-vis3) == yes): Remove conditional.
26846 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26862 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26863 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26865 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26867 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26868 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26869 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26870 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26871 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26872 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26873 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26874 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26875 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26876 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26877 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26878 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26879 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26880 libm_alias_double_r.
26881 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26883 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26884 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26885 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26886 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26887 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26888 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26889 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26890 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26891 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26892 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26893 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26895 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26897 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26898 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26899 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26900 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26901 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26902 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26903 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26904 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26905 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26906 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26907 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26908 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26909 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26910 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26911 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26912 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26913 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26914 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26916 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26917 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26918 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26919 * sysdeps/ia64/fpu/w_lgamma_main.c
26920 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26921 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26923 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26925 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26926 address of $global$ into %dp register earlier. Use pc-relative
26927 instruction sequence for PIC case.
26929 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26931 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26932 (asinhf): Define using libm_alias_float.
26933 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26934 (atanf): Define using libm_alias_float.
26935 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26936 (cbrtf): Define using libm_alias_float.
26937 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26938 (ceilf): Define using libm_alias_float.
26939 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26940 (copysignf): Define using libm_alias_float.
26941 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26942 (expm1f): Define using libm_alias_float.
26943 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26944 (fabsf): Define using libm_alias_float.
26945 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26946 (floorf): Define using libm_alias_float.
26947 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26948 (fmaxf): Define using libm_alias_float.
26949 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26950 (fminf): Define using libm_alias_float.
26951 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26952 (frexpf): Define using libm_alias_float.
26953 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26954 (llrintf): Define using libm_alias_float.
26955 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26956 (logbf): Define using libm_alias_float.
26957 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26958 (lrintf): Define using libm_alias_float.
26959 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26960 (nearbyintf): Define using libm_alias_float.
26961 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26962 (remquof): Define using libm_alias_float.
26963 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26964 (rintf): Define using libm_alias_float.
26965 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26966 (truncf): Define using libm_alias_float.
26967 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26968 <libm-alias-float.h>.
26969 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26971 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26972 <libm-alias-float.h>.
26973 (expf): Define using libm_alias_float, or libm_alias_float_other
26975 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26976 <libm-alias-float.h>.
26977 (log2f): Define using libm_alias_float, or libm_alias_float_other
26979 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26980 <libm-alias-float.h>.
26981 (logf): Define using libm_alias_float, or libm_alias_float_other
26983 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26984 <libm-alias-float.h>.
26985 (powf): Define using libm_alias_float, or libm_alias_float_other
26987 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26988 <libm-alias-float.h>.
26989 (cosf): Define using libm_alias_float.
26990 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26991 <libm-alias-float.h>.
26992 (sincosf): Define using libm_alias_float.
26993 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26994 <libm-alias-float.h>.
26995 (sinf): Define using libm_alias_float.
26996 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26997 (fmaxf): Define using libm_alias_float.
26998 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26999 (fminf): Define using libm_alias_float.
27000 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27001 <libm-alias-float.h>.
27002 (fmaf): Define using libm_alias_float.
27004 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27005 (asinh): Define using libm_alias_double.
27006 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27007 (atan): Define using libm_alias_double.
27008 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27009 (cbrt): Define using libm_alias_double.
27010 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27011 (ceil): Define using libm_alias_double.
27012 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27013 (copysign): Define using libm_alias_double.
27014 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27015 (expm1): Define using libm_alias_double.
27016 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27017 (fabs): Define using libm_alias_double.
27018 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27019 (fdim): Define using libm_alias_double.
27020 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27021 (floor): Define using libm_alias_double.
27022 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27023 (fmax): Define using libm_alias_double.
27024 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27025 (fmin): Define using libm_alias_double.
27026 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27027 (frexp): Define using libm_alias_double.
27028 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27029 (llrint): Define using libm_alias_double.
27030 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27031 (logb): Define using libm_alias_double.
27032 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27033 (lrint): Define using libm_alias_double.
27034 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27035 (nearbyint): Define using libm_alias_double.
27036 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27037 (remquo): Define using libm_alias_double.
27038 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27039 (rint): Define using libm_alias_double.
27040 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27041 (trunc): Define using libm_alias_double.
27042 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27043 (fmax): Define using libm_alias_double.
27044 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27045 (fmin): Define using libm_alias_double.
27046 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27047 (fma): Define using libm_alias_double.
27049 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27052 * elf/dl-hwcaps.c (ROUND): Removed.
27053 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27054 and ELF_NOTE_NEXT_OFFSET.
27055 * elf/dl-load.c (ROUND): Removed.
27056 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27057 * elf/readelflib.c (ROUND): Removed.
27058 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27059 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27060 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27061 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27063 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27065 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27066 [!__fmaf] (fmaf): Define using libm_alias_float.
27068 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27069 [!__fma] (fma): Define using libm_alias_double.
27070 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27072 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27075 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27076 and implement the collation rules for cs from CLDR on top of that.
27077 * Makefile: Add cs_CZ.UTF-8 to test-input.
27078 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27080 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27082 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27084 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27085 Icarus Sparry <icarus.w.sparry@intel.com>
27087 * benchtests/Makefile:Add BENCHSET to allow subsets of
27088 benchmarks to be run.
27089 * benchtests/README: Add documentation for: Running subsets of
27092 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27094 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27095 range of tests names.
27097 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27098 result from property and remove "max", min" and "mean" from
27099 required properties based on benchtests/bench-skeleton.c.
27101 2017-11-28 Florian Weimer <fweimer@redhat.com>
27104 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27105 due to Internet requirement.
27106 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27108 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27110 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27112 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27113 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27114 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27115 (sysdep_routines): Add memset-ultra1.
27116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27118 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27119 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27120 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27121 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27122 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27123 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27124 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27125 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27127 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27129 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27130 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27131 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27132 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27133 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27134 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27135 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27138 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27139 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27140 (sysdep_routines): Add memcpy-ultra1.
27141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27142 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27144 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27146 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27147 (cfloat_versions): Take function argument without trailing 'f'.
27148 Call libm_alias_float_other.
27149 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27150 * sysdeps/alpha/fpu/cargf.c: Likewise.
27151 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27152 * sysdeps/alpha/fpu/conjf.c: Likewise.
27153 * sysdeps/alpha/fpu/crealf.c: Likewise.
27154 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27155 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27156 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27157 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27158 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27159 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27160 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27161 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27162 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27163 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27164 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27165 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27166 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27167 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27168 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27169 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27170 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27171 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27172 (clog10f): Use libm_alias_float_other.
27173 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27174 (ceilf): Define using libm_alias_float.
27175 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27176 (copysignf): Define using libm_alias_float.
27177 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27178 (fabsf): Define using libm_alias_float.
27179 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27180 (floorf): Define using libm_alias_float.
27181 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27182 (fmaxf): Define using libm_alias_float.
27183 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27184 (fminf): Define using libm_alias_float.
27185 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27186 (lrintf): Define using libm_alias_float.
27187 (llrintf): Likewise.
27188 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27189 (lroundf): Define using libm_alias_float.
27190 (llroundf): Likewise.
27191 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27192 (rintf): Define using libm_alias_float.
27193 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27194 (truncf): Define using libm_alias_float.
27196 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27197 (ceilf): Define using libm_alias_float.
27198 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27199 (floorf): Define using libm_alias_float.
27200 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27201 (fmaf): Define using libm_alias_float.
27202 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27203 (fmaxf): Define using libm_alias_float.
27204 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27205 (fminf): Define using libm_alias_float.
27206 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27207 (llrintf): Define using libm_alias_float.
27208 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27209 (llroundf): Define using libm_alias_float.
27210 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27211 (lrintf): Define using libm_alias_float.
27212 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27213 (lroundf): Define using libm_alias_float.
27214 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27215 <libm-alias-float.h>.
27216 (nearbyintf): Define using libm_alias_float.
27217 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27218 (rintf): Define using libm_alias_float.
27219 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27220 (roundf): Define using libm_alias_float.
27221 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27222 (truncf): Define using libm_alias_float.
27224 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27225 (ceil): Define using libm_alias_double.
27226 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27227 (copysign): Define using libm_alias_double.
27228 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27229 (fabs): Define using libm_alias_double.
27230 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27231 (floor): Define using libm_alias_double.
27232 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27233 (fmax): Define using libm_alias_double.
27234 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27235 (fmin): Define using libm_alias_double.
27236 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27237 (lrint): Define using libm_alias_double.
27238 (llrint): Likewise.
27239 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27240 (lround): Define using libm_alias_double.
27241 (llround): Likewise.
27242 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27243 (rint): Define using libm_alias_double.
27244 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27245 (trunc): Define using libm_alias_double.
27247 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27248 (libm_alias_double_r): Add semicolon after weak_alias call.
27250 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27252 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27253 (ceil): Define using libm_alias_double.
27254 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27255 (floor): Define using libm_alias_double.
27256 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27257 (fma): Define using libm_alias_double.
27258 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27259 (fmax): Define using libm_alias_double.
27260 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27261 (fmin): Define using libm_alias_double.
27262 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27263 (llrint): Define using libm_alias_double.
27264 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27265 (llround): Define using libm_alias_double.
27266 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27267 (lrint): Define using libm_alias_double.
27268 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27269 (lround): Define using libm_alias_double.
27270 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27271 (nearbyint): Define using libm_alias_double.
27272 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27273 (rint): Define using libm_alias_double.
27274 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27275 (round): Define using libm_alias_double.
27276 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27277 (trunc): Define using libm_alias_double.
27279 2017-11-27 Florian Weimer <fweimer@redhat.com>
27281 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27282 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27283 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27284 (tests): Add tst-mlock2.
27285 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27287 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27288 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27289 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27290 for mlock. Document mlock2.
27292 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27294 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27295 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27297 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27299 * sysdeps/x86/Makeconfig: New file.
27300 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27301 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27302 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27303 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27304 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27305 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27306 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27308 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27309 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27310 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27311 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27312 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27313 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27314 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27315 * manual/math.texi (Mathematics): Document support for _Float64x.
27316 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27317 * stdlib/Versions (GLIBC_2.27): Likewise.
27318 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27319 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27321 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27322 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27323 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27325 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27326 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27327 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27335 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27338 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27342 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27345 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27346 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27347 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27349 2017-11-27 Andreas Schwab <schwab@suse.de>
27351 * elf/Makefile (dl-routines): Add dl-sort-maps.
27352 * elf/dl-sort-maps.c: New file.
27353 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27354 (_dl_sort_maps): Declare.
27355 * elf/dl-fini.c (_dl_sort_fini): Remove.
27356 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27357 * elf/dl-close.c (_dl_close_worker): Likewise.
27358 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27360 * elf/dl-open.c (dl_open_worker): Likewise.
27362 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27365 using libm_alias_float128.
27366 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27368 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27370 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27371 (setpayloadsigf128): Likewise.
27372 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27374 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27377 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27378 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27379 -mfloat128 to CFLAGS.
27381 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27383 (CFLAGS-libm-test-support-float64x.c): New variable.
27384 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27385 $(f128-loader-link) to gnulib-tests.
27387 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27388 (libm_alias_float128_other_r): If
27389 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27391 (libm_alias_float128_r): Add semicolon after weak_alias call.
27392 * sysdeps/generic/libm-alias-ldouble.h
27393 (libm_alias_ldouble_other_r_f128): New macro.
27394 (libm_alias_ldouble_other_r_f64x): Likewise.
27395 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27396 and libm_alias_ldouble_other_r_f64x.
27397 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27398 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27399 (libm_alias_ldouble_other_r_f128): New macro.
27400 (libm_alias_ldouble_other_r_f64x): Likewise.
27401 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27402 and libm_alias_ldouble_other_r_f64x.
27404 * stdlib/strfroml.c: Always include <stdlib.h>.
27405 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27406 undefine as macro and define as weak alias.
27407 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27408 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27410 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27411 Define and later undefine as macro and define as weak alias.
27413 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27414 Define and later undefine as macro. Define as weak alias if
27416 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27417 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27418 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27419 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27420 Define and later undefine as macro. Define as weak alias if
27422 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27423 Define and later undefine as macro. Define as weak alias if
27425 * sysdeps/ieee754/float128/strtof128_l.c
27426 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27427 Define and later undefine as macro. Define as weak alias if
27429 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27430 Define and later undefine as macro. Define as weak alias if
27432 * sysdeps/ieee754/ldbl-128/strtold_l.c
27433 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27434 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27435 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27436 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27437 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27438 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27439 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27440 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27441 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27442 * sysdeps/ieee754/ldbl-96/strtold_l.c
27443 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27444 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27445 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27446 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27448 * math/test-float64x.h: New file.
27449 * math/Makefile (type-float64x-yes): New variable.
27450 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27452 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27453 function-like macro.
27454 (min_of_type_): Likewise.
27455 (min_of_type_l): Likewise.
27456 (min_of_type_f128): Likewise.
27457 (min_of_type): Pass () as last argument of __MATH_TG.
27459 * stdlib/tst-strtod-round-skeleton.c
27460 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27463 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27464 for combinations of long double with _Float64 and _Float64x.
27466 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27467 (__DECL_SIMD_cosf32): Likewise.
27468 (__DECL_SIMD_cosf64): Likewise.
27469 (__DECL_SIMD_cosf32x): Likewise.
27470 (__DECL_SIMD_cosf64x): Likewise.
27471 (__DECL_SIMD_cosf128x): Likewise.
27472 (__DECL_SIMD_sinf16): Likewise.
27473 (__DECL_SIMD_sinf32): Likewise.
27474 (__DECL_SIMD_sinf64): Likewise.
27475 (__DECL_SIMD_sinf32x): Likewise.
27476 (__DECL_SIMD_sinf64x): Likewise.
27477 (__DECL_SIMD_sinf128x): Likewise.
27478 (__DECL_SIMD_sincosf16): Likewise.
27479 (__DECL_SIMD_sincosf32): Likewise.
27480 (__DECL_SIMD_sincosf64): Likewise.
27481 (__DECL_SIMD_sincosf32x): Likewise.
27482 (__DECL_SIMD_sincosf64x): Likewise.
27483 (__DECL_SIMD_sincosf128x): Likewise.
27484 (__DECL_SIMD_logf16): Likewise.
27485 (__DECL_SIMD_logf32): Likewise.
27486 (__DECL_SIMD_logf64): Likewise.
27487 (__DECL_SIMD_logf32x): Likewise.
27488 (__DECL_SIMD_logf64x): Likewise.
27489 (__DECL_SIMD_logf128x): Likewise.
27490 (__DECL_SIMD_expf16): Likewise.
27491 (__DECL_SIMD_expf32): Likewise.
27492 (__DECL_SIMD_expf64): Likewise.
27493 (__DECL_SIMD_expf32x): Likewise.
27494 (__DECL_SIMD_expf64x): Likewise.
27495 (__DECL_SIMD_expf128x): Likewise.
27496 (__DECL_SIMD_powf16): Likewise.
27497 (__DECL_SIMD_powf32): Likewise.
27498 (__DECL_SIMD_powf64): Likewise.
27499 (__DECL_SIMD_powf32x): Likewise.
27500 (__DECL_SIMD_powf64x): Likewise.
27501 (__DECL_SIMD_powf128x): Likewise.
27503 * stdlib/Versions (libc): Move entries for wcstof128 and
27504 wcstof128_l to ....
27505 * wcsmbs/Versions (libc): ... here.
27506 Include <float128-abi.h>.
27508 2017-11-24 Florian Weimer <fweimer@redhat.com>
27510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27511 bits/mman-shared.h.
27512 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27513 <bits/mman-shared.h>.
27514 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27516 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27517 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27518 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27519 <bits/mman-shared.h>.
27521 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27524 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27525 posix_memalign/free.
27526 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27528 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27531 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27532 and implement the collation rules for pl from CLDR on top of that.
27533 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27534 of locales to be built for testing.
27535 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27537 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27539 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27540 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27541 libm_alias_ldouble_other.
27542 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27543 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27544 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27545 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27546 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27547 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27548 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27549 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27550 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27551 libm_alias_ldouble_r.
27552 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27553 libm_alias_ldouble_other.
27554 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27555 (log10l): Likewise.
27556 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27557 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27558 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27559 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27560 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27561 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27562 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27563 (atan2l): Likewise.
27564 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27565 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27566 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27567 libm_alias_ldouble.
27568 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27570 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27571 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27572 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27574 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27575 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27576 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27577 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27578 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27579 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27580 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27581 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27582 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27583 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27584 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27585 libm_alias_ldouble.
27586 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27587 libm_alias_ldouble_other.
27588 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27589 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27590 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27591 libm_alias_ldouble.
27592 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27593 libm_alias_ldouble_other.
27594 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27595 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27596 * sysdeps/ia64/fpu/w_lgammal_main.c
27597 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27598 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27600 2017-11-23 Florian Weimer <fweimer@redhat.com>
27602 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27603 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27604 alike. Remove freeres marker.
27605 * malloc/arena.c (arena_thread_freeres): Call
27606 tcache_thread_shutdown.
27608 2017-11-23 Florian Weimer <fweimer@redhat.com>
27611 Export nscd hash function as __nss_hash.
27612 * include/nss.h (__nss_hash): Declare.
27613 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27615 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27616 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27618 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27619 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27620 * nss/Makefiles (routines): Add nss_hash.
27621 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27622 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27623 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27624 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27626 2017-11-23 Florian Weimer <fweimer@redhat.com>
27629 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27630 Return error code, not -1.
27631 * signal/tst-sigwait-eintr.c: New file.
27632 * signal/Makefile (tests): Add tst-sigwait-eintr.
27634 2017-11-23 Florian Weimer <fweimer@redhat.com>
27636 Linux: Add memfd_create system call wrapper
27637 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27639 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27640 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27641 [__USE_GNU] (memfd_create): Declare.
27642 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27643 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27644 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27645 * sysdeps/unix/sysv/linux/**.abilist: Update.
27646 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27648 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27650 * localedata/gen-locale.sh: Fix typo in variable name.
27652 * resolv/res_debug.c (p_secstodate): Condition definition on
27653 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27654 directly as __p_secstodate, and as a compat symbol. Do not use
27655 libresolv_hidden_def.
27656 * resolv/resolv.h (p_secstodate): Remove macro and function
27658 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27659 using p_secstodate.
27660 * include/resolv.h (__p_secstodate): Do not use
27661 libresolv_hidden_proto.
27662 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27663 (tests-internal): ... here.
27664 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27665 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27666 and declare and use __p_secstodate and use compat_symbol_reference
27668 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27669 implementation returning 77.
27672 * resolv/res_debug.c: Include <libc-diag.h>.
27673 (p_secstodate): Assert time_t at least as wide as u_long. On
27674 overflow, use integer seconds since the epoch as output, or use
27675 "<overflow>" as output and set errno to EOVERFLOW if integer
27676 seconds since the epoch would be 14 or more characters.
27677 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27679 * resolv/tst-p_secstodate.c: New file.
27680 * resolv/Makefile (tests): Add tst-p_secstodate.
27681 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27683 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27684 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27685 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27687 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27689 * posix/regcomp.c (init_word_char): Add comments.
27691 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27694 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27695 strlen to compute length of ut_user and set trailing NUL byte of
27698 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27701 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27702 using “copy "iso14651_t1"” and then implementing the
27703 collation rules for lv from CLDR on top of that.
27704 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27705 of locales to be built for testing.
27706 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27709 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27711 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27712 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27713 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27714 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27715 [__USE_MISC] (MADV_HWPOISON): New macro.
27716 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27718 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27720 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27721 -Wmissing-braces on GCC 4.9.
27723 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27725 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27726 * sysdeps/s390/s390-32/start.S (_start): Likewise
27727 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27728 (thread_start): Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27730 (thread_start): Likewise.
27731 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27732 (__makecontext_ret): Likewise.
27733 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27734 (__makecontext_ret): Likewise.
27736 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27738 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27739 __wcschrnul): Remove attribute_hidden.
27741 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27743 regex: don't assume uint64_t or uint32_t
27744 This avoids -Werror=overflow errors for 32-bit systems in
27745 the 64-bit case. Problem reported by Joseph Myers in:
27746 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27747 Also, when this code is used in Gnulib it ports to platforms
27748 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27749 them, and on some 32-bit compilers there is no uint64_t.
27750 Problem reported by Gianluigi Tiesi in:
27751 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27752 * posix/regcomp.c (init_word_char): Don't assume that the types
27753 uint64_t and uint32_t exist. Adapted from Gnulib patch
27754 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27755 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27757 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27759 * sysdeps/aarch64/memset-reg.h: New file.
27760 * sysdeps/aarch64/memset.S: Use it.
27761 (__memset): Rename to MEMSET macro.
27762 [ZVA_MACRO]: Use zva_macro.
27763 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27764 Add memset_generic and memset_falkor.
27765 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27766 (__libc_ifunc_impl_list): Add memset ifuncs.
27767 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27768 local variable zva_size.
27769 * sysdeps/aarch64/multiarch/memset.c: New file.
27770 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27771 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27772 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27773 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27774 (DCZID_DZP_MASK): New macro.
27775 (DCZID_BS_MASK): Likewise.
27776 (init_cpu_features): Read and set zva_size.
27777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27778 (struct cpu_features): New member zva_size.
27780 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27781 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27782 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27784 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27785 backwards. Fix timing computation.
27786 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27787 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27788 on memset by N at a time. Fix timing computation.
27790 2017-11-20 Florian Weimer <fweimer@redhat.com>
27792 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27793 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27795 2017-11-19 Florian Weimer <fweimer@redhat.com>
27797 manual: Document mprotect
27798 * manual/memory.texi (Memory Protection): New section.
27799 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27800 documentation of PROT_* flags and reference the Memory Protection
27803 2017-11-19 Florian Weimer <fweimer@redhat.com>
27805 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27806 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27807 (Scatter-Gather): ... to here. Remove misleading comment.
27809 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27811 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27814 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27815 when /proc/<pid>/setgroups does not exist.
27817 2017-11-18 Florian Weimer <fweimer@redhat.com>
27819 * sysdeps/unix/sysv/linux/tst-ttyname.c
27820 (become_root_in_mount_ns): Remove.
27821 (do_in_chroot_1): Call support_enter_mount_namespace.
27822 (do_in_chroot_2): Likewise.
27823 (do_test): Call support_become_root early.
27825 2017-11-18 Florian Weimer <fweimer@redhat.com>
27827 * support/namespace.h (support_enter_mount_namespace): Declare.
27828 * support/support_enter_mount_namespace.c: New file.
27829 * support/Makefile (libsupport-routines): Add
27830 support_enter_mount_namespace.
27832 2017-11-18 Florian Weimer <fweimer@redhat.com>
27834 * support/temp_file.c (support_create_temp_directory): Use
27835 test_dir and do not rely on the presence of the XXXXXX suffix.
27836 * support/temp_file.h (support_create_temp_directory): Update
27838 * support/tst-xreadlink.c (do_test): Adjust.
27839 * support/support_chroot.c (support_chroot_create): Likewise.
27841 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27843 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27848 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27850 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27851 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27852 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27853 (ceill): Define using libm_alias_ldouble.
27854 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27855 <libm-alias-ldouble.h>.
27856 (copysignl): Define using libm_alias_ldouble.
27857 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27858 (fabsl): Define using libm_alias_ldouble.
27859 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27860 (floorl): Define using libm_alias_ldouble.
27861 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27862 (fmaxl): Define using libm_alias_ldouble.
27863 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27864 (fminl): Define using libm_alias_ldouble.
27865 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27866 (llrintl): Define using libm_alias_ldouble.
27867 (lrintl): Likewise.
27868 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27869 <libm-alias-ldouble.h>.
27870 (nearbyintl): Define using libm_alias_ldouble.
27871 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27872 (truncl): Define using libm_alias_ldouble.
27873 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27874 <libm-alias-ldouble.h>.
27875 (lrintl): Define using libm_alias_ldouble.
27877 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27878 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27879 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27880 (asinhl): Define using libm_alias_ldouble.
27881 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27882 (atanl): Define using libm_alias_ldouble.
27883 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27884 (cbrtl): Define using libm_alias_ldouble.
27885 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27886 (ceill): Define using libm_alias_ldouble.
27887 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27888 (copysignl): Define using libm_alias_ldouble.
27889 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27890 (fabsl): Define using libm_alias_ldouble.
27891 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27892 (floorl): Define using libm_alias_ldouble.
27893 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27894 (fmaxl): Define using libm_alias_ldouble.
27895 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27896 (fminl): Define using libm_alias_ldouble.
27897 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27898 (frexpl): Define using libm_alias_ldouble.
27899 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27900 (llrintl): Define using libm_alias_ldouble.
27901 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27902 (logbl): Define using libm_alias_ldouble.
27903 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27904 (lrintl): Define using libm_alias_ldouble.
27905 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27906 (nearbyintl): Define using libm_alias_ldouble.
27907 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27908 (nextafterl): Define using libm_alias_ldouble.
27909 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27910 (remquol): Define using libm_alias_ldouble.
27911 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27912 (rintl): Define using libm_alias_ldouble.
27913 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27914 (truncl): Define using libm_alias_ldouble.
27915 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27916 (fmaxl): Define using libm_alias_ldouble.
27917 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27918 (fminl): Define using libm_alias_ldouble.
27920 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27921 to C syntax instead of availability and properties of types.
27922 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27923 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27924 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27925 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27926 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27927 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27929 2017-11-17 Florian Weimer <fweimer@redhat.com>
27931 support_become_root: Enable file creation in namespaces.
27932 * support/support_become_root.c (setup_mapping): New function.
27933 (support_become_root): Call it.
27935 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27937 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27940 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27942 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27943 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27945 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27947 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27949 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27952 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27954 * INSTALL: Fix botched up regeneration.
27956 * NEWS: Update sourceare link to https.
27957 * configure.ac: Likewise.
27958 * crypt/md5test-giant.c: Likewise.
27959 * dlfcn/bug-atexit1.c: Likewise.
27960 * dlfcn/bug-atexit2.c: Likewise.
27961 * localedata/README: Likewise.
27962 * malloc/tst-mallocfork.c: Likewise.
27963 * manual/install.texi: Likewise.
27964 * nptl/tst-pthread-getattr.c: Likewise.
27965 * stdio-common/tst-fgets.c: Likewise.
27966 * stdio-common/tst-fwrite.c: Likewise.
27967 * sunrpc/Makefile: Likewise.
27968 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27969 * wcsmbs/tst-mbrtowc2.c: Likewise.
27970 * configure: Regenerate.
27971 * INSTALL: Regenerate.
27973 2017-11-15 Martin Sebor <msebor@redhat.com>
27975 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27976 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27977 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27979 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27982 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27983 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27986 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27987 Defer is_pty check until end of the function.
27988 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27991 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27992 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27993 (ttyname): Likewise.
27994 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27995 (__ttyname_r): Likewise.
27997 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28000 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28002 * manual/terminal.texi (Is It a Terminal):
28003 Mention ENODEV for ttyname and ttyname_r.
28005 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28007 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28008 constant and macro.
28010 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28011 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28012 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28013 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28014 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28015 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28017 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28019 * signal/sigrelse.c (sigrelse): Optimize implementation.
28021 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28022 (__sigpause): Rely on __sigsuspend to implement single thread
28023 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28025 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28027 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28028 kernel version to 4.14.
28030 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28033 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28034 Check if ifname is too long.
28036 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28038 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28040 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28042 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28043 was accidentally lost.
28045 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28047 * localedata/locales/az_IR: Add standard copyright header.
28049 2017-11-15 Florian Weimer <fweimer@redhat.com>
28052 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28053 not just the top one. Output a new "subheaps" statistic.
28055 2017-11-15 Florian Weimer <fweimer@redhat.com>
28058 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28059 under the per-arena lock.
28060 * malloc/Makefile (tests): Add tst-malloc_info.
28061 (tst-malloc_info): Link with libpthread.
28062 * malloc/tst-malloc_info.c: New file.
28064 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28067 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28068 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28069 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28070 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28071 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28072 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28073 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28074 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28083 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28084 (__floating_type): Likewise.
28085 (__real_integer_type): Likewise.
28086 (__complex_integer_type): Likewise.
28087 (__expr_is_real): Likewise.
28088 (__tgmath_real_type_sub): Likewise.
28089 (__tgmath_real_type): Likewise.
28090 (__tgmath_complex_type_sub): Likewise.
28091 (__tgmath_complex_type): Likewise.
28092 (__TGMATH_F128): Likewise.
28093 (__TGMATH_CF128): Likewise.
28094 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28097 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28099 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28101 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28102 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28104 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28107 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28111 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28114 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28115 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28119 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28121 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28122 for stpncpy calls for GCC 8.
28123 (test_strncat): Disable -Wstringop-truncation warning for strncat
28124 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28125 strncat call for GCC 7.
28126 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28128 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28131 * string/bug-strncat1.c: Include <libc-diag.h>.
28132 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28134 2017-11-13 Claude Paroz <claude@2xlibre.net>
28137 * localedata/locales/aa_DJ: Improved readibility by replacing
28138 <Uxxxx> sequences in the ASCII printable range by their ASCII
28139 character equivalents.
28140 * localedata/locales/aa_ER: Likewise.
28141 * localedata/locales/aa_ER@saaho: Likewise.
28142 * localedata/locales/aa_ET: Likewise.
28143 * localedata/locales/af_ZA: Likewise.
28144 * localedata/locales/agr_PE: Likewise.
28145 * localedata/locales/ak_GH: Likewise.
28146 * localedata/locales/am_ET: Likewise.
28147 * localedata/locales/anp_IN: Likewise.
28148 * localedata/locales/ar_AE: Likewise.
28149 * localedata/locales/ar_BH: Likewise.
28150 * localedata/locales/ar_DZ: Likewise.
28151 * localedata/locales/ar_EG: Likewise.
28152 * localedata/locales/ar_IN: Likewise.
28153 * localedata/locales/ar_IQ: Likewise.
28154 * localedata/locales/ar_JO: Likewise.
28155 * localedata/locales/ar_KW: Likewise.
28156 * localedata/locales/ar_LB: Likewise.
28157 * localedata/locales/ar_LY: Likewise.
28158 * localedata/locales/ar_MA: Likewise.
28159 * localedata/locales/ar_OM: Likewise.
28160 * localedata/locales/ar_QA: Likewise.
28161 * localedata/locales/ar_SA: Likewise.
28162 * localedata/locales/ar_SD: Likewise.
28163 * localedata/locales/ar_SS: Likewise.
28164 * localedata/locales/ar_SY: Likewise.
28165 * localedata/locales/ar_TN: Likewise.
28166 * localedata/locales/ar_YE: Likewise.
28167 * localedata/locales/as_IN: Likewise.
28168 * localedata/locales/ast_ES: Likewise.
28169 * localedata/locales/ayc_PE: Likewise.
28170 * localedata/locales/az_AZ: Likewise.
28171 * localedata/locales/az_IR: Likewise.
28172 * localedata/locales/be_BY: Likewise.
28173 * localedata/locales/be_BY@latin: Likewise.
28174 * localedata/locales/bem_ZM: Likewise.
28175 * localedata/locales/ber_DZ: Likewise.
28176 * localedata/locales/ber_MA: Likewise.
28177 * localedata/locales/bg_BG: Likewise.
28178 * localedata/locales/bhb_IN: Likewise.
28179 * localedata/locales/bho_IN: Likewise.
28180 * localedata/locales/bi_VU: Likewise.
28181 * localedata/locales/bn_BD: Likewise.
28182 * localedata/locales/bn_IN: Likewise.
28183 * localedata/locales/bo_CN: Likewise.
28184 * localedata/locales/bo_IN: Likewise.
28185 * localedata/locales/br_FR: Likewise.
28186 * localedata/locales/brx_IN: Likewise.
28187 * localedata/locales/bs_BA: Likewise.
28188 * localedata/locales/byn_ER: Likewise.
28189 * localedata/locales/ca_AD: Likewise.
28190 * localedata/locales/ca_ES: Likewise.
28191 * localedata/locales/ca_FR: Likewise.
28192 * localedata/locales/ca_IT: Likewise.
28193 * localedata/locales/ce_RU: Likewise.
28194 * localedata/locales/chr_US: Likewise.
28195 * localedata/locales/cmn_TW: Likewise.
28196 * localedata/locales/crh_UA: Likewise.
28197 * localedata/locales/cs_CZ: Likewise.
28198 * localedata/locales/csb_PL: Likewise.
28199 * localedata/locales/cv_RU: Likewise.
28200 * localedata/locales/cy_GB: Likewise.
28201 * localedata/locales/da_DK: Likewise.
28202 * localedata/locales/de_AT: Likewise.
28203 * localedata/locales/de_BE: Likewise.
28204 * localedata/locales/de_CH: Likewise.
28205 * localedata/locales/de_DE: Likewise.
28206 * localedata/locales/de_IT: Likewise.
28207 * localedata/locales/de_LI: Likewise.
28208 * localedata/locales/de_LU: Likewise.
28209 * localedata/locales/doi_IN: Likewise.
28210 * localedata/locales/dv_MV: Likewise.
28211 * localedata/locales/dz_BT: Likewise.
28212 * localedata/locales/el_CY: Likewise.
28213 * localedata/locales/el_GR: Likewise.
28214 * localedata/locales/en_AG: Likewise.
28215 * localedata/locales/en_AU: Likewise.
28216 * localedata/locales/en_BW: Likewise.
28217 * localedata/locales/en_CA: Likewise.
28218 * localedata/locales/en_DK: Likewise.
28219 * localedata/locales/en_GB: Likewise.
28220 * localedata/locales/en_HK: Likewise.
28221 * localedata/locales/en_IE: Likewise.
28222 * localedata/locales/en_IL: Likewise.
28223 * localedata/locales/en_IN: Likewise.
28224 * localedata/locales/en_NG: Likewise.
28225 * localedata/locales/en_NZ: Likewise.
28226 * localedata/locales/en_PH: Likewise.
28227 * localedata/locales/en_SG: Likewise.
28228 * localedata/locales/en_US: Likewise.
28229 * localedata/locales/en_ZA: Likewise.
28230 * localedata/locales/en_ZM: Likewise.
28231 * localedata/locales/en_ZW: Likewise.
28232 * localedata/locales/eo: Likewise.
28233 * localedata/locales/es_AR: Likewise.
28234 * localedata/locales/es_BO: Likewise.
28235 * localedata/locales/es_CL: Likewise.
28236 * localedata/locales/es_CO: Likewise.
28237 * localedata/locales/es_CR: Likewise.
28238 * localedata/locales/es_CU: Likewise.
28239 * localedata/locales/es_DO: Likewise.
28240 * localedata/locales/es_EC: Likewise.
28241 * localedata/locales/es_ES: Likewise.
28242 * localedata/locales/es_GT: Likewise.
28243 * localedata/locales/es_HN: Likewise.
28244 * localedata/locales/es_MX: Likewise.
28245 * localedata/locales/es_NI: Likewise.
28246 * localedata/locales/es_PA: Likewise.
28247 * localedata/locales/es_PE: Likewise.
28248 * localedata/locales/es_PR: Likewise.
28249 * localedata/locales/es_PY: Likewise.
28250 * localedata/locales/es_SV: Likewise.
28251 * localedata/locales/es_US: Likewise.
28252 * localedata/locales/es_UY: Likewise.
28253 * localedata/locales/es_VE: Likewise.
28254 * localedata/locales/et_EE: Likewise.
28255 * localedata/locales/eu_ES: Likewise.
28256 * localedata/locales/eu_ES@euro: Likewise.
28257 * localedata/locales/fa_IR: Likewise.
28258 * localedata/locales/ff_SN: Likewise.
28259 * localedata/locales/fi_FI: Likewise.
28260 * localedata/locales/fil_PH: Likewise.
28261 * localedata/locales/fo_FO: Likewise.
28262 * localedata/locales/fr_BE: Likewise.
28263 * localedata/locales/fr_CA: Likewise.
28264 * localedata/locales/fr_CH: Likewise.
28265 * localedata/locales/fr_FR: Likewise.
28266 * localedata/locales/fr_LU: Likewise.
28267 * localedata/locales/fur_IT: Likewise.
28268 * localedata/locales/fy_DE: Likewise.
28269 * localedata/locales/fy_NL: Likewise.
28270 * localedata/locales/ga_IE: Likewise.
28271 * localedata/locales/gd_GB: Likewise.
28272 * localedata/locales/gez_ER: Likewise.
28273 * localedata/locales/gez_ET: Likewise.
28274 * localedata/locales/gl_ES: Likewise.
28275 * localedata/locales/gu_IN: Likewise.
28276 * localedata/locales/gv_GB: Likewise.
28277 * localedata/locales/ha_NG: Likewise.
28278 * localedata/locales/hak_TW: Likewise.
28279 * localedata/locales/he_IL: Likewise.
28280 * localedata/locales/hi_IN: Likewise.
28281 * localedata/locales/hif_FJ: Likewise.
28282 * localedata/locales/hne_IN: Likewise.
28283 * localedata/locales/hr_HR: Likewise.
28284 * localedata/locales/hsb_DE: Likewise.
28285 * localedata/locales/ht_HT: Likewise.
28286 * localedata/locales/hu_HU: Likewise.
28287 * localedata/locales/hy_AM: Likewise.
28288 * localedata/locales/i18n: Likewise.
28289 * localedata/locales/ia_FR: Likewise.
28290 * localedata/locales/id_ID: Likewise.
28291 * localedata/locales/ig_NG: Likewise.
28292 * localedata/locales/ik_CA: Likewise.
28293 * localedata/locales/is_IS: Likewise.
28294 * localedata/locales/it_CH: Likewise.
28295 * localedata/locales/it_IT: Likewise.
28296 * localedata/locales/iu_CA: Likewise.
28297 * localedata/locales/ja_JP: Likewise.
28298 * localedata/locales/ka_GE: Likewise.
28299 * localedata/locales/kk_KZ: Likewise.
28300 * localedata/locales/kl_GL: Likewise.
28301 * localedata/locales/kn_IN: Likewise.
28302 * localedata/locales/ko_KR: Likewise.
28303 * localedata/locales/kok_IN: Likewise.
28304 * localedata/locales/ks_IN: Likewise.
28305 * localedata/locales/ks_IN@devanagari: Likewise.
28306 * localedata/locales/ku_TR: Likewise.
28307 * localedata/locales/kw_GB: Likewise.
28308 * localedata/locales/ky_KG: Likewise.
28309 * localedata/locales/lb_LU: Likewise.
28310 * localedata/locales/lg_UG: Likewise.
28311 * localedata/locales/li_BE: Likewise.
28312 * localedata/locales/li_NL: Likewise.
28313 * localedata/locales/lij_IT: Likewise.
28314 * localedata/locales/ln_CD: Likewise.
28315 * localedata/locales/lo_LA: Likewise.
28316 * localedata/locales/lt_LT: Likewise.
28317 * localedata/locales/lv_LV: Likewise.
28318 * localedata/locales/lzh_TW: Likewise.
28319 * localedata/locales/mag_IN: Likewise.
28320 * localedata/locales/mai_IN: Likewise.
28321 * localedata/locales/mg_MG: Likewise.
28322 * localedata/locales/mhr_RU: Likewise.
28323 * localedata/locales/mi_NZ: Likewise.
28324 * localedata/locales/mk_MK: Likewise.
28325 * localedata/locales/ml_IN: Likewise.
28326 * localedata/locales/mn_MN: Likewise.
28327 * localedata/locales/mni_IN: Likewise.
28328 * localedata/locales/mr_IN: Likewise.
28329 * localedata/locales/ms_MY: Likewise.
28330 * localedata/locales/mt_MT: Likewise.
28331 * localedata/locales/my_MM: Likewise.
28332 * localedata/locales/nan_TW: Likewise.
28333 * localedata/locales/nan_TW@latin: Likewise.
28334 * localedata/locales/nb_NO: Likewise.
28335 * localedata/locales/nds_DE: Likewise.
28336 * localedata/locales/nds_NL: Likewise.
28337 * localedata/locales/ne_NP: Likewise.
28338 * localedata/locales/nhn_MX: Likewise.
28339 * localedata/locales/niu_NU: Likewise.
28340 * localedata/locales/niu_NZ: Likewise.
28341 * localedata/locales/nl_AW: Likewise.
28342 * localedata/locales/nl_BE: Likewise.
28343 * localedata/locales/nl_NL: Likewise.
28344 * localedata/locales/nn_NO: Likewise.
28345 * localedata/locales/nr_ZA: Likewise.
28346 * localedata/locales/nso_ZA: Likewise.
28347 * localedata/locales/oc_FR: Likewise.
28348 * localedata/locales/om_ET: Likewise.
28349 * localedata/locales/om_KE: Likewise.
28350 * localedata/locales/or_IN: Likewise.
28351 * localedata/locales/os_RU: Likewise.
28352 * localedata/locales/pa_IN: Likewise.
28353 * localedata/locales/pa_PK: Likewise.
28354 * localedata/locales/pap_AW: Likewise.
28355 * localedata/locales/pap_CW: Likewise.
28356 * localedata/locales/pl_PL: Likewise.
28357 * localedata/locales/ps_AF: Likewise.
28358 * localedata/locales/pt_BR: Likewise.
28359 * localedata/locales/pt_PT: Likewise.
28360 * localedata/locales/quz_PE: Likewise.
28361 * localedata/locales/raj_IN: Likewise.
28362 * localedata/locales/ro_RO: Likewise.
28363 * localedata/locales/ru_RU: Likewise.
28364 * localedata/locales/ru_UA: Likewise.
28365 * localedata/locales/rw_RW: Likewise.
28366 * localedata/locales/sa_IN: Likewise.
28367 * localedata/locales/sat_IN: Likewise.
28368 * localedata/locales/sc_IT: Likewise.
28369 * localedata/locales/sd_IN: Likewise.
28370 * localedata/locales/sd_IN@devanagari: Likewise.
28371 * localedata/locales/se_NO: Likewise.
28372 * localedata/locales/sgs_LT: Likewise.
28373 * localedata/locales/shs_CA: Likewise.
28374 * localedata/locales/si_LK: Likewise.
28375 * localedata/locales/sid_ET: Likewise.
28376 * localedata/locales/sk_SK: Likewise.
28377 * localedata/locales/sl_SI: Likewise.
28378 * localedata/locales/sm_WS: Likewise.
28379 * localedata/locales/so_DJ: Likewise.
28380 * localedata/locales/so_ET: Likewise.
28381 * localedata/locales/so_KE: Likewise.
28382 * localedata/locales/so_SO: Likewise.
28383 * localedata/locales/sq_AL: Likewise.
28384 * localedata/locales/sq_MK: Likewise.
28385 * localedata/locales/sr_ME: Likewise.
28386 * localedata/locales/sr_RS: Likewise.
28387 * localedata/locales/sr_RS@latin: Likewise.
28388 * localedata/locales/ss_ZA: Likewise.
28389 * localedata/locales/st_ZA: Likewise.
28390 * localedata/locales/sv_FI: Likewise.
28391 * localedata/locales/sv_SE: Likewise.
28392 * localedata/locales/sw_KE: Likewise.
28393 * localedata/locales/sw_TZ: Likewise.
28394 * localedata/locales/szl_PL: Likewise.
28395 * localedata/locales/ta_IN: Likewise.
28396 * localedata/locales/ta_LK: Likewise.
28397 * localedata/locales/tcy_IN: Likewise.
28398 * localedata/locales/te_IN: Likewise.
28399 * localedata/locales/tg_TJ: Likewise.
28400 * localedata/locales/th_TH: Likewise.
28401 * localedata/locales/the_NP: Likewise.
28402 * localedata/locales/ti_ER: Likewise.
28403 * localedata/locales/ti_ET: Likewise.
28404 * localedata/locales/tig_ER: Likewise.
28405 * localedata/locales/tk_TM: Likewise.
28406 * localedata/locales/tl_PH: Likewise.
28407 * localedata/locales/tn_ZA: Likewise.
28408 * localedata/locales/to_TO: Likewise.
28409 * localedata/locales/tpi_PG: Likewise.
28410 * localedata/locales/tr_CY: Likewise.
28411 * localedata/locales/tr_TR: Likewise.
28412 * localedata/locales/ts_ZA: Likewise.
28413 * localedata/locales/tt_RU: Likewise.
28414 * localedata/locales/tt_RU@iqtelif: Likewise.
28415 * localedata/locales/ug_CN: Likewise.
28416 * localedata/locales/uk_UA: Likewise.
28417 * localedata/locales/unm_US: Likewise.
28418 * localedata/locales/ur_IN: Likewise.
28419 * localedata/locales/ur_PK: Likewise.
28420 * localedata/locales/uz_UZ: Likewise.
28421 * localedata/locales/uz_UZ@cyrillic: Likewise.
28422 * localedata/locales/ve_ZA: Likewise.
28423 * localedata/locales/vi_VN: Likewise.
28424 * localedata/locales/wa_BE: Likewise.
28425 * localedata/locales/wae_CH: Likewise.
28426 * localedata/locales/wal_ET: Likewise.
28427 * localedata/locales/wo_SN: Likewise.
28428 * localedata/locales/xh_ZA: Likewise.
28429 * localedata/locales/yi_US: Likewise.
28430 * localedata/locales/yo_NG: Likewise.
28431 * localedata/locales/yue_HK: Likewise.
28432 * localedata/locales/yuw_PG: Likewise.
28433 * localedata/locales/zh_CN: Likewise.
28434 * localedata/locales/zh_HK: Likewise.
28435 * localedata/locales/zh_SG: Likewise.
28436 * localedata/locales/zh_TW: Likewise.
28437 * localedata/locales/zu_ZA: Likewise.
28439 2017-11-13 Florian Weimer <fweimer@redhat.com>
28441 * support/next_to_fault.h, support/next_to_fault.c: New files.
28442 * support/Makefile (libsupport-routines): Add next_to_fault.
28443 * resolv/tst-inet_pton.c (struct next_to_fault)
28444 (next_to_fault_allocate, next_to_fault_free): Remove.
28445 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28447 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28449 * elf/dl-support.c: Include <dl-procruntime.c>.
28450 * include/link.h: Include <link_map.h>.
28451 * sysdeps/generic/dl-procruntime.c: New file.
28452 * sysdeps/generic/link_map.h: Likewise.
28453 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28454 the writable ld.so namespace.
28456 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28458 timezone: pacify GCC -Wstringop-truncation
28459 Problem reported by Martin Sebor in:
28460 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28461 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28463 2017-11-12 Florian Weimer <fweimer@redhat.com>
28465 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28467 (tests): Add tst-xreadlink.
28468 * support/support.h (xstrndup): Declare.
28469 * support/xunistd.h (xunlink, xreadlink): Declare.
28470 * support/temp_file.h (support_create_temp_directory): Declare.
28471 * support/temp_file.c (support_create_temp_directory): New function.
28472 * support/support_chroot.c (support_chroot_create): Use it.
28473 * support/xreadlink.c: New file.
28474 * support/xstrndup.c: Likewise.
28475 * support/xunlink.c: Likewise.
28476 * support/tst-xreadlink.c: Likewise.
28478 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28480 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28482 2017-11-11 Florian Weimer <fweimer@redhat.com>
28486 * resolv/res_comp.c (printable_string, binary_hnok)
28487 (binary_leading_dash): New functions.
28488 (res_hnok): Reimplement using these functions and ns_name_pton.
28489 (res_ownok): Likewise.
28490 (res_mailok): Reimplement using printable_string, ns_name_pton and
28492 (res_dnok): Reimplement using printable_string and ns_name_pton.
28493 * resolv/tst-res_hnok.c (tests): Add additional tests.
28494 (LETTERDIGITS, PRINTABLE): Define.
28495 (do_test): Adjust one_char results.
28497 2017-11-11 Florian Weimer <fweimer@redhat.com>
28500 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28501 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28503 2017-11-11 Florian Weimer <fweimer@redhat.com>
28505 * resolv/tst-ns_name_pton.c: New file.
28506 * resolv/Makefile (tests): Add tst-ns_name_pton.
28507 (tst-ns_name_pton): Link against libresolv.
28509 2017-11-11 Florian Weimer <fweimer@redhat.com>
28511 * resolv/tst-res_hnok.c: New file.
28512 * resolv/Makefile (tests): Add tst-res_hnok.
28513 (tst-res_hnok): Link against libresolv.
28515 2017-11-11 Florian Weimer <fweimer@redhat.com>
28517 * resolv/tst-resolv-network.c: Use test framework instead explicit
28520 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28522 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28523 <jmp_buf-macros.h>.
28524 [!_ISOMAC] (STR_HELPER): New.
28525 [!_ISOMAC] (STR): Likewise.
28526 [!_ISOMAC] (TEST_SIZE): Likewise.
28527 [!_ISOMAC] (TEST_ALIGN): Likewise.
28528 [!_ISOMAC] (TEST_OFFSET): Likewise.
28529 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28530 field offsets of jmp_buf as well as sigjmp_buf.
28531 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28532 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28533 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28534 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28535 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28536 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28537 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28538 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28539 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28540 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28542 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28544 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28549 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28550 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28551 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28552 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28553 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28558 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28559 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28560 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28562 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28566 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28568 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28570 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28572 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28574 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28576 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28578 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28580 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28582 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28584 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28586 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28588 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28590 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28592 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28594 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28596 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28598 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28600 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28602 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28604 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28606 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28608 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28610 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28612 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28614 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28616 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28618 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28620 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28622 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28624 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28626 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28628 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28630 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28632 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28634 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28636 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28638 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28640 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28642 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28644 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28646 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28648 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28650 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28652 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28654 * stdlib/tst-strtod.h (F16): New macro.
28660 (IF_FLOAT16): Likewise.
28661 (IF_FLOAT32): Likewise.
28662 (IF_FLOAT64): Likewise.
28663 (IF_FLOAT32X): Likewise.
28664 (IF_FLOAT64X): Likewise.
28665 (IF_FLOAT128X): Likewise.
28666 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28667 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28668 (STRTOD_TEST_FOREACH): Likewise.
28669 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28670 (CHOOSE_f64): Likewise.
28671 (CHOOSE_f32x): Likewise.
28672 (CHOOSE_f64x): Likewise.
28674 2017-11-07 Andreas Schwab <schwab@suse.de>
28676 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28678 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28681 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28683 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28686 2017-11-07 Claude Paroz <claude@2xlibre.net>
28689 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28691 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28693 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28696 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28699 * nptl/allocatestack.c (allocate_stack): Check if
28700 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28701 __PTHREAD_MUTEX_HAVE_PREV is defined.
28702 * nptl/descr.h (pthread): Likewise.
28703 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28705 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28706 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28707 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28708 * sysdeps/nptl/bits/thread-shared-types.h
28709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28711 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28712 of __WORDSIZE for internal layout.
28713 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28714 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28715 instead of __WORDSIZE whether to use an union for __spins and __list
28717 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28719 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28722 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28725 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28726 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28728 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28729 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28731 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28732 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28734 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28735 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28737 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28738 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28740 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28741 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28743 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28744 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28746 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28747 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28749 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28750 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28752 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28753 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28755 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28756 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28758 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28759 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28761 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28765 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28767 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28768 checks for expected input type size.
28769 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28770 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28772 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28773 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28774 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28775 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28776 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28777 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28778 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28779 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28780 superflous runtime assert check.
28781 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28783 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28785 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28787 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28789 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28791 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28793 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28794 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28795 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28797 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28799 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28801 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28803 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28805 * nptl/pthread_attr_setinheritsched.c
28806 (__pthread_attr_setinheritsched): Likewise.
28807 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28809 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28811 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28812 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28813 __old_pthread_attr_setstack): Likewise.
28814 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28816 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28818 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28820 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28821 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28823 * nptl/tst-typesizes.c: Remove file.
28825 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28826 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28827 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28828 checks for internal pthread_mutex_t offsets.
28829 * sysdeps/aarch64/nptl/pthread-offsets.h
28830 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28831 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28832 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28833 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28834 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28835 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28836 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28837 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28838 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28839 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28840 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28841 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28842 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28843 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28844 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28845 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28846 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28847 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28849 2017-11-07 Florian Weimer <fweimer@redhat.com>
28851 * bits/mman-linux.h: Move ...
28852 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28854 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28857 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28859 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28860 Redefine STRNLEN as __strnlen_power8.
28862 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28864 * signal/sighold.c (sighold): Optimize implementation.
28866 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28867 __NR_rt_sigqueueinfo.
28869 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28871 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28872 assume __NR_rt_sigtimedwait.
28873 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28874 and add LIBC_CANCEL_HANDLED for cancellation marking.
28875 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28877 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28878 (sysdeps_routines): Add memchr_noneon.
28879 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28880 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28881 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28882 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28883 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28884 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28885 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28887 * sysdeps/arm/arm-ifunc.h: New file.
28888 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28889 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28890 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28891 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28892 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28893 (__memcpy_neon): Avoid create hidden alias.
28894 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28895 (__memcpy_vfp): Likewise.
28896 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28897 (sysdep_routines): Add memcpy_arm.
28898 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28900 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28903 * Makerules (make-link-multidir): New.
28904 * config.make.in (multidir): New.
28905 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28906 * configure: Regenerated.
28907 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28908 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28909 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28912 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28915 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28916 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28918 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28920 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28923 2017-11-04 Florian Weimer <fweimer@redhat.com>
28925 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28927 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28929 * math/math.h [__HAVE_DISTINCT_FLOAT16
28930 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28931 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28932 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28933 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28934 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28935 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28936 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28937 (__MATH_TG_F32): New macro.
28938 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28939 (__MATH_TG_F64X): Likewise.
28940 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28941 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28943 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28945 * po/de.po: Update translations.
28946 * po/ru.po: Likewise.
28948 2017-11-03 Florian Weimer <fweimer@redhat.com>
28950 * manual/filesys.texi (Hard Links): Document linkat.
28952 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28954 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28955 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28956 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28957 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28958 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28959 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28960 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28961 the same as _Float128.
28962 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28963 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28964 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28967 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28969 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28971 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28973 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28974 (strtof32x): Likewise.
28975 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28976 (strtof64x): Likewise.
28977 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28978 (strtof128x): Likewise.
28979 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28980 (strfromf16): Likewise.
28981 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28982 (strfromf32): Likewise.
28983 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28984 (strfromf64): Likewise.
28985 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28986 (strfromf32x): Likewise.
28987 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28988 (strfromf64x): Likewise.
28989 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28990 (strfromf128x): Likewise.
28991 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28992 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28993 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28994 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28995 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28996 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28998 2017-11-03 Richard Henderson <rth@twiddle.net>
29000 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29002 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29004 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29006 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29008 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29009 DT_TLSDESC_GOT initialization.
29010 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29011 (_dl_tlsdesc_resolve_hold): Likewise.
29012 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29013 (_dl_tlsdesc_resolve_hold): Likewise.
29014 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29015 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29017 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29019 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29021 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29024 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29025 non-lazily for R_ARM_TLS_DESC.
29027 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29030 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29031 R_ARM_TLS_DESC case.
29032 (elf_machine_lazy_rel): Remove the prelink check.
29034 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29036 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29037 DT_TLSDESC_GOT initialization.
29038 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29039 (_dl_tlsdesc_resolve_rela): Likewise.
29040 (_dl_tlsdesc_resolve_hold): Likewise.
29041 (_dl_tlsdesc_undefweak): Remove ldar.
29042 (_dl_tlsdesc_dynamic): Likewise.
29043 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29044 (_dl_tlsdesc_resolve_rela): Likewise.
29045 (_dl_tlsdesc_resolve_hold): Likewise.
29046 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29047 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29048 (_dl_tlsdesc_resolve_rela): Likewise.
29049 (_dl_tlsdesc_resolve_hold): Likewise.
29051 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29053 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29054 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29056 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29058 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29059 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29061 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29063 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29065 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29066 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29067 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29068 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29069 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29070 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29071 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29072 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29073 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29074 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29075 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29077 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29080 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29081 * localedata/locales/tpi_PG: Add standard header.
29083 2017-11-02 Florian Weimer <fweimer@redhat.com>
29085 test-errno-linux: quotactl can fail with EPERM in containers.
29086 * sysdeps/unix/sysv/linux/test-errno-linux.c
29087 (LIST, LIST_FORWARD): New macros.
29088 (check_error_in_list): New function.
29089 (test_wrp_rv): Accept list of permitted error codes.
29090 (test_wrp_rv2): Remove.
29091 (test_wrp): Call test_wrp_rv with list of error codes.
29092 (test_wrp2): Accept list of error codes.
29093 (do_test): Adjust. Allow EPERM for quotactl.
29095 2017-11-02 Florian Weimer <fweimer@redhat.com>
29097 * stdio-common/bug16.c (do_test): Use array_length.
29098 * stdio-common/errlist.c (_sys_nerr): Likewise.
29099 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29100 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29101 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29102 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29103 (do_test): Use array_length.
29104 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29105 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29106 * stdio-common/tst-printf-round.c (do_test): Likewise.
29107 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29108 (CHECK): Use array_length.
29109 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29110 * stdio-common/tstscanf.c (main): Likewise.
29111 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29113 2017-11-02 Florian Weimer <fweimer@redhat.com>
29115 Add array_length and array_end macros.
29116 * include/array_length.h: New file.
29118 2017-11-02 Florian Weimer <fweimer@redhat.com>
29121 * posix/tst-glob-tilde.c (do_noescape): New variable.
29122 (one_test): Process it.
29123 (do_test): Set do_noescape. Add unescaping test case.
29125 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29128 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29129 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29130 with appropriate macros defined and undefined.
29131 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29132 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29133 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29134 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29135 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29136 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29137 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29138 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29139 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29140 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29143 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29144 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29145 that for long double. Do not condition define and undefine of
29146 _Mdouble_complex_ on [__CFLOAT128].
29148 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29150 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29151 of <sysdeps/generic/sysdep.h>.
29152 (ALIGNARG): Removed.
29153 (ASM_SIZE_DIRECTIVE): Likewise.
29156 (ENTRY_CHK): Likewise.
29157 (END_CHK): Likewise.
29158 (syscall_error): Likewise.
29159 (mcount): Likewise.
29160 (PSEUDO_END): Likewise.
29162 (atom_text_section): Likewise.
29163 * sysdeps/x86/sysdep.h: New file.
29164 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29165 of <sysdeps/generic/sysdep.h>.
29166 (ALIGNARG): Removed.
29167 (ASM_SIZE_DIRECTIVE): Likewise.
29170 (ENTRY_CHK): Likewise.
29171 (END_CHK): Likewise.
29172 (syscall_error): Likewise.
29173 (mcount): Likewise.
29174 (PSEUDO_END): Likewise.
29176 (atom_text_section): Likewise.
29178 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29180 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29181 category of LC_CTYPE set to "i18n:2012".
29182 * localedata/locales/i18n_ctype: Regenerate.
29184 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29186 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29187 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29188 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29189 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29191 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29192 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29196 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29199 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29201 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29203 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29205 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29206 (CMPLXF32X): Likewise.
29207 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29208 (CMPLXF64X): Likewise.
29209 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29210 (CMPLXF128X): Likewise.
29213 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29214 (__MATH_EVAL_FMT2): Define to add 0.0f.
29216 2017-10-31 Alan Modra <amodra@gmail.com>
29218 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29234 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29235 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29236 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29237 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29238 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29246 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29247 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29248 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29249 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29250 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29251 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29252 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29253 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29256 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29260 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29261 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29262 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29263 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29265 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29285 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29286 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29287 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29291 include sysdep.h and math_ldbl_opt.h.
29293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29294 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29320 2017-10-31 Alan Modra <amodra@gmail.com>
29322 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29323 string/strncase_l.c, not string/strncase.c.
29324 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29325 (libc_hidden_def): Redefine.
29327 2017-10-31 Alan Modra <amodra@gmail.com>
29329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29330 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29331 (__strcasecmp): Don't define.
29333 2017-10-31 Alan Modra <amodra@gmail.com>
29335 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29337 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29341 2017-10-31 Alan Modra <amodra@gmail.com>
29343 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29346 2017-10-31 Alan Modra <amodra@gmail.com>
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29349 Redefine only when SHARED.
29351 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29353 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29354 Include <bits/math-finite.h> with appropriate macros defined and
29356 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29357 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29358 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29359 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29360 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29362 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29363 [!_Mlong_double_] (_Mlong_double_): Likewise.
29364 [!_Mfloat16_] (_Mfloat16_): Likewise.
29365 [!_Mfloat32_] (_Mfloat32_): Likewise.
29366 [!_Mfloat64_] (_Mfloat64_): Likewise.
29367 [!_Mfloat128_] (_Mfloat128_): Likewise.
29368 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29369 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29370 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29371 (_Mdouble_): Define without indirection through those macros.
29372 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29373 [!_Mfloat128_] (_Mfloat128_): Likewise.
29374 [_Mlong_double_] (_Mlong_double_): Likewise.
29375 (_Mdouble_): Define without indirection through those macros.
29376 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29377 not add -D_Mlong_double_=double.
29378 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29379 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29381 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29383 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29385 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29387 * sysdeps/x86/libc-start.c: Reformat.
29389 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29392 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29393 (1): Renamed to ...
29396 (L(Src2)): Likewise.
29397 (L(1)): Renamed to ...
29400 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29402 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29403 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29404 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29405 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29406 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29407 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29408 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29409 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29410 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29411 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29412 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29413 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29414 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29415 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29416 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29417 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29418 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29419 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29420 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29421 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29422 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29423 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29424 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29425 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29426 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29427 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29428 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29429 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29430 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29431 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29432 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29433 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29434 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29435 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29436 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29437 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29438 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29439 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29440 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29441 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29442 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29443 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29444 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29445 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29446 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29447 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29448 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29449 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29450 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29451 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29452 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29453 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29454 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29455 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29456 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29457 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29458 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29459 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29460 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29461 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29462 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29463 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29464 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29465 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29466 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29467 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29469 2017-10-30 Florian Weimer <fweimer@redhat.com>
29471 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29473 * io/tst-mkdirat.c (do_test): Likewise.
29474 * io/tst-mkfifoat.c (do_test): Likewise.
29475 * io/tst-mknodat.c (do_test): Likewise.
29476 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29477 * locale/programs/locale.c (select_dirs): Likewise.
29478 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29479 * posix/bug-glob2.c (my_readdir): Likewise.
29480 * posix/tst-dir.c (main): Likewise.
29481 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29482 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29484 2017-10-30 Florian Weimer <fweimer@redhat.com>
29486 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29489 2017-10-30 Florian Weimer <fweimer@redhat.com>
29491 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29492 Convert to support/test-driver.c.
29493 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29494 New macro parameters.
29495 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29496 * posix/tst-gnuglob.c: New file.
29497 * posix/tst-gnuglob64.c: Likewise.
29498 * posix/Makefile (tests): Add tst-gnuglob64.
29500 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29503 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29504 and use a better translation for March in “mon”.
29505 * localedata/locales/csb_PL: Use more ASCII to improve the
29506 readability of the source.
29508 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29511 * localedata/locales/km_KH: Use ASCII as much
29512 as possible for better readability of the source and
29513 remove useless comments.
29514 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29515 was commented out and apparently wrong anyway because it was
29516 using Lao characters. If Buddhist era should be used
29517 for km_KH, a native speaker should write the correct formaat
29519 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29520 (According to CLDR, the first weekday for Cambodia is Sunday).
29521 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29522 (These were using Lao characters which must be wrong. If we get
29523 the correct data from a native speaker, we could add it back, until
29524 then it is better not to have name_mr and name_mrs at all than
29527 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29529 * locale/loadlocale.c: Correct size of
29530 _nl_value_type_LC_<category> arrays.
29532 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29534 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29535 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29536 with appropriate macros defined and undefined.
29537 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29538 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29539 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29540 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29541 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29543 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29545 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29548 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29550 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29551 with lowercase letters to make it agree with CLDR.
29553 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29556 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29557 first letters of yesstr and nostr in yesexpr and noexpr,
29558 not for the full words.
29559 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29560 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29561 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29562 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29563 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29564 first letters of yesstr and nostr in yesexpr and noexpr,
29565 until now only English was matched in yesexpr and noexpr.
29566 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29567 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29568 fil but not for tl. As tl and fil are very similar, using fil
29569 is probably better than using English.
29571 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29574 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29575 in yesstr and nostr.
29577 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29579 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29580 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29581 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29583 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29585 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29587 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29589 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29590 (SNANF128X): Likewise.
29592 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29593 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29594 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29595 (HUGE_VAL_F32): Likewise.
29596 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29597 (HUGE_VAL_F64): Likewise.
29598 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29599 (HUGE_VAL_F32X): Likewise.
29600 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29601 (HUGE_VAL_F64X): Likewise.
29602 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29603 (HUGE_VAL_F128X): Likewise.
29605 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29607 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29608 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29609 for the br_FR locale.
29611 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29614 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29616 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29618 * locale/programs/record-status.h: Define globals, and function
29619 prototypes. Move function bodies...
29620 * locale/programs/record-status.c: ... to here. New file.
29621 * iconv/Makefile (iconv_prog-modules): Add record-status.
29622 * locale/Makefile (lib-modules): Likewise.
29623 * iconv/iconv_prog.c: Remove verbose.
29624 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29625 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29626 record a warning about ASCII compatibility.
29627 * locale/programs/ld-monetary.c (monetary_finish): If
29628 warn_int_curr_symbol is true then record a warning about the symbol
29629 not being in our ISO 4217 list.
29630 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29631 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29632 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29633 (OPT_NO_WARN): Define.
29634 (OPT_WARN): Define.
29635 (options): Add entry for --no-warnings, and --warnings.
29636 (set_warnings): New function to enable/disable warnings.
29637 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29638 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29639 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29640 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29641 Pass flags to generate_locale.
29642 (generate_locale): Accept new flag argument and pass it to localedef
29644 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29645 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29647 * localedata/Makefile (test-input-data): Use full file name.
29648 * localedata/da_DK.in: Rename to...
29649 * localedata/da_DK.ISO-8859-1.in: ...this.
29650 * localedata/de_DE.in: Rename to...
29651 * localedata/de_DE.ISO-8859-1.in: ...this.
29652 * localedata/en_US.in: Rename to...
29653 * localedata/en_US.ISO-8859-1.in: ...this.
29654 * localedata/fr_FR.in: Rename to...
29655 * localedata/fr_FR.UTF-8.in: ... this.
29656 * localedata/hr_HR.in: Rename to...
29657 * localedata/hr_HR.ISO-8859-2.in: ...this.
29658 * localedata/hu_HU.in: Rename to...
29659 * localedata/hu_HU.UTF-8.in: ...this.
29660 * localedata/si_LK.in: Rename to...
29661 * localedata/si_LK.UTF-8.in: ...this.
29662 * localedata/sv_SE.in: Rename to...
29663 * localedata/sv_SE.ISO-8859-1.in: ...this.
29664 * localedata/tr_TR.in: Rename to...
29665 * localedata/tr_TR.UTF-8.in: ...this.
29666 * localedata/uk_UA.in: Rename to...
29667 * localedata/uk_UA.UTF-8.in: ...this.
29668 * localedata/sort-test.sh: Test file is locale name with the
29671 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29672 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29674 * localedata/locales/i18n_ctype: Regenerate.
29675 * localedata/locales/tr_TR: Likewise.
29676 * localedata/locales/translit_circle: Likewise.
29677 * localedata/locales/translit_cjk_compat: Likewise.
29678 * localedata/locales/translit_combining: Likewise.
29679 * localedata/locales/translit_compat: Likewise.
29680 * localedata/locales/translit_font: Likewise.
29681 * localedata/locales/translit_fraction: Likewise.
29683 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29685 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29686 lxvd2x/stxvd2x with lvx/stvx.
29687 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29689 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29691 * include/alloc_buffer.h: Replace "if if " with "if " in
29693 * sysdeps/mips/memcpy.S: Likkewise.
29694 * sysdeps/mips/memset.S: Likewise.
29695 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29697 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29699 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29702 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29705 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29706 yesexpr and noexpr.
29707 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29708 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29709 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29710 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29711 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29712 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29713 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29715 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29717 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29718 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29719 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29720 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29721 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29722 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29723 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29724 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29725 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29726 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29727 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29728 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29730 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29732 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29733 as possible for better readability of the source.
29734 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29735 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29736 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29737 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29738 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29739 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29740 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29741 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29742 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29743 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29744 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29745 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29746 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29747 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29748 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29749 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29750 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29751 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29752 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29753 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29754 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29755 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29756 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29757 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29758 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29759 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29760 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29761 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29762 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29763 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29764 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29765 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29766 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29767 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29768 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29769 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29770 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29771 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29772 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29773 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29774 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29775 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29776 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29777 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29778 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29779 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29780 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29781 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29782 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29783 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29784 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29785 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29786 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29787 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29788 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29789 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29790 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29791 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29792 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29793 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29794 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29795 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29796 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29797 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29798 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29799 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29800 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29801 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29802 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29803 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29804 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29805 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29806 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29807 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29808 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29809 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29810 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29811 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29812 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29813 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29814 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29815 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29816 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29817 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29818 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29819 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29820 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29821 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29822 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29823 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29824 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29825 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29826 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29827 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29828 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29829 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29830 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29831 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29832 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29833 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29834 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29835 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29836 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29837 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29838 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29839 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29840 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29841 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29842 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29843 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29844 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29845 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29846 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29847 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29848 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29849 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29850 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29851 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29852 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29853 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29854 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29855 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29856 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29857 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29858 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29859 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29860 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29861 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29862 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29863 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29864 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29865 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29866 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29867 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29868 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29869 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29870 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29871 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29872 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29873 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29874 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29875 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29876 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29877 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29878 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29879 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29880 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29881 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29882 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29883 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29884 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29885 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29886 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29887 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29888 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29889 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29890 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29891 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29892 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29893 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29894 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29895 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29896 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29897 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29898 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29899 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29900 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29901 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29902 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29903 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29904 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29905 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29906 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29907 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29909 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29911 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29912 (Use first letters of yesstr and nostr correctly instead of using
29915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29917 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29918 (Use first letters of yesstr and nostr correctly).
29920 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29922 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29923 also check for the first characters of yesstr and nostr.
29924 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29925 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29927 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29929 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29930 also check for Chinese characters.
29932 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29934 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29935 match also for the contents of yesstr and nostr. As the first letter
29936 of yesstr and nostr is equal, checking only for the first letter
29939 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29941 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29942 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29944 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29946 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29947 of main contributor.
29949 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29951 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29952 instead of using English.
29954 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29956 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29957 by including the first letters of nostr and yesexpr in the regexp.
29958 Also make it more readable by using ASCII where possible.
29960 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29962 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29963 the first letter of nostr in the regexp. It agrees with CLDR now.
29964 Also make it more readable by using ASCII where possible.
29966 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29968 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29969 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29970 these strings contain a U+17D6 (which somewhat looks like a colon)
29971 instead of a real colon to separate the full words for “yes”
29972 and “no” from the single letter responses.
29974 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29976 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29977 it agree with CLDR (include the first letter of yesstr).
29978 Also make it more readable by using ASCII where possible.
29980 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29982 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29983 and improve yesexpr and noexpr. The yesstr and nostr apparently
29984 came from CLDR. And CLDR has a bug there: these strings contain
29985 a U+0903 (which looks like a colon) instead of a real colon
29986 to separate the full words for “yes” and “no” from the single
29989 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29991 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29992 letters of the full yesstr and nostr in yesexpr and noexpr.
29994 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29996 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29997 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29998 * localedata/locales/an_ES: Make source more readable by using ASCII
30001 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30004 * localedata/locales/yuw_PG: New file.
30005 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30006 * locale/iso-639.def: Add Yau (Uruwa).
30008 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30010 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30012 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30014 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30015 (__libc_realloc): Likewise.
30016 (_mid_memalign): Likewise.
30017 (__libc_calloc): Likewise.
30019 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30021 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30022 by adding the generic +1 and -0 as in all other locales.
30023 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30024 day names and make it more readable by using ASCII where possible.
30026 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30028 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30029 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30031 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30033 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30034 WNOHANG in waitpid call.
30036 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30038 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30039 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30041 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30042 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30043 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30044 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30045 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30046 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30047 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30048 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30051 2017-10-23 Michael Collison <michael.collison@arm.com>
30053 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30054 with __builtin_sqrt.
30055 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30056 with __builtin_sqrtf.
30057 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30058 with __builtin_ceil.
30059 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30060 with __builtin_ceilf.
30061 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30062 with __builtin_floor.
30063 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30064 with __builtin_floorf.
30065 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30066 with __builtin_fma.
30067 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30068 with __builtin_fmaf.
30069 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30070 with __builtin_fmax.
30071 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30072 with __builtin_fmaxf.
30073 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30074 with __builtin_fmin.
30075 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30076 with __builtin_fminf.
30077 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30078 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30079 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30080 with builtin_rint and conversion to int.
30081 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30082 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30083 with builtin_llround.
30084 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30085 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30086 with builtin_rint and conversion to long int.
30087 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30088 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30089 with builtin_lround.
30090 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30091 with builtin_lroundf.
30092 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30093 statements with __builtin_nearbyint.
30094 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30095 statements with __builtin_nearbyintf.
30096 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30097 with __builtin_rint.
30098 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30099 with __builtin_rintf.
30100 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30101 with __builtin_round.
30102 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30103 with __builtin_roundf.
30104 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30105 with __builtin_trunc.
30106 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30107 with __builtin_truncf.
30108 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30109 and s_l[l]round[f].c too.
30111 2017-10-23 Alan Modra <amodra@gmail.com>
30113 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30114 Adjust stack after restoring regs. Add missing LR cfi_restore.
30116 2017-10-23 Alan Modra <amodra@gmail.com>
30118 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30119 Move LR save and frame setup/teardown and LR restore to
30120 immediately around memset call. Provide cfi.
30122 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30124 * sysdeps/i386/fpu/e_powf.S: Removed.
30125 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30126 * sysdeps/i386/fpu/w_powf.c: Likewise.
30127 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30128 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30129 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30131 (CFLAGS-e_powf-sse2.c): New.
30132 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30133 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30135 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30137 * sysdeps/i386/fpu/e_log2f.S: Removed.
30138 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30139 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30140 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30141 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30142 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30144 (CFLAGS-e_log2f-sse2.c): New.
30145 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30146 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30148 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30150 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30152 (CFLAGS-e_powf-fma.c): New.
30153 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30154 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30156 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30158 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30160 (CFLAGS-e_log2f-fma.c): New.
30161 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30162 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30164 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30166 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30168 (CFLAGS-e_logf-fma.c): New.
30169 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30170 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30172 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30174 * sysdeps/i386/fpu/e_logf.S: Removed.
30175 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30176 * sysdeps/i386/fpu/w_logf.c: Likewise.
30177 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30178 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30179 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30180 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30182 (CFLAGS-e_logf-sse2.c): New.
30183 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30184 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30186 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30188 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30189 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30190 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30191 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30192 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30194 (CFLAGS-e_exp2f-sse2.c): New.
30195 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30196 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30198 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30202 (CFLAGS-e_exp2f-fma.c): New.
30203 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30204 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30206 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30208 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30209 * sysdeps/i386/fpu/e_expf.S: Likewise.
30210 * sysdeps/i386/fpu/math_errf.c: Likewise.
30211 * sysdeps/i386/fpu/w_expf.c: Likewise.
30212 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30214 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30215 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30216 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30217 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30218 Remove e_expf-ia32.
30219 (CFLAGS-e_expf-sse2.c): New.
30220 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30221 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30223 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30225 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30226 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30227 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30228 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30230 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30232 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30233 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30235 (__redirect_expf): This.
30236 (SYMBOL_NAME): Changed to expf.
30237 (__ieee754_expf): Renamed to ...
30239 (__GI___expf): This.
30240 (__ieee754_expf): Add strong_alias.
30241 (__expf_finite): Likewise.
30243 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30245 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30248 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30251 2017-10-21 Florian Weimer <fweimer@redhat.com>
30253 * posix/Makefile (tests): Add tst-glob-tilde.
30254 (tests-special): Add tst-glob-tilde-mem.out
30255 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30256 (tst-glob-tilde-mem.out): Add mtrace check.
30257 * posix/tst-glob-tilde.c: New file.
30259 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30261 * bits/floatn-common.h: New file.
30262 * math/Makefile (headers): Add bits/floatn-common.h.
30263 * bits/floatn.h: Include <bits/floatn-common.h>.
30264 * sysdeps/ia64/bits/floatn.h: Likewise.
30265 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30266 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30267 * sysdeps/powerpc/bits/floatn.h: Likewise.
30268 * sysdeps/x86/bits/floatn.h: Likewise.
30270 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30272 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30273 indicates whether compiler emits an warning for alias for
30274 functions with incompatible types.
30277 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30278 the auxiliary process is terminated by a signal before calling _exit
30281 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30284 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30286 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30287 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30288 and bit_arch_XSAVEC_Usable if needed.
30289 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30290 and bit_arch_Use_dl_runtime_resolve_opt.
30291 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30293 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30294 (bit_arch_Prefer_No_AVX512): Updated.
30295 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30296 (bit_arch_XSAVEC_Usable): New.
30297 (STATE_SAVE_OFFSET): Likewise.
30298 (STATE_SAVE_MASK): Likewise.
30299 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30300 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30301 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30302 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30303 (index_arch_XSAVEC_Usable): New.
30304 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30305 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30306 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30308 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30309 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30310 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30311 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30312 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30313 _dl_runtime_resolve_xsavec.
30314 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30316 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30317 instead of VEC_SIZE.
30318 (REGISTER_SAVE_BND0): Removed.
30319 (REGISTER_SAVE_BND1): Likewise.
30320 (REGISTER_SAVE_BND3): Likewise.
30321 (REGISTER_SAVE_RAX): Always defined to 0.
30323 (_dl_runtime_resolve_avx): Likewise.
30324 (_dl_runtime_resolve_avx_slow): Likewise.
30325 (_dl_runtime_resolve_avx_opt): Likewise.
30326 (_dl_runtime_resolve_avx512): Likewise.
30327 (_dl_runtime_resolve_avx512_opt): Likewise.
30328 (_dl_runtime_resolve_sse): Likewise.
30329 (_dl_runtime_resolve_sse_vex): Likewise.
30331 (_dl_runtime_resolve_fxsave): Likewise.
30332 (USE_XSAVE): Likewise.
30333 (_dl_runtime_resolve_xsave): Likewise.
30334 (USE_XSAVEC): Likewise.
30335 (_dl_runtime_resolve_xsavec): Likewise.
30336 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30338 (_dl_runtime_resolve_avx512_opt): Likewise.
30339 (_dl_runtime_resolve_avx): Likewise.
30340 (_dl_runtime_resolve_avx_opt): Likewise.
30341 (_dl_runtime_resolve_sse): Likewise.
30342 (_dl_runtime_resolve_sse_vex): Likewise.
30343 (_dl_runtime_resolve_fxsave): New.
30344 (_dl_runtime_resolve_xsave): Likewise.
30345 (_dl_runtime_resolve_xsavec): Likewise.
30347 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30351 * posix/glob.c (__glob): Fix one-byte overflow.
30353 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30355 * malloc/malloc.c (sysdep-cancel.h): Add include.
30357 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30359 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30361 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30363 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30364 (tests): Remove $(objpfx)ga_test depdendency.
30365 * resolv/ga_test.c: Remove file.
30367 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30370 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30371 * localedata/locales/kab_DZ: New file.
30373 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30376 _dl_relocate_static_pie instead of _dl_start to compute load
30377 address in static PIE.
30379 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30381 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30383 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30386 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30387 * localedata/locales/shn_MM: New file.
30389 2017-10-20 Florian Weimer <fweimer@redhat.com>
30392 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30393 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30394 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30395 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30396 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30397 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30399 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30401 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30403 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30405 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30408 * sysdeps/mips/bits/long-double.h: Move to ....
30409 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30411 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30413 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30415 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30416 H.J. Lu <hongjiu.lu@intel.com>
30419 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30420 GLRO(dl_platform) to NULL.
30421 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30422 (modules-names): Add tst-platformmod-1 and
30423 x86_64/tst-platformmod-2.
30424 (CFLAGS-tst-platform-1.c): New.
30425 (CFLAGS-tst-platformmod-1.c): Likewise.
30426 (CFLAGS-tst-platformmod-2.c): Likewise.
30427 (LDFLAGS-tst-platformmod-2.so): Likewise.
30428 ($(objpfx)tst-platform-1): Likewise.
30429 ($(objpfx)tst-platform-1.out): Likewise.
30430 (tst-platform-1-ENV): Likewise.
30431 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30432 * sysdeps/x86_64/tst-platform-1.c: New file.
30433 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30434 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30436 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30439 * locale/iso-639.def: Add Karbi.
30440 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30441 * localedata/locales/mjw_IN: New file.
30443 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30445 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30446 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30447 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30448 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30449 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30450 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30451 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30453 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30454 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30455 * manual/math.texi (Mathematics): Document additional architecture
30456 support for _Float128.
30457 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30458 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30459 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30460 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30461 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30462 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30464 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30465 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30466 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30470 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30471 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30473 2017-10-18 Renlin Li <renlin.li@arm.com>
30475 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30476 _DYNAMIC symbol to calculate load address.
30478 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30480 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30481 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30483 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30484 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30486 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30489 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30490 and improve readability by using more ASCII.
30491 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30492 and improve readability by using more ASCII.
30494 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30496 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30497 not all targets support atomics on bool.
30499 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30501 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30502 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30504 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30505 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30506 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30507 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30508 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30509 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30511 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30513 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30516 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30519 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30520 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30521 (do_check_remalloced_chunk): Fix build bug.
30522 (do_check_malloc_state): Add assert that checks arena->top.
30523 (malloc_consolidate): Remove initialization.
30524 (int_mallinfo): Remove call to malloc_consolidate.
30525 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30527 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30529 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30530 (have_fastchunks): Remove.
30531 (clear_fastchunks): Remove.
30532 (set_fastchunks): Remove.
30533 (malloc_state): Add have_fastchunks.
30534 (malloc_init_state): Use have_fastchunks.
30535 (do_check_malloc_state): Remove incorrect invariant checks.
30536 (_int_malloc): Use have_fastchunks.
30537 (_int_free): Likewise.
30538 (malloc_consolidate): Likewise.
30540 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30542 * malloc/malloc.c (tcache_put): Inline.
30543 (tcache_get): Inline.
30545 2017-10-17 Jordi Mallach <jordi@gnu.org>
30547 Aurelien Jarno <aurelien@aurel32.net>
30549 * localedata/locales/ca_ES@valencia: New file.
30550 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30552 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30555 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30558 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30560 * scripts/build-many-glibcs.py (Context.add_all_configs):
30561 Add arm-linux-gnueabihf multiarch extra_glibcs.
30563 * sysdeps/generic/ifunc-init.h: New file.
30564 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30566 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30569 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30570 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30571 * stdlib/tst-strfmon_l.c: adapt test case.
30573 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30575 * sysdeps/generic/float128-abi.h: New file.
30576 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30577 non-__prefixed symbols to ....
30578 * math/Versions: ... here. Include <float128-abi.h>.
30579 * stdlib/Versions ... and here. Include <float128-abi.h>
30581 2017-10-16 Florian Weimer <fweimer@redhat.com>
30583 * version.h (VERSION): Switch to ".9000" as the development
30586 2017-10-16 Florian Weimer <fweimer@redhat.com>
30589 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30590 compat_symbol_reference to access non-default version.
30592 2017-10-16 Florian Weimer <fweimer@redhat.com>
30594 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30596 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30598 * include/shlib-compat.h (compat_symbol_reference): Update
30601 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30603 * math/Makefile (test-types): Add
30604 $(type-float128-$(float128-alias-fcts)).
30605 * math/test-float128.h (TYPE_STR): Define conditional on
30606 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30607 (ULP_IDX): Likewise.
30608 (ULP_I_IDX): Likewise.
30610 * stdlib/strtold.c: Include <bits/floatn.h>
30611 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30612 and later undefine as macro. Define as weak alias if
30614 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30615 and later undefine as macro. Define as weak alias if
30617 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30618 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30619 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30620 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30621 Define and later undefine as macro. Define as weak alias if
30623 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30625 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30626 Define and later undefine as macro. Define as weak alias if
30628 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30629 Define and later undefine as macro. Define as weak alias if
30632 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30634 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30635 record_verbose messages.
30637 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30640 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30641 to silence -O3 -Wall warning with GCC 7.
30643 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30645 * Makeconfig (+link-static-before-libc): Use the first of
30646 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30647 * gmon/Makefile (tests): Add tst-gmon-static.
30648 (tests-static): Likewise.
30649 (CFLAGS-tst-gmon-static.c): New.
30650 (CRT-tst-gmon-static): Likewise.
30651 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30652 (tst-gmon-static-ENV): Likewise.
30653 (tests-special): Likewise.
30654 ($(objpfx)tst-gmon-static.out): Likewise.
30655 (clean-tst-gmon-static-data): Likewise.
30656 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30657 * gmon/tst-gmon-static-gprof.sh: New file.
30658 * gmon/tst-gmon-static.c: Likewise.
30660 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30663 * locale/programs/linereader.c (get_string): Don't warn on
30664 non-symbolic character.
30667 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30671 * locale/programs/record-status.h: New file
30672 * locale/programs/locale.c: Add comment.
30673 * locale/programs/charmap-dir.c: Don't include error.h.
30674 (charmap_opendir): Use record_error.
30675 * locale/programs/charmap.c: Don't include error.h.
30676 (charmap_read): Use record_error, and record_warning.
30677 (parse_charmap): Likewise.
30678 * locale/programs/ld-address.c: Don't include error.h.
30679 (address_finish): Use record_error, and record_warning.
30680 * locale/programs/ld-collate.c: Don't include error.h.
30681 (collate_finish): Use record_error, and record_error_at_line.
30682 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30683 (ctype_class_new): Likewise.
30684 (ctype_map_new): Likewise.
30685 (set_one_default): Likewise.
30686 (set_class_defaults): Likewise.
30687 (translit_flatten): Likewise.
30688 (allocate_arrays): Use record_error, and record_verbose.
30689 * locale/programs/ld-identification.c: Don't include error.h.
30690 (indentation_finish): Use record_error and record_warning.
30691 * locale/programs/ld-measurement.c: Don't include error.h.
30692 (measurement_finish): Use record_error.
30693 * locale/programs/ld-messages.c
30694 (message_finish): Likewise.
30695 * locale/programs/ld-monetary.c
30696 (monetary_finish): Likewise.
30697 * locale/programs/ld-name.c (name_finish): Use record_error
30698 and record_warning.
30699 * locale/programs/ld-numeric.c
30700 (numeric_finish): Use record_error.
30701 * locale/programs/ld-paper.c: Don't include error.h.
30702 (paper_finish): Use record_error.
30703 * locale/programs/ld-telephone.c: Don't include error.h.
30704 (telephone_finish): Use record_error.
30705 * locale/programs/ld-time.c (time_finish): Likewise.
30706 * locale/programs/linereader.h (lr_error): Make inline func.
30707 * locale/programs/localedef.c: Define recorded_warning_count,
30708 and recorded_error_count.
30709 (main): Use record_error. Use recorded_error_count and
30710 recorded_warning_count to issue correct error returns.
30711 (add_to_readlist): Use record_error.
30712 (find_locale): Likewise.
30713 (load_locale): Likewise.
30714 * locale/programs/localedef.h: Remove be_quiet
30715 and WITH_CUR_LOCALE.
30716 * locale/programs/locarchive.c (compare_from_file): Use
30718 * locale/programs/locfile.c (write_locale_data): Use
30720 * locale/programs/repertoire.c: Dont include error.h.
30721 (repertoire_complain): Use record_error.
30722 * localedata/tst-fmon.sh: Expect failures from localedef.
30723 * localedata/tst-locale.sh: Likewise.
30724 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30726 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30727 (REPORTS): Likewise.
30729 (i18n): Rename to...
30730 (i18n_ctype): ...this.
30731 (i18n-report): Rename to...
30732 (i18n_ctype-report): ...this.
30733 * localedata/locales/i18n_ctype: Regenerate.
30734 * localedata/locales/i18n: copy i18n_ctype.
30736 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30738 * stdlib/strfroml.c: Include <bits/floatn.h>.
30739 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30740 Define before include of <stdlib.h> and undefine afterwards, then
30741 define as weak alias.
30743 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30744 Undefine and restore default definition. Use
30745 libm_alias_ldouble_other.
30747 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30750 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30753 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30755 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30756 Assign sym_map to be map for local symbols, as TLS relocations
30757 use sym_map to determine whether the symbol is defined and to
30758 extract the TLS information.
30759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30762 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30765 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30766 (math_force_eval): Add powerpc version.
30769 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30771 (do_test): Likewise.
30772 * stdio-common/tst-printf.sh: Likewise.
30773 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30774 ifdef clause in order to set the carry bit right. Replace r0 by
30775 0 without changing the behavior.
30777 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30779 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30780 <libm-alias-ldouble.h>.
30781 (fabsl): Define using libm_alias_ldouble.
30782 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30783 <libm-alias-ldouble.h>.
30784 (fabsl): Define using libm_alias_ldouble.
30786 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30787 Remove conditional code.
30789 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30790 Rename to __clog10_internal_l.
30791 (__clog10_internal_l): Define aliases using
30792 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30795 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30797 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30798 * benchtests/sincosf-inputs: New file.
30799 * benchtests/cosf-inputs: New file.
30800 * benchtests/sinf-inputs: New file.
30802 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30804 * posix/tst-spawn.c (do_test): Wait for both children.
30806 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30809 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30810 tests-pie): Add tst-gmon-pie.
30811 (CFLAGS-tst-gmon-pie.c): New.
30812 (CRT-tst-gmon-pie): Likewise.
30813 (tst-gmon-pie-ENV): Likewise.
30814 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30815 ($(objpfx)tst-gmon-pie.out): Likewise.
30816 (clean-tst-gmon-pie-data): Likewise.
30817 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30818 * gmon/gmon.c [PIC]: Include <link.h>.
30819 [PIC] (callback): New function.
30820 (write_hist): Add an argument for load address. Subtract load
30822 (write_call_graph): Likewise.
30823 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30824 it to write_hist and write_call_graph.
30825 * gmon/tst-gmon-pie.c: New file.
30827 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30829 * math/Makefile (test-types-basic): New variable.
30830 (test-types): Likewise.
30831 (libm-test-support): Use $(test-types) instead of $(types).
30832 (libm-tests-base-normal): Likewise.
30833 (libm-tests-base-finite): Likewise.
30834 (libm-tests-base-inline): Likewise.
30835 (generated): Likewise.
30836 ($(objpfx)libm-test-support-$(t).c): Likewise.
30837 (libm-tests-for-type iterator): Likewise.
30838 (libm-test-support iterator): Likewise.
30839 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30840 (ulp_idx): Use ULP_IDX.
30841 * math/test-ldouble.h: Include <float.h>.
30842 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30843 (ULP_IDX): New macro.
30844 (ULP_I_IDX): Likewise.
30845 * math/test-double.h (ULP_IDX): Likewise.
30846 (ULP_I_IDX): Likewise.
30847 * math/test-float.h (ULP_IDX): Likewise.
30848 (ULP_I_IDX): Likewise.
30849 * math/test-float128.h (ULP_IDX): Likewise.
30850 (ULP_I_IDX): Likewise.
30852 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30854 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30855 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30857 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30858 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30859 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30860 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30863 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30864 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30865 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30866 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30868 (SINGLE_THREAD_BY_GLOBAL): Define.
30869 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30871 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30873 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30875 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30877 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30878 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30882 2017-10-11 Andreas Schwab <schwab@suse.de>
30884 * nis/Makefile (aux): Remove.
30885 * nscd/Makefile (aux): Add nscd_hash.
30886 (nscd-modules): Likewise.
30887 ($(objpfx)nscd): Don't depend on libnsl.
30888 * nscd/nscd_hash.c: New file.
30889 * nscd/nscd_hash.h: Likewise.
30890 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30891 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30892 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30893 instead of <nis/rpcsvc/nis.h>.
30894 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30896 2017-10-11 Florian Weimer <fweimer@redhat.com>
30899 Avoid large NSS buffers with many addresses, aliases.
30900 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30901 using dynarrays and struct alloc_buffer.
30902 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30903 (tst-nss-files-hosts-multi): Link with -ldl.
30904 * nss/tst-nss-files-hosts-multi.c: New file.
30906 2017-10-11 Florian Weimer <fweimer@redhat.com>
30909 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30910 scratch_buffer. Eliminate gotos.
30912 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30914 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30915 libm_alias_ldouble_other.
30916 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30917 undefine and redefine.
30918 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30919 (exp10l): Do not define here.
30920 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30921 (weak_alias): Undefine and redefine.
30922 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30923 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30924 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30925 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30927 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30928 [!__fma] (fma): Define using libm_alias_double.
30929 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30930 [!__fmaf] (fmaf): Define using libm_alias_float.
30931 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30932 (fmal): Define using libm_alias_ldouble.
30934 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30936 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30938 (libm_alias_double_other): Likewise.
30939 (libm_alias_double_r): Use libm_alias_double_other_r.
30940 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30942 (libm_alias_float_other): Likewise.
30943 (libm_alias_float_r): Use libm_alias_float_other_r.
30944 * sysdeps/generic/libm-alias-float128.h
30945 (libm_alias_float128_other_r): New macro.
30946 (libm_alias_float128_other): Likewise.
30947 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30948 * sysdeps/generic/libm-alias-ldouble.h
30949 (libm_alias_ldouble_other_r): New macro.
30950 (libm_alias_ldouble_other): Likewise.
30951 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30952 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30953 (libm_alias_double_other_r): New macro.
30954 (libm_alias_double_other): Likewise.
30955 (libm_alias_double_r): Use libm_alias_double_other_r.
30956 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30957 (libm_alias_ldouble_other_r): New macro.
30958 (libm_alias_ldouble_other): Likewise.
30959 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30960 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30961 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30962 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30963 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30964 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30965 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30966 * math/w_exp2f.c: Use libm_alias_float_other.
30967 * math/w_expf.c: Likewise.
30968 * math/w_log2f.c: Likewise.
30969 * math/w_logf.c: Likewise.
30970 * math/w_powf.c: Likewise.
30971 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30972 [!__exp2f]: Use libm_alias_float_other.
30973 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30974 [!__expf]: Use libm_alias_float_other.
30975 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30976 [!__log2f]: Use libm_alias_float_other.
30977 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30978 [!__logf]: Use libm_alias_float_other.
30979 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30980 [!__powf]: Use libm_alias_float_other.
30982 2017-10-10 Florian Weimer <fweimer@redhat.com>
30984 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30986 (_nss_files_gethostbyname3_r): Call it.
30988 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30991 error. Remove default definition of declare_mgen_alias.
30992 [!declare_mgen_alias_r]: Likewise.
30993 * sysdeps/generic/math-type-macros-double.h
30994 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30995 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30996 (declare_mgen_alias_r): Likewise.
30997 * sysdeps/generic/math-type-macros-float128.h
30998 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30999 * sysdeps/generic/math-type-macros-ldouble.h
31000 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31001 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31003 (declare_mgen_alias_r_s): Likewise.
31004 (declare_mgen_alias_r): Likewise.
31005 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31006 (lgamma_r): Define using libm_alias_double_r.
31007 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31008 (lgammaf_r): Define using libm_alias_float_r.
31009 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31010 (lgammal_r): Define using libm_alias_ldouble_r.
31011 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31012 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31014 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31016 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31017 extern declaration.
31019 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31021 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31023 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31026 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31027 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31028 * math/Makefile (test-math-cxx11): New test.
31029 * math/test-math-cxx11.cc: New file.
31031 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31033 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31035 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31036 call to allocate the slave pty file descriptor.
31038 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31040 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31041 [!__fma] (fma): Define using libm_alias_double.
31042 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31043 [!__fma] (fma): Define using libm_alias_double.
31045 * sysdeps/ieee754/float128/float128_private.h: Include
31046 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31047 (libm_alias_ldouble_r): Undefine and redefine.
31048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31049 <libm-alias-ldouble.h>.
31050 (asinhl): Define using libm_alias_ldouble.
31051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31052 <libm-alias-ldouble.h>.
31053 (atanl): Define using libm_alias_ldouble.
31054 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31055 <libm-alias-ldouble.h>.
31056 (cbrtl): Define using libm_alias_ldouble.
31057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31058 <libm-alias-ldouble.h>.
31059 (ceill): Define using libm_alias_ldouble.
31060 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31061 <libm-alias-ldouble.h>.
31062 (copysignl): Define using libm_alias_ldouble.
31063 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31064 <libm-alias-ldouble.h>.
31065 (cosl): Define using libm_alias_ldouble.
31066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31067 <libm-alias-ldouble.h>.
31068 (erfl): Define using libm_alias_ldouble.
31070 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31071 <libm-alias-ldouble.h>.
31072 (expm1l): Define using libm_alias_ldouble.
31073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31074 <libm-alias-ldouble.h>.
31075 (fabsl): Define using libm_alias_ldouble.
31076 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31077 <libm-alias-ldouble.h>.
31078 (floorl): Define using libm_alias_ldouble.
31079 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31080 <libm-alias-ldouble.h>.
31081 (fmal): Define using libm_alias_ldouble.
31082 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31083 <libm-alias-ldouble.h>.
31084 (frexpl): Define using libm_alias_ldouble.
31085 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31086 libm_alias_ldouble.
31087 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31088 <libm-alias-ldouble.h>.
31089 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31090 libm_alias_ldouble.
31091 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31092 <libm-alias-ldouble.h>.
31093 (getpayloadl): Define using libm_alias_ldouble.
31094 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31095 <libm-alias-ldouble.h>.
31096 (llrintl): Define using libm_alias_ldouble.
31097 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31098 <libm-alias-ldouble.h>.
31099 (llroundl): Define using libm_alias_ldouble.
31100 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31101 <libm-alias-ldouble.h>.
31102 (logbl): Define using libm_alias_ldouble.
31103 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31104 <libm-alias-ldouble.h>.
31105 (lrintl): Define using libm_alias_ldouble.
31106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31107 <libm-alias-ldouble.h>.
31108 (lroundl): Define using libm_alias_ldouble.
31109 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31110 <libm-alias-ldouble.h>.
31111 (modfl): Define using libm_alias_ldouble.
31112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31113 <libm-alias-ldouble.h>.
31114 (nearbyintl): Define using libm_alias_ldouble.
31115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31116 <libm-alias-ldouble.h>.
31117 (nextafterl): Define using libm_alias_ldouble.
31118 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31119 <libm-alias-ldouble.h>.
31120 (nextupl): Define using libm_alias_ldouble.
31121 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31122 <libm-alias-ldouble.h>.
31123 (remquol): Define using libm_alias_ldouble.
31124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31125 <libm-alias-ldouble.h>.
31126 (rintl): Define using libm_alias_ldouble.
31127 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31128 <libm-alias-ldouble.h>.
31129 (roundevenl): Define using libm_alias_ldouble.
31130 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31131 <libm-alias-ldouble.h>.
31132 (roundl): Define using libm_alias_ldouble.
31133 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31134 using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31136 <libm-alias-ldouble.h>.
31137 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31138 Define using libm_alias_ldouble.
31139 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31140 <libm-alias-ldouble.h>.
31141 (sincosl): Define using libm_alias_ldouble.
31142 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31143 <libm-alias-ldouble.h>.
31144 (sinl): Define using libm_alias_ldouble.
31145 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31146 <libm-alias-ldouble.h>.
31147 (tanhl): Define using libm_alias_ldouble.
31148 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31149 <libm-alias-ldouble.h>.
31150 (tanl): Define using libm_alias_ldouble.
31151 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31152 <libm-alias-ldouble.h>.
31153 (totalorderl): Define using libm_alias_ldouble.
31154 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31155 <libm-alias-ldouble.h>.
31156 (totalordermagl): Define using libm_alias_ldouble.
31157 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31158 <libm-alias-ldouble.h>.
31159 (truncl): Define using libm_alias_ldouble.
31160 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31161 libm_alias_ldouble.
31162 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31163 libm_alias_ldouble.
31164 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31165 <libm-alias-ldouble.h>.
31166 (weak_alias): Do not undefine and redefine.
31167 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31168 (copysignl): Define with long_double_symbol only if [IS_IN
31170 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31171 <libm-alias-ldouble.h>.
31172 (weak_alias): Do not undefine and redefine.
31173 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31174 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31175 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31176 <libm-alias-ldouble.h>.
31177 (weak_alias): Do not undefine and redefine.
31178 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31179 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31180 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31181 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31184 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31187 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31190 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31197 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31205 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31208 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31209 (tcache_thread_freeres): Set tcache_shutting_down before
31210 freeing the tcache.
31211 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31212 * malloc/tst-malloc-tcache-leak.c: New file.
31214 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31216 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31217 back to powerpc32 file.
31218 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31219 (memrchr): Add __memrchr_power8 to ifunc list.
31220 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31221 extra bytes for unaligned inputs.
31223 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31225 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31226 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31231 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31233 * sysdeps/arm/libm-test-ulps: Update.
31235 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31236 <libm-alias-ldouble.h>.
31237 (asinhl): Define using libm_alias_ldouble.
31238 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31239 <libm-alias-ldouble.h>.
31240 (cbrtl): Define using libm_alias_ldouble.
31241 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31242 <libm-alias-ldouble.h>.
31243 (copysignl): Define using libm_alias_ldouble.
31244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31245 <libm-alias-ldouble.h>.
31246 (cosl): Define using libm_alias_ldouble.
31247 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31248 <libm-alias-ldouble.h>.
31249 (erfl): Define using libm_alias_ldouble.
31251 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31252 <libm-alias-ldouble.h>.
31253 (fmal): Define using libm_alias_ldouble.
31254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31255 <libm-alias-ldouble.h>.
31256 (frexpl): Define using libm_alias_ldouble.
31257 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31258 libm_alias_ldouble.
31259 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31260 <libm-alias-ldouble.h>.
31261 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31262 libm_alias_ldouble.
31263 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31264 <libm-alias-ldouble.h>.
31265 (getpayloadl): Define using libm_alias_ldouble.
31266 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31267 <libm-alias-ldouble.h>.
31268 (llrintl): Define using libm_alias_ldouble.
31269 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31270 <libm-alias-ldouble.h>.
31271 (llroundl): Define using libm_alias_ldouble.
31272 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31273 <libm-alias-ldouble.h>.
31274 (lrintl): Define using libm_alias_ldouble.
31275 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31276 <libm-alias-ldouble.h>.
31277 (lroundl): Define using libm_alias_ldouble.
31278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31279 <libm-alias-ldouble.h>.
31280 (modfl): Define using libm_alias_ldouble.
31281 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31282 <libm-alias-ldouble.h>.
31283 (nextupl): Define using libm_alias_ldouble.
31284 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31285 <libm-alias-ldouble.h>.
31286 (remquol): Define using libm_alias_ldouble.
31287 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31288 <libm-alias-ldouble.h>.
31289 (roundevenl): Define using libm_alias_ldouble.
31290 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31291 <libm-alias-ldouble.h>.
31292 (roundl): Define using libm_alias_ldouble.
31293 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31294 using libm_alias_ldouble.
31295 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31296 <libm-alias-ldouble.h>.
31297 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31298 <libm-alias-ldouble.h>.
31299 (setpayloadsigl): Define using libm_alias_ldouble.
31300 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31301 <libm-alias-ldouble.h>.
31302 (sincosl): Define using libm_alias_ldouble.
31303 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31304 <libm-alias-ldouble.h>.
31305 (sinl): Define using libm_alias_ldouble.
31306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31307 <libm-alias-ldouble.h>.
31308 (tanhl): Define using libm_alias_ldouble.
31309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31310 <libm-alias-ldouble.h>.
31311 (tanl): Define using libm_alias_ldouble.
31312 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31313 <libm-alias-ldouble.h>.
31314 (totalorderl): Define using libm_alias_ldouble.
31315 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31316 <libm-alias-ldouble.h>.
31317 (totalordermagl): Define using libm_alias_ldouble.
31318 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31319 libm_alias_ldouble.
31320 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31321 libm_alias_ldouble.
31323 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31325 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31327 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31328 (__libc_ifunc_impl_list): Likewise.
31329 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31330 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31332 * benchtests/bench-memmove-walk.c: New file.
31333 * benchtests/Makefile (string-benchset): Add it.
31335 * benchtests/bench-memset-walk.c: New file.
31336 * benchtests/Makefile (string-benchset): Add it.
31338 * benchtests/bench-memcpy-walk.c: New file.
31339 * benchtests/Makefile (string-benchset): Add it.
31341 2017-10-05 Florian Weimer <fweimer@redhat.com>
31343 nscd: Eliminate compilation time dependency in the build output.
31344 * nscd/nscd_stat.c (STATDATA_VERSION)
31345 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31346 (STATDATA_VERSION_FULL): New macro definitions.
31347 (compilation): Remove.
31348 (struct statdata): Adjust version member.
31349 (send_stats): Set version from STATDATA_VERSION_FULL.
31350 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31352 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31354 * configure.ac (--enable-add-ons): Remove option.
31355 (machine): Do not mention add-ons in comment.
31356 (LIBC_PRECONFIGURE): Likewise.
31357 (add_ons): Remove variable and sanity checks and logic to locate
31359 (add_ons_automatic): Remove variable.
31360 (configured_add_ons): Likewise.
31361 (add_ons_sfx): Likewise.
31362 (add_ons_pfx): Likewise.
31363 (add_on_subdirs): Likewise.
31364 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31365 consideration of add-ons in Implies handling.
31366 (sysdeps_add_ons): Likewise.
31367 * configure: Regenerated.
31368 * libidn/configure.ac: Remove.
31369 * libidn/configure: Likewise.
31370 * sysdeps/unix/inet/configure.ac: New file.
31371 * sysdeps/unix/inet/configure: New generated file.
31372 * sysdeps/unix/inet/Subdirs: Add libidn.
31373 * Makeconfig (sysdeps-srcdirs): Remove variable.
31374 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31375 ($(common-objpfx)config.status): Do not depend on add-on files.
31376 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31378 (all-subdirs): Do not include $(add-on-subdirs).
31379 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31380 * config.make.in (add-ons): Remove variable.
31381 (add-on-subdirs): Likewise.
31382 (sysdeps-add-ons): Likewise.
31383 * manual/Makefile (add-chapters): Remove.
31384 ($(objpfx)texis): Do not depend on $(add-chapters).
31385 (nonexamples): Do not handle $(add-chapters).
31386 (examples): Do not handle $(add-ons).
31387 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31389 * manual/install.texi (Installation): Do not mention add-ons.
31390 (--enable-add-ons): Do not document configure option.
31391 * INSTALL: Regenerated.
31392 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31393 * manual/maint.texi (Hierarchy Conventions): Do not mention
31395 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31397 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31399 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31400 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31402 2017-10-05 Andreas Schwab <schwab@suse.de>
31405 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31406 (_IO_flush_all_lockp): Always lock list_all_lock.
31407 (_IO_flush_all_linebuffered): Likewise.
31408 (_IO_unbuffer_all): Likewise.
31410 2017-10-05 Florian Weimer <fweimer@redhat.com>
31413 Do not flush stdio streams on abort.
31414 * stdlib/abort.c (fflush): Remove macro definition.
31415 (abort): Remove stages related to stdio flushing.
31417 2017-10-05 Florian Weimer <fweimer@redhat.com>
31419 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31421 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31423 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31425 2017-10-05 Florian Weimer <fweimer@redhat.com>
31427 * support/support_format_hostent.c (support_format_hostent): Add
31428 more error information for NETDB_INTERNAL.
31430 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31432 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31433 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31434 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31435 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31436 AC_DEFINE if multi-arch is enabled.
31437 * sysdeps/i386/configure: Regenerated.
31439 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31441 * Makeconfig (+link-static-before-libc): Use
31442 $(DEFAULT-LDFLAGS-$(@F)).
31443 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31444 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31445 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31447 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31449 * elf/Makefile (tests): Add tst-main1.
31450 (modules-names): Add tst-main1mod.
31451 ($(objpfx)tst-main1): New.
31452 (CRT-tst-main1): Likewise.
31453 (LDFLAGS-tst-main1): Likewise.
31454 (LDLIBS-tst-main1): Likewise.
31455 (tst-main1mod.so-no-z-defs): Likewise.
31456 * elf/tst-main1.c: New file.
31457 * elf/tst-main1mod.c: Likewise.
31459 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31461 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31463 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31465 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31466 (fma): Define using libm_alias_double.
31467 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31468 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31470 (fmal): Do not define as compat symbol here.
31471 * sysdeps/alpha/fpu/s_fma.c: New file.
31473 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31475 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31477 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31480 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31482 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31484 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31485 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31486 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31487 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31489 Include <math_ldbl_opt.h>
31490 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31492 (compat_symbol): Undefine and redefine.
31493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31495 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31496 (compat_symbol): Undefine and redefine.
31497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31498 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31499 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31500 GLIBC_2_1 for libm.
31501 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31502 GLIBC_2.0 copysignl symbol.
31503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31504 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31506 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31508 2017-10-04 Florian Weimer <fweimer@redhat.com>
31510 * scripts/check-local-headers.sh: Ignore nspr4 header file
31511 directory in addition to nspr.
31513 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31516 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31517 * configure: Regenerate.
31518 * crypt/Makefile (nss-cpp-flags): New variable.
31519 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31520 (CPPFLAGS-md5-crypt.c): Use it.
31521 * scripts/check-local-headers.sh: Ignore nspr header file
31524 2017-10-04 Andreas Schwab <schwab@suse.de>
31526 * nis/Makefile (services): Remove compat.
31527 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31528 ($(objpfx)libnss_compat.so): Remove rule.
31529 * nis/Versions (libnss_compat): Remove.
31530 * nss/Makefile (services): Add compat.
31531 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31532 * nss/Versions (libnss_compat): Define.
31533 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31534 Don't include <rpc/types.h>. Replace bool_t by bool.
31535 * nss/nss_compat/compat-initgroups.c: Likewise.
31536 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31537 instead of <rpcsrv/ypclnt.h>.
31538 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31539 yp_get_default_domain.
31540 * nss/nss_compat/compat-pwd.c: Likewise.
31541 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31542 yp_get_default_domain.
31543 * nss/nss_compat/nisdomain.c: New file.
31544 * nss/nss_compat/nisdomain.h: Likewise.
31546 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31549 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31550 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31552 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31558 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31560 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31561 "movl main@GOTOFF(%ebx), %eax".
31563 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31565 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31566 allow undefined _DYNAMIC in PIE libc.a.
31567 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31570 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31572 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31575 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31577 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31580 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31582 * math/test-math-iscanonical.cc (error): Replace bool with int.
31584 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31586 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31587 (modf): Define using libm_alias_double, only if [!__modf].
31588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31589 <libm-alias-double.h>.
31590 (modf): Define using libm_alias_double, only if [!__modf].
31591 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31592 compat symbol here.
31593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31594 (weak_alias): Do not undefine and redefine.
31595 (strong_alias): Likewise.
31596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31597 (weak_alias): Likewise.
31598 (strong_alias): Likewise.
31600 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31601 (logb): Define using libm_alias_double, only if [!__logb].
31602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31603 <libm-alias-double.h>.
31604 (logb): Define using libm_alias_double, only if [!__logb].
31605 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31607 (weak_alias): Do not undefine and redefine.
31608 (strong_alias): Likewise.
31609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31610 (weak_alias): Likewise.
31611 (strong_alias): Likewise.
31613 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31615 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31616 Check SHARED instead PIC.
31618 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31620 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31621 [!__fmaf] (fmaf): Define using libm_alias_float.
31623 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31624 (frexp): Define using libm_alias_double.
31625 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31626 <libm-alias-double.h>.
31627 (frexp): Define using libm_alias_double.
31628 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31629 compat symbol here.
31631 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31634 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31635 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31636 (CFLAGS-test-math-iscanonical.cc): New variable.
31637 * math/test-math-iscanonical.cc: New file.
31638 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31639 Provide a C++ implementation based on function overloading,
31640 rather than using __MATH_TG, which uses C-only builtins.
31641 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31643 * sysdeps/powerpc/powerpc64le/Makefile
31644 (CFLAGS-test-math-iscanonical.cc): New variable.
31646 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31648 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31649 (ceil): Define using libm_alias_double.
31650 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31651 (floor): Define using libm_alias_double.
31652 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31653 <libm-alias-double.h>.
31654 (llround): Define using libm_alias_double.
31655 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31656 <libm-alias-double.h>.
31657 (lround): Define using libm_alias_double.
31658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31659 <libm-alias-double.h>.
31660 (nearbyint): Define using libm_alias_double.
31661 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31662 <libm-alias-double.h>.
31663 (remquo): Define using libm_alias_double.
31664 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31665 (rint): Define using libm_alias_double.
31666 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31667 (round): Define using libm_alias_double.
31668 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31669 (trunc): Define using libm_alias_double.
31670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31671 <libm-alias-double.h>.
31672 (ceil): Define using libm_alias_double.
31673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31674 <libm-alias-double.h>.
31675 (floor): Define using libm_alias_double.
31676 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31677 <libm-alias-double.h>.
31678 (llround): Define using libm_alias_double.
31679 [_LP64] (lround): Likewise.
31680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31681 <libm-alias-double.h>.
31682 [!_LP64] (lround): Define using libm_alias_double.
31683 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31684 <libm-alias-double.h>.
31685 (nearbyint): Define using libm_alias_double.
31686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31687 <libm-alias-double.h>.
31688 (remquo): Define using libm_alias_double.
31689 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31690 <libm-alias-double.h>.
31691 (rint): Define using libm_alias_double.
31692 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31693 <libm-alias-double.h>.
31694 (round): Define using libm_alias_double.
31695 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31696 <libm-alias-double.h>.
31697 (trunc): Define using libm_alias_double.
31698 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31699 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31700 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31701 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31702 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31703 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31704 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31705 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31706 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31708 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31710 * math/w_remainder.c: New file.
31711 * math/w_remainderf.c: New file.
31712 * math/w_remainderl.c: New file.
31714 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31716 * elf/rtld.c (BOOTSTRAP_MAP): New.
31717 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31718 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31720 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31722 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31725 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31727 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31728 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31729 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31730 rtld_hidden_data_ver): Define to empty.
31731 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31732 __assert_perror_fail): Likewise.
31733 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31734 (__rewinddir): Likewise.
31735 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31736 (__profile_frequency): Likewise.
31737 * include/setjmp.h (__sigsetjmp): Likewise.
31738 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31739 __libc_sigaction): Likewise.
31740 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31741 not set hidden attribute.
31742 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31743 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31744 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31745 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31746 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31747 __fxstatat64): Likewise.
31748 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31749 (__uname): Likewise.
31750 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31751 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31752 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31753 (NO_RTLD_HIDDEN): Set.
31754 * sysdeps/mach/hurd/configure: Refresh.
31755 * config.h.in: Refresh.
31757 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31759 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31760 (atan): Define using libm_alias_double.
31761 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31762 (tan): Define using libm_alias_double.
31763 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31764 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31766 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31767 define as weak alias of __atan. Do not define any aliases if
31769 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31770 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31772 as weak alias of __tan. Do not define any aliases if [__tan].
31773 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31774 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31775 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31777 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31779 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31780 and define as weak alias of __atan.
31781 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31784 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31785 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31786 define as weak alias of __tan.
31788 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31790 * math/w_lgamma.c: New file.
31791 * math/w_lgammaf.c: New file.
31792 * math/w_lgammal.c: New file.
31794 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31796 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31797 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31798 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31799 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31800 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31801 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31802 * sysdeps/i386/fpu/w_log2f.c: New file.
31803 * sysdeps/i386/fpu/w_logf.c: New file.
31804 * sysdeps/i386/fpu/w_powf.c: New file.
31805 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31806 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31807 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31809 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31810 H.J. Lu <hongjiu.lu@intel.com>
31812 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31813 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31814 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31815 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31816 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31818 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31819 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31820 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31821 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31822 * sysdeps/i386/fpu/w_exp2f.c: New file.
31823 * sysdeps/i386/fpu/w_expf.c: New file.
31824 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31825 * sysdeps/x86_64/fpu/w_expf.c: New file.
31827 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31829 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31832 * math/w_log2f.c: New file.
31833 * math/w_logf.c: New file.
31834 * math/w_powf.c: New file.
31835 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31836 * math/w_logf_compat.c (__logf_compat): Likewise.
31837 * math/w_powf_compat.c (__powf_compat): Likewise.
31838 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31839 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31840 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31841 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31842 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31845 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31846 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31847 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31849 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31850 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31851 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31852 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31861 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31862 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31863 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31864 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31870 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31871 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31872 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31874 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31876 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31877 (sysdep_routines): Add memrchr_power8.
31878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31879 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31880 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31882 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31883 (memrchr): Add __memrchr_power8 to ifunc list.
31884 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31889 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31890 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31892 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31893 (__posix_fallocate64_l64): Likewise.
31895 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31898 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31899 (__sched_setaffinity_new): Add libc_hidden_proto and
31902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31905 * include/glob.h (__glob64): Add libc_hidden_proto.
31906 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31912 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31918 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31923 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31929 * csu/version.c (__libc_print_version): Add attribute_hidden.
31931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31934 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31939 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31944 * nscd/nscd_helper.c (__nis_hash): New prototype.
31946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31949 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31950 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31952 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31953 * termios/tcgetattr.c (__tcgetattr): Likewise.
31955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31958 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31959 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31960 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31961 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31962 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31967 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31972 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31973 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31978 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31983 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31984 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31989 * include/ifreq.h: New file.
31990 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31991 (__ifreq): Likewise.
31992 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31993 (__ifreq): Likewise.
31995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31998 * include/idna.h: New file.
31999 * inet/getnameinfo.c: Include <idna.h> instead of
32001 (__idna_to_unicode_lzlz): Removed.
32002 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32004 (__idna_to_ascii_lz): Removed.
32005 (__idna_to_unicode_lzlz): Likewise.
32007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32010 * include/plural-exp.h: New file.
32011 * intl/plural-exp.c: Include <plural-exp.h> instead of
32014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32017 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32018 "getsourcefilter.h".
32019 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32020 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32021 "getsourcefilter.h".
32022 (__get_sol): Removed.
32024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32027 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32029 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32034 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32040 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32045 * include/search.h (__tdestroy): Add libc_hidden_proto.
32046 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32051 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32056 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32062 * include/signal.h (__kill): Add libc_hidden_proto.
32063 (__sigblock): Likewise.
32064 (__sigprocmask): Likewise.
32065 (__sigaltstack): Likewise.
32066 * signal/kill.c (__kill): Add libc_hidden_def.
32067 * signal/sigblock.c (__sigblock): Likewise.
32068 * signal/sigprocmask.c (__sigprocmask): Likewise.
32069 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32070 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32071 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32072 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32073 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32075 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32077 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32078 (__sigprocmask): Likewise.
32079 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32081 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32082 (__sigprocmask): Likewise.
32083 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32089 * include/string.h (__strsep): Add libc_hidden_proto.
32090 * string/strsep.c (__strsep): Add libc_hidden_def.
32092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32095 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32097 (__spawni): Likewise.
32099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32102 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32103 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32109 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32114 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32115 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32116 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32117 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32118 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32120 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32121 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32126 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32127 (__dcigettext): Likewise.
32129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32132 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32134 (__get_nprocs): Likewise.
32135 (__get_phys_pages): Likewise.
32136 (__get_avphys_pages): Likewise.
32137 (__get_child_max): Add attribute_hidden.
32138 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32139 (__get_nprocs): Likewise.
32140 (__get_phys_pages): Likewise.
32141 (__get_avphys_pages): Likewise.
32142 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32144 (__get_nprocs): Likewise.
32145 (__get_phys_pages): Likewise.
32146 (__get_avphys_pages): Likewise.
32147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32149 (__get_nprocs_conf): Likewise.
32150 (__get_phys_pages): Likewise.
32151 (__get_avphys_pages): Likewise.
32153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32156 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32158 (__netlink_close): Likewise.
32159 (__netlink_free_handle): Likewise.
32160 (__netlink_request): Likewise.
32162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32165 * include/rpc/rpc.h (__rpc_thread_variables): Add
32167 (__rpc_thread_svc_cleanup): Likewise.
32168 (__rpc_thread_clnt_cleanup): Likewise.
32169 (__rpc_thread_key_cleanup): Likewise.
32171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32174 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32175 (__writev): Likewise.
32176 * misc/readv.c (__readv): Add libc_hidden_def.
32177 * misc/writev.c (__writev): Likewise.
32178 * sysdeps/posix/readv.c (__readv): Likewise.
32179 * sysdeps/posix/writev.c (__writev): Likewise.
32180 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32181 (__readv): Likewise.
32182 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32183 (__writev): Likewise.
32185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32188 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32189 (__regcomp): Add libc_hidden_proto.
32190 (__regexec): Likewise.
32191 (__regfree): Likewise.
32192 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32193 (__regfree): Likewise.
32194 * posix/regexec.c (__regexec): Likewise.
32196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32199 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32200 (__getutent): Likewise.
32201 (__getutid): Likewise.
32202 (__getutline): Likewise.
32203 (__pututline): Likewise.
32204 (__getutent_r): Likewise.
32205 (__getutid_r): Likewise.
32206 (__getutline_r): Likewise.
32207 (__utmpname): Add attribute_hidden.
32208 (__setutent): Likewise.
32209 (__endutent): Likewise.
32210 * login/getutent.c (__getutent): Add libc_hidden_def.
32211 * login/getutent_r.c (__getutent_r): Likewise.
32212 (__pututline): Likewise.
32213 * login/getutid.c (__getutid): Likewise.
32214 * login/getutid_r.c (__getutid_r): Likewise.
32215 * login/getutline.c (__getutline): Likewise.
32216 * login/getutline_r.c (__getutline_r): Likewise.
32217 * login/updwtmp.c (__updwtmp): Likewise.
32219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32222 * include/dirent.h (__opendir): Always add attribute_hidden.
32223 (__fdopendir): Likewise.
32224 (__closedir): Likewise.
32225 (__readdir): Likewise.
32226 (__readdir64): Add libc_hidden_proto.
32227 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32228 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32229 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32230 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32236 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32237 * include/netdb.h (__gethostbyaddr_r): Likewise.
32238 (__gethostbyname_r): Likewise.
32239 (__gethostbyname2_r): Likewise.
32240 (__getnetbyaddr_r): Likewise.
32241 (__getnetbyname_r): Likewise.
32242 (__getservbyname_r): Likewise.
32243 (__getservbyport_r): Likewise.
32244 (__getprotobyname_r): Likewise.
32245 (__getprotobynumber_r): Likewise.
32246 (__getnetgrent_r): Likewise.
32247 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32248 (__getrpcbynumber_r): Likewise.
32249 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32254 * include/stdio.h (__fcloseall): Add attribute_hidden.
32255 (__getline): Likewise.
32256 (__path_search): Likewise.
32257 (__gen_tempname): Likewise.
32258 (__libc_message): Likewise.
32259 (__flockfile): Likewise.
32260 (__funlockfile): Likewise.
32261 (__fxprintf): Likewise.
32262 (__fxprintf_nocancel): Likewise.
32264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32267 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32268 (__sgetsgent_r): Likewise.
32270 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32273 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32274 (__statfs64): Likewise.
32275 (__fstatfs64): Likewise.
32276 * include/sys/statvfs.h (__statvfs64): Likewise.
32277 (__fstatvfs64): Likewise.
32278 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32279 (__statfs_filesize_max): Likewise.
32280 (__statfs_symlinks): Likewise.
32281 (__statfs_chown_restricted): Likewise.
32283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32286 * include/time.h (__tzstring): Add attribute_hidden.
32287 (__tzfile_read): Likewise.
32288 (__tzfile_compute): Likewise.
32289 (__tzfile_default): Likewise.
32290 (__tzset_parse_tz): Likewise.
32291 (__offtime): Likewise.
32292 (__asctime_r): Likewise.
32293 (__tzset): Likewise.
32294 (__tz_convert): Likewise.
32295 (__getdate_r): Likewise.
32296 (__getclktck): Likewise.
32298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32301 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32302 (__nscd_unmap): Likewise.
32303 (__nscd_cache_search): Likewise.
32304 (__nscd_get_nl_timestamp): Likewise.
32305 (__nscd_getpwnam_r): Likewise.
32306 (__nscd_getpwuid_r): Likewise.
32307 (__nscd_getgrnam_r): Likewise.
32308 (__nscd_getgrgid_r): Likewise.
32309 (__nscd_gethostbyname_r): Likewise.
32310 (__nscd_gethostbyname2_r): Likewise.
32311 (__nscd_gethostbyaddr_r): Likewise.
32312 (__nscd_getai): Likewise.
32313 (__nscd_getgrouplist): Likewise.
32314 (__nscd_getservbyname_r): Likewise.
32315 (__nscd_getservbyport_r): Likewise.
32316 (__nscd_innetgr): Likewise.
32317 (__nscd_setnetgrent): Likewise.
32319 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32322 * include/gmp.h: Declare internal functions only if _ISOMAC is
32324 (__mpn_extract_double): Add attribute_hidden.
32325 (__mpn_extract_long_double): Likewise.
32326 (__mpn_extract_float128): Likewise.
32327 (__mpn_construct_float): Likewise.
32328 (__mpn_construct_double): Likewise.
32329 (__mpn_construct_long_double): Likewise.
32330 (__mpn_construct_float128): Likewise.
32331 (mpn_add_1): Likewise.
32332 (mpn_addmul_1): Likewise.
32333 (mpn_add_n): Likewise.
32334 (mpn_cmp): Likewise.
32335 (mpn_divrem): Likewise.
32336 (mpn_lshift): Likewise.
32337 (mpn_mul): Likewise.
32338 (mpn_mul_1): Likewise.
32339 (mpn_rshift): Likewise.
32340 (mpn_sub_1): Likewise.
32341 (mpn_submul_1): Likewise.
32342 (mpn_sub_n): Likewise.
32344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32347 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32348 (__wcscat): Likewise.
32349 (__btowc): Likewise.
32350 (__wcrtomb): Likewise.
32351 (__mbsrtowcs): Likewise.
32352 (__wcsrtombs): Likewise.
32353 (__mbsnrtowcs): Likewise.
32354 (__wcsnrtombs): Likewise.
32355 (__wcsncpy): Likewise.
32356 (__wcpncpy): Likewise.
32357 (__wmemcpy): Likewise.
32358 (__wmempcpy): Likewise.
32359 (__wmemmove): Likewise.
32360 (__wcschrnul): Likewise.
32361 (__vfwscanf): Likewise.
32362 (__vswprintf): Likewise.
32363 (__fwprintf): Likewise.
32364 (__vfwprintf): Likewise.
32366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32369 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32370 (__getgrgid_r): Likewise.
32371 (__getgrnam_r): Likewise.
32372 * include/pwd.h (__getpwuid_r): Likewise.
32373 (__getpwnam_r): Likewise.
32374 (__fgetpwent_r): Likewise.
32375 * include/shadow.h (__getspnam_r): Likewise.
32376 (__sgetspent_r): Likewise.
32377 (__fgetspent_r): Likewise.
32379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32382 * include/unistd.h (__access): Add attribute_hidden.
32383 (__lseek64): Likewise.
32384 (__libc_pread64): Likewise.
32385 (__pipe2): Likewise.
32386 (__sleep): Likewise.
32387 (__chdir): Likewise.
32388 (__fchdir): Likewise.
32389 (__getcwd): Likewise.
32390 (__rmdir): Likewise.
32391 (__execvpe): Likewise.
32392 (__execve): Likewise.
32393 (__setsid): Likewise.
32394 (__getuid): Likewise.
32395 (__geteuid): Likewise.
32396 (__getgid): Likewise.
32397 (__getegid): Likewise.
32398 (__getgroups): Likewise.
32399 (__group_member): Likewise.
32400 (__ttyname_r): Likewise.
32401 (__isatty): Likewise.
32402 (__readlink): Likewise.
32403 (__unlink): Likewise.
32404 (__gethostname): Likewise.
32405 (__profil): Likewise.
32406 (__getdtablesize): Likewise.
32408 (__ftruncate): Likewise.
32409 (__ftruncate64): Likewise.
32411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32414 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32415 * argp/argp-fs-xinl.c: Likewise.
32416 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32417 * argp/argp-parse.c: Include <argp.h>.
32418 * argp/argp-xinl.c: Likewise.
32419 * include/argp-fmtstream.h: New file.
32420 * include/argp.h (__argp_error): Add attribute_hidden.
32421 (__argp_failure): Likewise.
32422 (__argp_input): Likewise.
32423 (__argp_state_help): Likewise.
32425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32428 * include/wchar.h (____wcstof_l_internal): New prototype.
32429 (____wcstod_l_internal): Likewise.
32430 (____wcstold_l_internal): Likewise.
32431 (____wcstol_l_internal): Likewise.
32432 (____wcstoul_l_internal): Likewise.
32433 (____wcstoll_l_internal): Likewise.
32434 (____wcstoull_l_internal): Likewise.
32435 (____wcstof128_l_internal): Likewise.
32436 * sysdeps/ieee754/float128/wcstof128.c
32437 (____wcstof128_l_internal): Removed.
32438 * sysdeps/ieee754/float128/wcstof128_l.c
32439 (____wcstof128_l_internal): Likewise.
32440 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32441 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32442 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32443 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32444 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32445 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32446 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32447 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32448 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32449 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32455 instead of <sys/statvfs.h>.
32456 (__internal_statvfs): Removed.
32457 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32458 instead of <sys/statvfs.h>.
32459 (__internal_statvfs64): Removed.
32460 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32461 "internal_statvfs.h" instead of <sys/statvfs.h>.
32462 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32463 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32464 instead of <sys/statvfs.h>.
32465 (__internal_statvfs): Removed.
32466 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32467 instead of <sys/statvfs.h>.
32468 (__internal_statvfs64): Removed.
32470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32473 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32474 (__gconv_close): Likewise.
32475 (__gconv): Likewise.
32476 (__gconv_find_transform): Likewise.
32477 (__gconv_lookup_cache): Likewise.
32478 (__gconv_compare_alias_cache): Likewise.
32479 (__gconv_load_cache): Likewise.
32480 (__gconv_get_path): Likewise.
32481 (__gconv_close_transform): Likewise.
32482 (__gconv_release_cache): Likewise.
32483 (__gconv_find_shlib): Likewise.
32484 (__gconv_release_shlib): Likewise.
32485 (__gconv_get_builtin_trans): Likewise.
32486 (__gconv_compare_alias): Likewise.
32487 * include/dlfcn.h (_dlerror_run): Likewise.
32488 * include/stdio.h (__fortify_fail_abort): Likewise.
32489 * include/time.h (__tz_compute): Likewise.
32490 (__strptime_internal): Likewise.
32491 * intl/gettextP.h (_nl_find_domain): Likewise.
32492 (_nl_load_domain): Likewise.
32493 (_nl_find_msg): Likewise.
32494 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32495 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32496 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32497 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32498 (__gai_find_request): Likewise.
32499 (__gai_remove_request): Likewise.
32500 (__gai_notify): Likewise.
32501 (__gai_notify_only): Likewise.
32502 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32503 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32504 (_dl_non_dynamic_init): Likewise.
32505 (_dl_aux_init): Likewise.
32506 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32507 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32509 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32510 (__wcsmbs_clone_conv): Likewise.
32511 (__wcsmbs_named_conv): Likewise.
32513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32516 * include/stdlib.h (__random): Add attribute_hidden.
32517 (__random_r): Likewise.
32518 (__srandom_r): Likewise.
32519 (__initstate_r): Likewise.
32520 (__setstate_r): Likewise.
32521 (__erand48_r): Likewise.
32522 (__nrand48_r): Likewise.
32523 (__jrand48_r): Likewise.
32524 (__srand48_r): Likewise.
32525 (__seed48_r): Likewise.
32526 (__lcong48_r): Likewise.
32527 (__drand48_iterate): Likewise.
32528 (__setenv): Likewise.
32529 (__unsetenv): Likewise.
32530 (__clearenv): Likewise.
32531 (__ptsname_r): Likewise.
32532 (__posix_openpt): Likewise.
32533 (__add_to_environ): Likewise.
32534 (__realpath): Add libc_hidden_proto.
32535 (__ecvt_r): Likewise.
32536 (__fcvt_r): Likewise.
32537 (__qecvt_r): Likewise.
32538 (__qfcvt_r): Likewise.
32539 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32540 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32545 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32546 * include/time.h (__mktime_internal): Likewise.
32547 * libio/iolibio.h (__fopen_internal): Likewise.
32549 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32551 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32553 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32554 Correct offset used to restore PIC register.
32556 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32559 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32560 code to load address of __getcontext_ret when generating PIC code.
32562 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32564 * elf/Makefile (tests-static-internal): Add
32565 tst-tls1-static-non-pie.
32566 (LDFLAGS-tst-tls1-static-non-pie): New.
32567 * elf/tst-tls1-static-non-pie.c: New file.
32569 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32572 (asinh): Define using libm_alias_double.
32573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32574 (cbrt): Define using libm_alias_double.
32575 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32576 <libm-alias-double.h>.
32577 (copysign): Define using libm_alias_double.
32578 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32579 (erf): Define using libm_alias_double.
32581 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32582 (expm1): Define using libm_alias_double.
32583 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32584 (fabs): Define using libm_alias_double.
32585 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32587 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32588 <libm-alias-double.h>.
32589 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32591 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32592 <libm-alias-double.h>.
32593 (getpayload): Define using libm_alias_double.
32594 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32595 <libm-alias-double.h>.
32596 (llrint): Define using libm_alias_double.
32597 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32598 (lrint): Define using libm_alias_double.
32599 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32600 <libm-alias-double.h>.
32601 (nextup): Define using libm_alias_double.
32602 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32603 <libm-alias-double.h>.
32604 (roundeven): Define using libm_alias_double.
32605 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32607 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32608 <libm-alias-double.h>.
32609 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32610 using libm_alias_double.
32611 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32612 (cos): Define using libm_alias_double.
32614 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32615 <libm-alias-double.h>.
32616 (sincos): Define using libm_alias_double.
32617 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32618 (tanh): Define using libm_alias_double.
32619 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32620 <libm-alias-double.h>.
32621 (totalorder): Define using libm_alias_double.
32622 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32623 <libm-alias-double.h>.
32624 (totalordermag): Define using libm_alias_double.
32625 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32627 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32629 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32630 <libm-alias-double.h>.
32631 (getpayload): Define using libm_alias_double.
32632 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32633 <libm-alias-double.h>.
32634 (roundeven): Define using libm_alias_double.
32635 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32636 <libm-alias-double.h>.
32637 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32638 <libm-alias-double.h>.
32639 (totalorder): Define using libm_alias_double.
32640 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32641 <libm-alias-double.h>.
32642 (totalordermag): Define using libm_alias_double.
32643 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32644 libc compat symbol here.
32645 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32646 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32647 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32648 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32649 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32650 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32651 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32652 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32653 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32654 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32656 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32658 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32659 _dl_relocate_static_pie instead of _dl_start to compute load
32660 address in static PIE. Return 0 if _DYNAMIC is undefined for
32663 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32666 _DYNAMIC is undefined for static executable.
32668 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32672 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32676 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32678 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32679 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32680 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32681 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32682 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32683 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32684 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32685 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32687 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32688 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32689 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32690 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32691 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32694 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32696 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32698 * math/bits/cmathcalls.h (cimag): Remove inline.
32699 (creal): Remove inline.
32700 (conj): Remove inline.
32702 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32704 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32705 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32706 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32707 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32708 (issignalingf_inline): Likewise.
32709 (POWF_LOG2_TABLE_BITS): Likewise.
32710 (POWF_LOG2_POLY_ORDER): Likewise.
32711 (POWF_SCALE_BITS): Likewise.
32712 (POWF_SCALE): Likewise.
32713 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32714 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32715 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32717 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32719 * math/Makefile (type-float-routines): Add e_log2f_data.
32720 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32721 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32722 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32723 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32724 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32725 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32726 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32728 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32730 * math/Makefile (type-float-routines): Add e_logf_data.
32731 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32732 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32733 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32734 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32735 * sysdeps/i386/fpu/e_logf_data.c: New file.
32736 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32737 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32739 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32741 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32742 undefined _DYNAMIC in PIE libc.a.
32743 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32746 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32748 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32749 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32750 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32751 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32752 (__signbit): Remove.
32753 (__signbitl): Remove.
32754 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32755 (__signbit): Remove.
32756 (__signbitl): Remove.
32757 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32758 (__signbit): Remove.
32759 (__signbitl): Remove.
32760 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32761 (__signbit): Remove.
32762 (__signbitl): Remove.
32763 * sysdeps/tile/bits/mathinline.h: Delete file.
32764 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32765 (__signbit): Remove.
32766 (__signbitl): Remove.
32768 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32770 * math/math.h: Improve handling of C99 isgreater macros.
32771 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32772 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32773 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32774 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32775 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32777 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32779 * sysdeps/aarch64/libm-test-ulps: Update.
32781 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32785 math_opt_barrier on argument when doing arithmetic on it.
32786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32787 Likewise. Use math_force_eval not math_opt_barrier after
32789 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32790 math_opt_barrier on argument when doing arithmetic on it.
32791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32794 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32796 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32798 (__freeifaddrs): Likewise.
32800 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32802 * include/dirent.h (__dirfd): New declaration.
32803 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32805 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32806 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32807 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32808 * include/unistd.h (__revoke): New declaration.
32809 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32811 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32812 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32814 * include/dirent.h (__seekdir): New declaration.
32815 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32816 redefine as weak alias.
32817 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32819 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32820 and use libc_hidden_def on them.
32821 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32823 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32824 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32825 instead of getifaddrs and freeifaddrs.
32827 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32830 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32831 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32832 (__dso_handle): Remove declaration.
32833 * dlfcn/tstatexit.c (__dso_handle): Removed.
32834 (main): Don't check __dso_handle.
32835 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32836 (main): Don't check __dso_handle.
32837 * include/dso_handle.h: New file.
32838 * malloc/mtrace.c: Include <dso_handle.h>.
32839 (mtrace): Pass __dso_handle directly.
32840 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32841 (__dso_handle): Remove declaration.
32842 (__pthread_atfork): Pass __dso_handle directly.
32843 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32844 (__dso_handle): Removed.
32845 * posix/wordexp-test.c: Include <dso_handle.h>.
32846 (__dso_handle): Remove declaration.
32847 (__app_register_atfork): Pass __dso_handle directly.
32848 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32849 (__dso_handle): Remove declaration.
32850 (at_quick_exit): Pass __dso_handle directly.
32851 * stdlib/atexit.c: Include <dso_handle.h>.
32852 (__dso_handle): Remove declaration.
32853 (atexit): Pass __dso_handle directly.
32854 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32855 (__dso_handle): Removed.
32857 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32859 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32862 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32864 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32865 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32866 values to correct default value for given type.
32868 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32871 * elf/Makefile (tests): Add tst-debug1.
32872 ($(objpfx)tst-debug1): New.
32873 ($(objpfx)tst-debug1.out): Likewise.
32874 ($(objpfx)tst-debug1mod1.so): Likewise.
32875 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32876 with p_filesz == 0.
32877 * elf/tst-debug1.c: New file.
32879 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32881 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32882 Define using __ifunc.
32884 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32886 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32889 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32892 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32894 2017-09-26 Florian Weimer <fweimer@redhat.com>
32896 * resolv/Makefile (tests-internal): Fix typo in comment.
32898 2017-09-26 Florian Weimer <fweimer@redhat.com>
32900 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32902 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32904 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32905 Use an union instead of a max_align_t array for __space,
32906 so that __space is the same size on all platforms.
32907 * malloc/scratch_buffer_grow_preserve.c
32908 (__libc_scratch_buffer_grow_preserve): Likewise.
32911 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32913 * posix/Makefile (routines): Add glob-lstat-compat and
32914 glob64-lstat-compat.
32915 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32916 * posix/glob-lstat-compat.c: New file.
32917 * posix/glob64-lstat-compat.c: Likewise.
32918 * posix/tst-glob_lstat_compat.c: Likewise.
32919 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32920 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32921 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32922 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32924 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32925 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32926 * posix/glob.c (glob_lstat): New function.
32927 (glob): Rename to __glob and add versioned symbol to 2.27.
32928 (glob_in_dir): Use glob_lstat.
32929 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32930 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32931 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32933 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32934 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32935 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32936 gl_lstat on glob call.
32937 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32938 and glob64 symbols.
32939 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32940 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32941 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32942 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32943 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32944 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32945 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32946 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32947 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32948 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32950 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32953 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32957 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32958 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32959 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32962 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32964 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32966 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32968 * configure.ac (AS): Require binutils 2.25 or later.
32969 * configure: Regenerated.
32971 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32974 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32977 2017-09-25 DJ Delorie <dj@redhat.com>
32980 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32983 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32985 * sysdeps/ieee754/dbl-64/sincos32.h
32986 [SINCCOS32_H]: Remove define.
32987 [SINCOS32_H]: Define.
32989 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32991 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32993 * math/w_exp2f.c: New file.
32994 * math/w_expf.c: New file.
32995 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32996 * math/w_expf_compat.c (__expf_compat): Likewise.
32997 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32998 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33000 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33003 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33004 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33005 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33007 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33008 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33009 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33010 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33019 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33020 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33021 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33022 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33023 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33028 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33032 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33034 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33035 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33036 (roundtoint, converttoint): Likewise.
33037 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33038 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33039 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33040 * sysdeps/ieee754/flt-32/math_config.h: New file.
33041 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33042 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33043 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33044 * sysdeps/i386/fpu/math_errf.c: New file.
33045 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33046 * sysdeps/ia64/fpu/math_errf.c: New file.
33047 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33048 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33050 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33052 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33053 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33054 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33055 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33056 to make sure that these symbols are defined.
33057 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33059 (__need_NULL): Do not define.
33060 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33062 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33063 CMGROUP_MAX, cmsgcred): Do not define.
33064 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33066 * bits/socket.h: Likewise.
33067 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33068 __gettimeofday instead of gettimeofday.
33069 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33070 instead of settimeofday.
33072 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33074 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33075 (asinhf): Define using libm_alias_float.
33076 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33077 (atanf): Define using libm_alias_float.
33078 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33079 (cbrtf): Define using libm_alias_float.
33080 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33081 (ceilf): Define using libm_alias_float.
33082 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33083 <libm-alias-float.h>.
33084 (copysignf): Define using libm_alias_float.
33085 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33086 (cosf): Define using libm_alias_float.
33087 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33088 (erff): Define using libm_alias_float.
33090 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33091 (expm1f): Define using libm_alias_float.
33092 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33093 (fabsf): Define using libm_alias_float.
33094 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33095 (floorf): Define using libm_alias_float.
33096 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33097 (frexpf): Define using libm_alias_float.
33098 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33100 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33101 <libm-alias-float.h>.
33102 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33104 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33105 <libm-alias-float.h>.
33106 (getpayloadf): Define using libm_alias_float.
33107 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33108 <libm-alias-float.h>.
33109 (llrintf): Define using libm_alias_float.
33110 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33111 <libm-alias-float.h>.
33112 (llroundf): Define using libm_alias_float.
33113 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33114 (logbf): Define using libm_alias_float.
33115 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33116 (lrintf): Define using libm_alias_float.
33117 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33118 (lroundf): Define using libm_alias_float.
33119 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33120 (modff): Define using libm_alias_float.
33121 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33122 <libm-alias-float.h>.
33123 (nearbyintf): Define using libm_alias_float.
33124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33125 <libm-alias-float.h>.
33126 (nextafterf): Define using libm_alias_float.
33127 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33128 <libm-alias-float.h>.
33129 (nextupf): Define using libm_alias_float.
33130 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33131 <libm-alias-float.h>.
33132 (remquof): Define using libm_alias_float.
33133 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33134 (rintf): Define using libm_alias_float.
33135 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33136 <libm-alias-float.h>.
33137 (roundevenf): Define using libm_alias_float.
33138 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33139 (roundf): Define using libm_alias_float.
33140 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33141 using libm_alias_float.
33142 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33143 <libm-alias-float.h>.
33144 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33145 Define using libm_alias_float.
33146 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33147 <libm-alias-float.h>.
33148 (sincosf): Define using libm_alias_float.
33149 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33150 (sinf): Define using libm_alias_float.
33151 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33152 (tanf): Define using libm_alias_float.
33153 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33154 (tanhf): Define using libm_alias_float.
33155 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33156 <libm-alias-float.h>.
33157 (totalorderf): Define using libm_alias_float.
33158 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33159 <libm-alias-float.h>.
33160 (totalordermagf): Define using libm_alias_float.
33161 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33162 (truncf): Define using libm_alias_float.
33163 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33165 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33168 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33171 math/math.h: Let fpclassify use the builtin in C++ mode, even
33172 when optimazing for size.
33174 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33176 * csu/Makefile (generated): Do not add version-info.h.
33177 (before-compile): Likewise.
33178 (all-Banner-files): Remove variable.
33179 ($(objpfx)version-info.h): Remove rule.
33180 * csu/version.c (banner): Do not include "version-info.h".
33181 * libidn/Banner: Remove.
33182 * manual/contrib.texi (Simon Josefsson): New entry.
33184 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33186 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33187 Remove conditionals on LDBL_MANT_DIG.
33188 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33189 (__ieee754_lgammal_r): Likewise.
33191 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33195 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33196 _Float128 and L(). Replace _Float128 with long double and L(x)
33197 with xL, throughout the file.
33198 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33203 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33206 sysdeps/ieee754/ldbl-128ibm.
33207 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33208 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33209 of including it. Keep _Float128 and L() intact. These will be
33210 reviewed by a separate patch.
33211 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33216 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33219 (__finitef128): Define to __redirect___finitef128.
33220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33221 (__isinff128): Define to __redirect___isinff128.
33222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33223 (__isnanf128): Define to __redirect___isnanf128.
33225 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33227 * sysdeps/powerpc/powerpc64le/Makefile
33228 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33229 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33231 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33232 Carlos O'Donell <carlos@redhat.com>
33235 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33236 * stdlib/test-dlclose-exit-race.c: New file.
33237 * stdlib/test-dlclose-exit-race-helper.c: New file.
33238 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33240 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33242 * crypt/Banner: Remove file.
33243 * nptl/Banner: Likewise.
33244 * resolv/Banner: Likewise.
33245 * soft-fp/Banner: Likewise.
33246 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33247 ($(objpfx)version.d): Remove dependency on banner.h.
33248 ($(objpfx)version.os): Likewise.
33249 * nptl/version.c (banner): Do not include banner.h.
33250 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33251 Jelinek and BIND code.
33253 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33254 Carlos O'Donell <carlos@redhat.com>
33256 * support/xdlfcn.h: New file.
33257 * support/xdlfcn.c: New file.
33258 * support/Makefile (libsupport-routines): Add xdlfcn.
33259 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33261 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33264 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33265 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33266 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33267 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33268 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33269 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33270 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33271 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33273 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33274 Ricky Zhou <rickyz@google.com>
33275 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33278 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33280 (__new_exitfn): Fail registration when we finished at_exit processing.
33281 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33282 * stdlib/on_exit.c (__on_exit): Likewise.
33283 * stdlib/exit.c (__exit_funcs_done): New variable.
33284 (__run_exit_handlers): Use __exit_funcs_lock.
33285 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33287 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33288 (test-cxa_atexit-race, test-on_exit-race): New tests.
33289 * stdlib/test-atexit-race-common.c: New file.
33290 * stdlib/test-atexit-race.c: New file.
33291 * stdlib/test-at_quick_exit-race.c: New file.
33292 * stdlib/test-cxa_atexit-race.c: New file.
33293 * stdlib/test-on_exit-race.c: New file.
33295 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33297 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33298 * benchtests/exp2f-inputs: Copy of expf-inputs.
33299 * benchtests/log2f-inputs: Copy of logf-inputs.
33301 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33303 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33304 Explicitly take address of first element of array arguments in
33305 call to INLINE_SYSCALL.
33307 2017-09-19 Andreas Schwab <schwab@suse.de>
33310 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33312 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33315 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33317 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33318 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33319 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33321 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33322 * posix/Makefile (tests): Add tst-fexecve.
33323 * posix/tst-fexecve.c: New file.
33325 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33327 * benchtests/Makefile: Add logf benchmark.
33328 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33330 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33332 * benchtests/Makefile: Add expf benchmark.
33333 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33335 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33337 * csu/Makefile: Add -funwind-tables to libc-start.c.
33338 * debug/Makefile: Add -funwind-tables to backtrace.c.
33339 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33340 * sysdeps/arm/Makefile: Likewise.
33341 * sysdeps/i386/Makefile: Likewise.
33342 * sysdeps/m68k/Makefile: Likewise.
33343 * sysdeps/mips/Makefile: Likewise.
33344 * sysdeps/nios2/Makefile: Likewise.
33345 * sysdeps/sh/Makefile: Likewise.
33346 * sysdeps/sparc/Makefile: Likewise.
33348 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33350 * benchtests/Makefile (bench-math): Add trunc and truncf.
33351 (CFLAGS-bench-trunc.c): New variable.
33352 (CFLAGS-bench-truncf.c): Likewise.
33353 * benchtests/trunc-inputs: New file.
33354 * benchtests/truncf-inputs: Likewise.
33356 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33358 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33360 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33362 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33363 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33365 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33366 (exp10l): Define as weak alias.
33367 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33368 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33370 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33371 (remainderl): Define as weak alias.
33373 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33374 (fmal): Define using libm_alias_ldouble.
33375 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33376 (acoshl): Define using libm_alias_ldouble.
33377 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33378 (acosl): Define using libm_alias_ldouble.
33379 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33380 (asinl): Define using libm_alias_ldouble.
33381 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33382 (atan2l): Define using libm_alias_ldouble.
33383 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33384 (atanhl): Define using libm_alias_ldouble.
33385 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33386 (coshl): Define using libm_alias_ldouble.
33387 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33388 (exp10l): Define using libm_alias_ldouble.
33389 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33390 (exp2l): Define using libm_alias_ldouble.
33391 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33392 (expl): Define using libm_alias_ldouble.
33393 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33394 (fmodl): Define using libm_alias_ldouble.
33395 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33396 (hypotl): Define using libm_alias_ldouble.
33397 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33398 (j0l): Define using libm_alias_ldouble.
33400 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33401 (j1l): Define using libm_alias_ldouble.
33403 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33404 (jnl): Define using libm_alias_ldouble.
33406 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33407 (log10l): Define using libm_alias_ldouble.
33408 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33409 (log2l): Define using libm_alias_ldouble.
33410 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33411 (logl): Define using libm_alias_ldouble.
33412 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33413 (powl): Define using libm_alias_ldouble.
33414 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33415 (remainderl): Define using libm_alias_ldouble.
33416 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33417 (sinhl): Define using libm_alias_ldouble.
33418 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33419 (sqrtl): Define using libm_alias_ldouble.
33420 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33421 (tgammal): Define using libm_alias_ldouble.
33422 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33423 (exp10l): Do not use long_double_symbol here.
33424 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33425 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33426 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33427 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33428 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33429 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33430 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33431 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33432 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33433 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33434 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33435 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33436 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33437 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33438 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33439 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33440 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33441 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33442 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33443 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33444 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33445 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33447 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33449 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33450 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33452 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33454 * io/read.c (read): Add libc_hidden_weak.
33455 * sysdeps/mach/hurd/read.c (read): Likewise.
33456 * io/write.c (write): Likewise.
33457 * sysdeps/mach/hurd/write.c (write): Likewise.
33458 * io/pread64.c (__pread64): Likewise.
33459 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33460 * posix/pread64.c (__pread64): Add libc_hidden_def.
33462 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33464 * benchtests/scripts/compare_strings.py: New option -g.
33465 (draw_graph): Print a message that a graph is being generated.
33466 (process_results): Generate graph only if -g is passed.
33467 (main): Process option -g.
33469 * benchtests/scripts/compare_strings.py (process_results):
33470 Better spacing for output.
33472 * benchtests/scripts/compare_strings.py: Use argparse.
33473 * benchtests/README: Document existence of compare_strings.py.
33475 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33477 * math/s_fma.c: Include <libm-alias-double.h>.
33478 (fma): Define using libm_alias_double.
33479 * math/s_nextafter.c: Include <libm-alias-double.h>.
33480 (nextafter): Define using libm_alias_double.
33481 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33482 (acos): Define using libm_alias_double.
33483 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33484 (aocsh): Define using libm_alias_double.
33485 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33486 (asin): Define using libm_alias_double.
33487 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33488 (atan2): Define using libm_alias_double.
33489 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33490 (atanh): Define using libm_alias_double.
33491 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33492 (cosh): Define using libm_alias_double.
33493 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33494 (exp10): Define using libm_alias_double.
33495 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33496 (exp2): Define using libm_alias_double.
33497 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33498 (exp): Define using libm_alias_double.
33499 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33500 (fmod): Define using libm_alias_double.
33501 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33502 (hypot): Define using libm_alias_double.
33503 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33504 (j0): Define using libm_alias_double.
33506 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33507 (j1): Define using libm_alias_double.
33509 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33510 (jn): Define using libm_alias_double.
33512 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33513 (log10): Define using libm_alias_double.
33514 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33515 (log2): Define using libm_alias_double.
33516 * math/w_log_compat.c: Include <libm-alias-double.h>.
33517 (log): Define using libm_alias_double.
33518 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33519 (pow): Define using libm_alias_double.
33520 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33521 (remainder): Define using libm_alias_double.
33522 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33523 (sinh): Define using libm_alias_double.
33524 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33525 (sqrt): Define using libm_alias_double.
33526 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33527 (tgamma): Define using libm_alias_double.
33528 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33529 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33530 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33531 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33532 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33533 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33534 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33535 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33536 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33537 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33538 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33539 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33540 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33541 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33542 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33543 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33544 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33545 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33546 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33547 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33548 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33549 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33550 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33551 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33552 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33554 * math/e_acoshl.c: Remove.
33555 * math/e_acosl.c: Likewise.
33556 * math/e_asinl.c: Likewise.
33557 * math/e_atan2l.c: Likewise.
33558 * math/e_atanhl.c: Likewise.
33559 * math/e_coshl.c: Likewise.
33560 * math/e_expl.c: Likewise.
33561 * math/e_fmodl.c: Likewise.
33562 * math/e_gammal_r.c: Likewise.
33563 * math/e_hypotl.c: Likewise.
33564 * math/e_j0l.c: Likewise.
33565 * math/e_j1l.c: Likewise.
33566 * math/e_jnl.c: Likewise.
33567 * math/e_lgammal_r.c: Likewise.
33568 * math/e_log10l.c: Likewise.
33569 * math/e_log2l.c: Likewise.
33570 * math/e_logl.c: Likewise.
33571 * math/e_powl.c: Likewise.
33572 * math/e_rem_pio2l.c: Likewise.
33573 * math/e_sinhl.c: Likewise.
33574 * math/e_sqrtf128.c: Likewise.
33575 * math/e_sqrtl.c: Likewise.
33576 * math/k_cosl.c: Likewise.
33577 * math/k_sinl.c: Likewise.
33578 * math/k_tanl.c: Likewise.
33579 * math/s_asinhl.c: Likewise.
33580 * math/s_atanl.c: Likewise.
33581 * math/s_cbrtl.c: Likewise.
33582 * math/s_erfl.c: Likewise.
33583 * math/s_expm1l.c: Likewise.
33584 * math/s_log1pl.c: Likewise.
33585 * math/s_tanhl.c: Likewise.
33587 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33591 [$(subdir) = math] (sysdep_calls): New variable. Has the
33592 previous contents of sysdep_routines, but re-sorted..
33593 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33595 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33596 defined in sysdep_calls and replace by the respective m_* names.
33597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33598 (compat_symbol): Undefine to avoid duplicated compat symbols in
33601 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33603 * math/s_fmaf.c: Include <libm-alias-float.h>.
33604 (fmaf): Define using libm_alias_float.
33605 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33606 (acosf): Define using libm_alias_float.
33607 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33608 (acoshf): Define using libm_alias_float.
33609 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33610 (asinf): Define using libm_alias_float.
33611 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33612 (atan2f): Define using libm_alias_float.
33613 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33614 (atanhf): Define using libm_alias_float.
33615 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33616 (coshf): Define using libm_alias_float.
33617 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33618 (exp10f): Define using libm_alias_float.
33619 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33620 (fmodf): Define using libm_alias_float.
33621 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33622 (hypotf): Define using libm_alias_float.
33623 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33624 (j0f): Define using libm_alias_float.
33626 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33627 (j1f): Define using libm_alias_float.
33629 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33630 (jnf): Define using libm_alias_float.
33632 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33633 (log10f): Define using libm_alias_float.
33634 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33635 (log2f): Define using libm_alias_float.
33636 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33637 (logf): Define using libm_alias_float.
33638 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33639 (powf): Define using libm_alias_float.
33640 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33641 (remainderf): Define using libm_alias_float.
33642 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33643 (sinhf): Define using libm_alias_float.
33644 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33645 (sqrtf): Define using libm_alias_float.
33646 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33647 (tgammaf): Define using libm_alias_float.
33649 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33651 * include/math.h (roundeven): Change hidden_proto call to
33653 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33655 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33656 (y0): Rename to __y0 and define as weak alias.
33657 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33658 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33660 (y0f): Rename to __y0f and define as weak alias.
33661 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33663 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33664 (y1): Rename to __y1 and define as weak alias.
33665 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33666 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33668 (y1f): Rename to __y1f and define as weak alias.
33669 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33671 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33672 (yn): Rename to __yn and define as weak alias.
33673 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33674 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33676 (ynf): Rename to __ynf and define as weak alias.
33677 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33678 (fromfp): Define as weak alias.
33679 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33680 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33681 (fromfpx): Define as weak alias.
33682 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33683 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33684 __getpayload and define as weak alias.
33685 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33686 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33687 __roundeven and define as weak alias.
33688 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33689 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33691 (setpayload): Define as weak alias.
33692 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33693 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33695 (setpayloadsig): Define as weak alias.
33696 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33697 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33698 __totalorder and define as weak alias.
33699 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33700 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33701 to __totalordermag and define as weak alias.
33702 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33703 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33704 (ufromfp): Define as weak alias.
33705 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33706 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33708 (ufromfpx): Define as weak alias.
33709 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33710 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33711 Rename to __getpayload and define as weak alias.
33712 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33713 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33714 Rename to __roundeven and define as weak alias.
33715 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33716 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33717 Rename to __totalorder and define as weak alias.
33718 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33719 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33720 (totalordermag): Rename to __totalordermag and define as weak
33722 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33723 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33725 (__roundevenl): Likewise.
33726 (__totalorderl): Likewise.
33727 (__totalordermagl): Likewise
33728 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33730 (fromfpf128): Define as weak alias.
33731 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33733 (fromfpxf128): Define as weak alias.
33734 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33736 (setpayloadf128): Define as weak alias.
33737 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33738 __setpayloadsigf128.
33739 (setpayloadsigf128): Define as weak alias.
33740 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33742 (ufromfpf128): Define as weak alias.
33743 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33745 (ufromfpxf128): Define as weak alias.
33746 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33747 (fromfpf): Define as weak alias.
33748 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33750 (fromfpxf): Define as weak alias.
33751 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33752 __getpayloadf and define as weak alias.
33753 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33754 __roundevenf and define as weak alias.
33755 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33757 (setpayloadf): Define as weak alias.
33758 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33760 (setpayloadsigf): Define as weak alias.
33761 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33762 __totalorderf and define as weak alias.
33763 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33764 Rename to __totalordermagf and define as weak alias.
33765 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33767 (ufromfpf): Define as weak alias.
33768 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33770 (ufromfpxf): Define as weak alias.
33771 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33773 (fromfpl): Define as weak alias.
33774 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33776 (fromfpxl): Define as weak alias.
33777 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33778 to __getpayloadl and define as weak alias.
33779 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33780 __roundevenl and define as weak alias.
33781 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33783 (setpayloadl): Define as weak alias.
33784 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33786 (setpayloadsigl): Define as weak alias.
33787 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33788 to __totalorderl and define as weak alias.
33789 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33790 Rename to __totalordermagl and define as weak alias.
33791 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33793 (ufromfpl): Define as weak alias.
33794 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33796 (ufromfpxl): Define as weak alias.
33797 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33799 (fromfpl): Define as weak alias.
33800 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33802 (fromfpxl): Define as weak alias.
33803 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33804 Rename to __getpayloadl and define as weak alias.
33805 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33806 to __roundevenl and define as weak alias. Call __roundeven
33807 instead of roundeven.
33808 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33810 (setpayloadl): Define as weak alias.
33811 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33813 (setpayloadsigl): Define as weak alias.
33814 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33815 Rename to __totalorderl and define as weak alias.
33816 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33817 Rename to __totalordermagl and define as weak alias.
33818 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33820 (ufromfpl): Define as weak alias.
33821 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33823 (ufromfpxl): Define as weak alias.
33824 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33826 (fromfpl): Define as weak alias.
33827 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33829 (fromfpxl): Define as weak alias.
33830 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33831 __getpayloadl and define as weak alias.
33832 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33833 __roundevenl and define as weak alias.
33834 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33836 (setpayloadl): Define as weak alias.
33837 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33839 (setpayloadsigl): Define as weak alias.
33840 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33841 __totalorderl and define as weak alias.
33842 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33843 Rename to __totalordermagl and define as weak alias.
33844 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33846 (ufromfpl): Define as weak alias.
33847 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33849 (ufromfpxl): Define as weak alias.
33851 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33853 * benchtests/bench-string.h (realloc_bufs): New function.
33854 (test_init): Call it.
33855 * benchtests/bench-memset-large.c (do_test): Likewise.
33856 * benchtests/bench-memset.c (do_test): Likewise.
33858 * benchtests/bench-memset-large.c: Print output in JSON
33860 * benchtests/bench-memset.c: Likewise.
33862 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33865 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33866 * iconvdata/Makefile: Add IBM858.
33867 * iconvdata/gconv-modules: Likewise.
33868 * iconvdata/tst-tables.sh: Likewise.
33869 * iconvdata/ibm858.c: New file.
33870 * localedata/charmaps/IBM858: Likewise.
33872 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33875 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33876 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33878 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33881 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33882 and add tel_int_fmt.
33884 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33886 * sysdeps/generic/libm-alias-float128.h: New file.
33887 * sysdeps/generic/math-type-macros-float128.h: Include
33888 <libm-alias-float128.h>.
33889 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33891 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33893 * sysdeps/generic/libm-alias-ldouble.h: New file.
33894 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33895 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33896 * sysdeps/generic/math-type-macros-ldouble.h: Include
33897 <libm-alias-ldouble.h>.
33898 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33899 libm_alias_ldouble.
33901 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33903 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33904 * math/w_exp_compat.c: ... here.
33905 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33906 * math/w_expf_compat.c: ... here.
33907 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33908 * math/w_expl_compat.c: ... here.
33909 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33910 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33911 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33912 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33914 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33916 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33918 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33920 (ldexpl): Only define as compat symbol for libc, not libm.
33921 (scalbnl): Define as compat symbol for libc here.
33922 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33923 define for [IS_IN (libc)].
33924 (__ldexpl_2): Remove alias.
33925 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33926 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33927 name in long_double_symbol call.
33928 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33929 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33930 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33931 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33932 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33934 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33935 Define as compat symbol.
33937 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33939 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33940 * sysdeps/unix/sysv/linux/alpha/Makefile
33941 [$(subdir) = csu] (sysdep_routines): Remove rule.
33943 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33945 * sysdeps/generic/libm-alias-double.h: New file.
33946 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33947 * sysdeps/generic/math-type-macros-double.h: Include
33948 <libm-alias-double.h>.
33949 [declare_mgen_alias] (declare_mgen_alias): Define to use
33951 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33952 (M_LIBM_NEED_COMPAT): Remove macro.
33953 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33954 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33955 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33957 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33958 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33959 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33960 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33961 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33962 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33963 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33964 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33965 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33966 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33967 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33968 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33969 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33970 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33971 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33972 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33973 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33974 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33975 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33976 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33977 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33978 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33979 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33980 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33981 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33982 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33983 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33984 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33985 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33987 (declare_mgen_alias): New macro.
33988 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33989 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33991 (M_LIBM_NEED_COMPAT): Remove macro.
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33993 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33994 <first-versions.h>.
33995 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33996 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33998 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34000 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34001 (declare_mgen_alias_2): Remove.
34002 * sysdeps/generic/math-type-macros-double.h
34003 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34005 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34007 (ldexp): Define with declare_mgen_alias.
34008 (scalbn): Likewise.
34010 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34012 * grp/initgroups.c: Include config.h.
34013 (DEFAULT_CONFIG): New macro.
34014 (internal_getgrouplist): Use DEFAULT_CONFIG.
34015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34016 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34017 (DEFAULT_DEFCONFIG): New macro.
34018 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34019 * nss/grp-lookup.c: Include config.h
34020 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34021 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34022 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34023 * manual/nss.texi: Update default values section.
34025 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34028 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34030 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34031 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34032 Handle MathVec_Prefer_No_AVX512.
34033 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34034 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34037 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34039 * posix/sched_primax.c (__sched_get_priority_max): Add
34041 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34042 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34043 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34044 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34045 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34046 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34047 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34048 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34051 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34053 * sysdeps/generic/libm-alias-float.h: New file.
34054 * sysdeps/generic/math-type-macros-float.h: Include
34055 <libm-alias-float.h>.
34056 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34058 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34061 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34062 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34063 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34064 (HWCAP_IMPORTANT): Likewise.
34065 (HWCAP_X86_64): New enum.
34066 (HWCAP_X86_AVX512_1): Updated.
34067 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34068 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34069 (modules-names): Add x86_64/tst-x86_64mod-1.
34070 (LDFLAGS-tst-x86_64mod-1.so): New.
34071 ($(objpfx)tst-x86_64-1): Likewise.
34072 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34073 (tst-x86_64-1-clean): Likewise.
34074 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34075 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34077 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34079 * po/sv.po: Update translations.
34080 * po/fr.po: Likewise.
34082 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34084 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34086 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34088 * elf/rtld-Rules: Fix $(error) use.
34090 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34093 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34094 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34095 * localedata/locales/bn_BD: “Bengali” was still used in some
34096 comments. Change it to “Bangla”.
34098 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34100 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34102 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34104 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34105 thunderx2t99p1 to list of cpu names.
34106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34107 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34109 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34111 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34112 Use strcmp instead of tunable_is_name.
34114 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34117 (F_GET_RW_HINT): New macro.
34118 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34119 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34120 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34121 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34122 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34123 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34124 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34125 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34126 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34129 (F_ADD_SEALS): New macro.
34130 [__USE_GNU] (F_GET_SEALS): Likewise.
34131 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34132 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34133 [__USE_GNU] (F_SEAL_GROW): Likewise.
34134 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34136 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34138 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34139 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34140 * posix/glob_internal.h (__glob_pattern_type):
34141 * posix/glob.c (glob):
34142 * posix/glob_pattern_p.c (__glob_pattern_p):
34145 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34146 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34147 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34148 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34149 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34151 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34153 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34154 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34155 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34156 * sysdeps/wordsize-64/glob.c: Likewise.
34157 * sysdeps/wordsize-64/glob64.c: Likewise.
34158 * sysdeps/wordsize-64/globfree.c: Likewise.
34159 * sysdeps/wordsize-64/globfree64.c: Likewise.
34160 * sysdeps/unix/sysv/linux/glob.c: New file.
34161 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34162 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34163 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34164 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34165 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34166 adds !GLOB_NO_OLD_VERSION as an extra condition.
34167 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34168 using relative path instead of absolute one.
34169 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34170 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34171 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34172 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34173 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34174 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34177 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34178 (glob): Use the same scratch buffer for both getlogin_r and
34179 getpwnam_r. Don’t require preallocation of the login name. This
34180 simplifies storage allocation, and corrects the handling of
34184 * posix/glob.c (glob): Port recent patches to platforms
34185 lacking getpwnam_r.
34186 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34187 returns an error number rather than setting errno.
34189 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34190 instead of GCC extension.
34191 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34192 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34193 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34197 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34198 * posix/bug-glob1.c: Remove file.
34199 * posix/tst-glob_symlinks.c: New file.
34200 * posix/glob.c (__lstat64): New macro.
34201 (is_dir): New function.
34202 (glob, glob_in_dir): Match symlinks even if they are dangling.
34203 (link_stat, link_exists_p): Remove. All uses removed.
34207 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34208 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34213 * posix/Makefile (routines): Add globfree, globfree64, and
34215 * posix/flexmember.h: New file.
34216 * posix/glob_internal.h: Likewise.
34217 * posix/glob_pattern_p.c: Likewise.
34218 * posix/globfree.c: Likewise.
34219 * posix/globfree64.c: Likewise.
34220 * sysdeps/gnu/globfree64.c: Likewise.
34221 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34222 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34223 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34224 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34226 * sysdeps/wordsize-64/globfree.c: Likewise.
34227 * sysdeps/wordsize-64/globfree64.c: Likewise.
34228 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34229 [NDEBUG): Remove comments.
34230 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34231 (dirent_type): New type. Use uint_fast8_t not
34232 uint8_t, as C99 does not require uint8_t.
34233 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34234 (struct readdir_result): Use dirent_type. Do not define skip_entry
34235 unless it is needed; this saves a byte on platforms lacking d_ino.
34236 (readdir_result_type, readdir_result_skip_entry):
34237 New functions, replacing ...
34238 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34239 these functions, which were removed. This makes the callers
34240 easier to read. All callers changed.
34241 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34242 (size_add_wrapv, glob_use_alloca): New static functions.
34243 (glob, glob_in_dir): Check for size_t overflow in several places,
34244 and fix some size_t checks that were not quite right.
34245 Remove old code using SHELL since Bash no longer
34247 (glob, prefix_array): Separate MS code better.
34248 (glob_in_dir): Remove old Amiga and VMS code.
34249 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34251 (glob_in_dir): Do not rely on undefined behavior in accessing
34252 struct members beyond their bounds. Use a flexible array member
34254 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34255 0/1. Caller changed.
34256 (glob): Fix memory leaks.
34257 * posix/glob64 (globfree64): Move to separate file.
34258 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34259 (globfree64): Remove hidden alias.
34260 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34262 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34264 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34266 Move compat code to separate file.
34267 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34270 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34272 * resolv/tst-resolv-qtypes.c (domain): Changed to
34273 "const char domain[] =".
34275 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34277 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34280 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34281 (TCP_MD5SIG_EXT): Likewise.
34282 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34283 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34284 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34286 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34288 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34290 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34292 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34295 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34297 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34299 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34300 before assuming that the file is empty. Avoid testing buffer content
34303 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34306 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34308 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34310 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34312 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34314 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34316 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34318 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34321 2017-09-06 Florian Weimer <fweimer@redhat.com>
34323 * malloc/dynarray_emplace_enlarge.c
34324 (__libc_dynarray_emplace_enlarge): Add missing else.
34326 2017-09-06 Florian Weimer <fweimer@redhat.com>
34329 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34330 case of failure to obtain the global conf object.
34332 2017-09-06 Florian Weimer <fweimer@redhat.com>
34335 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34336 dynarray allocation failure.
34338 2017-09-06 Florian Weimer <fweimer@redhat.com>
34340 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34341 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34342 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34344 (response): Call them. Add 'p', '6' flag processing.
34345 (test_reverse): New function.
34346 (test_get2_any): Call it.
34347 (test_no_inet6): Add 'p' test.
34348 (test_inet6): Likewise.
34350 2017-09-06 Florian Weimer <fweimer@redhat.com>
34352 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34353 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34355 (test_gai): Adjust query names. Add additional tests.
34356 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34357 test_get2. Adjust query names. Add additional tests.
34358 (test_no_inet6): New function, extracted from threadfunc.
34359 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34360 Add additional tests.
34362 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34365 * localedata/unicode-gen/utf8_gen.py: Set the width for
34366 characters with Prepended_Concatenation_Mark property to 1
34367 * localedata/charmaps/UTF-8: Updated using the improved script.
34369 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34372 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34373 use the range notation for all ranges of neighbouring characters
34374 with the same width.
34376 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34378 * sysdeps/generic/math-type-macros-double.h: Include
34379 <math-svid-compat.h>.
34380 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34381 * sysdeps/generic/math-type-macros-float.h: Include
34382 <math-svid-compat.h>.
34383 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34384 * sysdeps/generic/math-type-macros-ldouble.h: Include
34385 <math-svid-compat.h>.
34386 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34387 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34389 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34390 * math/w_acosf_compat.c: Likewise.
34391 * math/w_acosh_compat.c: Likewise.
34392 * math/w_acoshf_compat.c: Likewise.
34393 * math/w_acoshl_compat.c: Likewise.
34394 * math/w_acosl_compat.c: Likewise.
34395 * math/w_asin_compat.c: Likewise.
34396 * math/w_asinf_compat.c: Likewise.
34397 * math/w_asinl_compat.c: Likewise.
34398 * math/w_atan2_compat.c: Likewise.
34399 * math/w_atan2f_compat.c: Likewise.
34400 * math/w_atan2l_compat.c: Likewise.
34401 * math/w_atanh_compat.c: Likewise.
34402 * math/w_atanhf_compat.c: Likewise.
34403 * math/w_atanhl_compat.c: Likewise.
34404 * math/w_cosh_compat.c: Likewise.
34405 * math/w_coshf_compat.c: Likewise.
34406 * math/w_coshl_compat.c: Likewise.
34407 * math/w_exp10_compat.c: Likewise.
34408 * math/w_exp10f_compat.c: Likewise.
34409 * math/w_exp10l_compat.c: Likewise.
34410 * math/w_exp2_compat.c: Likewise.
34411 * math/w_exp2f_compat.c: Likewise.
34412 * math/w_exp2l_compat.c: Likewise.
34413 * math/w_fmod_compat.c: Likewise.
34414 * math/w_fmodf_compat.c: Likewise.
34415 * math/w_fmodl_compat.c: Likewise.
34416 * math/w_hypot_compat.c: Likewise.
34417 * math/w_hypotf_compat.c: Likewise.
34418 * math/w_hypotl_compat.c: Likewise.
34419 * math/w_j0_compat.c: Likewise.
34420 * math/w_j0f_compat.c: Likewise.
34421 * math/w_j0l_compat.c: Likewise.
34422 * math/w_j1_compat.c: Likewise.
34423 * math/w_j1f_compat.c: Likewise.
34424 * math/w_j1l_compat.c: Likewise.
34425 * math/w_jn_compat.c: Likewise.
34426 * math/w_jnf_compat.c: Likewise.
34427 * math/w_jnl_compat.c: Likewise.
34428 * math/w_lgamma_r_compat.c: Likewise.
34429 * math/w_lgammaf_r_compat.c: Likewise.
34430 * math/w_lgammal_r_compat.c: Likewise.
34431 * math/w_log10_compat.c: Likewise.
34432 * math/w_log10f_compat.c: Likewise.
34433 * math/w_log10l_compat.c: Likewise.
34434 * math/w_log2_compat.c: Likewise.
34435 * math/w_log2f_compat.c: Likewise.
34436 * math/w_log2l_compat.c: Likewise.
34437 * math/w_log_compat.c: Likewise.
34438 * math/w_logf_compat.c: Likewise.
34439 * math/w_logl_compat.c: Likewise.
34440 * math/w_pow_compat.c: Likewise.
34441 * math/w_powf_compat.c: Likewise.
34442 * math/w_powl_compat.c: Likewise.
34443 * math/w_remainder_compat.c: Likewise.
34444 * math/w_remainderf_compat.c: Likewise.
34445 * math/w_remainderl_compat.c: Likewise.
34446 * math/w_sinh_compat.c: Likewise.
34447 * math/w_sinhf_compat.c: Likewise.
34448 * math/w_sinhl_compat.c: Likewise.
34449 * math/w_sqrt_compat.c: Likewise.
34450 * math/w_sqrtf_compat.c: Likewise.
34451 * math/w_sqrtl_compat.c: Likewise.
34452 * math/w_tgamma_compat.c: Likewise.
34453 * math/w_tgammaf_compat.c: Likewise.
34454 * math/w_tgammal_compat.c: Likewise.
34455 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34456 [LIBM_SVID_COMPAT].
34457 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34458 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34459 [LIBM_SVID_COMPAT].
34460 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34461 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34462 [LIBM_SVID_COMPAT].
34463 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34464 * sysdeps/i386/fpu/w_sqrt.c: New file.
34465 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34466 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34467 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34468 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34469 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34470 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34471 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34472 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34473 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34474 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34475 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34476 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34477 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34478 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34479 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34480 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34481 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34482 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34483 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34484 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34485 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34486 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34487 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34488 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34489 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34490 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34491 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34492 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34493 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34494 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34495 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34496 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34497 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34498 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34499 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34500 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34501 * sysdeps/ia64/fpu/w_log.c: Likewise.
34502 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34503 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34504 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34505 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34506 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34507 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34508 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34509 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34510 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34511 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34512 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34513 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34514 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34515 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34516 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34517 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34518 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34519 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34520 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34521 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34522 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34523 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34524 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34525 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34526 [LIBM_SVID_COMPAT].
34527 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34528 * sysdeps/ieee754/k_standard.c: Likewise.
34529 * sysdeps/ieee754/k_standardf.c: Likewise.
34530 * sysdeps/ieee754/k_standardl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34532 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34534 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34535 long_double_symbol call on [LIBM_SVID_COMPAT].
34536 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34537 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34538 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34539 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34540 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34541 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34542 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34543 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34544 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34545 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34546 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34547 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34548 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34549 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34550 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34551 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34552 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34553 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34554 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34555 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34556 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34557 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34559 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34561 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34562 * malloc/tst-mallocstate.c: Convert from test-skeleton
34563 to test-driver. Ifdef code using TEST_COMPAT macro.
34564 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34565 * math/test-matherr.c: Likewise.
34567 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34570 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34571 comparing word with byte-swapped constant.
34573 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34576 * locale/iso-639.def: add Miskito.
34577 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34578 * localedata/locales/miq_NI: New file.
34580 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34583 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34584 (__mkdir): Likewise.
34585 * io/chmod.c (__chmod): Add libc_hidden_def.
34586 * io/mkdir.c (__mkdir): Likewise.
34587 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34588 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34589 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34590 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34592 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34594 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34598 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34599 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34601 2017-09-04 Florian Weimer <fweimer@redhat.com>
34603 * math/math.h: Issue warning if log is defined.
34605 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34607 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34608 kernel version to 4.13.
34610 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34612 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34613 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34615 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34616 just <bits/types.h>.
34617 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34618 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34619 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34620 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34621 * misc/preadv2.c: Include <errno.h>.
34622 * misc/preadv64v2.c: Include <errno.h>.
34623 * misc/pwritev2.c: Include <errno.h>.
34624 * misc/pwritev64v2.c: Include <errno.h>.
34625 * sysdeps/posix/preadv2.c: Include <errno.h>.
34626 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34627 Fix <unistd.h> inclusion.
34628 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34629 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34630 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34631 __strtoul_internal): New functions.
34632 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34633 * sysdeps/posix/system.c: Include <sigsetops.h>.
34634 * sysdeps/mach/hurd/i386/Makefile
34635 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34636 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34637 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34638 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34639 __feraiseexcept_renamed to feraiseexcept instead of
34640 __GI_feraiseexcept.
34641 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34642 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34643 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34644 RWF_NOWAIT): Define to 0 if undefined already.
34645 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34647 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34648 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34650 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34652 * manual/math.texi (pow10): Do not document.
34653 (pow10f): Likewise.
34654 (pow10l): Likewise.
34655 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34656 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34657 * math/libm-test-exp10.inc (pow10_test): Remove.
34658 (do_test): Do not call pow10.
34659 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34660 [NO_LONG_DOUBLE] (pow10l): Likewise.
34661 * math/w_exp10f_compat.c (pow10f): Likewise.
34662 * math/w_exp10l_compat.c (pow10l): Likewise.
34663 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34664 (pow10): Make into compat symbol.
34665 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34666 (pow10f): Make into compat symbol.
34667 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34668 (pow10l): Make into compat symbol.
34669 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34671 (CFLAGS-nldbl-pow10.c): Remove variable..
34672 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34673 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34674 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34675 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34676 Undefine and redefine.
34677 (pow10l): Make into compat symbol.
34678 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34679 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34680 * sysdeps/arm/libm-test-ulps: Likewise.
34681 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34682 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34683 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34684 * sysdeps/microblaze/libm-test-ulps: Likewise.
34685 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34686 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34687 * sysdeps/nios2/libm-test-ulps: Likewise.
34688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34689 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34690 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34691 * sysdeps/sh/libm-test-ulps: Likewise.
34692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34693 * sysdeps/tile/libm-test-ulps: Likewise.
34694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34696 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34698 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34700 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34702 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34703 "../ChangeLog.old/ChangeLog.8".
34704 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34705 "../ChangeLog.old/ChangeLog.14".
34707 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34709 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34712 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34714 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34716 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34718 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34719 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34721 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34723 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34724 32 atexit handlers.
34726 2017-09-01 Zack Weinberg <zackw@panix.com>
34728 * math/math.h (HUGE_VAL): Improve commentary.
34730 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34731 Andreas Schwab <schwab@suse.de>
34734 * include/stdio.h (__gen_tempfd): New function.
34735 * stdio-common/Makefile (routines): Add gentempfd.
34736 * stdio-common/gentempfd.c: New file.
34737 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34738 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34739 unnamed file first.
34741 2017-09-01 Florian Weimer <fweimer@redhat.com>
34745 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34746 result to determine success or failure, not the errno value.
34747 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34748 (tst-nss-files-hosts-erange): Link with -ldl.
34749 * nss/tst-nss-files-hosts-erange.c: New file.
34750 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34751 (do_test): Add NO_DATA tests.
34752 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34753 (do_test): Call it.
34755 2017-09-01 Florian Weimer <fweimer@redhat.com>
34758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34759 coming from gethostbyname2_r.
34761 2017-09-01 Florian Weimer <fweimer@redhat.com>
34763 * support/namespace.h (struct support_chroot_configuration): Add
34765 (struct support_chroot): Add path_hosts, path_host_conf.
34766 * support/support_chroot.c (write_file): New function.
34767 (support_chroot_create): Call it to process /etc/resolv.conf,
34768 /etc/hosts, /etc/host.conf.
34769 (support_chroot_free): Update.
34771 2017-09-01 Florian Weimer <fweimer@redhat.com>
34773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34774 status indicates it is set.
34776 2017-09-01 Florian Weimer <fweimer@redhat.com>
34779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34780 function lookup failures more reliable.
34782 2017-09-01 Florian Weimer <fweimer@redhat.com>
34784 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34785 (getcanonname): Likewise.
34786 (gaih_inet): Likewise.
34788 2017-09-01 Florian Weimer <fweimer@redhat.com>
34790 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34791 (getcanonname): Likewise.
34792 (gaih_inet): Likewise.
34794 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34795 Richard Henderson <rth@twiddle.net>
34797 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34798 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34799 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34800 (IREG_SIZE, OREG_SIZE): New macros.
34801 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34802 (IREG_SIZE, OREG_SIZE): New macros.
34803 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34804 (IREG_SIZE): New macro.
34805 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34806 (IREG_SIZE): New macro.
34807 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34809 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34810 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34811 (__CONCATX): Handle exceptions correctly on large values that may
34813 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34814 Initialize if not already set.
34815 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34817 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34819 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34820 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34822 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34824 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34826 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34828 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34830 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34832 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34834 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34835 (NO_CANCELLATION): Likewise.
34836 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34838 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34840 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34843 (NO_CANCELLATION): Likewise.
34844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34845 (NO_CANCELLATION): Likewise.
34846 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34848 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34850 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34852 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34854 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34856 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34857 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34859 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34861 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34864 2017-08-31 Florian Weimer <fweimer@redhat.com>
34866 * include/libc-symbols.h (internal_function): Remove.
34868 2017-08-31 Florian Weimer <fweimer@redhat.com>
34870 * stdlib/fmtmsg.c (internal_addseverity): Remove
34873 2017-08-31 Florian Weimer <fweimer@redhat.com>
34875 * stdio-common/printf_fp.c (group_number): Remove
34877 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34879 2017-08-31 Florian Weimer <fweimer@redhat.com>
34881 * posix/fnmatch.c (internal_function): Remove definition.
34882 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34883 * posix/regcomp.c (peek_token, init_word_char)
34884 (duplicate_node_closure, fetch_token, peek_token)
34885 (peek_token_bracket, build_range_exp, build_collating_symbol):
34887 * posix/regex_internal.c (re_string_construct_common)
34888 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34889 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34890 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34891 (re_string_translate_buffer, re_string_reconstruct)
34892 (re_string_peek_byte_case, re_string_fetch_byte_case)
34893 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34894 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34895 (re_node_set_add_intersect, re_node_set_init_union)
34896 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34897 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34898 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34899 (re_acquire_state_context): Likewise.
34900 * posix/regex_internal.h (internal_function): Remove definition.
34901 (re_string_realloc_buffers, build_wcs_buffer)
34902 (build_wcs_upper_buffer, build_upper_buffer)
34903 (re_string_translate_buffer, re_string_context_at)
34904 (re_string_char_size_at, re_string_wchar_at)
34905 (re_string_elem_size_at): Likewise.
34906 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34907 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34908 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34909 (re_search_internal, re_search_2_stub, re_search_stub)
34910 (re_copy_regs, prune_impossible_nodes, check_matching)
34911 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34912 (free_fail_stack_return, sift_states_iter_mb)
34913 (sift_states_backward, build_sifted_states)
34914 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34915 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34916 (check_subexp_limits, sift_states_bkref, merge_state_array)
34917 (find_recover_state, transit_state, merge_state_with_log)
34918 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34919 (transit_state_mb, transit_state_bkref, get_subexp)
34920 (get_subexp_sub, find_subexp_node, check_arrival)
34921 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34922 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34923 (check_node_accept_bytes, find_collation_sequence_value)
34924 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34925 (acquire_init_state_context, check_halt_node_context)
34926 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34927 (sub_epsilon_src_nodes): Likewise.
34928 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34929 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34930 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34931 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34932 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34933 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34934 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34935 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34936 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34937 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34938 (PREADV): Likewise.
34939 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34940 (PREADV): Likewise.
34941 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34942 (PWRITEV): Likewise.
34943 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34944 (PWRITEV): Likewise.
34945 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34946 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34948 2017-08-31 Florian Weimer <fweimer@redhat.com>
34950 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34951 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34952 Remove internal_function.
34953 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34954 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34955 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34956 (__deallocate_stack, __libc_pthread_init)
34957 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34958 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34959 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34961 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34962 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34963 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34965 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34966 (__pthread_mutex_unlock_usercnt): Likewise.
34968 2017-08-31 Florian Weimer <fweimer@redhat.com>
34970 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34971 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34972 (fts_safe_changedir): Remove internal_function.
34973 * io/ftw.c (internal_function): Remove definition.
34974 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34976 2017-08-31 Florian Weimer <fweimer@redhat.com>
34978 * inet/deadline.c (__deadline_current_time)
34979 (__deadline_from_timeval, __deadline_to_ms): Remove
34981 * inet/getnameinfo.c (nrl_domainname): Likewise.
34982 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34983 * inet/inet6_option.c (add_pad): Likewise.
34984 * inet/net-internal.h (__deadline_current_time)
34985 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34986 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34987 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34988 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34990 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34992 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34993 include <bits/nan.h>.
34994 * math/Makefile (headers): Remove bits/nan.h.
34995 * bits/nan.h: Remove.
34996 * sysdeps/ieee754/bits/nan.h: Likewise.
34997 * sysdeps/mips/bits/nan.h: Likewise.
34999 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35000 not include <bits/inf.h>.
35001 * math/Makefile (headers): Remove bits/inf.h.
35002 * bits/inf.h: Remove.
35003 * sysdeps/ieee754/bits/inf.h: Likewise.
35005 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35006 bits/huge_vall.h or bits/huge_val_flt128.h.
35007 (HUGE_VAL): Define directly here.
35008 [__USE_ISOC99] (HUGE_VALF): Likewise.
35009 [__USE_ISOC99] (HUGE_VALL): Likewise.
35010 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35011 (HUGE_VAL_F128): Likewise.
35012 * math/Makefile (headers): Remove bits/huge_val.h,
35013 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35014 * bits/huge_val.h: Remove.
35015 * bits/huge_val_flt128.h: Likewise.
35016 * bits/huge_valf.h: Likewise.
35017 * bits/huge_vall.h: Likewise.
35018 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35019 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35020 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35021 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35022 * sysdeps/sh/bits/huge_val.h: Likewise.
35023 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35024 * sysdeps/x86/bits/huge_vall.h: Likewise.
35026 2017-08-31 Florian Weimer <fweimer@redhat.com>
35028 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35030 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35032 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35033 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35034 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35035 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35036 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35038 * elf/dl-libc.c (dlerror_run): Likewise.
35039 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35040 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35041 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35042 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35044 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35045 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35046 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35047 * elf/dl-profile.c (_dl_start_profile): Likewise.
35048 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35049 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35051 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35052 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35053 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35054 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35055 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35056 (_dl_allocate_tls_storage): Likewise.
35057 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35058 (_dl_check_all_versions): Likewise.
35059 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35060 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35061 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35062 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35063 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35064 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35065 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35066 internal_function from __dl_start.
35067 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35068 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35069 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35070 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35071 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35072 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35073 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35074 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35075 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35076 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35077 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35078 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35079 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35080 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35081 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35083 (struct rtld_global_ro): Remove internal_function from the
35084 _dl_lookup_symbol_x member.
35085 (_dl_symbol_value): Remove. No longer defined anywhere.
35086 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35088 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35089 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35090 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35091 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35092 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35093 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35094 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35095 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35096 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35097 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35098 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35099 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35101 2017-08-31 Florian Weimer <fweimer@redhat.com>
35103 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35104 Remove internal_function.
35105 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35107 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35110 2017-08-31 Florian Weimer <fweimer@redhat.com>
35112 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35113 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35114 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35116 2017-08-31 Florian Weimer <fweimer@redhat.com>
35118 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35119 (__gai_enqueue_request): Remove internal_function.
35120 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35121 (__gai_remove_request, __gai_notify, __gai_notify_only)
35122 (__gai_sigqueue): Likewise.
35123 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35124 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35125 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35126 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35129 2017-08-31 Florian Weimer <fweimer@redhat.com>
35131 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35132 * include/dirent.h (__opendirat, __getdents, __getdents64)
35133 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35134 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35135 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35136 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35140 2017-08-31 Florian Weimer <fweimer@redhat.com>
35142 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35144 (GETCWD_RETURN_TYPE): Likewise.
35146 2017-08-31 Florian Weimer <fweimer@redhat.com>
35148 * include/time.h (__tz_compute, __strptime_internal): Remove
35150 * time/strptime_l.c (__strptime_internal): Likewise.
35151 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35153 2017-08-31 Florian Weimer <fweimer@redhat.com>
35155 * iconv/gconv.c (__gconv): Remove internal_function.
35156 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35157 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35158 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35159 (__gconv_release_cache): Likewise.
35160 * iconv/gconv_close.c (__gconv_close): Likewise.
35161 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35162 (read_conf_file, __gconv_get_path): Likewise.
35163 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35164 (__gconv_release_step, gen_steps, increment_counter)
35165 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35166 (__gconv_close_transform, free_modules_db): Likewise.
35167 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35169 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35170 (__gconv_find_transform, __gconv_lookup_cache)
35171 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35172 (__gconv_close_transform, __gconv_release_cache)
35173 (__gconv_loaded_object, __gconv_release_shlib)
35174 (__gconv_compare_alias): Likewise.
35175 * iconv/gconv_open.c (__gconv_open): Likewise.
35176 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35177 * iconv/iconvconfig.c (add_module): Likewise.
35178 * intl/dcigettext.c (plural_lookup, guess_category_value)
35179 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35180 * intl/eval-plural.h (plural_eval): Likewise.
35181 * intl/finddomain.c (_nl_find_domain): Likewise.
35182 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35183 (_nl_load_domain, _nl_find_msg): Likewise.
35184 (internal_function): Remove definition.
35185 * intl/loadinfo.h (internal_function): Likewise.
35186 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35188 * intl/localealias.c (internal_function): Remove definition.
35189 (read_alias_file): Remove internal_function.
35190 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35191 * intl/plural-exp.h (internal_function): Remove definition.
35192 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35194 * intl/plural.c: Regenerate.
35195 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35196 * locale/coll-lookup.c (__collidx_table_lookup)
35197 (__collseq_table_lookup): Likewise.
35198 * locale/coll-lookup.h (__collidx_table_lookup)
35199 (__collseq_table_lookup): Likewise.
35200 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35201 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35202 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35203 (_nl_unload_locale): Likewise.
35204 * locale/localeinfo.h (struct __locale_data): Remove
35205 internal_function from cleanup member.
35206 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35207 (_nl_remove_locale, _nl_load_locale_from_archive)
35208 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35209 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35210 (_nl_cleanup_time): Remove internal_function.
35211 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35212 (_nl_parse_alt_digit): Likewise.
35213 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35214 (_nl_select_era_entry): Likewise.
35215 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35216 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35217 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35218 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35219 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35221 2017-08-31 Florian Weimer <fweimer@redhat.com>
35223 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35224 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35225 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35226 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35228 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35229 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35230 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35231 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35233 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35235 2017-08-31 Florian Weimer <fweimer@redhat.com>
35237 * misc/getttyent.c (skip, value): Remove internal_function.
35238 * misc/syslog.c (openlog_internal): Likewise.
35239 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35241 2017-08-31 Florian Weimer <fweimer@redhat.com>
35243 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35244 (__nss_rewrite_field): Remove internal_function.
35245 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35246 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35247 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35248 * nss/nsswitch.c (nss_parse_file, nss_getline)
35249 (nss_parse_service_list, nss_new_service): Likewise.
35250 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35251 * nss/valid_field.c (__nss_valid_field): Likewise.
35252 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35254 2017-08-31 Florian Weimer <fweimer@redhat.com>
35256 * malloc/arena.c (__malloc_fork_lock_parent)
35257 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35258 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35259 internal_function from defintions.
35260 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35261 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35262 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35263 internal_function from declarations.
35264 * malloc/malloc.c (internal_function): Do not define.
35265 (mem2mem_check): Remove internal_function from declaration.
35266 (munmap_chunk, mremap_chunk): Remove internal_function.
35267 * malloc/mtrace.c (tr_where): Likewise.
35269 2017-08-31 Florian Weimer <fweimer@redhat.com>
35271 * include/rpc/pmap_clnt.h (__get_socket): Remove
35273 * sunrpc/auth_des.c (synchronize): Likewise.
35274 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35275 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35276 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35277 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35278 (key_call): Likewise.
35279 * sunrpc/pm_getport.c (__get_socket): Likewise.
35280 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35281 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35282 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35283 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35284 (invalidate): Likewise.
35285 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35286 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35287 (set_input_fragment, get_input_bytes): Likewise.
35289 2017-08-31 Florian Weimer <fweimer@redhat.com>
35291 * malloc/malloc.c (_int_free): Remove locked variable and related
35294 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35297 * Makerules (build-module-helper-objlist): Filter out
35298 $(elf-objpfx)sofini.os.
35299 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35302 2017-08-31 Florian Weimer <fweimer@redhat.com>
35304 * libio/fcloseall.c: Assume weak_alias is defined.
35305 * libio/feof.c: Likewise.
35306 * libio/fileno.c: Likewise.
35307 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35308 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35310 (_IO_file_open): Call __open directly.
35311 (_IO_new_file_sync): Assume ESPIPE is defined.
35312 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35313 (_IO_new_file_write): Call __write directly.
35314 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35315 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35316 * libio/genops.c: Assume _LIBC is defined.
35317 (save_for_backup): Remove internal_function.
35318 * libio/getc.c: Assume weak_alias is defined.
35319 * libio/getwc.c: Likewise.
35320 * libio/iofclose.c: Assume _LIBC is defined.
35321 * libio/iofdopen.c: Likewise.
35322 (_IO_fcntl): Remove macro definition.
35323 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35324 Call __fcntl directly.
35325 * libio/iofflush.c: Assume weak_alias is defined.
35326 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35328 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35329 * libio/iofgets.c: Likewise.
35330 * libio/iofopen.c: Assume _LIBC is defined.
35331 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35332 * libio/iofputs.c: Assume weak_alias is defined.
35333 * libio/iofread.c: Likewise.
35334 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35335 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35336 * libio/ioftell.c: Assume weak_alias is defined.
35337 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35338 * libio/iofwide.c: Assume _LIBC is defined.
35339 (_IO_fwide): Drop SHARED conditional because it is implied by
35341 * libio/iofwrite.c: Assume weak_alias is defined.
35342 * libio/iogetdelim.c: Likewise.
35343 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35344 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35345 (_IO_getwline): Call __wmemcpy directly.
35346 * libio/iopopen.c: Assume _LIBC is defined.
35347 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35348 (_IO_close): Remove macro definitions.
35349 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35351 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35353 * libio/ioputs.c: Assume weak_alias is defined.
35354 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35355 * libio/iosetbuffer.c: Assume weak_alias is defined.
35356 * libio/iosetvbuf.c: Likewise.
35357 * libio/ioungetc.c: Likewise.
35358 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35359 libc_hidden_def, libc_hidden_weak, NULL are defined.
35360 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35361 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35363 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35365 (_IO_old_file_init_internal): Drop SHARED conditional because it
35366 is implied by SHLIB_COMPAT.
35367 (_IO_old_file_fopen): Call __open directly.
35368 (_IO_old_file_sync): Assume ESPIPE is defined.
35369 (_IO_old_file_write): Call __write directly.
35370 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35371 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35372 Call __fcntl directly.
35373 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35374 (_IO_old_fgetpos): Assume EIO is defined.
35375 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35376 (_IO_old_fgetpos64): Assume EIO is defined.
35377 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35378 (_IO_old_fsetpos): Assume EIO is defined.
35379 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35380 (_IO_old_fsetpos64): Assume EIO is defined.
35381 * libio/oldiopopen.c: Assume _LIBC is defined.
35382 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35383 (_IO_close): Remove macro definitions.
35384 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35386 (_IO_old_proc_close): Call __close, __waitpid directly.
35387 * libio/put.c: Assume weak_alias is defined.
35388 * libio/stdfiles.c: Assume _LIBC is defined.
35389 * libio/stdio.c: Likewise.
35390 * libio/wfileops.c: Likewise.
35391 (_IO_wfile_sync): Assume ESPIPE is defined.
35392 * libio/wgenops.c: Assume _LIBC is defined.
35393 (save_for_wbackup): Remove internal_function.
35395 2017-08-31 Florian Weimer <fweimer@redhat.com>
35397 * malloc/malloc.c (top_check): Change return type to void. Remove
35399 * malloc/hooks.c (top_check): Likewise.
35400 (malloc_check, realloc_check, memalign_check): Adjust.
35402 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35405 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35406 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35407 sigcontext and namespace requirements.
35408 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35409 * sysdeps/m68k/sys/ucontext.h: Likewise.
35410 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35411 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35412 <bits/sigcontext.h>.
35413 (__ctx): Define earlier.
35414 (mcontext_t): Define structure contents rather than using struct
35416 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35417 __glibc_reserved1 instead of __reserved.
35418 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35419 <bits/sigcontext.h>.
35420 (__ctx): Define earlier.
35421 (mcontext_t): Define structure contents rather than using struct
35423 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35424 mcontext_t instead of struct sigcontext.
35425 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35426 <bits/sigcontext.h>.
35427 (__ctx): Define earlier.
35428 (mcontext_t): Define structure contents rather than using struct
35430 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35431 <bits/sigcontext.h>.
35432 (__ctx): Define earlier.
35433 (mcontext_t): Define structure contents rather than using struct
35435 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35436 mcontext_t instead of struct sigcontext.
35437 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35438 mcontext_t instead of struct sigcontext.
35439 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35440 <bits/sigcontext.h>.
35441 (__ctx): New macro.
35442 (struct __ia64_fpreg_mcontext): New type.
35443 (mcontext_t): Define structure contents rather than using struct
35445 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35446 (uc_sigmask): Define using __ctx.
35447 (uc_stack): Likewise.
35448 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35449 <bits/sigcontext.h>.
35450 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35451 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35452 <bits/sigcontext.h>.
35453 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35454 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35455 <bits/sigcontext.h>.
35456 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35457 <bits/sigcontext.h>.
35458 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35459 <bits/sigcontext.h>.
35460 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35461 <bits/sigcontext.h>.
35462 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35463 <bits/sigcontext.h>.
35464 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35465 <bits/sigcontext.h>.
35466 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35467 <bits/sigcontext.h>.
35468 (__ctx): Define earlier.
35469 (mcontext_t): Define structure contents rather than using struct
35471 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35472 <bits/sigcontext.h>. Include <bits/types.h>.
35473 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35474 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35475 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35476 (test-xfail-UNIX98/signal.h/conform): Likewise.
35477 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35478 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35479 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35480 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35481 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35482 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35483 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35484 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35485 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35487 2017-08-30 Florian Weimer <fweimer@redhat.com>
35489 * malloc/dynarray_emplace_enlarge.c
35490 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35491 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35492 * malloc/tst-dynarray.c (test_long_overflow): New function.
35493 (do_test): Call it.
35495 2017-08-30 Florian Weimer <fweimer@redhat.com>
35497 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35498 (set_arena_corrupt): Remove definitions.
35499 (mtrim): Do not check for corrupt arena.
35500 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35503 2017-08-30 Florian Weimer <fweimer@redhat.com>
35506 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35508 (ptmalloc_init): Do not set or use check_action.
35509 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35510 call to malloc_printerr. Remove return statement.
35511 (free_check): Likewise. Remove arena unlock.
35512 (top_check): Update comment. Adjust call to malloc_printerr.
35513 Remove heap repair code.
35514 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35515 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35516 (sysmalloc): Adjust call to malloc_printerr.
35517 (munmap_chunk, __libc_realloc): Likewise. Remove return
35519 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35520 Remove errout label and corresponding gotos.
35521 (_int_free): Likewise. Remove arena unlock.
35522 (do_set_mallopt_check): Do not set check_action.
35523 (malloc_printerr): Adjust parameter list. Do not mark arena as
35525 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35527 * manual/probes.texi (Memory Allocation Probes): Remove
35528 memory_mallopt_check_action.
35530 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35532 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35533 Use pointer to uint64_t instead of long int for sp.
35535 2017-08-30 Florian Weimer <fweimer@redhat.com>
35538 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35539 without printing a backtrace. Do not leak any information in the
35541 * manual/memory.texi (Heap Consistency Checking): Update.
35542 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35544 2017-08-30 Florian Weimer <fweimer@redhat.com>
35546 Do not scale NPTL tests with available number of CPUs.
35547 * nptl/tst-cond16.c (count): Set to constant value of 8.
35548 * nptl/tst-cond18.c (count): Likewise.
35550 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35553 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35554 Define to take a second argument that is a macro that
35555 concatentates a suffix, not the suffix itself.
35556 (__CONCAT_d): New macro.
35557 (__CONCAT_f): Likewise.
35558 (__CONCAT_l): Likewise.
35560 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35562 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35565 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35566 Aurelien Jarno <aurelien@aurel32.net>
35567 Maciej W. Rozycki <macro@imgtec.com>
35570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35571 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35572 `mips16-syscall6' and `mips16-syscall7'.
35573 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35574 (CFLAGS-mips16-syscall7.c): Remove.
35575 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35576 Remove `__mips16_syscall5', `__mips16_syscall6' and
35577 `__mips16_syscall7'.
35578 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35579 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35580 `__mips_syscall_return'.
35581 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35582 (__mips16_syscall1): Likewise.
35583 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35584 (__mips16_syscall2): Likewise.
35585 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35586 (__mips16_syscall3): Likewise.
35587 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35588 (__mips16_syscall4): Likewise.
35589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35591 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35593 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35595 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35596 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35597 `__mips16_syscall5'. Remove prototype.
35598 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35599 `__mips16_syscall6'. Remove prototype.
35600 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35601 `__mips16_syscall7'. Remove prototype.
35602 (__nomips16, __mips16_syscall_return): Move to...
35603 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35604 (__nomips16, __mips_syscall_return): ... here.
35605 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35606 `__mips16_syscall_return' to `__mips_syscall_return'.
35607 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35608 `internal_syscall##nr'.
35609 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35610 `internal_syscall##nr'.
35611 (FORCE_FRAME_POINTER): Remove.
35612 (__mips_syscall5): New prototype.
35613 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35614 (__mips_syscall6): New prototype.
35615 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35616 (__mips_syscall7): New prototype.
35617 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35618 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35619 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35620 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35621 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35622 (sysdep_routines): Add libc-do-syscall.
35623 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35624 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35626 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35629 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35630 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35631 (advise_stack_range): New function.
35632 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35633 stack non required to advise_stack_range at allocatestack.c
35635 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35637 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35639 2017-08-29 Florian Weimer <fweimer@redhat.com>
35642 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35643 __end_fct. Mangle __end_fct after setting it to NULL.
35644 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35645 (modules-names, modules-names-tests): Add
35646 tst-gconv-init-failure-mod.
35647 (gconv-modules): New target.
35648 (tst-gconv-init-failure-mod.so): Link against libsupport.
35649 (tst-gconv-init-failure): Depend on gconv-modules,
35650 tst-gconv-init-failure-mod.so.
35651 * iconv/tst-gconv-init-failure-mod.c: New file.
35652 * iconv/tst-gconv-init-failure.c: Likewise.
35653 * iconv/test-gconv-modules: Likewise.
35655 2017-08-29 Florian Weimer <fweimer@redhat.com>
35658 * iconv/gconv_db.c (free_derivation): Remove redundant
35660 (gen_steps): Unconditionally mangle __btowc_fct after
35662 (increment_counter): Likewise. Do not call init_fct for internal
35665 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35668 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35669 (_MSUF_): Remove macro.
35670 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35672 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35673 (__REDIRFROM_X): New macro.
35674 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35676 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35677 (__REDIRTO_X): Likewise.
35678 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35680 (__MATH_REDIRCALL_2): Likewise.
35681 (__MATH_REDIRCALL_INTERNAL): Likewise.
35682 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35683 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35684 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35685 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35686 * math/test-finite-macros.c: New file.
35687 * math/Makefile (tests): Add test-finite-macros.
35688 (CFLAGS-test-finite-macros.c): New variable.
35690 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35691 Jeff Law <law@redhat.com>
35694 Mangle NULL pointers in iconv/gconv.
35695 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35696 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35697 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35698 is non-NULL before demangling the end_fct. Check for NULL
35699 end_fct after demangling.
35700 (__gconv_release_step): Demangle the end_fct before checking
35701 it for NULL. Remove assert on __shlibc_handle != NULL.
35702 (gen_steps): Don't check btowc_fct for NULL before mangling.
35703 Demangle init_fct before checking for NULL.
35704 (increment_counter): Likewise.
35705 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35706 end_fct for NULL before mangling.
35707 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35710 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35713 * locale/iso-639.def: add Morisyen.
35715 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35718 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35719 (iszero): New C++ implementation that does not use
35720 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35721 signaling nans are enabled, since __builtin_types_compatible_p
35722 is a C-only feature.
35723 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35724 defined, include ieee754_float128.h for access to the union and
35725 member ieee854_float128.ieee.
35726 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35727 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35728 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35729 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35730 options of test-math-zero on powerpc64le.
35732 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35734 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35735 Change double to float.
35737 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35739 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35741 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35742 conditional code; define contents only for [LIBM_SVID_COMPAT].
35744 2017-08-28 Florian Weimer <fweimer@redhat.com>
35746 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35747 (abi-lp64_be-options): Remove.
35748 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35749 (abi-hard-options): Likewise.
35750 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35751 (abi-o32_hard-options, abi-o32_soft_2008-options)
35752 (abi-o32_hard_2008-options, abi-n32_soft-options)
35753 (abi-n32_hard-options, abi-n32_soft_2008-options)
35754 (abi-n32_hard_2008-options, abi-n64_soft-options)
35755 (abi-n64_hard-options, abi-n64_soft_2008-options)
35756 (abi-n64_hard_2008-options): Likewise.
35757 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35758 (abi-64-v1-options, abi-64-v2-options): Likewise.
35759 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35760 (abi-64-options): Likewise.
35761 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35762 (abi-64-options): Likewise.
35763 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35764 (abi-64-options): Likewise.
35765 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35766 (abi-64-options, abi-x32-options): Likewise.
35768 2017-08-28 Florian Weimer <fweimer@redhat.com>
35770 Store supported list of SYS_* system calls in the source tree.
35771 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35772 (bits/syscall.h): Generate from list file.
35773 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35774 [$(subdir) = misc] (tests): Add tst-syscall-list.
35775 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35776 [$(subdir) = misc] (tst-syscall-list-macros.list)
35777 [$(subdir) = misc] (tst-syscall-list-nr.list)
35778 (tst-syscall-list-sys.list): Helper targets for new
35779 tst-syscall-list test.
35780 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35781 tst-syscall-list.sh.
35782 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35783 target. Do not include bits/syscall.d.
35784 [$(subdir) = misc] (generated): Do not update.
35785 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35786 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35787 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35788 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35790 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35792 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35793 (tst-cxa_atexit, tst-on_exit): Likewise.
35794 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35795 tst-cxa_atexit, and tst-on_exit.
35796 * stdlib/tst-atexit-common.c: New file.
35797 * stdlib/tst-atexit.c: New file.
35798 * stdlib/tst-at_quick_exit.c: New file.
35799 * stdlib/tst-cxa_atexit.c: New file.
35800 * stdlib/tst-on_exit.c: New file.
35802 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35804 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35805 * mach/stack_chk_fail_local.c: New file.
35806 * hurd/stack_chk_fail_local.c: New file.
35807 * mach/Machrules ($(interface-library)-routines): Add
35808 stack_chk_fail_local.
35809 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35810 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35811 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35812 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35813 * hurd/Makefile (CFLAGS-hurdstartup.o,
35814 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35816 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35818 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35819 (index_cpu_*, index_arch_*): Removed.
35821 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35823 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35824 Use uint64_t instead of unsigned long.
35826 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35828 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35829 [__HAVE_DISTINCT_FLOAT128].
35831 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35832 of <bits/math-finite.h>.
35833 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35834 inclusion of <bits/math-finite.h>.
35835 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35836 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35837 __NO_LONG_DOUBLE_MATH].
35838 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35839 (__MATH_REDIRCALL_2): Likewise.
35840 (__MATH_REDIRCALL_INTERNAL): Likewise.
35841 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35842 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35843 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35862 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35863 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35864 w_sqrtf_compat-ppc32.
35866 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35868 * math/math.h [defined __cplusplus] (issignaling): In the long
35869 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35870 is not defined. Call __issignaling, otherwise.
35872 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35874 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35875 syscall definitions and replace __builtin_expect with __glibc_likely.
35876 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35878 (SYSCALL_CANCELLABLE): Removedefinition
35879 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35881 (PSEUDO_END): Likewise.
35882 [IS_IN (libpthread)] (CENABLE): Likewise.
35883 [IS_IN (libpthread)] (CDISABLE): Likewise.
35884 [IS_IN (libc)] (CENABLE): Likewise.
35885 [IS_IN (libc)] (CENABLE): Likewise.
35886 [IS_IN (librt)] (CDISABLE): Likewise.
35887 [IS_IN (librt)] (CDISABLE): Likewise.
35888 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35889 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35891 (PSEUDO_END): Likewise.
35892 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35893 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35894 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35895 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35896 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35897 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35898 (CENABLE): Likewise.
35899 (CDISABLE): Likewise.
35900 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35901 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35903 (PSEUDO_END): Likewise.
35904 [IS_IN (libpthread)] (CENABLE): Likewise.
35905 [IS_IN (libpthread)] (CDISABLE): Likewise.
35906 [IS_IN (libc)] (CENABLE): Likewise.
35907 [IS_IN (libc)] (CENABLE): Likewise.
35908 [IS_IN (librt)] (CDISABLE): Likewise.
35909 [IS_IN (librt)] (CDISABLE): Likewise.
35910 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35911 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35913 (PSEUDO_END): Likewise.
35914 [IS_IN (libpthread)] (CENABLE): Likewise.
35915 [IS_IN (libpthread)] (CDISABLE): Likewise.
35916 [IS_IN (libc)] (CENABLE): Likewise.
35917 [IS_IN (libc)] (CENABLE): Likewise.
35918 [IS_IN (librt)] (CDISABLE): Likewise.
35919 [IS_IN (librt)] (CDISABLE): Likewise.
35920 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35921 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35923 (PSEUDO_END): Likewise.
35924 [IS_IN (libpthread)] (CENABLE): Likewise.
35925 [IS_IN (libpthread)] (CDISABLE): Likewise.
35926 [IS_IN (libc)] (CENABLE): Likewise.
35927 [IS_IN (libc)] (CENABLE): Likewise.
35928 [IS_IN (librt)] (CDISABLE): Likewise.
35929 [IS_IN (librt)] (CDISABLE): Likewise.
35930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35931 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35933 (PSEUDO_END): Likewise.
35934 [IS_IN (libpthread)] (CENABLE): Likewise.
35935 [IS_IN (libpthread)] (CDISABLE): Likewise.
35936 [IS_IN (libc)] (CENABLE): Likewise.
35937 [IS_IN (libc)] (CENABLE): Likewise.
35938 [IS_IN (librt)] (CDISABLE): Likewise.
35939 [IS_IN (librt)] (CDISABLE): Likewise.
35940 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35941 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35943 (PSEUDO_END): Likewise.
35944 [IS_IN (libpthread)] (CENABLE): Likewise.
35945 [IS_IN (libpthread)] (CDISABLE): Likewise.
35946 [IS_IN (libc)] (CENABLE): Likewise.
35947 [IS_IN (libc)] (CENABLE): Likewise.
35948 [IS_IN (librt)] (CDISABLE): Likewise.
35949 [IS_IN (librt)] (CDISABLE): Likewise.
35950 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35951 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35953 (PSEUDO_END): Likewise.
35954 [IS_IN (libpthread)] (CENABLE): Likewise.
35955 [IS_IN (libpthread)] (CDISABLE): Likewise.
35956 [IS_IN (libc)] (CENABLE): Likewise.
35957 [IS_IN (libc)] (CENABLE): Likewise.
35958 [IS_IN (librt)] (CDISABLE): Likewise.
35959 [IS_IN (librt)] (CDISABLE): Likewise.
35960 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35961 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35963 (PSEUDO_END): Likewise.
35964 [IS_IN (libpthread)] (CENABLE): Likewise.
35965 [IS_IN (libpthread)] (CDISABLE): Likewise.
35966 [IS_IN (libc)] (CENABLE): Likewise.
35967 [IS_IN (libc)] (CENABLE): Likewise.
35968 [IS_IN (librt)] (CDISABLE): Likewise.
35969 [IS_IN (librt)] (CDISABLE): Likewise.
35970 (SINGLE_THREAD_P): Likewise.
35971 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35973 (PSEUDO_END): Likewise.
35974 [IS_IN (libpthread)] (CENABLE): Likewise.
35975 [IS_IN (libpthread)] (CDISABLE): Likewise.
35976 [IS_IN (libc)] (CENABLE): Likewise.
35977 [IS_IN (libc)] (CENABLE): Likewise.
35978 [IS_IN (librt)] (CDISABLE): Likewise.
35979 [IS_IN (librt)] (CDISABLE): Likewise.
35980 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35981 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35983 (PSEUDO_END): Likewise.
35984 [IS_IN (libpthread)] (CENABLE): Likewise.
35985 [IS_IN (libpthread)] (CDISABLE): Likewise.
35986 [IS_IN (libc)] (CENABLE): Likewise.
35987 [IS_IN (libc)] (CENABLE): Likewise.
35988 [IS_IN (librt)] (CDISABLE): Likewise.
35989 [IS_IN (librt)] (CDISABLE): Likewise.
35990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35991 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35992 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35993 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35996 (PSEUDO_END): Likewise.
35997 [IS_IN (libpthread)] (CENABLE): Likewise.
35998 [IS_IN (libpthread)] (CDISABLE): Likewise.
35999 [IS_IN (libc)] (CENABLE): Likewise.
36000 [IS_IN (libc)] (CENABLE): Likewise.
36001 [IS_IN (librt)] (CDISABLE): Likewise.
36002 [IS_IN (librt)] (CDISABLE): Likewise.
36003 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36006 (PSEUDO_END): Likewise.
36007 [IS_IN (libpthread)] (CENABLE): Likewise.
36008 [IS_IN (libpthread)] (CDISABLE): Likewise.
36009 [IS_IN (libc)] (CENABLE): Likewise.
36010 [IS_IN (libc)] (CENABLE): Likewise.
36011 [IS_IN (librt)] (CDISABLE): Likewise.
36012 [IS_IN (librt)] (CDISABLE): Likewise.
36013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36014 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36016 (PSEUDO_END): Likewise.
36017 [IS_IN (libpthread)] (CENABLE): Likewise.
36018 [IS_IN (libpthread)] (CDISABLE): Likewise.
36019 [IS_IN (libc)] (CENABLE): Likewise.
36020 [IS_IN (libc)] (CENABLE): Likewise.
36021 [IS_IN (librt)] (CDISABLE): Likewise.
36022 [IS_IN (librt)] (CDISABLE): Likewise.
36023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36026 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36027 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36029 (PSEUDO_END): Likewise.
36030 [IS_IN (libpthread)] (CENABLE): Likewise.
36031 [IS_IN (libpthread)] (CDISABLE): Likewise.
36032 [IS_IN (libc)] (CENABLE): Likewise.
36033 [IS_IN (libc)] (CENABLE): Likewise.
36034 [IS_IN (librt)] (CDISABLE): Likewise.
36035 [IS_IN (librt)] (CDISABLE): Likewise.
36036 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36037 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36039 (PSEUDO_END): Likewise.
36040 [IS_IN (libpthread)] (CENABLE): Likewise.
36041 [IS_IN (libpthread)] (CDISABLE): Likewise.
36042 [IS_IN (libc)] (CENABLE): Likewise.
36043 [IS_IN (libc)] (CENABLE): Likewise.
36044 [IS_IN (librt)] (CDISABLE): Likewise.
36045 [IS_IN (librt)] (CDISABLE): Likewise.
36046 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36048 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36050 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36052 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36056 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36059 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36060 middle and outer with size_t instead of int. Repleace %d and
36061 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36062 "MAX (outer, nchars - 64)" to support unsigned outer and
36063 nchars. Also exit loop when outer == 0.
36065 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36067 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36068 * include/signal.h (__sigsuspend_nocancel): Likewise.
36069 * include/time.h (__nanosleep_nocancel): Likewise.
36070 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36071 * login/utmp_file.c: Include non cancellable syscall header.
36072 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36075 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36077 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36078 .byte sequences with AVX512F instructions.
36079 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36080 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36081 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36084 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36087 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36088 Steve Ellcey <sellcey@cavium.com>
36090 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36091 Use PTR_REG macro in cmp instruction.
36093 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36095 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36096 Change the return type of the ifunc resolver to match the return
36097 type of the target function.
36099 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36102 (preadv64): Likewise.
36103 (pwrite64(: Likewise.
36104 (pwritev64): Likewise.
36106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36107 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36108 (LOAD_ARGS_0): Likewise.
36109 (LOAD_ARGS_1): Likewise.
36110 (LOAD_ARGS_2): Likewise.
36111 (LOAD_ARGS_3): Likewise.
36112 (LOAD_ARGS_4): Likewise.
36113 (LOAD_ARGS_5): Likewise.
36114 (LOAD_ARGS_6): Likewise.
36115 (LOAD_REGS_0): Likewise.
36116 (LOAD_REGS_1): Likewise.
36117 (LOAD_REGS_2): Likewise.
36118 (LOAD_REGS_3): Likewise.
36119 (LOAD_REGS_4): Likewise.
36120 (LOAD_REGS_5): Likewise.
36121 (LOAD_REGS_6): Likewise.
36122 (ASM_ARGS_0): Likewise.
36123 (ASM_ARGS_1): Likewise.
36124 (ASM_ARGS_2): Likewise.
36125 (ASM_ARGS_3): Likewise.
36126 (ASM_ARGS_4): Likewise.
36127 (ASM_ARGS_5): Likewise.
36128 (ASM_ARGS_6): Likewise.
36129 (LOAD_ARGS_TYPES_1): Likewise.
36130 (LOAD_ARGS_TYPES_2): Likewise.
36131 (LOAD_ARGS_TYPES_3): Likewise.
36132 (LOAD_ARGS_TYPES_4): Likewise.
36133 (LOAD_ARGS_TYPES_5): Likewise.
36134 (LOAD_ARGS_TYPES_6): Likewise.
36135 (LOAD_REGS_TYPES_1): Likewise.
36136 (LOAD_REGS_TYPES_2): Likewise.
36137 (LOAD_REGS_TYPES_3): Likewise.
36138 (LOAD_REGS_TYPES_4): Likewise.
36139 (LOAD_REGS_TYPES_5): Likewise.
36140 (LOAD_REGS_TYPES_6): Likewise.
36141 (TYPEFY): New define.
36142 (ARGIFY): Likewise.
36143 (internal_syscall0): Likewise.
36144 (internal_syscall1): Likewise.
36145 (internal_syscall2): Likewise.
36146 (internal_syscall3): Likewise.
36147 (internal_syscall4): Likewise.
36148 (internal_syscall5): Likewise.
36149 (internal_syscall6): Likewise.
36150 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36151 (INTERNAL_SYSCALL_NCS): Remove define.
36152 (internal_syscall1): Add define.
36154 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36156 * math/w_remainder_compat.c: Remove duplicate inclusion of
36157 math-svid-compat.h.
36158 * math/w_remainderf_compat.c: Likewise.
36159 * math/w_remainderl_compat.c: Likewise.
36161 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36165 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36168 * math/tgmath.h (__floating_type): Simplify definitions.
36169 (__real_integer_type): New macro.
36170 (__complex_integer_type): Likewise.
36171 (__expr_is_real): Likewise.
36172 (__tgmath_real_type_sub): Update comment to describe handling of
36174 (__tgmath_complex_type_sub): New macro.
36175 (__tgmath_complex_type): Likewise.
36176 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36177 (__TGMATH_CF128): Use __expr_is_real.
36178 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36180 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36181 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36182 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36185 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36187 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36189 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36191 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36194 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36195 nanosleep_not_cancel with __nanosleep_nocancel.
36196 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36197 (__nanosleep_nocancel): New macro.
36198 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36200 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36202 (__nanosleep_nocancel): New prototype.
36204 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36205 pause_not_cancel with __pause_nocancel.
36206 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36207 (__pause_nocancel): New macro.
36208 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36210 (__pause_nocancel): New prototype.
36211 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36213 2017-08-22 Martin Sebor <msebor@redhat.com>
36215 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36216 to return a pointer to the same type as the target function.
36218 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36222 * include/printf.h (__printf_fphex): Add attribute_hidden.
36223 (__guess_grouping): New prototype.
36224 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36225 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36226 libc_hidden_proto and libc_hidden_def.
36227 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36228 (__vstrfmon_l): Remove the third argument passed to
36231 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36233 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36234 definition for issignaling that does not rely on __MATH_TG,
36235 since __MATH_TG uses __builtin_types_compatible_p, which is only
36236 available in C mode.
36237 (CFLAGS-test-math-issignaling.cc): New variable.
36238 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36239 * math/test-math-issignaling.cc: New test for C++ implementation
36240 of type-generic issignaling.
36241 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36242 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36243 options of test-math-issignaling on powerpc64le.
36245 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36247 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36249 (hidden_proto): Likewise.
36250 (hidden_tls_proto): Likewise.
36251 (__hidden_proto): Likewise.
36253 2017-08-22 Florian Weimer <fweimer@redhat.com>
36255 math: Statically link tests of internal functionality.
36256 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36258 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36259 (gmp-objs): Remove assignment.
36260 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36262 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36265 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36269 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36272 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36273 variable definitions above inclusion of ../Rules.
36275 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36277 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36278 case calling __builtin_unreachable.
36280 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36282 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36283 __waitpid_nocancel.
36284 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36285 (__waitpid_nocancel): New macro.
36286 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36288 (__waitpid_nocancel): Replace macro with a function.
36289 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36292 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36294 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36295 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36297 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36298 __writev_nocancel_nostatus.
36299 (write_call_graph): Likewise.
36300 (write_bb_counts): Likewise.
36301 * resolv/herror.c (herror): Likewise.
36302 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36304 (__writev_nocancel_nostatus): New macro.
36305 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36307 (__writev_nocancel_nostatus): New function.
36309 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36312 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36314 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36316 (hidden_proto): Likewise.
36317 (hidden_tls_proto): Likewise.
36318 (__hidden_proto): Likewise.
36321 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36322 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36333 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36334 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36335 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36336 GLIBC_2.0 sqrtl symbol.
36338 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36339 [__USE_MISC] (_LIB_VERSION): Likewise.
36340 [__USE_MISC] (struct exception): Likewise.
36341 [__USE_MISC] (matherr): Likewise.
36342 [__USE_MISC] (DOMAIN): Likewise.
36343 [__USE_MISC] (SING): Likewise.
36344 [__USE_MISC] (OVERFLOW): Likewise.
36345 [__USE_MISC] (UNDERFLOW): Likewise.
36346 [__USE_MISC] (TLOSS): Likewise.
36347 [__USE_MISC] (PLOSS): Likewise.
36348 [__USE_MISC] (HUGE): Likewise.
36349 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36350 * math/math-svid-compat.h: New file.
36351 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36353 * include/math.h [!_ISOMAC] (__matherr): Remove.
36354 * manual/arith.texi (FP Exceptions): Do not document matherr.
36355 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36356 (tests-internal): New variable.
36357 (install-lib): Do not add libieee.a.
36358 (non-lib.a): Likewise.
36359 (extra-objs): Do not add libieee.a and ieee-math.o.
36360 (CPPFLAGS-s_lib_version.c): Remove variable.
36361 ($(objpfx)libieee.a): Remove rule.
36362 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36363 * math/ieee-math.c: Remove.
36364 * math/libm-test-support.c (matherr): Remove.
36365 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36366 and license notices. Include <math-svid-compat.h> and
36368 (matherr): Undefine as macro. Use compat_symbol_reference.
36369 (_LIB_VERSION): Likewise.
36370 * math/test-matherr-2.c: New file.
36371 * math/test-matherr-3.c: Likewise.
36372 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36374 (__kernel_standard_f): Likewise.
36375 (__kernel_standard_l): Likewise.
36376 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36377 <math_private.h>. Include <math-svid-compat.h>.
36378 (_LIB_VERSION): Undefine as macro.
36379 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36380 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36381 [LIBM_SVID_COMPAT], use compat_symbol.
36382 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36383 <math_private.h>. Include <math-svid-compat.h>.
36384 (matherr): Undefine as macro.
36385 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36387 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36388 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36389 compat_symbol_reference.
36390 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36391 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36392 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36393 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36394 (MATHERR_D): Remove declaration.
36395 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36396 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36397 [LIBM_BUILD] (pmatherrf): Likewise.
36398 [LIBM_BUILD] (pmatherr): Likewise.
36399 [LIBM_BUILD] (pmatherrl): Likewise.
36400 (DOMAIN): Likewise.
36402 (OVERFLOW): Likewise.
36403 (UNDERFLOW): Likewise.
36406 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36407 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36409 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36410 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36412 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36413 * math/w_acos_compat.c: Likewise.
36414 * math/w_acosf_compat.c: Likewise.
36415 * math/w_acosh_compat.c: Likewise.
36416 * math/w_acoshf_compat.c: Likewise.
36417 * math/w_acoshl_compat.c: Likewise.
36418 * math/w_acosl_compat.c: Likewise.
36419 * math/w_asin_compat.c: Likewise.
36420 * math/w_asinf_compat.c: Likewise.
36421 * math/w_asinl_compat.c: Likewise.
36422 * math/w_atan2_compat.c: Likewise.
36423 * math/w_atan2f_compat.c: Likewise.
36424 * math/w_atan2l_compat.c: Likewise.
36425 * math/w_atanh_compat.c: Likewise.
36426 * math/w_atanhf_compat.c: Likewise.
36427 * math/w_atanhl_compat.c: Likewise.
36428 * math/w_cosh_compat.c: Likewise.
36429 * math/w_coshf_compat.c: Likewise.
36430 * math/w_coshl_compat.c: Likewise.
36431 * math/w_exp10_compat.c: Likewise.
36432 * math/w_exp10f_compat.c: Likewise.
36433 * math/w_exp10l_compat.c: Likewise.
36434 * math/w_exp2_compat.c: Likewise.
36435 * math/w_exp2f_compat.c: Likewise.
36436 * math/w_exp2l_compat.c: Likewise.
36437 * math/w_fmod_compat.c: Likewise.
36438 * math/w_fmodf_compat.c: Likewise.
36439 * math/w_fmodl_compat.c: Likewise.
36440 * math/w_hypot_compat.c: Likewise.
36441 * math/w_hypotf_compat.c: Likewise.
36442 * math/w_hypotl_compat.c: Likewise.
36443 * math/w_j0_compat.c: Likewise.
36444 * math/w_j0f_compat.c: Likewise.
36445 * math/w_j0l_compat.c: Likewise.
36446 * math/w_j1_compat.c: Likewise.
36447 * math/w_j1f_compat.c: Likewise.
36448 * math/w_j1l_compat.c: Likewise.
36449 * math/w_jn_compat.c: Likewise.
36450 * math/w_jnf_compat.c: Likewise.
36451 * math/w_jnl_compat.c: Likewise.
36452 * math/w_lgamma_main.c: Likewise.
36453 * math/w_lgamma_r_compat.c: Likewise.
36454 * math/w_lgammaf_main.c: Likewise.
36455 * math/w_lgammaf_r_compat.c: Likewise.
36456 * math/w_lgammal_main.c: Likewise.
36457 * math/w_lgammal_r_compat.c: Likewise.
36458 * math/w_log10_compat.c: Likewise.
36459 * math/w_log10f_compat.c: Likewise.
36460 * math/w_log10l_compat.c: Likewise.
36461 * math/w_log2_compat.c: Likewise.
36462 * math/w_log2f_compat.c: Likewise.
36463 * math/w_log2l_compat.c: Likewise.
36464 * math/w_log_compat.c: Likewise.
36465 * math/w_logf_compat.c: Likewise.
36466 * math/w_logl_compat.c: Likewise.
36467 * math/w_pow_compat.c: Likewise.
36468 * math/w_powf_compat.c: Likewise.
36469 * math/w_powl_compat.c: Likewise.
36470 * math/w_remainder_compat.c: Likewise.
36471 * math/w_remainderf_compat.c: Likewise.
36472 * math/w_remainderl_compat.c: Likewise.
36473 * math/w_scalb_compat.c: Likewise.
36474 * math/w_scalbf_compat.c: Likewise.
36475 * math/w_scalbl_compat.c: Likewise.
36476 * math/w_sinh_compat.c: Likewise.
36477 * math/w_sinhf_compat.c: Likewise.
36478 * math/w_sinhl_compat.c: Likewise.
36479 * math/w_sqrt_compat.c: Likewise.
36480 * math/w_sqrtf_compat.c: Likewise.
36481 * math/w_sqrtl_compat.c: Likewise.
36482 * math/w_tgamma_compat.c: Likewise.
36483 * math/w_tgammaf_compat.c: Likewise.
36484 * math/w_tgammal_compat.c: Likewise.
36485 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36486 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36487 * sysdeps/ieee754/k_standard.c: Likewise.
36488 * sysdeps/ieee754/k_standardf.c: Likewise.
36489 * sysdeps/ieee754/k_standardl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36492 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36494 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36497 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36498 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36503 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36504 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36505 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36506 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36508 2017-08-21 Florian Weimer <fweimer@redhat.com>
36511 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36512 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36513 Move before inclusion of ../Rules.
36515 2017-08-21 Florian Weimer <fweimer@redhat.com>
36518 * assert/assert.h (assert): Use static_cast (bool) for C++.
36519 Use the ternary operator in the warning branch for GNU C.
36520 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36521 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36522 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36523 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36524 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36526 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36530 (__syscall_clock_gettime): Add attribute_hidden.
36531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36532 (__start_context): Likewise.
36534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36536 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36538 (hidden_proto): Likewise.
36539 (hidden_tls_proto): Likewise.
36540 (__hidden_proto): Likewise.
36542 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36544 * include/libc-symbols.h (attribute_hidden): Enable hidden
36545 visibility in libc.a compiled with PIE.
36547 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36550 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36551 Add attribute_hidden.
36553 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36556 * Makerules (all-nonlib): Add $(others-extras).
36557 * catgets/Makefile (others-extras): New.
36558 * elf/Makefile (others-extras): Likewise.
36559 * nss/Makefile (others-extras): Likewise.
36561 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36564 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36565 * elf/dl-open.c: Include <libc-internal.h>.
36566 (__libc_multiple_libcs): Removed.
36567 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36569 * include/libc-internal.h (__libc_multiple_libcs): New.
36570 * misc/sbrk.c: Include <libc-internal.h>.
36571 (__libc_multiple_libcs): Removed.
36573 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36576 * grp/initgroups.c (__nss_group_database): Removed.
36577 (__nss_initgroups_database): Likewise.
36578 * nscd/gai.c (__nss_hosts_database): Likewise.
36579 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36580 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36581 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36582 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36583 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36584 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36586 * nss/nsswitch.c (__nss_database_custom): Define only if
36587 USE_NSCD is defined.
36588 (__nss_configure_lookup): Use __nss_database_custom only if
36589 USE_NSCD is defined.
36590 * nss/nsswitch.h (__nss_database_custom): Declare only if
36591 USE_NSCD is defined. Add attribute_hidden.
36592 (__nss_setent): Add attribute_hidden.
36593 (__nss_endent): Likewise.
36594 (__nss_getent_r): Likewise.
36595 (__nss_getent): Likewise.
36596 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36598 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36601 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36602 libc_hidden_proto and libc_hidden_def.
36604 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36607 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36608 Add libc_hidden_proto.
36609 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36610 Add libc_hidden_def.
36612 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36615 * gmon/Makefile (routines): Remove bb_init_func and
36617 (elide-routines.os): Removed.
36618 * gmon/bb_exit_func.c: Likewise.
36619 * gmon/bb_init_func.c: Likewise.
36620 * include/sys/gmon.h (__bb): Likewise.
36621 (__bb_init_func): Likewise.
36622 (__bb_exit_func): Likewise.
36623 * sysdeps/alpha/bb_init_func.S: Likewise.
36625 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36627 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36628 * include/setjmp.h (____longjmp_chk): Here. Add
36631 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36634 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36636 (__strspn_sse2): Likewise.
36638 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36640 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36641 (close_not_cancel_no_status): Likewise.
36642 (__close_nocancel): New macro.
36643 (__close_nocancel_nostatus): Likewise.
36644 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36646 (close_not_cancel): Likewise.
36647 (close_not_cancel_no_status): Likewise.
36648 (__close_nocancel): New prototype.
36649 (__close_nocancel_nostatus): New function.
36650 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36651 * catgets/open_catalog.c (__open_catalog): Replace
36652 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36653 * gmon/gmon.c (write_gmon): Likewise.
36654 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36655 * intl/loadmsgcat.c (close): Likewise.
36656 * io/ftw.c (open_dir_stream): Likewise.
36657 (ftw_startup): Likewise.
36658 * libio/fileops.c (_IO_file_open): Likewise.
36659 (_IO_file_close_mmap): Likewise.
36660 (_IO_file_close): Likewise.
36661 * libio/iopopen.c (_IO_dup2): Likewise.
36662 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36663 * locale/loadlocale.c (_nl_load_locale): Likewise.
36664 * login/utmp_file.c (pututline_file): Likewise.
36665 (endutent_file): Likewise.
36666 * misc/daemon.c (daemon): Likewise.
36667 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36668 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36669 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36670 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36672 * nscd/nscd_helper.c (open_socket): Likewise.
36673 (__nscd_open_socket): Likewise.
36674 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36675 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36676 (__nscd_innetgr): Likewise.
36677 * nss/nss_db/db-open.c (internal_setent): Likewise.
36678 * resolv/res-close.c (__res_iclose): Likewise.
36679 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36680 * sysdeps/posix/closedir.c (__closedir): Likewise.
36681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36682 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36683 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36684 (opendir_tail): Likewise.
36685 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36686 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36687 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36688 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36689 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36690 (gethostid): Likewise.
36691 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36695 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36696 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36697 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36699 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36700 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36701 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36703 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36704 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36706 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36708 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36709 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36710 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36713 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36714 (openat_not_cancel_3): Likewise.
36715 (openat64_not_cancel_3): Likewise).
36716 (openat_not_cancel_3): Likewise).
36717 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36719 (openat_not_cancel_3): Likewise.
36720 (openat64_not_cancel): Likewise.
36721 (openat64_not_cancel_3): Likewise.
36722 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36723 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36724 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36725 __open{64}_nocancel.
36726 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36727 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36728 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36730 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36733 * include/argz.h (__argz_create_sep): New function prototype.
36734 (__argz_append): Likewise.
36735 (__argz_add): Likewise.
36736 (__argz_add_sep): Likewise.
36737 (__argz_delete): Likewise.
36738 (__argz_insert): Likewise.
36739 (__argz_replace): Likewise.
36740 * string/argz.h (__argz_create_sep): Removed.
36741 (__argz_append): Likewise.
36742 (__argz_add): Likewise.
36743 (__argz_add_sep): Likewise.
36744 (__argz_delete): Likewise.
36745 (__argz_insert): Likewise.
36746 (__argz_replace): Likewise.
36748 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36750 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36751 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36752 (GNU_PROPERTY_STACK_SIZE): Likewie.
36753 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36754 (GNU_PROPERTY_LOPROC): Likewise.
36755 (GNU_PROPERTY_HIPROC): Likewise.
36756 (GNU_PROPERTY_LOUSER): Likewise.
36757 (GNU_PROPERTY_HIUSER): Likewise.
36758 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36759 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36760 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36761 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36762 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36763 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36764 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36765 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36766 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36767 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36768 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36769 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36770 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36771 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36772 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36773 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36774 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36775 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36776 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36777 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36778 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36779 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36780 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36782 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36784 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36787 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36790 * math/math.h (isinf): Check if in C or C++ mode before using
36791 __builtin_types_compatible_p, since this is a C mode feature.
36793 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36795 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36796 (__write_nocancel): New macro.
36797 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36798 Rewrite as a function prototype.
36799 (write_not_cancel): Remove macro.
36800 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36801 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36802 (write_gmon): Likewise.
36803 * libio/fileops.c (_IO_new_file_write): Likewise.
36804 * login/utmp_file.c (pututline_file): Likewise.
36805 (updwtmp_file): Likewise.
36806 * stdio-common/psiginfo.c (psiginfo): Likewise.
36807 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36808 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36809 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36811 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36814 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36815 (__read_nocancel): New macro.
36816 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36818 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36820 (__read_nocancel): New prototype.
36821 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36822 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36823 with __read_nocancel.
36824 * intl/loadmsgcat.c (read): Likewise.
36825 * libio/fileops.c (_IO_file_read): Likewise.
36826 * locale/loadlocale.c (_nl_load_locale): Likewise.
36827 * login/utmp_file.c (getutent_r_file): Likewise.
36828 (internal_getut_r): Likewise.
36829 (getutline_r_file): Likewise.
36830 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36831 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36832 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36833 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36835 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36836 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36837 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36839 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36841 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36843 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36845 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36847 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36850 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36851 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36854 2017-08-17 DJ Delorie <dj@redhat.com>
36856 * bug17079.c: Update to new test harness.
36857 * test-digits-dots.c: Likewise.
36858 * test-netdb.c: Likewise.
36859 * tst-field.c: Likewise.
36860 * tst-nss-getpwent.c: Likewise.
36861 * tst-nss-static.c: Likewise.
36862 * tst-nss-test1.c: Likewise.
36863 * tst-nss-test2.c: Likewise.
36864 * tst-nss-test3.c: Likewise.
36865 * tst-nss-test4.c: Likewise.
36866 * tst-nss-test5.c: Likewise.
36868 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36870 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36871 (open_not_cancel_2): Likewise.
36872 (open_nocancel): New macro.
36873 (open64_nocancel): Likewise.
36874 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36875 (open_not_cancel_2): Likewise.
36876 (__open_nocancel): New prototype.
36877 (__open64_nocancel): Likewise.
36878 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36880 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36881 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36882 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36883 with __open_nocancel.
36884 * csu/check_fds.c (check_one_fd): Likewise.
36885 * gmon/gmon.c (write_gmon): Likewise.
36886 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36887 * intl/loadmsgcat.c (open): Likewise.
36888 * libio/fileops.c (_IO_file_open): Likewise.
36889 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36890 * locale/loadlocale.c (_nl_load_locale): Likewise.
36891 * login/utmp_file.c (setutent_file): Likewise.
36892 * misc/daemon.c (daemon): Likewise.
36893 * nss/nss_db/db-open.c (internal_setent): Likewise.
36894 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36895 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36896 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36897 (__opendir): Likewise.
36898 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36899 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36900 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36901 (gethostid): Likewise.
36902 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36906 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36907 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36908 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36910 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36912 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36914 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36916 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36918 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36920 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36921 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36923 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36925 * benchtests/bench-skeleton.c (main): Add support for
36926 latency benchmarking.
36927 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36929 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36931 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36932 the startup object.
36934 2017-08-17 Florian Weimer <fweimer@redhat.com>
36936 * include/sys/socket.h (__opensock): Remove internal_function.
36937 * socket/opensock.c (__opensock): Likewise.
36938 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36940 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36943 * signal/bits/types/__sigval_t.h: New file.
36944 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36945 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36946 and define sigval_t using __sigval_t.
36947 * include/bits/types/__sigval_t.h: New file.
36948 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36949 instead of <bits/types/__sigval_t.h>.
36950 (struct sigevent): Use __sigval_t instead of sigval_t.
36951 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36952 instead of <bits/types/__sigval_t.h>.
36953 (siginfo_t): Use __sigval_t instead of sigval_t.
36954 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36955 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36956 (struct sigevent): Use __sigval_t instead of sigval_t.
36957 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36958 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36959 (siginfo_t): Use __sigval_t instead of sigval_t.
36960 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36962 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36964 * NEWS: Remove "[Add new features here]" for 2.27.
36966 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36968 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36971 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36973 * NEWS: Mention x86-64 FMA optimization.
36975 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36978 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36980 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36981 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36982 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36984 2017-08-16 Andreas Schwab <schwab@suse.de>
36988 * elf/ldd.bash.in: Never run file directly.
36990 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36993 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36994 (L(SP_INF_0)): Likewise.
36996 2017-08-15 Florian Weimer <fweimer@redhat.com>
36998 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37001 2017-08-15 Florian Weimer <fweimer@redhat.com>
37003 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37004 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37005 BROKEN_THREAD_SIGNALS code.
37006 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37007 request_list): Remove caller_pid member used for
37008 BROKEN_THREAD_SIGNALS.
37009 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37010 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37011 Remove BROKEN_THREAD_SIGNALS support.
37012 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37013 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37015 2017-08-15 Florian Weimer <fweimer@redhat.com>
37017 * gmon/Makefile (tests): Add tst-gmon.
37018 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37020 (tests-special): Add tst-gmon-prof.out.
37021 (tst-gmon.out): Depend on clean-tst-gmon-data.
37022 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37023 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37024 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37026 * aclocal.m4 (GPROF): Set and substitute.
37027 * config.amke.in (GPROF): Set.
37028 * configure: Regenerate.
37030 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37032 * elf/elf.h A (NT_PPC_TAR): New macro.
37033 (NT_PPC_PPR): Likewise.
37034 (NT_PPC_DSCR): Likewise.
37035 (NT_PPC_EBB): Likewise.
37036 (NT_PPC_PMU): Likewise.
37037 (NT_PPC_TM_CGPR): Likewise.
37038 (NT_PPC_TM_CFPR): Likewise.
37039 (NT_PPC_TM_CVMX): Likewise.
37040 (NT_PPC_TM_CVSX): Likewise.
37041 (NT_PPC_TM_SPR): Likewise.
37042 (NT_PPC_TM_CTAR): Likewise.
37043 (NT_PPC_TM_CPPR): Likewise.
37044 (NT_PPC_TM_CDSCR): Likewise.
37046 2017-08-15 Florian Weimer <fweimer@redhat.com>
37048 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37049 regparm (2) instead of internal_function.
37050 (_MCOUNT_DECL): Adjust.
37052 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37054 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37055 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37057 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37059 * conform/data/sys/wait.h-data (si_value): Do not expect for
37062 2017-08-14 Florian Weimer <fweimer@redhat.com>
37065 NSS: Create stubs for accidentally exported lookup functions.
37066 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37067 Remove declaration.
37068 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37069 (ether_hostton): Call __nss_ethers_lookup2 instead.
37070 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37071 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37072 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37073 (setup): Call __nss_netgroup_lookup2 instead.
37074 * nss/Makefile (routines): Add compat-lookup.
37075 * nss/Versions (GLIBC_2.27): Add symbol version.
37076 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37077 (DB_COMPAT_FCT): Remove.
37078 * nss/compat-lookup.c: New file.
37079 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37080 from databases.def.
37081 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37082 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37083 (netname2user): Call __nss_publickey_lookup2 instead.
37084 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37085 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37088 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37089 Sergei Trofimovich <slyfox@inbox.ru>
37092 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37093 Rename to MMAP2_PAGE_UNIT.
37094 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37095 __OFF_T_MATCHES_OFF64_T is not defined.
37096 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37098 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37099 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37101 2017-08-14 Florian Weimer <fweimer@redhat.com>
37103 i386: Do not set internal_function.
37104 * config.h.in (USE_REGPARMS, internal_function): Remove.
37105 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37106 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37108 2017-08-14 Florian Weimer <fweimer@redhat.com>
37110 * elf/dl-init.c (_dl_init): Remove internal_function.
37111 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37112 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37114 2017-08-14 Florian Weimer <fweimer@redhat.com>
37116 * elf/rtld.c (_dl_start): Remove internal_function.
37117 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37120 2017-08-14 Florian Weimer <fweimer@redhat.com>
37122 * elf/dl-fini.c (_dl_fini): Remove internal_function
37123 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37125 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37127 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37128 (bit_cpu_SHSTK): Likewise.
37129 (index_cpu_IBT): Likewise.
37130 (index_cpu_SHSTK): Likewise.
37131 (reg_IBT): Likewise.
37132 (reg_SHSTK): Likewise.
37133 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37134 Handle index_cpu_IBT and index_cpu_SHSTK.
37136 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37139 * po/fr.po: Fix spelling mistake.
37141 2017-08-13 Florian Weimer <fweimer@redhat.com>
37143 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37144 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37145 (_dl_catch_error, _dl_receive_error): Likewise.
37146 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37147 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37148 (_dl_deallocate_tls): Likewise.
37149 * include/dlfcn.h (_dl_addr): Likewise.
37150 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37151 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37152 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37155 2017-08-13 Florian Weimer <fweimer@redhat.com>
37157 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37158 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37160 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37162 2017-08-13 Florian Weimer <fweimer@redhat.com>
37164 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37166 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37167 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37168 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37169 internal_function from _dl_make_stack_executable_hook member.
37170 (_dl_make_stack_executable): Remove internal_function.
37171 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37173 * sysdeps/unix/sysv/linux/dl-execstack.c
37174 (_dl_make_stack_executable): Likewise.
37176 2017-08-13 Florian Weimer <fweimer@redhat.com>
37178 * sysdeps/unix/sysv/linux/netlinkaccess.h
37179 (__netlink_assert_response): Remove internal_function.
37180 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37181 (__netlink_assert_response): Likewise.
37183 2017-08-13 Florian Weimer <fweimer@redhat.com>
37185 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37187 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37189 2017-08-13 Florian Weimer <fweimer@redhat.com>
37191 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37193 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37194 * inet/netgroup.h (__internal_setnetgrent)
37195 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37196 * inet/getnetgrent_r.c (__internal_setnetgrent)
37197 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37198 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37199 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37200 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37201 * nss/nsswitch.h (db_lookup_function): Likewise.
37203 2017-08-13 Florian Weimer <fweimer@redhat.com>
37205 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37206 Remove internal_function.
37207 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37208 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37209 message argument on the stack.
37210 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37213 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37215 Adapt test case data to the changes in the thousands
37219 * localedata/tst-langinfo.sh: Adapt test case data.
37220 * stdlib/tst-strfmon_l.c: Likewise.
37221 * stdlib/tst-strtod4.c: Likewise.
37222 * stdlib/tst-strtod5i.c: Likewise.
37224 2017-08-11 Florian Weimer <fweimer@redhat.com>
37227 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37228 Suppress pedantic warning resulting from statement expression.
37229 (__ASSERT_FUNCTION): Add missing __extension__.
37231 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37233 * benchtests/bench-memmove-large.c: Print output in JSON
37235 * benchtests/bench-memmove.c: Likewise.
37237 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37238 * benchtests/bench-memchr.c (do_one_test): Likewise.
37239 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37240 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37241 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37242 * benchtests/bench-memmove.c (do_one_test): Likewise.
37243 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37244 * benchtests/bench-memset.c (do_one_test): Likewise.
37245 * benchtests/bench-string.h (test_init): Remove memsets.
37247 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37250 (Computing the Width of an Integer Data Type): Rename section to
37251 "Width of an Integer Type". Remove inaccurate statement regarding
37252 lack of C language facilities for determining width of integer
37253 types, and reorder content to improve flow and context of
37256 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37258 * lang.texi (va_copy): Change standard from ISO to C99.
37259 (__va_copy): Add standard and header annotation.
37260 Update description for clarity of origins and current use.
37262 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37265 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37266 xssqrtqp requires operands to be in Vector Registers
37267 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37268 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37269 (__ieee754_sqrtf128): Likewise.
37271 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37273 * sysdeps/aarch64/memcmp.S (memcmp):
37274 Rewrite of optimized memcmp.
37276 2017-08-10 Florian Weimer <fweimer@redhat.com>
37278 Introduce ld.so exceptions.
37279 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37280 (_dl_exception_create, _dl_exception_create_format)
37281 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37282 (_dl_catch_exception): Declare.
37283 (_dl_catch_error): Update comment.
37284 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37285 errstring, malloced members with exception member.
37286 (_dl_out_of_memory): Remove.
37287 (fatal_error): New function, extracted from _dl_signal_error.
37288 (_dl_signal_exception, _dl_signal_cexception): New functions.
37289 (_dl_signal_error): Call _dl_exception_create to allocate an
37291 (_dl_catch_exception): New function, based on _dl_catch_error.
37292 (_dl_catch_error): Implement using _dl_catch_exception.
37293 * elf/dl-exception.c: New file.
37294 * elf/Makefile (dl-routines): Add dl-exception.
37295 (elide-routines.os): Likewise.
37296 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37297 _dl_exception_create_format, _dl_exception_free.
37298 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37299 _dl_signal_exception.
37300 * elf/dl-lookup.c (make_string): Remove.
37301 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37302 _dl_signal_cexception, _dl_exception_free.
37303 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37304 _dl_signal_exception.
37305 * elf/dl-sym.c (do_sym): Likewise.
37306 * elf/dl-version.c (make_string): Remove.
37307 (match_symbol): Use _dl_exception_create_format,
37308 _dl_signal_cexception, _dl_exception_free.
37309 (_dl_check_map_versions): Likewise.
37310 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37311 _dl_catch_exception.
37312 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37313 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37314 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37315 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37316 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37317 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37318 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37319 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37321 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37328 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37329 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37330 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37332 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37334 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37336 2017-08-10 Florian Weimer <fweimer@redhat.com>
37338 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37339 attribute_hidden, internal_function.
37340 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37343 2017-08-10 Florian Weimer <fweimer@redhat.com>
37345 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37346 function which calls __builtin_unreachable.
37348 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37350 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37351 Indian monetary formatting
37352 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37355 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37357 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37358 Fix typo in comment.
37361 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37362 PTRACE_SEIZE_DEVEL): Remove.
37363 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37364 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37365 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37366 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37367 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37369 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37371 * posix/bits/types.h (__qaddr_t): Remove.
37374 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37375 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37377 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37378 (ucontext_t): Use __ctx with uc_flags.
37379 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37380 (__ctxt): Likewise.
37381 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37383 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37384 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37386 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37387 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37389 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37391 (ucontext_t): Use __ctx with uc_flags.
37392 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37393 (ucontext_t): Use __ctx with uc_flags.
37394 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37395 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37396 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37397 (ucontext_t): Use __ctx with uc_flags.
37398 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37399 undefine further down.
37400 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37402 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37403 undefine further down.
37404 (ucontext_t): Use __ctx with uc_flags.
37405 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37406 undefine further down.
37407 (ucontext_t): Use __ctx with uc_flags.
37408 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37409 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37410 Rename uc_pad to __glibc_reserved1.
37411 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37412 undefine further down.
37413 (ucontext_t): Use __ctx with uc_flags.
37414 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37416 (ucontext_t): Use __ctx with uc_flags.
37417 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37418 __ctx with uc_flags.
37419 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37420 (ucontext_t): Use __ctx with uc_flags.
37421 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37422 __ctx with uc_flags.
37424 2017-08-09 Florian Weimer <fweimer@redhat.com>
37427 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37428 before early return.
37430 2017-08-09 Andreas Schwab <schwab@suse.de>
37433 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37437 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37438 tst-compat-forwarder.
37439 (modules-names): Add tst-compat-forwarder-mod.
37440 ($(objpfx)tst-compat-forwarder): Depend on
37441 $(objpfx)tst-compat-forwarder-mod.so.
37442 * nptl/tst-compat-forwarder.c: New file.
37443 * nptl/tst-compat-forwarder-mod.c: New file.
37445 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37447 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37450 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37451 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37453 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37455 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37456 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37457 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37458 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37460 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37463 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37466 * manual/setjmp.texi (getcontex): Document uc_stack value
37467 compatibility differences.
37469 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37471 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37472 (old_malloc_hook): Likewise.
37473 (old_memalign_hook): Likewise.
37474 (old_realloc_hook): Likewise.
37475 (struct hdr): Likewise.
37477 (freehook): Likewise.
37478 (mallochook): Likewise.
37479 (memalignhook): Likewise.
37480 (reallochook): Likewise.
37481 (mprobe): Likewise.
37482 * malloc/mtrace.c (mallwatch): Likewise.
37483 (tr_old_free_hook): Likewise.
37484 (tr_old_malloc_hook): Likewise.
37485 (tr_old_realloc_hook): Likewise.
37486 (tr_old_memalign_hook): Likewise.
37487 (tr_where): Likewise.
37488 (lock_and_info): Likewise.
37489 (tr_freehook): Likewise.
37490 (tr_mallochook): Likewise.
37491 (tr_reallochook): Likewise.
37492 (tr_memalignhook): Likewise.
37493 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37494 * misc/mmap.c (__mmap): Likewise.
37495 * misc/mmap64.c (__mmap64): Likewise.
37496 * misc/mprotect.c (__mprotect): Likewise.
37497 * misc/msync.c (msync): Likewise.
37498 * misc/munmap.c (__munmap): Likewise.
37499 * posix/posix_madvise.c (posix_madvise): Likewise.
37500 * socket/send.c (__send): Likewise.
37501 * socket/sendto.c (__sendto): Likewise.
37502 * socket/setsockopt.c (__setsockopt): Likewise.
37503 * string/memcmp.c (__ptr_t): Remove macro.
37504 (MEMCMP): Use void * instead of ptr_t.
37505 * string/memrchr.c (__ptr_t): Remove macro.
37506 (__memrchr): Use void * instead of ptr_t.
37507 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37508 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37509 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37510 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37511 * sysdeps/mach/msync.c (msync): Likewise.
37512 * sysdeps/mach/munmap.c (__munmap): Likewise.
37513 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37515 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37516 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37517 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37518 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37519 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37520 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37521 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37524 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37525 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37526 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37527 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37528 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37529 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37530 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37531 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37532 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37534 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37535 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37536 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37537 (MEMCMP): Use void * instead of ptr_t.
37538 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37539 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37541 2017-08-08 Florian Weimer <fweimer@redhat.com>
37543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37546 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37549 * csu/libc-tls.c: Include <startup.h> first.
37550 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37551 * elf/dl-tunables.c: Include <startup.h> first.
37552 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37553 * sysdeps/generic/startup.h: New file.
37554 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37555 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37556 (I386_USE_SYSENTER): New. Defined to 0.
37558 2017-08-08 Andreas Schwab <schwab@suse.de>
37561 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37562 * nptl/pt-system.c (system): Likewise.
37564 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37567 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37569 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37570 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37571 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37572 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37573 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37574 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37575 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37577 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37580 * bits/sigaction.h (struct sigaction): Define sa_handler and
37581 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37582 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37583 [__USE_XOPEN_EXTENDED].
37584 (SA_RESTART): Likewise.
37585 (SA_NODEFER): Likewise.
37586 (SA_RESETHAND): Likewise.
37587 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37588 (struct sigaction): Define sa_handler and sa_sigaction using union
37589 also for [__USE_XOPEN_EXTENDED].
37590 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37591 [__USE_XOPEN_EXTENDED].
37592 (SA_RESTART): Likewise.
37593 (SA_NODEFER): Likewise.
37594 (SA_RESETHAND): Likewise.
37595 * sysdeps/unix/sysv/linux/bits/sigaction.h
37596 (struct sigaction): Define sa_handler and sa_sigaction using union
37597 also for [__USE_XOPEN_EXTENDED].
37598 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37599 [__USE_XOPEN_EXTENDED].
37600 (SA_RESTART): Likewise.
37601 (SA_NODEFER): Likewise.
37602 (SA_RESETHAND): Likewise.
37603 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37604 (struct sigaction): Define sa_handler and sa_sigaction using union
37605 also for [__USE_XOPEN_EXTENDED].
37606 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37607 [__USE_XOPEN_EXTENDED].
37608 (SA_RESTART): Likewise.
37609 (SA_NODEFER): Likewise.
37610 (SA_RESETHAND): Likewise.
37611 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37612 (struct sigaction): Define sa_handler and sa_sigaction using union
37613 also for [__USE_XOPEN_EXTENDED].
37614 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37615 [__USE_XOPEN_EXTENDED].
37616 (SA_RESTART): Likewise.
37617 (SA_NODEFER): Likewise.
37618 (SA_RESETHAND): Likewise.
37619 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37620 (struct sigaction): Define sa_handler and sa_sigaction using union
37621 also for [__USE_XOPEN_EXTENDED].
37622 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37623 [__USE_XOPEN_EXTENDED].
37624 (SA_RESTART): Likewise.
37625 (SA_NODEFER): Likewise.
37626 (SA_RESETHAND): Likewise.
37627 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37628 (struct sigaction): Define sa_handler and sa_sigaction using union
37629 also for [__USE_XOPEN_EXTENDED].
37630 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37631 [__USE_XOPEN_EXTENDED].
37632 (SA_RESTART): Likewise.
37633 (SA_NODEFER): Likewise.
37634 (SA_RESETHAND): Likewise.
37635 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37636 (struct sigaction): Define sa_handler and sa_sigaction using union
37637 also for [__USE_XOPEN_EXTENDED].
37638 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37639 [__USE_XOPEN_EXTENDED].
37640 (SA_RESTART): Likewise.
37641 (SA_NODEFER): Likewise. Define directly rather than as alias.
37642 (SA_RESETHAND): Likewise.
37643 (SA_INTERRUPT): Define only for [__USE_MISC].
37644 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37645 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37647 (SA_STACK): Define only for [__USE_MISC].
37648 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37649 (struct sigaction): Define sa_handler and sa_sigaction using union
37650 also for [__USE_XOPEN_EXTENDED].
37651 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37652 [__USE_XOPEN_EXTENDED].
37653 (SA_RESTART): Likewise.
37654 (SA_NODEFER): Likewise.
37655 (SA_RESETHAND): Likewise.
37656 (SA_NOPTRACE): Define only for [__USE_MISC].
37658 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37659 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37660 (struct catalog_info): Likewise.
37661 * inet/htontest.c (lo): Likewise.
37663 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37664 * inet/inet_net.c (inet_network): Likewise.
37665 * inet/inet_netof.c (inet_netof): Likewise.
37666 * inet/rcmd.c (__ivaliduser): Likewise.
37667 (iruserok): Likewise.
37668 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37669 * locale/programs/locale-spec.c (locale_special): Likewise.
37670 * nis/nis_findserv.c (struct findserv_req): Likewise.
37671 (__nis_findfastest_with_timeout): Likewise.
37672 * nss/test-netdb.c (test_network): Likewise.
37673 * resolv/inet_neta.c (inet_neta): Likewise.
37674 * resolv/ns_date.c (ns_datetosecs): Likewise.
37675 (SECS_PER_DAY): Likewise.
37676 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37678 * resolv/res_comp.c (__putlong): Likewise.
37679 (__putshort): Likewise.
37680 (_getlong): Likewise.
37681 (_getshort): Likewise.
37682 * resolv/res_debug.c (p_time): Likewise.
37683 (precsize_ntoa): Likewise.
37684 (precsize_aton): Likewise.
37685 (latlon2ul): Likewise.
37686 (loc_aton): Likewise.
37687 (loc_ntoa): Likewise.
37688 * resolv/res_hconf.c (struct netaddr): Likewise.
37689 (_res_hconf_reorder_addrs): Likewise.
37690 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37691 (clnttcp_control): Likewise.
37692 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37693 (clntudp_control): Likewise.
37694 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37695 (clntunix_control): Likewise.
37696 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37697 * sunrpc/rpc/auth.h (union des_block): Likewise.
37698 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37699 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37700 (xdrrec_create): Likewise.
37701 (xdrrec_endofrecord): Likewise.
37702 (flush_out): Likewise.
37703 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37704 (xdrstdio_putlong): Likewise.
37705 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37708 * misc/sys/cdefs.h (__long_double_t): Remove.
37709 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37710 instead of __long_double_t,
37711 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37713 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37715 * benchtests/scripts/compare_strings.py: Avoid display error when
37716 running on a text terminal.
37718 * benchtests/scripts/compare_strings.py (main): Add an
37719 optional -base option.
37720 (process_results): New argument base_func.
37722 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37724 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37725 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37727 2017-08-07 Andreas Schwab <schwab@suse.de>
37729 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37730 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37731 * intl/Makefile ($(objpfx)tst-gettext.out)
37732 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37733 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37734 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37735 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37736 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37737 * posix/Makefile ($(objpfx)globtest.out)
37738 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37739 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37740 ($(objpfx)tst-printf.out): Likewise.
37741 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37742 ($(objpfx)tst-setcontext3.out): Likewise.
37744 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37746 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37747 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37748 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37749 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37750 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37752 (CFLAGS-doasin-fma.c): New.
37753 (CFLAGS-dosincos-fma.c): Likewise.
37754 (CFLAGS-e_asin-fma.c): Likewise.
37755 (CFLAGS-e_atan2-fma.c): Likewise.
37756 (CFLAGS-e_exp-fma.c): Likewise.
37757 (CFLAGS-e_log-fma.c): Likewise.
37758 (CFLAGS-e_pow-fma.c): Likewise.
37759 (CFLAGS-halfulp-fma.c): Likewise.
37760 (CFLAGS-mpa-fma.c): Likewise.
37761 (CFLAGS-mpatan-fma.c): Likewise.
37762 (CFLAGS-mpatan2-fma.c): Likewise.
37763 (CFLAGS-mpexp-fma.c): Likewise.
37764 (CFLAGS-mplog-fma.c): Likewise.
37765 (CFLAGS-mpsqrt-fma.c): Likewise.
37766 (CFLAGS-mptan-fma.c): Likewise.
37767 (CFLAGS-s_atan-fma.c): Likewise.
37768 (CFLAGS-sincos32-fma.c): Likewise.
37769 (CFLAGS-slowexp-fma.c): Likewise.
37770 (CFLAGS-slowpow-fma.c): Likewise.
37771 (CFLAGS-s_sin-fma.c): Likewise.
37772 (CFLAGS-s_tan-fma.c): Likewise.
37773 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37774 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37775 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37776 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37777 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37778 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37780 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37781 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37782 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37787 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37800 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37805 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37807 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37808 (min_of_type_f): New macro.
37809 (min_of_type_): Likewise.
37810 (min_of_type_l): Likewise.
37811 (min_of_type_f128): Likewise.
37812 (min_of_type): Define using __MATH_TG and taking an expression
37814 (math_check_force_underflow): Pass expression instead of type to
37816 (math_check_force_underflow_nonneg): Likewise.
37818 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37820 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37821 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37822 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37824 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37827 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37828 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37829 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37830 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37831 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37832 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37833 memmove_chk-nonshared and memset_chk-nonshared
37834 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37835 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37836 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37837 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37838 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37839 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37840 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37841 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37842 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37843 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37844 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37845 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37847 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37849 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37851 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37853 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37855 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37857 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37859 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37861 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37862 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37864 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37867 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37870 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37872 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37873 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37874 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37876 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37878 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37880 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37882 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37884 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37886 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37887 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37888 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37889 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37890 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37891 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37892 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37894 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37896 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37898 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37899 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37900 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37901 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37902 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37903 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37904 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37929 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37940 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37943 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37945 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37946 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37947 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37948 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37949 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37950 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37951 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37952 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37953 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37954 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37955 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37956 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37957 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37958 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37959 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37960 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37961 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37962 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37963 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37964 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37965 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37966 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37967 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37971 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37972 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37973 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37974 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37975 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37976 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37977 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37978 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37979 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37981 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37985 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37986 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37987 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37988 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37989 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37990 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37991 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37992 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37993 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37994 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37995 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37996 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38000 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38001 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38002 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38003 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38005 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38006 Don't include <sysdep.h> nor <init-arch.h>.
38007 (_ZGVbN2v_cos): Removed.
38008 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38011 Don't include <sysdep.h> nor <init-arch.h>.
38012 (_ZGVdN4v_cos): Removed.
38013 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38015 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38016 Don't include <sysdep.h> nor <init-arch.h>.
38017 (_ZGVeN8v_cos): Removed.
38018 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38021 Don't include <sysdep.h> nor <init-arch.h>.
38022 (_ZGVbN2v_exp): Removed.
38023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38026 Don't include <sysdep.h> nor <init-arch.h>.
38027 (_ZGVdN4v_exp): Removed.
38028 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38031 Don't include <sysdep.h> nor <init-arch.h>.
38032 (_ZGVeN8v_exp): Removed.
38033 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38036 Don't include <sysdep.h> nor <init-arch.h>.
38037 (_ZGVbN2v_log): Removed.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38041 Don't include <sysdep.h> nor <init-arch.h>.
38042 (_ZGVdN4v_log): Removed.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38046 Don't include <sysdep.h> nor <init-arch.h>.
38047 (_ZGVeN8v_log): Removed.
38048 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38051 Don't include <sysdep.h> nor <init-arch.h>.
38052 (_ZGVbN2vv_pow): Removed.
38053 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38056 Don't include <sysdep.h> nor <init-arch.h>.
38057 (_ZGVdN4vv_pow): Removed.
38058 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38061 Don't include <sysdep.h> nor <init-arch.h>.
38062 (_ZGVeN8vv_pow): Removed.
38063 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38065 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38066 Don't include <sysdep.h> nor <init-arch.h>.
38067 (_ZGVbN2v_sin): Removed.
38068 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38070 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38071 Don't include <sysdep.h> nor <init-arch.h>.
38072 (_ZGVbN4v_sin): Removed.
38073 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38076 Don't include <sysdep.h> nor <init-arch.h>.
38077 (_ZGVbN8v_sin): Removed.
38078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38081 Don't include <sysdep.h> nor <init-arch.h>.
38082 (_ZGVbN2vvv_sincos): Removed.
38083 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38086 Don't include <sysdep.h> nor <init-arch.h>.
38087 (_ZGVdN4vvv_sincos): Removed.
38088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38091 Don't include <sysdep.h> nor <init-arch.h>.
38092 (_ZGVeN8vvv_sincos): Removed.
38093 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38095 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38096 Don't include <sysdep.h> nor <init-arch.h>.
38097 (_ZGVeN16v_cosf): Removed.
38098 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38100 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38101 Don't include <sysdep.h> nor <init-arch.h>.
38102 (_ZGVbN4v_cosf): Removed.
38103 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38106 Don't include <sysdep.h> nor <init-arch.h>.
38107 (_ZGVdN8v_cosf): Removed.
38108 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38110 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38111 Don't include <sysdep.h> nor <init-arch.h>.
38112 (_ZGVeN16v_expf): Removed.
38113 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38115 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38116 Don't include <sysdep.h> nor <init-arch.h>.
38117 (_ZGVbN4v_expf): Removed.
38118 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38120 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38121 Don't include <sysdep.h> nor <init-arch.h>.
38122 (_ZGVdN8v_expf): Removed.
38123 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38125 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38126 Don't include <sysdep.h> nor <init-arch.h>.
38127 (_ZGVeN16v_logf): Removed.
38128 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38130 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38131 Don't include <sysdep.h> nor <init-arch.h>.
38132 (_ZGVbN4v_logf): Removed.
38133 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38135 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38136 Don't include <sysdep.h> nor <init-arch.h>.
38137 (_ZGVdN8v_logf): Removed.
38138 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38140 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38141 Don't include <sysdep.h> nor <init-arch.h>.
38142 (_ZGVeN16vv_powf): Removed.
38143 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38145 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38146 Don't include <sysdep.h> nor <init-arch.h>.
38147 (_ZGVbN4vv_powf): Removed.
38148 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38150 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38151 Don't include <sysdep.h> nor <init-arch.h>.
38152 (_ZGVdN8vv_powf): Removed.
38153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38156 Don't include <sysdep.h> nor <init-arch.h>.
38157 (_ZGVeN16vvv_sincosf): Removed.
38158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38161 Don't include <sysdep.h> nor <init-arch.h>.
38162 (_ZGVbN4vvv_sincosf): Removed.
38163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38166 Don't include <sysdep.h> nor <init-arch.h>.
38167 (_ZGVdN8vvv_sincosf): Removed.
38168 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38170 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38171 Don't include <sysdep.h> nor <init-arch.h>.
38172 (_ZGVeN16v_sinf): Removed.
38173 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38175 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38176 Don't include <sysdep.h> nor <init-arch.h>.
38177 (_ZGVbN4v_sinf): Removed.
38178 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38180 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38181 Don't include <sysdep.h> nor <init-arch.h>.
38182 (_ZGVdN8v_sinf): Removed.
38184 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38187 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38188 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38189 s_rint-sse4_1 and s_rintf-sse4_1.
38190 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38191 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38192 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38193 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38194 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38195 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38197 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38198 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38199 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38200 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38201 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38203 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38204 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38205 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38206 (__ceilf): Removed.
38207 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38208 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38209 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38210 (__floor): Removed.
38211 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38212 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38213 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38214 (__floorf): Removed.
38215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38216 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38217 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38218 (__nearbyint): Removed.
38219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38221 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38222 (__nearbyintf): Removed.
38223 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38224 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38225 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38228 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38229 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38230 (__rintf): Removed.
38232 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38234 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38235 SHARED. Avoid dynamic relocation against main in static PIE.
38237 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38240 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38241 (LDFLAGS-tst-prelink): Likewise.
38243 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38245 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38246 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38247 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38248 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38249 (INTERNAL_SYSCALL_NCS): Likewise.
38250 (LOADARGS_1): Likewise.
38251 (LOADARGS_5): Likewise.
38252 (RESTOREARGS_1): Likewise.
38253 (RESTOREARGS_5): Likewise.
38255 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38257 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38258 (MEMPCPY_SYMBOL): Likewise.
38259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38260 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38264 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38266 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38267 (__hidden_ver1): Don't use in libc.a.
38268 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38269 (__mempcpy): Don't create a weak alias in libc.a.
38270 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38272 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38273 (__hidden_ver1): Don't use in libc.a.
38275 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38277 * config.make.in (have-insert): New.
38278 * configure.ac (libc_cv_insert): New. Set to yes if linker
38279 supports INSERT in linker script.
38280 (AC_SUBST(libc_cv_insert): New.
38281 * configure: Regenerated.
38282 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38283 if $(have-insert) == yes.
38285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38287 * elf/Makefile (tests): Add vismain only if
38288 $(have-protected-data) == yes.
38289 (tests-pie): Likewise.
38291 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38294 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38295 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38300 * sysdeps/i386/i586/memset.S
38301 (__memset_zero_constant_len_parameter): Removed.
38302 * sysdeps/i386/i686/memset.S
38303 (__memset_zero_constant_len_parameter): Likewise.
38304 * sysdeps/i386/i686/multiarch/memset_chk.S
38305 (__memset_zero_constant_len_parameter): Likewise.
38306 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38309 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38311 * stdlib/getentropy.c (getentropy): Change return type to int.
38313 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38315 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38317 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38319 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38321 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38322 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38324 (ieee_float_shape_type): Likewise.
38325 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38326 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38327 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38328 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38329 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38330 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38331 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38332 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38333 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38335 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38337 (__ieee754_yn): Likewise.
38338 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38339 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38340 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38342 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38343 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38344 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38345 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38346 (__erfc): Likewise.
38347 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38348 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38349 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38350 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38351 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38352 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38354 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38355 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38356 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38357 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38358 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38359 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38360 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38361 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38362 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38363 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38364 (__issignaling): Likewise.
38365 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38366 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38367 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38369 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38370 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38371 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38372 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38374 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38376 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38377 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38378 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38379 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38380 (__erfcf): Likewise.
38381 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38382 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38383 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38384 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38386 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38387 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38389 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38390 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38391 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38392 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38393 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38394 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38395 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38396 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38398 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38400 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38402 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38405 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38407 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38408 (__ieee754_ynl): Likewise.
38409 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38412 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38414 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38415 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38416 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38418 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38419 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38420 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38421 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38422 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38423 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38424 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38425 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38427 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38428 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38429 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38431 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38432 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38433 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38434 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38435 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38438 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38444 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38445 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38446 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38447 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38448 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38449 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38452 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38457 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38458 (__ieee754_remainderl): Likewise.
38459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38462 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38464 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38465 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38467 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38468 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38469 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38470 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38471 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38475 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38476 (__ieee754_y0l): Likewise.
38479 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38480 (__ieee754_y1l): Likewise.
38483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38484 (__ieee754_ynl): Likewise.
38485 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38486 (__ieee754_lgammal_r): Likewise.
38487 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38489 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38490 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38491 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38492 (__erfcl): Likewise.
38493 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38494 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38496 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38497 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38498 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38499 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38500 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38501 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38502 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38504 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38505 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38506 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38507 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38508 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38510 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38511 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38513 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38514 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38515 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38516 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38517 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38519 2017-08-03 Florian Weimer <fweimer@redhat.com>
38522 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38523 on memory allocation failure.
38525 2017-08-03 Alan Modra <amodra@gmail.com>
38527 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38528 tst-tlsopt-powerpc.c with function name change and no test harness.
38529 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38530 Call tls_get_addr_opt_test.
38531 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38532 (modules-names): Add mod-tlsopt-powerpc.
38533 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38534 (tst-tlsopt-powerpc): Depend on .so.
38535 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38536 define. Expand use in TLS_GD and TLS_LD.
38538 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38540 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38542 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38544 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38547 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38548 comparing size with that of double.
38549 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38550 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38551 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38552 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38553 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38554 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38555 unsigned __int128 types.
38557 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38559 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38560 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38561 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38562 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38563 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38565 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38567 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38569 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38573 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38574 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38576 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38577 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38581 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38584 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38585 bit-field expressions passed to sizeof or typeof.
38586 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38587 (__TGMATH_F128): Likewise.
38588 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38589 (__TGMATH_CF128): Likewise.
38590 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38591 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38592 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38593 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38594 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38595 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38596 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38597 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38598 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38599 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38600 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38601 (__TGMATH_UNARY_IMAG): Likewise.
38602 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38603 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38604 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38606 (define_vars_for_type): Handle bit_field type specially.
38607 (Tests.__init__): Declare structure with bit-field element.
38609 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38612 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38613 (MEMCPY_CHK): Define only if SHARED is defined.
38614 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38619 See ChangeLog.18 for earlier changes.