1 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
3 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
4 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
5 to write FPSCR control only, if exceptions have not changed.
7 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
9 * sysdeps/powerpc/fpu/fenv_libc.h:
10 (__TEST_AND_ENTER_NON_STOP): New.
11 (__TEST_AND_EXIT_NON_STOP): New.
12 * sysdeps/powerpc/fpu/fenv_private.h
13 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
14 (_FPU_MASK_RN): Delete.
15 (_FPU_MASK_NOT_RN_NI): Delete.
16 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
17 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
18 (__libc_feholdbits_ppc): Delete, move code into
19 libc_feholdexcept_setround_ppc.
20 (libc_feholdexcept_ppc): Delete.
21 (libc_fesetround_ppc): Delete.
22 (libc_fetestexcept_ppc): Delete.
23 (libc_feholdsetround_ppc): Delete.
24 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
25 (libc_feholdsetround_noex_ppc_ctx): Likewise.
26 (libc_feupdateenv_test_ppc): Use FPSCR defines.
27 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28 __TEST_AND_ENTER_NON_STOP.
29 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
31 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
33 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34 (_FPU_MASK_ALL): Delete.
36 2019-09-27 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
40 2019-09-26 Lukasz Majewski <lukma@denx.de>
42 * include/time.h: Add struct __timespec64 definition
44 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
46 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
49 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
51 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
52 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
54 * sysdeps/unix/sysv/linux/Makefile
55 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
56 CFLAGS-tst-sigcontext-get_pc.c.
58 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
60 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
62 2019-09-24 Andreas Schwab <schwab@suse.de>
64 * sysdeps/unix/sysv/linux/arm/sysdep.h
65 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
66 not "__vdso_gettimeofday".
67 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
68 "__vdso_clock_gettime".
69 * sysdeps/unix/sysv/linux/mips/sysdep.h
70 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
71 not "__vdso_gettimeofday".
72 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
73 "__vdso_clock_gettime".
75 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
77 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
79 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
80 Do not clear enable bits, remove obsolete code, use
82 (libc_feresetround_ppc): Remove obsolete code, use
85 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
87 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
89 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
91 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
92 (_HP_TIMING_S390_H): Define.
94 2019-09-18 Joseph Myers <joseph@codesourcery.com>
96 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
98 (clone3): New syscall.
99 (pidfd_open): Likewise.
101 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
104 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
106 * sysdeps/s390/hp-timing.h: New file.
108 2019-09-18 Joseph Myers <joseph@codesourcery.com>
110 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
112 (CLONE_VM): New macro.
113 (CLONE_VFORK): Likewise.
115 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
117 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
118 Rearrange subprocesses.
119 (pldd_process): New function.
120 * support/Makefile (libsupport-routines): Add support_ptrace.
121 * support/xptrace.h: New file.
122 * support/support_ptrace.c: Likewise.
124 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
126 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
128 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
129 (INTERNAL_VSYSCALL_CALL): Remove.
130 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
131 (INTERNAL_VSYSCALL_CALL): Likewise.
132 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
133 (INTERNAL_VSYSCALL_CALL): Likewise.
134 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
137 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
139 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
140 (__get_timebase_freq): Remove use of
141 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
142 (get_timebase_freq_fallback): New symbol.
143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
144 HAVE_GETTIMEOFDAY_VSYSCALL.
145 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
147 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
150 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
152 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
153 * .../sysv/linux/powerpc/powerpc64/sysdep.h
154 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
156 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
158 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
159 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
160 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
162 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
163 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
164 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
165 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
166 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
167 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
168 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
169 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
170 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
171 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
172 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
173 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
174 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
175 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
176 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
177 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
178 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
179 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
181 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
182 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
183 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
184 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
185 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
186 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
188 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
189 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
190 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
191 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
192 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
193 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
194 HAVE_GETCPU_VSYSCALL): Likewise.
195 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
196 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
197 HAVE_GETCPU_VSYSCALL): Likewise.
198 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
199 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
201 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
202 HAVE_GETCPU_VSYSCALL): Likewise.
203 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
204 invalid names if architecture does not define them.
205 (get_vdso_mangle_symbol): New symbol.
206 * sysdeps/unix/sysv/linux/init-first.c: New file.
207 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
209 clock_gettime, clock_getres, getcpu, time): Remove declaration.
210 (__libc_vdso_platform_setup_arch): Likewise and use
211 get_vdso_mangle_symbol to setup vDSO symbols.
212 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
214 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
215 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
218 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
219 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
220 Use get_vdso_symbol instead of _dl_vdso_vsym.
221 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
222 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
223 (__lookup_riscv_flush_icache): Likewise.
224 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
226 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
228 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
229 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
230 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
231 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
233 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
234 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
235 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
236 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
239 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
241 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
243 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
249 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
250 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
252 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
253 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
254 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
255 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
257 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
259 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
261 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
262 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
264 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
265 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
266 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
267 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
268 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
269 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
270 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
271 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
272 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
273 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
274 (get_vdso_symbol): New function.
276 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
278 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
279 position of string null termination.
281 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
284 * sysdeps/unix/alpha/getegid.S: Move to ...
285 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
286 * sysdeps/unix/alpha/geteuid.S: Move to ...
287 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
288 * sysdeps/unix/alpha/getppid.S: Move to ...
289 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
291 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
293 Fix http: URL in 'configure'
294 * configure.ac: Add URL to AC_INIT so that it generates an
295 https: URL instead of an http: URL.
296 * configure: Regenerate.
298 Regenerate charmap-kw.h, locfile-kw.h
299 This propagates the recent http->https URL changes.
300 Since I used gperf 3.1 to regenerate, this is also a minor
301 internal-to-localedef API change.
302 URL problem reported by Joseph Myers in:
303 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
304 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
305 Regenerate with gperf 3.1.
306 * locale/programs/linereader.h (kw_hash_fct_t):
307 * locale/programs/repertoire.c (repertoiremap_hash):
308 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
310 2019-09-05 Florian Weimer <fweimer@redhat.com>
313 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
314 (_nl_category_names_get): New function.
315 * intl/dcigettext.c (category_to_name): Call it.
316 * locale/findlocale.c (_nl_find_locale): Likewise.
317 * intl/loadlocale.c (_nl_load_locale): Likewise.
318 * locale/newlocale.c (__newlocale): Likewise.
319 * locale/setlocale.c (_nl_category_names): Adjust definition.
320 (_nl_category_name_idxs): Likewise.
321 (new_composite_name): Call _nl_category_names_get.
322 (setlocale): Likewise.
324 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
326 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
327 const attribute with pure attribute.
329 2019-09-04 Lukasz Majewski <lukma@denx.de>
331 * sysdeps/unix/sysv/linux/kernel-features.h
332 (__ASSUME_TIME64_SYSCALLS): New macro.
334 2019-09-04 Zack Weinberg <zackw@panix.com>
337 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
338 * rt/clock_getres.c: Move to time/clock_getres.c.
339 * rt/clock_gettime.c: Move to time/clock_gettime.c.
340 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
341 * rt/clock_settime.c: Move to time/clock_settime.c.
342 * rt/tst-clock.c: Move to time/tst-clock.c.
343 * rt/tst-clock2.c: Move to time/tst-clock2.c.
344 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
345 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
346 * rt/clock-compat.c: Delete file.
348 * time/clock_getcpuclockid.c
349 * time/clock_getres.c
350 * time/clock_gettime.c
351 * time/clock_nanosleep.c
352 * time/clock_settime.c
353 * sysdeps/posix/clock_getres.c
354 * sysdeps/unix/clock_gettime.c
355 * sysdeps/unix/clock_nanosleep.c
356 * sysdeps/unix/clock_settime.c
357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
358 * sysdeps/unix/sysv/linux/clock_getres.c
359 * sysdeps/unix/sysv/linux/clock_gettime.c
360 * sysdeps/unix/sysv/linux/clock_nanosleep.c
361 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
362 defined by this file with default symbol version GLIBC_2_17,
363 and optionally a compatibility alias at symbol version GLIBC_2_2.
364 * include/time.h: Remove internal prototypes for clock_getres,
365 clock_nanosleep, and clock_getcpuclockid.
367 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
368 Remove unused function realtime_gettime.
370 * rt/Makefile (clock-routines, routines): Remove variable.
371 (librt-routines): Remove clock-compat.
372 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
374 * time/Makefile (routines): Add clock_getres, clock_gettime,
375 clock_settime, clock_getcpuclockid, and clock_nanosleep.
376 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
379 * rt/Versions (libc): Remove entire stanza.
380 (librt GLIBC_2.2): Remove all clock_* functions.
381 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
382 Add clock_getres, clock_gettime, clock_settime,
383 clock_getcpuclockid, and clock_nanosleep.
384 (libc GLIBC_PRIVATE): Add __clock_gettime.
386 * sysdeps/mach/hurd/i386/librt.abilist
387 * sysdeps/unix/sysv/linux/alpha/librt.abilist
388 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
389 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
390 * sysdeps/unix/sysv/linux/hppa/librt.abilist
391 * sysdeps/unix/sysv/linux/i386/librt.abilist
392 * sysdeps/unix/sysv/linux/ia64/librt.abilist
393 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
394 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
395 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
396 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
397 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
398 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
401 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
402 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
403 * sysdeps/unix/sysv/linux/sh/librt.abilist
404 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
405 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
406 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
407 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
408 Remove entries for clock_getres, clock_gettime, clock_settime,
409 clock_getcpuclockid, and clock_nanosleep.
411 * sysdeps/mach/hurd/i386/libc.abilist
412 * sysdeps/unix/sysv/linux/alpha/libc.abilist
413 * sysdeps/unix/sysv/linux/arm/libc.abilist
414 * sysdeps/unix/sysv/linux/hppa/libc.abilist
415 * sysdeps/unix/sysv/linux/i386/libc.abilist
416 * sysdeps/unix/sysv/linux/ia64/libc.abilist
417 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
418 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
419 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
426 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
428 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
429 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
431 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
432 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
433 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
434 Add another set of entries for clock_getres, clock_gettime,
435 clock_settime, clock_getcpuclockid, and clock_nanosleep at
436 whatever version GLIBC_2.2 maps to.
438 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
440 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
442 2019-09-03 Florian Weimer <fweimer@redhat.com>
445 * locale/programs/charmap.h (struct charseq): Turn bytes into a
446 flexible array member.
447 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
450 2019-09-02 Florian Weimer <fweimer@redhat.com>
452 * misc/tst-mntent-autofs.c: New file.
453 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
455 2019-09-02 Ian Kent <ikent@redhat.com>
457 Use autofs "ignore" mount hint in getmntent_r/getmntent.
458 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
460 (__getmntent_r): Call it. Filter out autofs entries with an
461 "ignore" mount option.
463 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
465 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
466 (generic_memcpy): Include generic C memcpy.
467 * benchtests/bench-memmove.c (simple_memmove): Remove.
468 (generic_memmove): Include generic C memmove.
469 * benchtests/bench-memset.c (simple_memset): Remove.
470 (generic_memset): Include generic C memset.
471 * benchtests/bench-memset-large.c (simple_memset): Remove.
472 (generic_memset): Include generic C memset.
473 * benchtests/bench-memset-walk.c (simple_memset): Remove.
474 (generic_memset): Include generic C memset.
475 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
476 * string/memset.c (MEMSET): Likewise.
477 * sysdeps/x86_64/memcopy.h: Remove empty file.
479 2019-08-30 Florian Weimer <fweimer@redhat.com>
481 nptl: Move pthread_attr_getinheritsched implementation into libc.
482 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
483 (libpthread-routines): Remove pthread_attr_getinheritsched.
484 * nptl/Versions (libpthread GLIBC_2.0): Remove
485 pthread_attr_getinheritsched.
486 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
487 * nptl/nptl-init.c (pthread_functions): Remove initializer for
488 ptr_pthread_attr_getinheritsched.
489 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
490 Remove ptr_pthread_attr_getinheritsched member.
491 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
492 Remove pthread_attr_getinheritsched.
493 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
495 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
497 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
499 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
501 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
503 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
505 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
507 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
508 (GLIBC_2.4): Likewise.
509 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
510 (GLIBC_2.0): Likewise.
511 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
512 (GLIBC_2.18): Likewise.
513 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
514 (GLIBC_2.18): Likewise.
515 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
516 (GLIBC_2.0): Likewise.
517 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
518 (GLIBC_2.0): Likewise.
519 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
522 (GLIBC_2.0): Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
524 (GLIBC_2.3): Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
526 (GLIBC_2.17): Likewise.
527 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
528 (GLIBC_2.27): Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
530 (GLIBC_2.0): Likewise.
531 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
532 (GLIBC_2.2): Likewise.
533 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
535 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
537 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
538 (GLIBC_2.0): Likewise.
539 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
540 (GLIBC_2.2): Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
542 (GLIBC_2.2.5): Likewise.
543 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
544 (GLIBC_2.16): Likewise.
546 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
548 * sysdeps/mach/hurd/getcwd.c
549 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
550 slash if we got an unknown root directory. (__getcwd): Do not fail with
551 EGRATUITOUS if we got an unknown root directory.
552 * hurd/hurdselect.c (SELECT_ERROR): New macro.
554 - Add `error' field to `d' structures array.
555 - If a poll descriptor is bogus, set EBADF, but continue with a zero
557 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
558 EBADF there is any bit set above _hurd_dtablesize.
559 - Do not request io_select on bogus descriptors (SELECT_ERROR).
560 - On io_select request error, record the error.
561 - On io_select bogus reply, use EIO error code.
562 - On io_select bogus or error reply, record the error.
563 - Do not destroy reply port for bogus FDs.
564 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
565 EBADF case, or else POLLERR.
566 - On error, make select simulated readiness.
569 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
572 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
573 unlocks SS and returns to the saved PC.
574 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
575 thread stack instead of the saved PC.
577 2019-08-30 Richard Braun <rbraun@sceen.net>
579 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
581 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
582 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
583 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
585 (_hurd_select): Replace the call to __io_select with either
586 __io_select_request or __io_select_timeout_request, depending on the
587 timeout. Count the number of ready descriptors (replies for which at
588 least one type bit is set). Implement the timeout locally when there is
591 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
593 * elf/dl-addr.c (determine_info): Calculate the symbol index
594 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
595 * elf/dl-lookup.c (do_lookup_x): Ditto.
596 (_dl_setup_hash): Initialize MIPS xhash translation table.
597 * elf/elf.h (SHT_MIPS_XHASH): New define.
598 (DT_MIPS_XHASH): New define.
599 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
601 (ELF_MACHINE_HASH_SYMIDX): Ditto.
602 (ELF_MACHINE_XHASH_SETUP): Ditto.
603 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
605 (ELF_MACHINE_HASH_SYMIDX): Ditto.
606 (ELF_MACHINE_XHASH_SETUP): Ditto.
607 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
608 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
610 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
612 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
614 * sysdeps/sh/preconfigure.ac: New file.
615 * sysdeps/sh/preconfigure: Regenerate.
616 * sysdeps/sh/be/sh3/Implies: New file.
617 * sysdeps/sh/be/sh4/Implies: Likewise.
618 * sysdeps/sh/le/sh3/Implies: Likewise.
619 * sysdeps/sh/le/sh4/Implies: Likewise.
620 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
621 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
622 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
623 sysdeps/unix/sysv/linux/sh/le/*.abilist.
624 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
626 * sysdeps/microblaze/preconfigure.ac: New file.
627 * sysdeps/microblaze/preconfigure: Regenerate.
628 * sysdeps/microblaze/be/implies: New file.
629 * sysdeps/microblaze/le/implies: Likewise.
630 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
631 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
632 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
633 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
634 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
636 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
637 * sysdeps/arm/preconfigure: Regenerate.
638 * sysdeps/arm/be/Implies: New file.
639 * sysdeps/arm/be/armv6/Implies: Likewise.
640 * sysdeps/arm/be/armv6t2/Implies: Likewise.
641 * sysdeps/arm/be/armv7/Implies: Likewise.
642 * sysdeps/arm/le/Implies: Likewise.
643 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
644 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
645 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
646 sysdeps/unix/sysv/linux/arm/le/*.abilist.
647 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
649 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
651 Fix posix/tst-regex by using UTF-8 and own test input
652 Problem reported by Stefan Liebler in:
653 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
654 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
655 (do_test, test_expr): Adjust to the fact that this source file,
656 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
657 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
658 so that it is now UTF-8.
660 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
662 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
663 (fegetenv_status): Generate 'mffsl' unconditionally.
665 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
667 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
669 (_FPU_MASK_ALL): Delete.
671 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
673 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
674 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
676 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
677 with simpler required steps, set fewer FPSCR bits if possible.
679 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
681 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
682 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
683 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
684 weight access to FPSCR; remove unnecessary second FPSCR read and
686 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
687 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
688 access to FPSCR; Use macros in fenv_libc.h in favor of local.
690 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
692 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
693 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
694 (fenv_exceptions_to_reg): New.
695 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
696 operation with call to fenv_exceptions_to_reg().
697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
699 2019-08-28 Florian Weimer <fweimer@redhat.com>
701 * misc/mntent.c (struct mntent_buffer): Define.
702 (mntent_buffer): Adjust type to void *.
703 (allocate): Adjust for allocate_once.
704 (deallocate): New function.
705 (getmntent): Call allocate_once.
707 2019-08-28 Florian Weimer <fweimer@redhat.com>
709 nptl: Move pthread_attr_setdetachstate implementation into libc.
710 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
711 (libpthread-routines): Remove pthread_attr_setdetachstate.
712 * nptl/Versions (libpthread GLIBC_2.0): Remove
713 pthread_attr_setdetachstate.
714 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
715 * nptl/nptl-init.c (pthread_functions): Remove initializer for
716 ptr_pthread_attr_setdetachstate.
717 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
718 Remove ptr_pthread_attr_setdetachstate member.
719 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
720 Remove pthread_attr_setdetachstate.
721 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
723 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
725 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
727 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
729 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
731 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
733 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
734 (GLIBC_2.4): Likewise.
735 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
736 (GLIBC_2.0): Likewise.
737 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
738 (GLIBC_2.18): Likewise.
739 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
740 (GLIBC_2.0): Likewise.
741 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
742 (GLIBC_2.0): Likewise.
743 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
746 (GLIBC_2.0): Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
748 (GLIBC_2.3): Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
750 (GLIBC_2.17): Likewise.
751 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
752 (GLIBC_2.27): Likewise.
753 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
754 (GLIBC_2.0): Likewise.
755 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
756 (GLIBC_2.2): Likewise.
757 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
759 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
760 (GLIBC_2.0): Likewise.
761 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
762 (GLIBC_2.2): Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
764 (GLIBC_2.2.5): Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
766 (GLIBC_2.16): Likewise.
768 2019-08-28 Florian Weimer <fweimer@redhat.com>
771 * login/Makefile (tests): Add tst-pututxline-lockfail.
772 (tst-pututxline-lockfail): Link with -lpthread.
773 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
774 (__libc_getutid_r): Adjust.
775 (__libc_pututline): Likewise. Check for file_offset == -1.
776 * login/tst-pututxline-lockfail.c: New file.
778 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
780 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
781 * posix/tst-regex.input: New file.
783 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
786 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
788 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
789 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
790 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
791 * sysdeps/mips/tst-undefined-weak.c: Likewise.
792 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
793 Increment highest valid ABIVERSION value.
795 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
797 * sysdeps/unix/sysv/linux/mips/Makefile
798 (test-xfail-check-execstack):
799 Move under mips-has-gnustack != yes.
800 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
801 Apply -Wa,-execstack if mips-force-execstack == yes.
802 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
803 * sysdeps/unix/sysv/linux/mips/configure.ac
804 (mips-force-execstack): New var.
805 Set to yes for hard-float builds with minimum_kernel < 4.8.0
806 or minimum_kernel not set at all.
807 (mips-has-gnustack): New var.
808 Use value of libc_cv_as_noexecstack
809 if mips-force-execstack != yes, otherwise set to no.
811 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
812 Florian Weimer <fweimer@redhat.com>
814 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
815 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
816 Make a compat_symbol.
817 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
818 (__profil_counter_global): Likewise.
820 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
821 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
823 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
824 sigcontext_get_pc and return aligned cast to uintptr_t.
825 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
826 * sysdeps/posix/profil.c (profil_count): Change PC argument to
828 (__profil): Use SA_SIGINFO.
829 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
831 (__sprofil): Use SA_SIGINFO.
832 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
833 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
834 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
835 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
836 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
837 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
838 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
839 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
840 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
843 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
844 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
845 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
846 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
847 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
848 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
849 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
850 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
852 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
853 GET_PC, __sigaction, sigaction): Remove defines.
854 (sigcontext_get_pc): New function.
855 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
856 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
857 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
858 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
859 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
860 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
861 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
862 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
863 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
864 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
865 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
867 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
868 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
869 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
870 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
872 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
873 Handle CTX argument as ucontext_t.
874 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
876 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
877 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
878 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
879 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
880 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
883 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
884 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
885 tst-sigcontextinfo-get_pc.
886 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
887 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
889 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
891 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
894 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
897 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
898 * localedata/locales/ug_CN (first_weekday): Likewise.
899 * localedata/locales/zh_CN (first_weekday): Likewise.
901 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
903 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
904 field name in mcontext_t struct.
906 2019-08-22 Joseph Myers <joseph@codesourcery.com>
908 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
909 unsupported with libidn2 before 2.0.5.
910 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
912 * manual/time.texi (strftime): Document %Ob and %OB as C2X
915 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
917 Remove dead regex code
918 * posix/regex_internal.c (re_node_set_insert):
919 Remove unnecessary assignment. Reported by Tim Rühsen in:
920 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
922 Fix bad pointer / leak in regex code
923 This was found by Coverity (CID 1484201). [BZ#24844]
924 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
925 pointer and/or memory leak when storage is exhausted.
927 2019-08-21 Zack Weinberg <zackw@panix.com>
929 * misc/syslog.c (__vsyslog_internal)
930 * time/getdate.c (__getdate_r)
931 * time/tst_wcsftime.c (main):
932 Use return value of time, not its argument.
934 * string/strfry.c (strfry)
935 * sysdeps/mach/sleep.c (__sleep):
936 Remove unnecessary casts of NULL in calls to time.
938 2019-08-21 Joseph Myers <joseph@codesourcery.com>
940 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
941 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
942 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
943 (__TGMATH_2_NARROW_F): Likewise.
944 (__TGMATH_2_NARROW_D): New macro.
945 (__TGMATH_2_NARROW_F16): Likewise.
946 (__TGMATH_2_NARROW_F32): Likewise.
947 (__TGMATH_2_NARROW_F64): Likewise.
948 (__TGMATH_2_NARROW_F32X): Likewise.
949 (__TGMATH_2_NARROW_F64X): Likewise.
950 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
951 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
952 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
953 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
954 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
955 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
956 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
957 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
958 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
959 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
960 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
961 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
962 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
963 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
965 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
967 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
969 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
971 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
973 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
975 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
977 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
979 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
980 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
981 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
982 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
983 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
984 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
985 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
986 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
987 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
989 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
991 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
993 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
995 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
996 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
997 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
998 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
999 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1000 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1001 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1002 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1003 * math/gen-tgmath-tests.py (Type): Add members
1004 non_standard_real_argument_types_list, long_double_type,
1005 complex_float64_type and float32x_ext_type.
1006 (Type.__init__): Set the new members.
1007 (Type.floating_type): Add new argument floatn.
1008 (Type.real_floating_type): Likewise.
1009 (Type.can_combine_types): Likewise.
1010 (Type.combine_types): Likewise.
1011 (Type.init_types): Create internal Float32x_ext type.
1012 (Tests.__init__): Define Float32x_ext in generated C code.
1013 (Tests.add_tests): Handle narrowing functions.
1014 (Tests.add_all_tests): Likewise.
1015 (Tests.tests_text): Allow variation in mant_dig for narrowing
1016 functions with compilers before GCC 8.
1017 * math/Makefile (tgmath3-narrow-types): New variable.
1018 (tgmath3-narrow-macros): Likewise.
1019 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1021 2019-08-20 Andreas Schwab <schwab@suse.de>
1023 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1027 * nscd/nscd.conf: Add warning and comment about shared option.
1029 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1031 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1032 * manual/nss.texi (NSS Basics): List all known databases.
1033 (Services in the NSS configuration): Mention automount.
1035 2019-08-19 Florian Weimer <fweimer@redhat.com>
1037 Do not print backtraces on fatal errors.
1038 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1039 (__fortify_fail_abort): Remove definition.
1040 (__fortify_fail): Call __libc_message directly.
1041 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1042 (__stack_chk_fail): Call __fortify_fail instead of
1043 __fortify_fail_abort.
1044 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1045 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1047 (__libc_message): Do not handle do_backtrace. Do not call
1049 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1050 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1051 (before_abort): Remove definitions.
1053 2019-08-16 Florian Weimer <fweimer@redhat.com>
1055 nptl: Move pthread_attr_getdetachstate implementation into libc.
1056 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1057 (libpthread-routines): Remove pthread_attr_getdetachstate.
1058 * nptl/Versions (libpthread GLIBC_2.0): Remove
1059 pthread_attr_getdetachstate.
1060 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1061 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1062 ptr_pthread_attr_getdetachstate.
1063 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1064 Remove ptr_pthread_attr_getdetachstate member.
1065 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1066 Remove pthread_attr_getdetachstate.
1067 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1069 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1071 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1073 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1075 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1077 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1079 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1080 (GLIBC_2.4): Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1082 (GLIBC_2.0): Likewise.
1083 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1084 (GLIBC_2.18): Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1086 (GLIBC_2.0): Likewise.
1087 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1088 (GLIBC_2.0): Likewise.
1089 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1092 (GLIBC_2.0): Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1094 (GLIBC_2.3): Likewise.
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1096 (GLIBC_2.17): Likewise.
1097 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1098 (GLIBC_2.27): Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1100 (GLIBC_2.0): Likewise.
1101 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1102 (GLIBC_2.2): Likewise.
1103 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1105 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1106 (GLIBC_2.0): Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1108 (GLIBC_2.2): Likewise.
1109 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1110 (GLIBC_2.2.5): Likewise.
1111 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1112 (GLIBC_2.16): Likewise.
1114 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1116 * math/libm-test-compat_totalorder.inc (do_test)
1117 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1118 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1119 * math/libm-test-compat_totalordermag.inc (do_test)
1120 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1122 2019-08-15 Florian Weimer <fweimer@redhat.com>
1124 nptl: Move pthread_attr_init implementation into libc.
1125 * nptl/Makefile (routines): Add pthread_attr_init.
1126 (libpthread-routines): Remove pthread_attr_init.
1127 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1128 (libpthread GLIBC_2.0): Likewise.
1129 * nptl/pthread_attr_init.c: Check for libc compat version instead
1130 of libpthread compat version.
1131 * nptl/forward.c (__pthread_attr_init_2_0)
1132 (__pthread_attr_init_2_1): Remove definitions.
1133 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1134 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1135 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1136 Remove members ptr___pthread_attr_init_2_0,
1137 ptr___pthread_attr_init_2_1.
1138 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1139 Remove pthread_attr_init.
1140 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1142 (GLIBC_2.1): Likewise.
1143 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1145 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1147 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1149 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1151 (GLIBC_2.1): Likewise.
1152 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1154 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1155 (GLIBC_2.4): Likewise.
1156 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1157 (GLIBC_2.0): Likewise.
1158 (GLIBC_2.1): Likewise.
1159 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1160 (GLIBC_2.18): Likewise.
1161 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1162 (GLIBC_2.0): Likewise.
1163 (GLIBC_2.1): Likewise.
1164 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1165 (GLIBC_2.0): Likewise.
1166 (GLIBC_2.1): Likewise.
1167 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1170 (GLIBC_2.0): Likewise.
1171 (GLIBC_2.1): Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1173 (GLIBC_2.3): Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1175 (GLIBC_2.17): Likewise.
1176 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1177 (GLIBC_2.27): Likewise.
1178 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1179 (GLIBC_2.0): Likewise.
1180 (GLIBC_2.1): Likewise.
1181 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1182 (GLIBC_2.2): Likewise.
1183 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1186 (GLIBC_2.0): Likewise.
1187 (GLIBC_2.1): Likewise.
1188 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1189 (GLIBC_2.2): Likewise.
1190 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1191 (GLIBC_2.2.5): Likewise.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1193 (GLIBC_2.16): Likewise.
1195 2019-08-15 Florian Weimer <fweimer@redhat.com>
1198 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1199 new object in __RTLD_OPENEXEC mode (except for the origin).
1200 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1201 check for the error message.
1202 (do_test): Call it. Add check using relative path.
1203 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1204 (tst-dlopen-aout-container): Link with libpthread.
1205 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1207 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1209 * math/bits/mathcalls.h
1210 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1211 (totalorder): Take pointer arguments.
1212 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1213 (totalordermag): Likewise.
1214 * manual/arith.texi (totalorder): Likewise.
1215 (totalorderf): Likewise.
1216 (totalorderl): Likewise.
1217 (totalorderfN): Likewise.
1218 (totalorderfNx): Likewise.
1219 (totalordermag): Likewise.
1220 (totalordermagf): Likewise.
1221 (totalordermagl): Likewise.
1222 (totalordermagfN): Likewise.
1223 (totalordermagfNx): Likewise.
1224 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1225 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1226 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1227 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1228 totalorderl, totalordermag, totalordermagf, totalordermagl,
1229 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1230 totalordermagf64, totalordermagf32x, totalorderf64x,
1231 totalordermagf64x, totalorderf128 and totalordermagf128.
1232 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1233 and compat_totalordermag.
1234 (libm-test-funcs-compat): New variable.
1235 (libm-tests-compat): Likewise.
1236 (tests): Do not include compat tests.
1237 (tests-internal): Add compat tests.
1238 ($(foreach t,$(libm-tests-base),
1239 $(objpfx)$(t)-compat_totalorder.o)): Depend
1240 on $(objpfx)libm-test-totalorder.c.
1241 ($(foreach t,$(libm-tests-base),
1242 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1243 $(objpfx)libm-test-totalordermag.c.
1244 (tgmath3-macros): Remove totalorder and totalordermag.
1245 * math/libm-test-compat_totalorder.inc: New file.
1246 * math/libm-test-compat_totalordermag.inc: Likewise.
1247 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1248 (RUN_TEST_fpfp_b): New macro.
1249 (RUN_TEST_LOOP_fpfp_b): Likewise.
1250 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1252 (totalorder_test): Condition on [!COMPAT_TEST].
1253 (do_test): Likewise.
1254 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1256 (totalordermag_test): Condition on [!COMPAT_TEST].
1257 (do_test): Likewise.
1258 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1259 totalorder and totalordermag.
1260 * math/test-tgmath.c (NCALLS): Change to 132.
1261 (F(compile_test)): Do not call totalorder or totalordermag.
1262 (F(totalorder)): Remove.
1263 (F(totalordermag)): Likewise.
1264 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1265 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1266 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1268 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1269 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1270 [!_ISOMAC] (TEST_ALIGN): Likewise.
1271 [!_ISOMAC] (TEST_OFFSET): Likewise.
1272 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1273 and <first-versions.h>.
1274 (__totalorder): Take pointer arguments. Add symbol versions and
1276 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1277 <shlib-compat.h> and <first-versions.h>.
1278 (__totalordermag): Take pointer arguments. Add symbol versions
1280 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1281 <shlib-compat.h> and <first-versions.h>.
1282 (__totalorder): Take pointer arguments. Add symbol versions and
1284 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1285 <shlib-compat.h> and <first-versions.h>.
1286 (__totalordermag): Take pointer arguments. Add symbol versions
1288 * sysdeps/ieee754/float128/float128_private.h
1289 (__totalorder_compatl): New macro.
1290 (__totalordermag_compatl): Likewise.
1291 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1292 and <first-versions.h>.
1293 (__totalorderf): Take pointer arguments. Add symbol versions and
1295 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1296 <shlib-compat.h> and <first-versions.h>.
1297 (__totalordermagf): Take pointer arguments. Add symbol versions
1299 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1300 <shlib-compat.h> and <first-versions.h>.
1301 (__totalorderl): Take pointer arguments. Add symbol versions and
1303 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1304 <shlib-compat.h> and <first-versions.h>.
1305 (__totalordermagl): Take pointer arguments. Add symbol versions
1307 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1309 (__totalorderl): Take pointer arguments. Add symbol versions and
1311 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1313 (__totalordermagl): Take pointer arguments. Add symbol versions
1315 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1316 <shlib-compat.h> and <first-versions.h>.
1317 (__totalorderl): Take pointer arguments. Add symbol versions and
1319 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1320 <shlib-compat.h> and <first-versions.h>.
1321 (__totalordermagl): Take pointer arguments. Add symbol versions
1323 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1325 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1327 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1328 (do_test): Update calls to totalorderl and totalordermagl.
1329 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1330 Update calls to totalorderl and totalordermagl.
1331 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1332 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1334 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1335 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1336 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1337 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1338 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1341 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1342 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1343 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1353 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1362 2019-08-15 Florian Weimer <fweimer@redhat.com>
1365 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1366 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1367 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1369 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1370 __attribute_nonstring__ to ut_id.
1371 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1374 2019-08-15 Florian Weimer <fweimer@redhat.com>
1377 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1378 (file_locking_unlock): Likewise.
1380 2019-08-15 Florian Weimer <fweimer@redhat.com>
1383 login: Disarm timer after utmp lock acquisition.
1384 * login/utmp_file.c (struct file_locking): Remove.
1385 (try_file_lock): Adjust.
1386 (file_lock_restore): Remove function.
1387 (__libc_getutent_r): .
1388 (internal_getut_r): Likewise.
1389 (__libc_getutline_r): Likewise.
1390 (__libc_pututline): Likewise.
1391 (__libc_updwtmp): Likewise.
1393 2019-08-15 Florian Weimer <fweimer@redhat.com>
1395 nptl: Remove pthread_self compatibility symbol from libpthread.
1396 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1398 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1399 * nptl/compat-pthread_self.c: Remove file.
1400 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1401 Remove pthread_self.
1402 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1404 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1406 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1408 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1410 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1412 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1413 (GLIBC_2.4): Likewise.
1414 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1415 (GLIBC_2.0): Likewise.
1416 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1417 (GLIBC_2.18): Likewise.
1418 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1419 (GLIBC_2.0): Likewise.
1420 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1421 (GLIBC_2.0): Likewise.
1422 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1425 (GLIBC_2.0): Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1427 (GLIBC_2.3): Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1429 (GLIBC_2.17): Likewise.
1430 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1431 (GLIBC_2.0): Likewise.
1432 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1433 (GLIBC_2.2): Likewise.
1434 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1437 (GLIBC_2.0): Likewise.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1439 (GLIBC_2.2): Likewise.
1440 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1441 (GLIBC_2.2.5): Likewise.
1442 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1443 (GLIBC_2.16): Likewise.
1445 2019-08-15 Florian Weimer <fweimer@redhat.com>
1447 nptl: Move pthread_attr_destroy implementation into libc.
1448 * nptl/Makefile (routines): Add pthread_attr_destroy.
1449 (libpthread-routines): Remove pthread_attr_destroy.
1450 * nptl/Versions (libpthread GLIBC_2.0): Remove
1451 pthread_attr_destroy.
1452 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1453 libc compat version instead of libpthread compat version.
1454 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1455 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1456 ptr_pthread_attr_destroy.
1457 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1458 Remove ptr_pthread_attr_destroy member.
1459 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1460 Remove pthread_attr_destroy.
1461 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1463 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1465 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1467 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1469 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1471 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1473 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1474 (GLIBC_2.4): Likewise.
1475 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1476 (GLIBC_2.0): Likewise.
1477 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1478 (GLIBC_2.18): Likewise.
1479 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1480 (GLIBC_2.0): Likewise.
1481 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1482 (GLIBC_2.0): Likewise.
1483 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1486 (GLIBC_2.0): Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1488 (GLIBC_2.3): Likewise.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1490 (GLIBC_2.17): Likewise.
1491 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1492 (GLIBC_2.27): Likewise.
1493 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1494 (GLIBC_2.0): Likewise.
1495 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1496 (GLIBC_2.2): Likewise.
1497 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1499 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1500 (GLIBC_2.0): Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1502 (GLIBC_2.2): Likewise.
1503 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1504 (GLIBC_2.2.5): Likewise.
1505 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1506 (GLIBC_2.16): Likewise.
1508 2019-08-15 Andreas Schwab <schwab@suse.de>
1510 * sysdeps/i386/fpu/libm-test-ulps: Update.
1512 2019-08-15 Florian Weimer <fweimer@redhat.com>
1514 * malloc/Makefile (tests): Only add tst-mxfast for
1516 * malloc/tst-mxfast.c: Fix copyright year.
1517 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1520 2019-08-15 Florian Weimer <fweimer@redhat.com>
1522 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1524 * login/Makefile (tests): Add tst-updwtmpx.
1525 * login/tst-updwtmpx.c: New file.
1527 2019-08-15 Florian Weimer <fweimer@redhat.com>
1529 nptl: Move pthread_equal implementation into libc.
1530 * nptl/Makefile (routines): Add pthread_equal.
1531 * nptl/forward.c (pthread_equal): Remove definition.
1532 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1534 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1535 Remove ptr_pthread_equal member.
1536 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1537 Remove pthread_equal.
1538 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1540 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1542 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1544 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1546 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1548 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1550 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1551 (GLIBC_2.4): Likewise.
1552 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1553 (GLIBC_2.0): Likewise.
1554 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1555 (GLIBC_2.18): Likewise.
1556 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1557 (GLIBC_2.0): Likewise.
1558 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1559 (GLIBC_2.0): Likewise.
1560 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1563 (GLIBC_2.0): Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1565 (GLIBC_2.3): Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1567 (GLIBC_2.17): Likewise.
1568 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1569 (GLIBC_2.27): Likewise.
1570 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1571 (GLIBC_2.0): Likewise.
1572 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1573 (GLIBC_2.2): Likewise.
1574 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1577 (GLIBC_2.0): Likewise.
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1579 (GLIBC_2.2): Likewise.
1580 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1581 (GLIBC_2.2.5): Likewise.
1582 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1583 (GLIBC_2.16): Likewise.
1585 2019-08-14 Florian Weimer <fweimer@redhat.com>
1587 * support/support_descriptors.c: Include <support/descriptors.h>.
1589 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1591 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1592 Disable DC ZVA code if this macro is defined as zero.
1593 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1594 Change to zero to disable using DC ZVA.
1596 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1598 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1600 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1601 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1602 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1603 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1606 2019-08-13 Florian Weimer <fweimer@redhat.com>
1608 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1610 (struct file_locking): New.
1611 (try_file_lock, file_unlock, file_lock_restore): New functions.
1612 (__libc_getutent_r): Use the new functions.
1613 (internal_getut_r): Likewise.
1614 (__libc_getutline_r): Likewise.
1615 (__libc_pututline): Likewise.
1616 (__libc_updwtmp): Likewise.
1618 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1620 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1622 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1623 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1624 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1625 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1626 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1627 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1628 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1630 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1631 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1632 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1634 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1636 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1638 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1640 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1642 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1644 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1646 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1647 (IEC_60559_BFP_EXT)]: Likewise.
1648 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1650 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1652 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1654 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1656 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1658 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1660 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1662 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1664 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1665 Likewise, except for totalorder, totalordermag, getpayload,
1666 setpayload and setpayloadsig.
1667 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1668 except for totalorder and totalordermag.
1670 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1672 (strndup): Likewise.
1674 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1675 Undefine and define to 1 if [_GNU_SOURCE].
1676 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1677 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1678 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1679 (__USE_ISOC99): Likewise.
1680 (__USE_ISOC95): Likewise.
1681 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1683 2019-08-13 Florian Weimer <fweimer@redhat.com>
1685 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1687 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1688 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1689 * login/getutmpx.c (getutmpx): Likewise.
1690 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1692 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1693 _HAVE_UT_TV are always true.
1694 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1695 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1696 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1697 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1699 (internal_getut_r): _HAVE_UT_TYPE is always true.
1700 (__libc_pututline): Likewise.
1701 * login/programs/utmpdump.c (print_entry): Assume that
1702 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1703 _HAVE_UT_TV are always true.
1704 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1705 _HAVE_UT_ID are always true.
1706 * sysdeps/gnu/bits/utmp.h: Move to ...
1707 * bits/utmp.h: ... here, replacing the old file.
1709 2019-08-12 Florian Weimer <fweimer@redhat.com>
1711 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1712 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1714 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1715 (do_test): Open the executable using an absolute path. Print
1716 error message to standard output.
1718 2019-08-09 DJ Delorie <dj@redhat.com>
1720 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1721 * manual/tunables.texi: Document it.
1722 * malloc/malloc.c (do_set_mxfast): New.
1723 (__libc_mallopt): Call it.
1724 * malloc/arena.c: Add mxfast tunable.
1725 * malloc/tst-mxfast.c: New.
1726 * malloc/Makefile: Add it.
1728 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1729 Carlos O'Donell <carlos@redhat.com>
1732 * malloc/malloc.c (__malloc_info): Account for top chunk.
1734 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1736 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1737 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1739 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1741 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1743 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1745 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1747 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1752 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1755 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1757 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1759 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1761 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1763 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1764 (ALWAYS_USE_VSYSCALL): Likewise.
1765 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1766 (ALWAYS_USE_VSYSCALL): Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1768 (ALWAYS_USE_VSYSCALL): Likewise.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1770 (ALWAYS_USE_VSYSCALL): Likewise.
1771 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1774 (ALWAYS_USE_VSYSCALL): Likewise.
1775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1776 (ALWAYS_USE_VSYSCALL): Likewise.
1777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1781 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1782 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1783 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1784 USE_VSYSCALL): Remove defitions.
1787 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1788 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1793 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1794 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1796 (ALWAYS_USE_VSYSCALL): Define.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1798 (ALWAYS_USE_VSYSCALL): Likewise.
1801 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1802 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1803 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1806 * sysdeps/sh/libm-test-ulps: Update.
1808 2019-08-05 Florian Weimer <fweimer@redhat.com>
1811 * login/uptmp-private.h (struct ufuncs): Remove definition.
1812 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1813 (__libc_utmp_jump_table): Remove declarations.
1814 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1815 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1816 (__libc_updwtmp): Declare.
1817 * login/getutent_r.c (__libc_utmp_unknown_functions)
1818 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1819 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1820 (endutent_unknown): Remove definitions.
1821 (__setutent): Call __libc_setutent.
1822 (__getutent_r): Call __libc_getutent_r.
1823 (__pututline): Call __libc_pututline.
1824 (__endutent): Call __libc_endutent.
1825 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1826 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1827 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1828 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1829 (__libc_setutent): Rename from stetutent_file. Drop static.
1830 (maybe_setutent): New function.
1831 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1832 Check for initialization.
1833 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1834 Check for initialization.
1835 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1836 Check for initialization.
1837 (__libc_pututline): Rename from pututline_file. Drop static.
1838 Check for initialization.
1839 (__libc_endutent): Rename from endutent_file. Drop static. Check
1841 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1842 * login/utmpname.c (__utmpname): Call __libc_endutent.
1843 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1844 __libc_getutlien_r, __libc_endutent.
1845 * manual/users.texi (Who Logged In, Manipulating the Database):
1848 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1850 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1852 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1856 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1857 kernel version number to 5.2.
1859 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1861 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1862 mnemonics and set .machine power8.
1863 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1864 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1865 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1866 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1868 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1869 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1874 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1876 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1878 2019-08-01 Florian Weimer <fweimer@redhat.com>
1881 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1884 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1887 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1890 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1892 * version.h (RELEASE): Set to "stable".
1893 (VERSION): Set to "2.30".
1894 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1896 * manual/install.texi: Update component versions.
1897 * INSTALL: Regenerate.
1900 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1902 * po/be.po: Update translations.
1903 * po/bg.po: Likewise.
1904 * po/ca.po: Likewise.
1905 * po/cs.po: Likewise.
1906 * po/da.po: Likewise.
1907 * po/de.po: Likewise.
1908 * po/el.po: Likewise.
1909 * po/eo.po: Likewise.
1910 * po/es.po: Likewise.
1911 * po/fi.po: Likewise.
1912 * po/fr.po: Likewise.
1913 * po/gl.po: Likewise.
1914 * po/hr.po: Likewise.
1915 * po/hu.po: Likewise.
1916 * po/ia.po: Likewise.
1917 * po/id.po: Likewise.
1918 * po/it.po: Likewise.
1919 * po/ja.po: Likewise.
1920 * po/ko.po: Likewise.
1921 * po/lt.po: Likewise.
1922 * po/nb.po: Likewise.
1923 * po/nl.po: Likewise.
1924 * po/pl.po: Likewise.
1925 * po/pt_BR.po: Likewise.
1926 * po/ru.po: Likewise.
1927 * po/rw.po: Likewise.
1928 * po/sk.po: Likewise.
1929 * po/sl.po: Likewise.
1930 * po/sv.po: Likewise.
1931 * po/tr.po: Likewise.
1932 * po/uk.po: Likewise.
1933 * po/vi.po: Likewise.
1934 * po/zh_CN.po: Likewise.
1935 * po/zh_TW.po: Likewise.
1937 2019-07-31 Florian Weimer <fweimer@redhat.com>
1941 iconv, libio: Revert reference counting changes.
1942 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1943 free the steps array.
1944 * libio/Makefile (tests): Remove tst-wfile-gconv.
1945 (tests-container): Do not add tst-wfile-ascii.
1946 (tst-wfile-gconv-ENV): Do not set.
1947 (generated): Do not add tst-wfile-gconv.mtrace,
1948 tst-wfile-gconv.check.
1949 [($run-built-tests)] (tests-special): Do not add
1950 tst-wfile-gconv-mem.out.
1951 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1952 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1953 instead of __wcsmbs_clone_conv.
1954 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1955 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1957 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1960 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1962 2019-07-30 Florian Weimer <fweimer@redhat.com>
1964 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1965 type to uintptr_t. Update comment.
1966 (check_stack_top): Adjust.
1968 2019-07-29 Florian Weimer <fweimer@redhat.com>
1970 Linux: Move declaration of getdents64 to <dirent.h>.
1971 * bits/dirent_ext.h: New file.
1972 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1973 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1974 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1975 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1977 * manual/filesys.texi (Low-level Directory Access): Update header
1980 2019-07-29 DJ Delorie <dj@redhat.com>
1981 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1984 * Makeconfig (all-subdirs): Improved source comments.
1985 * Makefile (testroot.pristine/install.stamp): Pass
1986 subdirs='$(sorted-subdirs)' to make install.
1988 2019-07-25 Florian Weimer <fweimer@redhat.com>
1991 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1992 counter before freeing array.
1994 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1997 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1999 * sysdeps/x86_64/configure: Regenerated.
2000 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2001 to -mprefer-vector-width=128 if supported.
2003 2019-07-24 Florian Weimer <fweimer@redhat.com>
2005 * scripts/build-many-glibcs.py (Context.checkout): Default to
2008 2019-07-24 Florian Weimer <fweimer@redhat.com>
2011 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2012 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2013 (sysdep_headers): Add bits/socket-constants.h.
2014 (tests-special): Add tst-socket-consts.out.
2015 (tst-socket-consts.out): New target.
2016 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2017 around <asm/unistd.h>.
2018 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2019 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2021 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2022 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2023 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2024 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2025 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2026 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2028 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2030 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2033 * Makefile (testroot.pristine/install.stamp): Pass
2034 subdirs='$(all-subdirs)' to make install.
2036 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2037 the same arguments used in all tests.
2039 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2041 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2043 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2046 * locale/C-translit.h.in: Add Cyrillic transliteration.
2048 2019-07-19 Florian Weimer <fweimer@redhat.com>
2050 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2052 (fsconfig): Add system call name.
2053 (fsmount): Likewise.
2056 (move_mount): Likewise.
2057 (open_tree): Likewise.
2059 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2061 * po/libc.pot: Regenerate.
2063 2019-07-18 Mike Crowe <mac@mcrowe.com>
2065 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2066 functions recently added to sysdeps/nptl/pthread.h:
2067 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2068 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2070 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2071 pthread_cond_clockwait forwarding functions. There are no internal
2072 users, so it is unnecessary to expose these functions in libc.so.
2073 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2074 unnecessary ptr___pthread_cond_clockwait member.
2075 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2078 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2081 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2082 begin with an uppercase letter now.
2084 (mon): Update from CLDR, reword February from "Kudo" to
2085 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2086 and August from "Liiqen" to "Leqeeni".
2087 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2088 April from "Agda Baxisso" to "Agda Baxis" and August from
2089 "Leqeeni" to "Liiqen".
2090 * localedata/locales/aa_ER@saaho (mon): Likewise.
2091 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2092 abbreviated February from "Kud" to "Nah".
2093 (mon): Update from CLDR, reword February from "Kudo" to
2094 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2096 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2099 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2101 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2104 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2105 name_mrs, name_miss, and name_ms.
2106 * localedata/locales/nl_NL (LC_NAME): Likewise.
2108 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2111 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2112 * localedata/locales/en_IE (first_weekday): Likewise.
2114 2019-07-12 Mike Crowe <mac@mcrowe.com>
2116 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2117 that is only useful if futex_supports_exact_relative_timeouts ()
2119 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2121 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2122 timeouts potentially being imprecise since it's no longer true.
2123 Remove declaration of futex_supports_exact_relative_timeouts.
2124 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2125 of futex_supports_exact_relative_timeouts.
2127 * NEWS: Mention recently-added pthread_cond_clockwait,
2128 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2129 sem_clockwait functions.
2131 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2132 works like pthread_mutex_timedlock but takes a clockid parameter to
2133 measure the abstime parameter against.
2134 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2135 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2136 * nptl/pthread_mutex_timedlock.c
2137 (__pthread_mutex_clocklock_common): Rename from
2138 __pthread_mutex_timedlock and add clockid parameter. Pass this
2139 parameter to lll_clocklock and lll_clocklock_elision in place of
2140 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2141 LIBC_PROBE and validate clockid parameter before calling
2142 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2143 implementation to add LIBC_PROBE and calls
2144 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2146 * nptl/Makefile: Add tst-mutex11.c.
2147 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2148 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2149 clockid parameters to pthread_mutex_clocklock.
2150 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2151 clockid parameter to indicate which clock to be used. Call
2152 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2153 (do_test): Call do_test_clock to separately test
2154 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2155 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2156 * nptl/tst-mutex9.c: Likewise.
2157 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2158 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2160 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2162 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2164 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2166 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2168 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2170 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2172 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2173 (GLIBC_2.30): Likewise.
2174 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2175 (GLIBC_2.30): Likewise.
2176 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2177 (GLIBC_2.30): Likewise.
2178 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2179 (GLIBC_2.30): Likewise.
2180 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2181 (GLIBC_2.30): Likewise.
2182 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2185 (GLIBC_2.30): Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2187 (GLIBC_2.30): Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2189 (GLIBC_2.30): Likewise.
2190 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2191 (GLIBC_2.30): Likewise.
2192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2193 (GLIBC_2.30): Likewise.
2194 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2195 (GLIBC_2.30): Likewise.
2196 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2199 (GLIBC_2.30): Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2201 (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2203 (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2207 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2208 parameter to indicate the clock that the abstime parameter should
2209 be measured against in preparation for adding
2210 pthread_mutex_clocklock.
2211 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2212 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2213 from __lll_timedlock and add clockid parameter.
2214 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2216 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2217 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2218 rather than __gettimeofday so that clockid can be used. This means
2219 that conversion from struct timeval is no longer required.
2220 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2222 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2223 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2224 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2225 from lll_timedlock_elision, add clockid parameter and use
2226 meaningful names for other parameters. (__pthread_mutex_timedlock):
2227 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2228 lll_clocklock_elision.
2229 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2230 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2231 clockid parameter. (__lll_clocklock_elision): Rename from
2232 __lll_timedlock_elision and add clockid parameter.
2233 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2234 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2235 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2236 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2237 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2238 (LLL_LOCK): Likewise.
2239 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2240 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2242 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2243 pthread_rwlock_clockwrlock which behave like
2244 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2245 respectively, except they always measure abstime against the
2246 supplied clockid. The functions currently support CLOCK_REALTIME
2247 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2249 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2250 pthread_wrlock_clockwrlock.
2251 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2252 pthread_rwlock_clockwrlock.c.
2253 * nptl/pthread_rwlock_clockrdlock.c: Implement
2254 pthread_rwlock_clockrdlock.
2255 * nptl/pthread_rwlock_clockwrlock.c: Implement
2256 pthread_rwlock_clockwrlock.
2257 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2258 clockid parameter and verify that it indicates a supported clock on
2259 entry so that we fail even if it doesn't end up being used. Pass
2260 that clock on to futex_abstimed_wait when necessary.
2261 (__pthread_rwlock_wrlock_full): Likewise.
2262 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2263 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2264 be used because there's no timeout.
2265 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2266 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2267 be used because there is no timeout.
2268 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2269 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2271 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2272 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2274 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2275 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2276 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2277 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2278 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2279 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2280 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2281 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2282 (GLIBC_2.30): Likewise.
2283 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2284 (GLIBC_2.30): Likewise.
2285 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2286 (GLIBC_2.30): Likewise.
2287 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2288 (GLIBC_2.30): Likewise.
2289 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2290 (GLIBC_2.30): Likewise.
2291 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2293 (GLIBC_2.30): Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2295 (GLIBC_2.30): Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2297 (GLIBC_2.30): Likewise.
2298 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2299 (GLIBC_2.30): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2301 (GLIBC_2.30): Likewise.
2302 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2303 (GLIBC_2.30): Likewise.
2304 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2305 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2306 (GLIBC_2.30): Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2308 (GLIBC_2.30): Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2310 (GLIBC_2.30): Likewise.
2311 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2312 (GLIBC_2.30): Likewise.
2313 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2314 pthread_rwlock_clockwrlock timeout tests to match the existing
2315 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2316 * nptl/tst-rwlock14.c (do_test): Likewise.
2317 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2318 ancillary output throughout. (tf): Accept thread_args structure so
2319 that rwlock, a clockid and function name can be passed to the
2320 thread. (do_test_clock): Rename from do_test. Accept clockid
2321 parameter to specify test clock. Use the magic clockid value of
2322 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2323 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2324 specified clockid to pthread_rwlock_clockrdlock and
2325 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2326 (do_test): Call do_test_clock to test each clockid in turn.
2327 * nptl/tst-rwlock7.c: Likewise.
2328 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2329 thread_args structure so that the (now int) thread number, the
2330 clockid and the function name can be passed to the thread.
2331 (do_test_clock): Renamed from do_test. Pass the necessary
2332 thread_args when creating the reader and writer threads. Use
2333 xpthread_create and xpthread_join.
2334 (do_test): Call do_test_clock to test each clockid in turn.
2335 * manual/threads.texi: Add documentation for
2336 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2338 nptl: pthread_rwlock: Move timeout validation into _full functions
2339 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2340 Check validity of abstime parameter.
2341 (__pthread_rwlock_rwlock_full): Likewise.
2342 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2343 Remove check for validity of abstime parameter.
2344 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2347 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2348 like pthread_cond_timedwait except it always measures abstime
2349 against the supplied clockid.
2350 * nptl/Makefile: Add tst-cond26 and tst-cond27
2351 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2352 * sysdeps/nptl/pthread.h: Likewise
2353 * nptl/forward.c: Add __pthread_cond_clockwait
2354 * nptl/forward.c: Likewise
2355 * nptl/pthreadP.h: Likewise
2356 * sysdeps/nptl/pthread-functions.h: Likewise
2357 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2358 clockid parameter and comment describing why we don't need to check
2359 its value. Use that value when calling
2360 futex_abstimed_wait_cancelable rather than reading the clock from
2361 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2362 (__pthread_cond_timedwait): Read clock from flags and pass it to
2363 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2364 function with weak alias from pthread_cond_clockwait.
2365 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2366 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2367 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2368 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2369 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2370 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2371 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2372 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2373 (GLIBC_2.30): Likewise.
2374 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2375 (GLIBC_2.30): Likewise.
2376 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2377 (GLIBC_2.30): Likewise.
2378 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2379 (GLIBC_2.30): Likewise.
2380 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2381 (GLIBC_2.30): Likewise.
2382 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2384 (GLIBC_2.30): Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2386 (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2388 (GLIBC_2.30): Likewise.
2389 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2390 (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2392 (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2394 (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2397 (GLIBC_2.30): Likewise.
2398 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2399 (GLIBC_2.30): Likewise.
2400 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2401 (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * nptl/tst-cond11.c (run_test): Support testing
2405 pthread_cond_clockwait too by using a special magic
2406 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2407 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2408 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2409 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2410 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2411 clocks to pthread_cond_clockwait.
2412 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2413 struct timespec and pthread_cond_clockwait.
2414 * manual/threads.texi: Document pthread_cond_clockwait.
2416 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2417 sem_timedwait, but measures abstime against the specified clock.
2418 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2419 clockid parameters to indicate the clock which abstime should be
2421 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2422 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2423 __new_sem_wait_slow.
2424 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2426 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2427 sem_clockwait.c to match those used for sem_timedwait.c.
2428 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2429 * nptl/Versions (GLIBC_2.30): Likewise.
2430 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2431 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2432 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2433 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2434 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2435 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2436 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2437 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2438 (GLIBC_2.30): Likewise.
2439 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2440 (GLIBC_2.30): Likewise.
2441 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2442 (GLIBC_2.30): Likewise.
2443 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2444 (GLIBC_2.30): Likewise.
2445 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2446 (GLIBC_2.30): Likewise.
2447 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2449 (GLIBC_2.30): Likewise.
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2451 (GLIBC_2.30): Likewise.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2453 (GLIBC_2.30): Likewise.
2454 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2455 (GLIBC_2.30): Likewise.
2456 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2457 (GLIBC_2.30): Likewise.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2459 (GLIBC_2.30): Likewise.
2460 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2461 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2462 (GLIBC_2.30): Likewise.
2463 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2464 (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2466 (GLIBC_2.30): Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2468 (GLIBC_2.30): Likewise.
2469 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2471 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2472 tests to also test sem_clockwait.
2473 * manual/threads.texi: Document sem_clockwait.
2475 nptl: Add clockid parameter to futex timed wait calls
2476 * sysdeps/nptl/lowlevellock-futex.h,
2477 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2478 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2479 takes a clockid rather than a special clockbit.
2480 * sysdeps/nptl/lowlevellock-futex.h: Add
2481 lll_futex_supported_clockid so that client functions can check
2482 whether their clockid parameter is valid even if they don't
2483 ultimately end up calling lll_futex_clock_wait_bitset.
2484 * sysdeps/nptl/futex-internal.h,
2485 sysdeps/unix/sysv/linux/futex-internal.h
2486 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2487 clockid_t parameter to indicate which clock the absolute time
2488 passed should be measured against. Pass that clockid onto
2489 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2491 * sysdeps/nptl/futex-internal.h,
2492 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2493 futex_abstimed_supported_clockid so that client functions can check
2494 whether their clockid parameter is valid even if they don't
2495 ultimately end up calling futex_abstimed_wait.
2496 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2497 code to calculate relative timeout for
2498 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2499 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2500 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2501 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2502 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2503 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2504 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2506 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2509 * posix/tst-mmap-offset.c: Mention BZ #24699.
2510 (do_test_bz21270): Rename to do_test_large_offset and use
2511 mmap64_maximum_offset to check for maximum expected offset value.
2512 * sysdeps/generic/mmap_info.h: New file.
2513 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2514 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2517 2019-07-10 DJ Delorie <dj@redhat.com>
2518 Sergei Trofimovich <slyfox@inbox.ru>
2522 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2524 * nss/tst-nss-db-endgrent.c: New.
2525 * nss/tst-nss-db-endgrent.root: New.
2526 * nss/tst-nss-db-endpwent.c: New.
2527 * nss/tst-nss-db-endpwent.root: New.
2528 * nss/Makefile: Add new tests.
2529 * support/links-dso-program-c.c: Add selinux dependency.
2530 * support/links-dso-program.cc: Add selinux dependency.
2531 * support/Makefile: Build those with -lselinux if enabled.
2533 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2535 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2536 DT_AARCH64_VARIANT_PCS check.
2537 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2538 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2541 2019-07-10 Andreas Schwab <schwab@suse.de>
2544 * malloc/malloc.h (__malloc_check_init): Don't declare.
2545 * include/malloc.h (__malloc_check_init): Likewise.
2546 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2547 * manual/memory.texi (__malloc_check_init): Don't mention it.
2549 2019-07-10 Mao Han <han_mao@c-sky.com>
2551 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2553 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2555 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2556 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2558 2019-07-08 DJ Delorie <dj@redhat.com>
2561 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2562 * io/tst-ftw-lnk.c: New test.
2563 * io/Makefile: Run it.
2565 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2567 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2568 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2569 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2570 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2571 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2572 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2574 Adjust implementation path.
2575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2576 Adjust implementation path.
2577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2578 Adjust implementation path.
2579 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2580 (libm-sysdep_routines): Add s_log* objects.
2581 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2582 CFLAGS-s_logb-power7.c): New fule.
2583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2599 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2602 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2605 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2619 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2620 powerpc32 integer 0 converting to -0.
2622 * benchtests/Makefile (bench-math): Add logb.
2623 * benchtests/logb-inputs: New file.
2624 * benchtests/logbf-inputs: New file.
2626 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2627 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2628 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2629 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2635 sysdep_routines): Add s_modf* objects.
2636 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2637 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2644 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2650 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2653 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2656 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2658 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2659 twoM500, twoM600, two60factor, pdnum): Remove.
2660 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2661 (__ieee754_hypot): Replace static variables with inline definition,
2662 remove ununsed branches.
2663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2664 (libm-sysdep_routines): Remove e_hypot-* objects.
2665 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2674 * benchtests/Makefile (bench-math): Add hypot.
2675 * benchtests/hypot-inputs: New file.
2677 2019-07-08 Vincent Chen <vincentc@andestech.com>
2679 * sysdeps/unix/sysv/linux/dl-vdso.h
2680 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2682 2019-07-04 Andreas Schwab <schwab@suse.de>
2685 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2687 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2689 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2690 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2691 * sysdeps/aarch64/sys/ifunc.h: New file.
2692 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2693 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2695 2019-07-01 Florian Weimer <fweimer@redhat.com>
2698 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2699 Replace __vfork with __libpthread_version_placeholder for
2701 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2702 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2704 * nptl/pt-vfork.c: Remove file.
2705 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2706 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2707 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2708 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2709 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2710 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2711 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2712 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2713 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2714 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2715 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2716 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2718 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2719 Remove vfork, __vfork.
2720 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2722 (GLIBC_2.1.2): Replace __vfork with
2723 __libpthread_version_placeholder.
2724 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2725 Remove vfork, __vfork.
2726 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2728 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2730 (GLIBC_2.1.2): Replace __vfork with
2731 __libpthread_version_placeholder.
2732 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2734 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2735 (GLIBC_2.4): Remove vfork, __vfork.
2736 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2737 (GLIBC_2.0): Remove vfork.
2738 (GLIBC_2.1.2): Replace __vfork with
2739 __libpthread_version_placeholder.
2740 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2741 (GLIBC_2.18): Remove vfork, __vfork.
2742 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2743 (GLIBC_2.0): Remove vfork.
2744 (GLIBC_2.2): Remove __vfork.
2745 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2746 (GLIBC_2.2): Remove vfork, __vfork.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2748 (GLIBC_2.0): Remove vfork.
2749 (GLIBC_2.1.2): Replace __vfork with
2750 __libpthread_version_placeholder.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2752 (GLIBC_2.3): Remove vfork, __vfork.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2754 (GLIBC_2.17): Likewise.
2755 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2756 (GLIBC_2.0): Remove vfork.
2757 (GLIBC_2.1.2): Replace __vfork with
2758 __libpthread_version_placeholder.
2759 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2760 (GLIBC_2.2): Remove vfork, __vfork.
2761 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2764 (GLIBC_2.0): Remove vfork.
2765 (GLIBC_2.1.2): Replace __vfork with
2766 __libpthread_version_placeholder.
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2768 (GLIBC_2.2): Remove vfork, __vfork.
2769 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2770 (GLIBC_2.2.5): Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2772 (GLIBC_2.16): Likewise.
2773 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2774 Remove __errno_location.
2776 2019-07-02 Florian Weimer <fweimer@redhat.com>
2779 * malloc/Depend: Add nptl and htl, due to potential indirect
2780 libpthread dependency of memusagestat.
2782 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2784 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2787 2019-07-01 Florian Weimer <fweimer@redhat.com>
2789 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2790 variant for arm-linux-gnueabi.
2792 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2795 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2797 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2798 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2799 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2800 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2801 and tst-cet-legacy-mod-6c.
2802 (CFLAGS-tst-cet-legacy-5a.c): New.
2803 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2804 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2805 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2806 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2807 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2808 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2809 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2810 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2811 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2812 ($(objpfx)tst-cet-legacy-5a): Likewise.
2813 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2814 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2815 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2816 ($(objpfx)tst-cet-legacy-5b): Likewise.
2817 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2818 (tst-cet-legacy-5b-ENV): Likewise.
2819 ($(objpfx)tst-cet-legacy-6a): Likewise.
2820 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2821 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2822 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2823 ($(objpfx)tst-cet-legacy-6b): Likewise.
2824 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2825 (tst-cet-legacy-6b-ENV): Likewise.
2826 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2827 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2828 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2829 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2830 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2831 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2832 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2833 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2834 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2835 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2836 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2837 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2838 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2839 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2841 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2843 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2844 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2845 (__fegetround_ISA300) New.
2846 (__fegetround_ISA2) New.
2847 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2848 (_FPU_MFFS): Move implementation...
2850 (_FPU_MFFSL): Move implementation....
2851 (_FPU_GET_RC_ISA300): Here. New.
2852 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2853 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2854 (fegetenv_status): New.
2855 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2856 instead of fegetenv_register().
2857 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2859 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2861 * benchtests/bench-math-inlines.c: Increase iterations.
2862 * benchtests/bench-memcmp.c: Likewise.
2863 * benchtests/bench-rawmemchr.c: Likewise.
2864 * benchtests/bench-strcmp.c: Likewise.
2865 * benchtests/bench-strcpy_chk.c: Likewise.
2866 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2867 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2868 (INNER_LOOP_ITERS_SMALL): Likewise.
2869 * benchtests/bench-strncat.c: Increase iterations.
2870 * benchtests/bench-strncmp.c: Increase iterations.
2871 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2872 * benchtests/bench-strrchr.c: Increase iterations.
2873 * benchtests/bench-strstr.c: Keep iterations unchanged.
2874 * benchtests/bench-strtod.c: Increase iterations.
2876 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2878 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2879 with INNER_LOOP_ITERS_LARGE.
2880 * benchtests/bench-memchr.c: Likewise.
2881 * benchtests/bench-rawmemchr.c: Likewise.
2882 * benchtests/bench-strcat.c: Likewise.
2883 * benchtests/bench-strchr.c: Likewise.
2884 * benchtests/bench-string.h: Likewise.
2885 * benchtests/bench-strlen.c: Likewise.
2886 * benchtests/bench-strncpy.c: Likewise.
2887 * benchtests/bench-strnlen.c: Likewise.
2889 2019-06-28 Florian Weimer <fweimer@redhat.com>
2891 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2892 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2893 entire allocated memory range.
2895 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2897 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2898 (prepare_version_base): New helper inline function.
2899 (prepare_version): New macro replacing PREPARE_VERSION.
2900 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2902 2019-06-28 Florian Weimer <fweimer@redhat.com>
2905 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2906 mismatch in a versioned symbol reference.
2907 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2908 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2909 tst-sonamemove-dlopen.
2910 (module-names): Add tst-sonamemove-linkmod1,
2911 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2912 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2913 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2914 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2915 (tst-sonamemove-runmod1.so): Link against
2916 tst-sonamemove-runmod2.so.
2917 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2918 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2919 tst-sonamemove-runmod2.so.
2920 (tst-sonamemove-dlopen): Link with -ldl.
2921 (tst-sonamemove-dlopen.out): Likewise.
2922 * elf/tst-sonamemove-link.c: New file.
2923 * elf/tst-sonamemove-dlopen.c: Likewise.
2924 * elf/tst-sonamemove-linkmod1.c: Likewise.
2925 * elf/tst-sonamemove-linkmod1.map: Likewise.
2926 * elf/tst-sonamemove-runmod1.c: Likewise.
2927 * elf/tst-sonamemove-runmod1.map: Likewise.
2928 * elf/tst-sonamemove-runmod2.c: Likewise.
2929 * elf/tst-sonamemove-runmod2.map: Likewise.
2931 2019-06-28 Florian Weimer <fweimer@redhat.com>
2933 * support/xdlfcn.h (xdlvsym): Declare function.
2934 * support/xdlfcn.c (xdlvsym): Define funciton.
2936 2019-06-28 Florian Weimer <fweimer@redhat.com>
2939 io: Remove the copy_file_range emulation.
2940 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2941 not define and call copy_file_range_compat.
2942 * io/Makefile (tests-static, tests-internal): Do not add
2943 tst-copy_file_range-compat.
2944 * io/copy_file_range-compat.c: Remove file.
2945 * io/copy_file_range.c (copy_file_range): Define as stub.
2946 * io/tst-copy_file_range-compat.c: Remove file.
2947 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2948 (typical_sizes): Update comment. Remove 16K sizes.
2949 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2951 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2952 (delayed_write_failure_beginning, delayed_write_failure_end)
2953 (cross_device_failure, enospc_failure_1, enospc_failure)
2954 (oappend_failure): Remove functions.
2955 (tests): Adjust test case list.
2956 (do_test): Remove file system search code. Check for ENOSYS from
2957 copy_file_range. Do not free xdevfile.
2958 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2959 copy_file_range. Do not document the EXDEV error, which future
2960 kernels may not report. Update the wording to reflect that
2961 further errors are possible.
2962 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2963 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2966 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2968 * sysdeps/unix/sysv/linux/kernel-features.h
2969 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2972 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2974 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2975 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2978 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2980 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2981 used as a mask for the mode argument of __vfprintf_internal.
2982 * stdio-common/printf-parse.h (printf_arg): New union member:
2984 * stdio-common/vfprintf-internal.c
2985 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2986 (PARSE_FLOAT_VA_ARG): Likewise.
2987 (SETUP_FLOAT128_INFO): Likewise.
2988 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2989 SETUP_FLOAT128_INFO.
2990 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2991 floating-point value to the new union member, pa_float128.
2992 (printf_positional): Zero-initialize args_value[cnt] with memset.
2994 2019-06-27 Florian Weimer <fweimer@redhat.com>
2997 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2998 buffer size if necessary.
2999 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3001 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3003 (large_buffer_checks): Likewise.
3004 (do_test): Call large_buffer_checks.
3006 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3008 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3009 * sysdeps/x86/dl-lookupcfg.h: Here.
3010 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3012 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3015 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3021 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3022 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3024 * sysdeps/powerpc/powerpc32/fpu/Makefile
3025 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3026 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3027 and fctidz optimization.
3028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3029 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3031 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3032 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3033 CFLAGS-s_lround-power5+.c): New rule.
3034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3057 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3062 2019-06-26 Vincent Chen <vincentc@andestech.com>
3064 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3065 specific system calls, fp_udfiex_crtl and udftrap.
3067 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3069 * nptl/tst-eintr1.c (tf1): Add return statement.
3070 (do_test): Remove unused th variable.
3072 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3074 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3075 Return error if get_character fails.
3077 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3079 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3081 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3084 * localedata/locales/szl_PL (day): Use the correct Unicode
3085 sequences instead of non-ASCII characters.
3087 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3090 * localedata/locales/szl_PL (abday): Spelling corrections.
3094 (alt_mon): This, then apply spelling corrections.
3095 (mon): New entry, month names in the genitive case.
3097 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3100 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3101 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3102 (thousands_sep): Likewise.
3103 (grouping): Set to 3;3.
3105 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3107 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3108 PREPARE_VERSION_KNOWN.
3109 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3110 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3112 (VDSO_HASH_LINUX_2_6_39): Likewise.
3113 (VDSO_NAME_LINUX_4_9): Likewise.
3114 (VDSO_HASH_LINUX_4_9): Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3117 (_libc_vdso_platform_setup): Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3119 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3124 2019-06-20 Mike Crowe <mac@mcrowe.com>
3126 * nptl/eintr.c: Use libsupport.
3127 * nptl/tst-eintr1.c: Likewise.
3128 * nptl/tst-eintr2.c: Likewise.
3129 * nptl/tst-eintr3.c: Likewise.
3130 * nptl/tst-eintr4.c: Likewise.
3131 * nptl/tst-eintr5.c: Likewise.
3132 * nptl/tst-mutex-errorcheck.c: Likewise.
3133 * nptl/tst-mutex5.c: Likewise.
3135 * support/test-driver.h: Add verbose_printf macro.
3137 * support/xtime.h: Add xclock_now() helper function.
3139 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3140 Florian Weimer <fweimer@redhat.com>
3143 * libio/genops.c (_IO_unbuffer_all)
3144 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3145 buffers and access _IO_FILE_complete members of legacy libio streams.
3146 * libio/tst-bz24228.c: New file.
3147 * libio/tst-bz24228.map: Likewise.
3148 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3149 [build-shared] (generated): Add tst-bz24228.mtrace and
3151 [run-built-tests && build-shared] (tests-special): Add
3152 $(objpfx)tst-bz24228-mem.out.
3153 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3154 ($(objpfx)tst-bz24228-mem.out): New rule.
3156 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3158 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3159 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3160 (__FPU_MFFSL): Likewise.
3161 (_FPU_SETCW): Likewise.
3163 2019-06-19 Stan Shebs <stanshebs@google.com>
3164 Raoni Fassina Firmino <raoni@linux.ibm.com>
3167 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3168 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3169 static-linking version.
3170 * sysdeps/unix/sysv/linux/powerpc/Makefile
3171 (tests-static): Add test-gettimebasefreq-static.
3173 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3176 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3179 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3180 between the currency symbol and the minus sign).
3181 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3183 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3186 * string/test-strcasestr.c (check_result): Add NULL check.
3187 * nss/tst-field.c (check_rewrite): Likewise.
3188 * benchtests/bench-strstr.c (do_one_test): Likewise.
3189 * string/test-strstr.c (check_result): Likewise.
3190 * argp/argp-test.c (popt): Increase size of buf to 12.
3191 * benchtests/bench-malloc-simple.c (bench):
3192 Do not initialize tests array out of bounds.
3194 2019-06-19 Florian Weimer <fweimer@redhat.com>
3197 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3200 2019-06-18 Florian Weimer <fweimer@redhat.com>
3203 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3204 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3205 fail when called from dlopen.
3206 * elf/Makefile [have-fpie && build-shared] (tests): Add
3208 (tst-dlopen-pie): Link with -ldl.
3209 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3210 * elf/tst-dlopen-pie.c (do_test): New file.
3212 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3215 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3216 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3217 between the currency symbol and the minus sign).
3218 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3219 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3221 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3223 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3224 sysdep-rtld-routines): Remove rules.
3225 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3226 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3227 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3228 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3229 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3230 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3231 vDSO path for SHARED.
3232 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3233 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3234 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3235 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3236 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3237 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3239 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3240 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3241 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3242 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3243 CFLAGS-s_llround-power5+.c): New rule.
3244 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3250 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3257 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3260 * sysdeps/powerpc/powerpc64/fpu/Makefile
3261 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3263 (libm-sysdep_routines): Remove s_llround-* objects.
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3274 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3275 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3276 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3277 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3278 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3279 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3280 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3282 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3284 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3289 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3290 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3291 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3292 * sysdeps/powerpc/powerpc32/fpu/Makefile
3293 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3294 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3296 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3297 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3298 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3300 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3301 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3302 CFLAGS-s_lrint-ppc32.c): New rule.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3328 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3329 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3331 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3332 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3336 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3341 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3343 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3344 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3345 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3347 (libm-sysdep_routines): Remove s_llrint-* objects.
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3353 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3354 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3355 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3356 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3357 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3358 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3359 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3360 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3361 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3363 2019-06-14 Florian Weimer <fweimer@redhat.com>
3365 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3366 argument to __glibc_has_include to inhibit macro expansion.
3368 2019-06-14 Florian Weimer <fweimer@redhat.com>
3370 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3371 function-like macro, so that __has_include can inhibit expansion
3374 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3376 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3380 Allow memset in libc.so.
3382 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3384 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3385 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3386 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3387 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3388 symbols at load time.
3389 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3391 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3393 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3394 (DT_AARCH64_VARIANT_PCS): Define.
3396 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3399 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3409 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3410 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3412 Remove s_finite* objects.
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3419 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3420 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3421 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3422 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3425 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3428 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3438 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3439 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3441 Remove s_isinf* and s_isinf* objects.
3442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3448 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3454 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3456 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3457 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3458 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3460 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3476 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3477 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3478 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3479 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3483 Remove s_isnan-* and s_isnanf-* objects.
3484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3494 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3495 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3496 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3503 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3505 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3506 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3507 CFLAGS-bench-isfinite.c): New rule.
3508 * benchtests/isnan-input: New file.
3509 * benchtests/isinf-input: New file.
3510 * benchtests/isfinite-input: New file.
3512 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3513 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3514 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3515 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3517 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3530 Remove s_copysign-power6 s_copysign-ppc64.
3531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3538 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3539 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3542 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3543 round_to_integer_float, round_mode): Add RINT handling.
3544 (reset_fenv_mode): New symbol.
3545 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3546 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3547 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3549 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3552 2019-06-12 Florian Weimer <fweimer@redhat.com>
3555 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3556 * libio/freopen.c (freopen): Use it.
3558 2019-06-12 Florian Weimer <fweimer@redhat.com>
3560 Linux: Deprecate sysctl.
3561 * include/sysctl.h (__sysctl): Remove declaration.
3562 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3564 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3565 (sysctl): Add deprecation attribute.
3566 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3567 directly, to avoid the deprecation warning. Do not include
3569 (__sysctl): Remove hidden alias.
3571 2019-06-12 Florian Weimer <fweimer@redhat.com>
3573 Linux: Use kernel headers for statx definitions if available.
3574 * include/bits/statx-generic.h: New file.
3575 * include/bits/types/struct_statx.h: Likewise.
3576 * include/bits/types/struct_statx_timestamp.h: Likewise.
3577 * io/Makefile (headers): Add bits/statx-generic.h.
3578 * io/bits/statx-generic.h: New file. Partly copied from
3580 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3581 define original_statx.
3582 * io/bits/types/struct_statx.h: Likewise.
3583 * io/bits/types/struct_statx_timestamp.h: Likewise.
3584 (statx_generic): Use original_statx.
3585 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3586 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3588 2019-06-12 Florian Weimer <fweimer@redhat.com>
3590 * misc/sys/cdefs.h (__glibc_has_include): Define.
3592 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3594 * string/memmem.c (__memmem): Rewrite to improve performance.
3596 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3598 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3600 (two_way_long_needle): Block inlining.
3601 * string/strstr.c (strstr2): Add new function.
3602 (strstr3): Likewise.
3603 (STRSTR): Completely rewrite strstr to improve performance.
3605 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3607 * benchtests/bench-strstr.c (test_hard_needle): New function.
3609 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3611 * malloc/tst-calloc.c: Include <libc-diag.h>.
3612 (null_test): Ignore -Wunused-result around calls to calloc.
3613 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3614 (do_test): Ignore -Wunused-result around call to malloc.
3616 2019-06-07 Florian Weimer <fweimer@redhat.com>
3618 Linux: Add getdents64 system call.
3619 * include/dirnent.h (getdents): Add comment and change buffer
3620 argument type to void *.
3621 (getdents64): Likewise. Add hidden prototype.
3622 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3626 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3627 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3628 argument type to void *.
3629 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3630 Add hidden definition and getdents64 alias.
3631 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3633 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3634 * manual/filesys.texi (Accessing Directories): Add Low-level
3635 Directory Access node reference.
3636 (Opening a Directory): Cross-reference it.
3637 (Low-level Directory Access): New node.
3638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3640 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3642 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3643 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3645 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3647 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3649 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3651 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3653 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3655 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3657 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3658 (GLIBC_2.30): Likewise.
3659 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3660 (GLIBC_2.30): Likewise.
3661 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3662 (GLIBC_2.30): Likewise.
3663 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3664 (GLIBC_2.30): Likewise.
3665 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3668 (GLIBC_2.30): Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3670 (GLIBC_2.30): Likewise.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3672 (GLIBC_2.30): Likewise.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3674 (GLIBC_2.30): Likewise.
3675 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3677 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3679 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3681 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3684 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3686 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3688 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3691 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3693 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3697 (_FPU_GETCW): Use __FPU_MFFS().
3698 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3700 2019-06-06 Florian Weimer <fweimer@redhat.com>
3702 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3703 internal GCC preprocessor identifier __has_include__.
3705 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3707 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3708 with call to equivalent function.
3710 2019-06-04 Florian Weimer <fweimer@redhat.com>
3712 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3713 (do_release_shlib): Adjust for __twalk_r.
3714 (__gconv_release_shlib): Call __twalk_r.
3716 2019-06-04 Andreas Schwab <schwab@suse.de>
3719 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3720 no irreversible characters occurred.
3721 * iconv/gconv_simple.c (internal_ucs4_loop)
3722 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3723 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3724 (ucs4_internal_loop_single, internal_ucs4le_loop)
3725 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3726 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3727 (ucs4le_internal_loop_single): Add const to outend.
3728 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3729 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3730 * iconv/Makefile (tests): Add tst-iconv7.
3731 * iconv/tst-iconv7.c: New file.
3733 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3735 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3737 2019-06-01 Florian Weimer <fweimer@redhat.com>
3739 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3740 * sysdeps/unix/sysv/linux/arm/Makefile
3741 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3742 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3743 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3744 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3745 compatibility symbols.
3747 2019-05-31 Florian Weimer <fweimer@redhat.com>
3749 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3750 system calls for the arm architecture: breakpoint, get_tls,
3751 set_tls, usr26, usr32.
3753 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3755 * sysdeps/powerpc/Makefile
3756 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3757 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3758 Declare '.machine power7' to get support for ldbrx.
3759 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3760 directive based on the directory of the file.
3761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3762 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3763 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3764 '.machine' directive.
3765 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3766 (VADDUQM_V7_V8): Remove.
3767 (__STRCASECMP): Replace macros with actual instructions.
3768 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3769 '.machine' directive.
3770 (VCLZD_V8_v7): Remove.
3771 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3773 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3775 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3777 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3779 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3781 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3783 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3784 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3790 2019-05-28 mansayk <6688000@gmail.com>
3793 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3795 2019-05-28 mansayk <6688000@gmail.com>
3798 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3799 (abmon): Likewise, but remove the trailing dots.
3801 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3803 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3805 2019-05-27 Florian Weimer <fweimer@redhat.com>
3807 * nptl/nptl-init.c: Add comment.
3809 2019-05-24 Florian Weimer <fweimer@redhat.com>
3811 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3812 struct in_addr/struct in6_addr alignment.
3814 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3817 (F_SEAL_FUTURE_WRITE): New macro.
3819 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3821 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3822 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3823 * elf/tst-ldconfig_aux-cache.root: New directory.
3824 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3825 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3826 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3828 2019-05-22 Zack Weinberg <zackw@panix.com>
3830 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3832 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3833 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3835 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3840 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3841 Issue an #error if used with a compiler in SPE-float mode.
3842 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3843 * sysdeps/powerpc/powerpc32/setjmp_common.S
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3850 Remove code to preserve SPE register state.
3852 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3853 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3854 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3855 Remove __SPE__ ifndefs.
3857 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3859 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3860 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3861 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3862 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3863 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3864 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3865 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3866 (INNER_LOOP_ITERS_MEDIUM): New define.
3867 (INNER_LOOP_ITERS_SMALL): New define.
3868 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3869 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3870 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3871 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3872 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3874 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3876 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3879 (SEMTIMEDOP_IPC_ARGS): Likewise.
3881 2019-05-21 Florian Weimer <fweimer@redhat.com>
3884 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3885 before updating __counter field and release it afterwards. Add
3887 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3888 requirement for __counter member.
3890 2019-05-21 Florian Weimer <fweimer@redhat.com>
3893 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3894 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3895 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3896 instead of __gconv_release_step.
3897 * libio/Makefile (tests): Add tst-wfile-gconv.
3898 (tests-container): Add tst-wfile-ascii.
3899 (tst-wfile-gconv-ENV): Enable mtrace.
3900 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3901 (tests-special): Add tst-wfile-gconv-mem.out.
3902 (tst-wfile-gconv.out): Depend on locales.
3903 (tst-wfile-gconv-mem.out): Add mtrace rule.
3904 * libio/tst-wfile-ascii.c: New file.
3905 * libio/tst-wfile-gconv.c: Likewise.
3907 2019-05-20 Florian Weimer <fweimer@redhat.com>
3910 libio: Remove codecvt vtable.
3911 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3913 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3914 __libio_codecvt_encoding.
3915 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3916 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3917 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3918 * libio/iofwide.c (__libio_codecvt): Remove variable.
3919 (_IO_fwide): Do not copy __libio_codecvt.
3920 (__libio_codecvt_out): Rename from do_out and export.
3921 (do_unshift): Remove function.
3922 (__libio_codecvt_in): Rename from do_in and export.
3923 (__libio_codecvt_encoding): Rename from do_encoding and export.
3924 (do_always_noconv): Remove function.
3925 (__libio_codecvt_length): Rename from do_length and export.
3926 (do_max_length): Remove function.
3927 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3929 (struct _IO_codecvt): Remove fields __codecvt_destr,
3930 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3931 __codecvt_do_encoding, __codecvt_do_always_noconv,
3932 __codecvt_do_length, __codecvt_do_max_length.
3933 * libio/libioP.h (enum __codecvt_result): Define; moved from
3935 (__libio_codecvt_out, __libio_codecvt_in)
3936 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3938 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3939 (_IO_wfile_underflow): Call __libio_codecvt_in.
3940 (_IO_wfile_underflow): Likewise.
3941 (_IO_wfile_underflow_mmap): Likewise.
3942 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3943 __libio_codecvt_length.
3944 (adjust_wide_data): Call __libio_codecvt_encoding,
3946 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3947 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3948 __libio_codecvt_length.
3950 2019-05-20 Florian Weimer <fweimer@redhat.com>
3952 * support/support.h (support_sbindir_prefix): Declare.
3953 (support_install_rootsbindir): Update comment.
3954 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3955 * support/support_paths.c (support_sbindir_prefix): Define.
3957 2019-05-20 Mike Crowe <mac@mcrowe.com>
3959 * support/timespec.c: Add backslash to correct newline in failure
3962 * support/timespec.h: Correct confusing comment.
3964 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3966 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3968 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3969 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3970 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3971 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3974 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3977 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3979 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3980 (NT_ARM_PACG_KEYS): Likewise.
3982 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3984 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3985 (tcache_put): Remove redundant assert.
3986 (tcache_get): Remove redundant asserts.
3987 (__libc_malloc): Check tcache count is not zero.
3988 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3990 2019-05-17 Florian Weimer <fweimer@redhat.com>
3992 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3994 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3996 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3997 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4001 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4002 (__ASSUME_STATX): Likewise.
4004 2019-05-16 Florian Weimer <fweimer@redhat.com>
4006 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4008 (LINE_PARSER): Do not map IPv4 addresses.
4009 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4011 (_nss_nis_gethostent_r): Always pass AF_INET to
4012 internal_nis_gethostent_r.
4013 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4015 (_nss_nis_gethostbyname2_r): Adjust call to
4016 internal_nis_gethostent_r.
4017 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4018 call to internal_nis_gethostent_r.
4019 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4021 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4022 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4023 Remove flags argument. Do not map IPv4 addresses.
4024 (internal_nisplus_gethostent_r): Adjust call to
4025 _nss_nisplus_parse_hostent.
4026 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4027 to _nss_nisplus_parse_hostent.
4028 (_nss_nisplus_gethostbyname2_r): Adjust call to
4029 internal_gethostbyname2_r.
4030 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4031 Adjust call to internal_gethostbyname2_r.
4032 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4033 _nss_nisplus_parse_hostent.
4034 (_nss_nisplus_gethostbyname4_r): Adjust call to
4035 internal_gethostbyname2_r.
4037 2019-05-16 Florian Weimer <fweimer@redhat.com>
4039 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4041 (LINE_PARSER): Remove address mapping.
4042 (EXTRA_ARGS_VALUE): Remove flags argument.
4043 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4044 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4045 gethostbyname3_multi.
4046 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4047 _nss_files_gethostbyname3_r.
4048 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4050 2019-05-16 Florian Weimer <fweimer@redhat.com>
4052 * support/support_test_compare_blob.c (report_blob): Report
4053 incorrect NULL blobs.
4055 2019-05-15 Mark Wielaard <mark@klomp.org>
4058 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4059 __libc_once_get (once) and static_buf == NULL.
4060 (__dlerror): Check we have a valid key, set result to static_buf
4063 2019-05-15 Andreas Schwab <schwab@suse.de>
4066 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4067 __codecvt_do_length.
4068 * libio/Makefile (tests): Add tst-wfile-sync.
4069 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4070 * libio/tst-wfile-sync.c: New file.
4071 * libio/tst-wfile-sync.input: New file.
4073 2019-05-15 Florian Weimer <fweimer@redhat.com>
4075 nss: Turn __nss_database_lookup into a compatibility symbol.
4076 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4077 __nss_database_lookup.
4078 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4079 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4080 __nss_database_lookup.
4081 (__nss_next): Move to …
4082 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4084 (__nss_database_lookup): New function.
4085 * nss/Versions (GLIBC_2.0): Update comment.
4086 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4087 * grp/initgroups.c (internal_getgrouplist): Call
4088 __nss_database_lookup2 instead of __nss_database_lookup.
4089 * nscd/aicache.c (addhstaiX): Likewise.
4090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4091 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4092 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4093 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4094 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4096 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4097 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4100 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4102 * support/support.h (support_install_rootsbindir): New variable.
4103 * support/support_paths.c: Likewise.
4104 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4106 2019-05-15 Florian Weimer <fweimer@redhat.com>
4108 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4109 * iconv/gconv_int.h (__gconv_transliterate): … here.
4110 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4111 * iconv/skeleton.c: Likewise.
4113 2019-05-14 Florian Weimer <fweimer@redhat.com>
4115 Linux: Add the tgkill function.
4116 * bits/signal_ext.h: New file.
4117 * manual/signal.texi (Signaling Another Process): Document tgkill.
4118 * signal/Makefile (headers): Add bits/signal_ext.h.
4119 * signal/signal.h: Include <bits/signal_ext.h>.
4120 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4121 (tst-tgkill): Link with libpthread.
4122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4123 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4124 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4125 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4127 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4128 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4129 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4130 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4131 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4132 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4133 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4134 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4136 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4139 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4141 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4150 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4153 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4159 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4161 * manual/search.texi (Tree Search Function): Adjust twalk_r
4164 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4167 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4170 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4171 * support/support.h (support_bindir_prefix): New variable.
4172 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4174 * config.make.in (bindir): New variable.
4176 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4177 (lll_trylock): Call __lll_trylock.
4178 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4179 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4180 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4182 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4184 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4185 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4186 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4187 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4188 lowlevellock-futex.h.
4190 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4191 initialization for LLL_LOCK_INITIALIZER different than 0.
4192 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4193 Assume LLL_LOCK_INITIALIZER being 0.
4194 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4195 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4197 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4198 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4200 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4201 Optimize futex call and add systemtap probe.
4203 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4204 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4205 __libc_disable_asynccancel, __librt_enable_asynccancel,
4206 __libc_disable_asynccancel, __librt_enable_asynccancel,
4207 __librt_disable_asynccancel): Move to ...
4208 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4209 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4210 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4211 * sysdeps/generic/single-thread.h: New file.
4212 * sysdeps/unix/sysdep.h: Include single-thread.h.
4213 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4214 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4216 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4219 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4220 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4222 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4223 * localedata/unicode-gen/PropList.txt: Likewise.
4224 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4225 * localedata/charmaps/UTF-8: Regenerate.
4226 * localedata/locales/i18n_ctype: Likewise.
4227 * localedata/locales/tr_TR: Likewise.
4228 * localedata/locales/translit_circle: Likewise.
4229 * localedata/locales/translit_cjk_compat: Likewise.
4230 * localedata/locales/translit_combining: Likewise.
4231 * localedata/locales/translit_compat: Likewise.
4232 * localedata/locales/translit_font: Likewise.
4233 * localedata/locales/translit_fraction: Likewise.
4235 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4238 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4239 (do_set_tcache_count): Only update if count is small enough.
4240 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4242 2019-05-10 Florian Weimer <fweimer@redhat.com>
4244 * nptl/sem_close.c (struct walk_closure): Define.
4245 (walker): Adjust for __twalk_r.
4246 (sem_close): Call __twalk_r.
4248 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4250 * support/timespec.c (test_timespec_before_impl,
4251 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4254 2019-05-09 Mike Crowe <mac@mcrowe.com>
4256 * nptl/tst-abstime.c: Use libsupport.
4258 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4259 small bug where only tv.tv_usec was checked which could cause an
4260 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4263 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4266 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4267 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4269 * nptl/tst-cond11.c: Use libsupport.
4271 * support/timespec.h: New file. Provide timespec helper functions
4272 along with macros in the style of those in check.h.
4273 * support/timespec.c: New file. Implement check functions declared
4274 in support/timespec.h.
4275 * support/timespec-add.c: New file from gnulib containing
4276 timespec_add implementation that handles overflow.
4277 * support/timespec-sub.c: New file from gnulib containing
4278 timespec_sub implementation that handles overflow.
4279 * support/README: Mention timespec.h.
4281 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4284 * nptl/Makefile: Move tst-eintr1 to xtests.
4286 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4288 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4290 (round_mode): Add definition for TRUNC.
4291 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4292 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4293 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4294 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4295 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4297 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4299 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4301 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4303 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4305 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4307 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4309 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4311 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4312 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4313 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4314 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4315 s_truncf-power5+, and s_truncf-ppc64.
4316 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4317 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4319 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4321 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4322 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4324 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4327 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4329 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4330 s_truncf-power5+, and s_truncf-ppc64.
4331 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4333 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4334 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4336 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4339 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4340 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4342 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4344 (round_mode): Add definition for ROUND.
4345 (round_to_integer_float): Likewise.
4346 * sysdeps/powerpc/fpu/s_round.c: New file.
4347 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4348 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4349 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4350 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4352 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4354 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4356 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4358 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4360 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4362 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4364 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4366 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4367 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4368 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4369 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4370 s_roundf-power5+, and s_roundf-ppc64.
4371 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4372 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4374 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4376 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4377 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4379 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4382 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4384 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4385 s_roundf-power5+, and s_roundf-ppc64.
4386 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4388 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4389 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4391 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4393 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4394 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4395 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4397 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4399 (round_mode): Add definition for FLOOR.
4400 * sysdeps/powerpc/fpu/s_floor.c: New file.
4401 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4402 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4403 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4422 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4423 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4424 s_floorf-power5+, and s_floorf-ppc64.
4425 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4426 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4428 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4430 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4431 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4433 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4436 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4438 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4439 s_floorf-power5+, and s_floorf-ppc64.
4440 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4448 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4449 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4450 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4451 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4453 2019-05-08 Mike Crowe <mac@mcrowe.com>
4455 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4456 clock_gettime wrapper for use in tests that fails the test rather
4457 than returning failure.
4459 * support/xtime.h: New file to declare xclock_gettime.
4461 * support/Makefile: Add xclock_gettime.c.
4463 * support/README: Mention xtime.h.
4465 2019-05-08 Florian Weimer <fweimer@redhat.com>
4467 malloc/tst-mallocfork2: Use process-shared barriers.
4468 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4469 (signal_count, sigusr1_sender_pid): Remove.
4470 (iterations): Define constant.
4471 (shared): New variable.
4472 (sigusr1_received): Update comment.
4473 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4474 (signal_sender): Optional use barriers to avoid sending signals
4475 during irrelevant times.
4476 (do_it): Initialize variable shared. Use xfork for error
4477 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4478 the iteration count, independent of signal delivery. Check for
4479 deadlocks in fork. Introduce barriers for reducing signal
4480 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4481 replaced by the barriers. Count signals during fork/free/malloc
4483 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4485 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4487 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4489 (clock_adjtime64) New syscall.
4490 (clock_getres_time64) Likewise.
4491 (clock_gettime64) Likewise.
4492 (clock_nanosleep_time64) Likewise.
4493 (clock_settime64) Likewise.
4494 (futex_time64) Likewise.
4495 (io_pgetevents_time64) Likewise.
4496 (io_uring_enter) Likewise.
4497 (io_uring_register) Likewise.
4498 (io_uring_setup) Likewise.
4499 (mq_timedreceive_time64) Likewise.
4500 (mq_timedsend_time64) Likewise.
4501 (pidfd_send_signal) Likewise.
4502 (ppoll_time64) Likewise.
4503 (pselect6_time64) Likewise.
4504 (recvmmsg_time64) Likewise.
4505 (rt_sigtimedwait_time64) Likewise.
4506 (sched_rr_get_interval_time64) Likewise.
4507 (semtimedop_time64) Likewise.
4508 (timer_gettime64) Likewise.
4509 (timer_settime64) Likewise.
4510 (timerfd_gettime64) Likewise.
4511 (timerfd_settime64) Likewise.
4512 (utimensat_time64) Likewise.
4514 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4515 version to 9 branch.
4517 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4519 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4520 __memmove_thunderx2 to the list of implementations
4521 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4522 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4523 (__memmove_thunderx2): Rewritten using SIMD ld/st
4524 (__memcpy_thunderx2): Fixed handling overlapping cases.
4525 Used ldp/stp instead of ldr/str if possible. Made loops
4528 2019-05-03 Florian Weimer <fweimer@redhat.com>
4530 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4532 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4535 * elf/tst-pldd.c (in_str_list): New function.
4536 (do_test): Add default names for ld and libc as one option.
4538 2019-05-02 Florian Weimer <fweimer@redhat.com>
4540 misc: Add twalk_r function.
4541 * include/search.h (__twalk_r): Declare.
4542 * manual/examples/twalk.c: New file.
4543 * manual/search.texi (Tree Search Function): Document twalk_r.
4544 * misc/Versions (2.30): Export twalk_r.
4545 (GLIBC_PRIVATE): Export __twalk_r.
4546 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4547 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4548 (twalk_r): Add weak alias.
4549 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4550 (walk_trace): New variable.
4551 (struct twalk_with_twalk_r_closure): Define.
4552 (twalk_with_twalk_r_action): New function.
4553 (twalk_with_twalk_r): Likewise.
4554 (walk_action): Call walk_trace_add.
4555 (walk_tree_with): Rename from walk_tree. Add walk argument.
4556 (walk_tree): New function.
4557 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4558 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4560 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4562 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4563 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4564 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4565 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4566 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4567 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4569 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4571 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4573 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4574 (GLIBC_2.30): Likewise.
4575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4576 (GLIBC_2.30): Likewise.
4577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4578 (GLIBC_2.30): Likewise.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4580 (GLIBC_2.30): Likewise.
4581 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4584 (GLIBC_2.30): Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4586 (GLIBC_2.30): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4588 (GLIBC_2.30): Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4590 (GLIBC_2.30): Likewise.
4591 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4597 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4602 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4604 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4607 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4609 Make mktime etc. compatible with __time64_t
4610 Keep these functions compatible with Gnulib while adding
4611 __time64_t support. The basic idea is to move private API
4612 declarations from include/time.h to time/mktime-internal.h, since
4613 the former file cannot easily be shared with Gnulib whereas the
4615 Also, do some other minor cleanup while in the neighborhood.
4616 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4617 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4618 since Gnulib needs it.
4619 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4620 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4621 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4622 (in_time_t_range): New static function.
4623 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4624 so that glibc users are not tempted to use __time64_t.
4625 * time/mktime-internal.h: Rewrite so that it does both glibc
4626 and Gnulib work. Include time.h if not _LIBC.
4627 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4628 (__time64_t): New type or macro, moved here from
4630 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4631 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4632 from include/time.h.
4633 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4634 New macros, taken from GNulib.
4635 (__mktime_internal): New prototype, moved here from include/time.h.
4636 * time/mktime.c (mktime_min, mktime_max, convert_time)
4637 (ranged_convert, __mktime_internal, __mktime64):
4638 * time/timegm.c (__timegm64):
4639 Use __time64_t, not time_t.
4640 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4641 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4643 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4644 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4645 for libc_hidden_def.
4647 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4649 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4651 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4654 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4655 from `-Wmaybe-uninitialized'.
4656 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4658 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4660 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4662 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4663 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4664 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4665 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4666 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4668 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4687 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4690 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4693 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4696 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4699 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4702 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4703 s_ceilf-power5+, and s_ceilf-ppc64.
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4709 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4714 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4715 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4716 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4718 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4720 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4721 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4722 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4723 (sem_getvalue): Likewise.
4725 2019-04-26 Florian Weimer <fweimer@redhat.com>
4727 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4728 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4730 2019-04-26 Florian Weimer <fweimer@redhat.com>
4732 Makeconfig: Move -Wl,-rpath-link options before library references.
4733 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4734 (link-libc): Remove $(link-libc-rpath-link).
4736 2019-04-25 Florian Weimer <fweimer@redhat.com>
4738 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4739 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4740 (+link-static-before-libc): Remove $(CC).
4741 (+link-static, +link-static-tests): Add $(CC).
4742 (+link-before-libc): Remove $(CC).
4743 (+link, +link-pie, +link-pie-printers): Add $(CC).
4745 2019-04-26 Florian Weimer <fweimer@redhat.com>
4747 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4748 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4749 (+link-static-before-libc): Remove $(CC).
4750 (+link-static, +link-static-tests): Add $(CC).
4751 (+link-before-libc): Remove $(CC).
4752 (+link, +link-pie, +link-pie-printers): Add $(CC).
4754 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4757 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4759 2019-04-25 Florian Weimer <fweimer@redhat.com>
4761 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4762 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4763 (bench-link-targets): New variable.
4764 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4766 2019-04-25 Florian Weimer <fweimer@redhat.com>
4768 Also enable BIND_NOW for programs if --enable-bind-now.
4769 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4770 (+link-pie): Use $(link-extra-flags).
4771 (+link-static): Likewise.
4772 [! $(build-pie-default)] (+link): Likewise.
4773 * manual/install.texi (Configuring and compiling): Update
4774 --enable-bind-now description.
4775 * INSTALL: Regenerated.
4777 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4779 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4780 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4782 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4785 * malloc/Makefile (others): Add memusagestat.
4786 ($(objpfx)memusagestat): Delete rule.
4787 (LDLIBS-memusagestat): New variable.
4789 2019-04-24 Florian Weimer <fweimer@redhat.com>
4791 * locale/Makefile (tests-special): Guard setting by
4792 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4793 to run while cross-compiling.
4795 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4798 * elf/Makefile (tests-container): Add tst-pldd.
4799 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4800 (E(find_maps)): Avoid use alloca, use default read file operations
4801 instead of explicit LFS names, and fix infinite loop.
4802 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4803 (get_process_info): Use _Static_assert instead of assert, use default
4804 directory operations instead of explicit LFS names, and free some
4806 * elf/tst-pldd.c: New file.
4808 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4810 * malloc/arena.c (do_set_mallopt_check): Removed.
4812 2019-04-23 Florian Weimer <fweimer@redhat.com>
4814 locale: Add LOCPATH diagnostics to the locale program.
4815 * locale/programs/locale.c (setlocale_failed): New variable.
4816 (try_setlocale): New function.
4817 (quote_string): Likewise.
4818 (setlocale_diagnostics): Likewise.
4819 (main): Call try_setlocale instead of setlocale. Call
4820 setlocale_diagnostics.
4821 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4822 (tst-locale-locpath.out): New target.
4823 * locale/tst-locale-locpath.sh: New file.
4825 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4827 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4830 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4833 * malloc/hooks.c (malloc_check, realloc_check): Use
4834 __builtin_add_overflow on overflow check and adapt to
4835 checked_request2size change.
4836 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4837 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4838 allocation size to PTRDIFF_MAX.
4839 (REQUEST_OUT_OF_RANGE): Remove macro.
4840 (checked_request2size): Change to inline function and limit maximum
4841 requested size to PTRDIFF_MAX.
4842 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4843 maximum allocation size to PTRDIFF_MAX.
4844 (_mid_memalign): Use _int_memalign call for overflow check.
4845 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4846 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4847 limit maximum requested size to PTRDIFF_MAX.
4848 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4849 valloc, pvalloc): Add __attribute_alloc_size__.
4850 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4851 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4852 larger than PTRDIFF_MAX.
4853 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4854 around tests of malloc with negative sizes.
4855 * malloc/tst-posix_memalign.c (do_test): Likewise.
4856 * malloc/tst-pvalloc.c (do_test): Likewise.
4857 * malloc/tst-valloc.c (do_test): Likewise.
4858 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4859 with resulting size allocation larger than PTRDIFF_MAX with
4860 reallocarray_nowarn.
4861 (reallocarray_nowarn): New function.
4862 * NEWS: Mention the malloc function semantic change.
4864 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4866 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4867 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4869 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4870 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4871 * sysdeps/powerpc/fpu/s_fma.c: New file.
4872 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4874 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4875 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4877 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4878 the magic flag store.
4879 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4881 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4883 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4884 Remove rt_sigreturn call.
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4887 Remove rt_sigreturn call.
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4893 * support/Makefile (libsupport-routines): Add support_subprocess,
4894 xposix_spawn, xposix_spawn_file_actions_addclose, and
4895 xposix_spawn_file_actions_adddup2.
4896 (tst-support_capture_subprocess-ARGS): New rule.
4897 * support/capture_subprocess.h (support_capture_subprogram): New
4899 * support/support_capture_subprocess.c (support_capture_subprocess):
4900 Refactor to use support_subprocess and support_capture_poll.
4901 (support_capture_subprogram): New function.
4902 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4903 str_to_write_mode, test_common, parse_int, handle_restart,
4904 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4905 (do_test): Add support_capture_subprogram tests.
4906 * support/subprocess.h: New file.
4907 * support/support_subprocess.c: Likewise.
4908 * support/xposix_spawn.c: Likewise.
4909 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4910 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4911 * support/xspawn.h: Likewise.
4913 2019-04-17 Mike Gerow <gerow@google.com>
4915 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4918 2019-04-11 Florian Weimer <fweimer@redhat.com>
4920 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4921 domain with empty string.
4922 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4924 2019-04-11 Florian Weimer <fweimer@redhat.com>
4926 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4928 (alloc_buffer_next): Change return type to non-const. Update
4931 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4933 * manual/time.texi (Formatting Calendar Time): Add missing percent
4934 sign to conversion specifier.
4936 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4937 Kwok Cheung Yeung <kcy@codesourcery.com>
4940 * malloc/mtrace.c: Define prototypes for all hooks.
4941 (set_default_hooks): New function.
4942 (set_trace_hooks): Likewise.
4943 (save_default_hooks): Likewise.
4944 (tr_freehook): Use new s*_hooks functions.
4945 (tr_mallochook): Likewise.
4946 (tr_reallochook): Likewise.
4947 (tr_memalignhook): Likewise.
4949 (muntrace): Likewise.
4951 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4953 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4954 (generic_stpcpy): New function.
4955 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4956 (generic_stpncpy): New function.
4957 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4958 (generic_strcat): New function.
4959 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4960 (generic_strcpy): New function.
4961 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4962 (STUPID_STRNCAT): Remove function.
4963 (generic_strncat): New function.
4964 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4965 (STUPID_STRNCPY): Remove function.
4966 (generic_strncpy): New function.
4967 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4968 (generic_strnlen): New function.
4969 (memchr_strnlen): New function.
4970 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4971 (memchr_strlen): Likewise.
4973 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4975 * benchtests/bench-strstr.c (input): Add realistic input text.
4976 (stupid_strstr): Remove function.
4977 (basic_strstr): Add function.
4978 (twoway_strstr): Add function.
4979 (do_one_test): Add result checking.
4980 (do_test): Use new input text. Remove accidental early matches.
4981 (test_main): Improve range of tests, reduce unaligned cases.
4983 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4985 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4986 (basic_memmem): Add function.
4987 (twoway_memmem): Add function.
4989 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4991 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4992 * benchtests/bench-malloc-thread.c: Likewise.
4993 * benchtests/bench-skeleton.c: Likewise.
4994 * benchtests/bench-strtod.c: Likewise.
4995 * benchtests/bench-timing.h: Likewise.
4997 2019-04-08 Florian Weimer <fweimer@redhat.com>
4999 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5001 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5002 RES_INSECURE2 security checks.
5003 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5004 RES_INSECURE2 handling.
5006 2019-04-08 Florian Weimer <fweimer@redhat.com>
5008 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5009 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5010 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5012 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5013 (tests-internal): Update justification for tst-resolv-res_init,
5014 tst-resolv-res_init-thread.
5015 (tst-res_use_inet6): Remove target.
5016 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5017 * resolv/res_debug.c (p_option): Remove "inet6" support.
5018 * resolv/res_init.c (res_setoptions): Likewise.
5019 * resolv/res_use_inet6.h: Remove file.
5020 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5022 (res_use_inet6): Always return false.
5023 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5024 * resolv/resolv_context.h: Adjust file comment.
5025 (struct resolv_context): Update comment on __next field.
5026 (__resolv_context_put): Update comment.
5027 * resolv/tst-res_use_inet6.c: Remove file.
5028 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5030 (test_cases): Adjust test case.
5031 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5032 (thread_byname2_af_inet6): Use old byname_inet6 code.
5033 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5034 (gai): Remove do_inet6 argument.
5035 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5036 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5037 (thread_gai_unspec_inet6): Remove functions.
5038 (do_test): Adjust thread_funcs.
5039 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5041 (gaih_inet): Do not disable RES_USE_INET6 flag.
5043 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5045 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5046 and remove redundant code.
5048 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5050 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5052 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5061 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5064 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5066 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5068 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5071 Remove wcsrchr optimizations.
5072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5074 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5077 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5079 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5087 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5088 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5090 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5091 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5093 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5095 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5098 Remove wcschr optimizations.
5099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5101 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5104 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5106 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5114 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5115 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5116 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5117 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5118 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5120 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5122 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5125 Remove wcscpy optimizations.
5126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5128 * include/loop_unroll.h: New file.
5129 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5130 besides generic implementation.
5132 2019-04-03 DJ Delorie <dj@redhat.com>
5134 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5135 snprintf truncating output.
5137 2019-04-02 DJ Delorie <dj@redhat.com>
5139 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5142 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5145 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5147 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5148 (mkreftable): Add rules for the new Japanese era and the new dates.
5150 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5151 Rafał Lużyński <digitalfreak@lingonborough.com>
5153 * time/tst-strftime2.c (date_t): Explicitly define the type.
5154 (dates): Use natural month and year numbers to express a date.
5155 (is_before): New function to compare dates.
5156 (mkreftable): Minor improvements to simplify maintenance.
5157 (do_test): Reflect the changes in dates array.
5160 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5161 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5162 * time/tst-strftime2.c (locales): Likewise.
5163 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5164 2010-04-01, and 2011-04-01.
5165 (mkreftable): Add rules for the new locales and the new dates.
5167 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5169 * localedata/locales/ja_JP: Add comments to era entries.
5171 2019-04-01 DJ Delorie <dj@redhat.com>
5174 * time/strptime_l.c (%Ey): Fix fencepost error.
5175 * time/tst-strftime3.c: New.
5176 * time/Makefile (tests): Add tst-strftime3.
5178 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5180 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5181 conditional branch to DIVBYZERO. Fix unwind info.
5182 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5183 excb after conditional branch to $powerof2. Add missing unop
5184 instructions and .align directives and reorder instructions to
5187 2019-04-01 Richard Henderson <rth@twiddle.net>
5189 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5191 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5194 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5196 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5197 $libc_cv_riscv_float_abi in `test' invocation.
5198 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5200 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5202 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5204 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5206 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5207 (_GET_SI_FPSCR): Likewise.
5208 (_SET_SI_FPSCR): Likewise.
5210 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5212 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5214 (signbit): Use builtin for clang 3.3.
5215 (isinf): Use builtin for clang 3.7.
5217 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5219 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5221 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5223 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5226 2019-03-25 Mike Crowe <mac@mcrowe.com>
5228 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5229 pthread_rwlock_timedrdlock with calls to
5230 pthread_rwlock_timedwrlock to ensure that the latter is tested
5231 too. Use new function name in diagnostic messages too.
5233 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5234 (do_test) Use libsupport test macros rather than hand-coded
5235 conditionals and error messages. Ensure that sem_init returns zero
5236 rather than not -1. Use <support/test-driver.c> rather than
5239 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5240 test macros rather than hand-coded conditionals and error messages.
5241 Use <support/test-driver.c> rather than test-skeleton.c.
5243 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5247 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5248 (NT_MIPS_MSA): Likewise.
5250 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5252 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5253 * benchtests/README: Update description.
5254 * benchtests/bench-timing.h: Default to hp-timing.
5255 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5256 HP_TIMING_PRINT): Remove.
5257 (HP_TIMING_NOW): Add generic implementation.
5258 (hp_timing_t): Change to uint64_t.
5260 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5262 * nptl/descr.h: Likewise.
5263 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5264 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5265 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5266 Abstract hp-timing usage with RTLD_* macros.
5267 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5268 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5269 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5270 HP_TIMING_NONAVAIL): Likewise.
5271 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5273 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5274 HP_SMALL_TIMING_AVAIL): Likewise.
5275 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5276 HP_SMALL_TIMING_AVAIL): Likewise.
5277 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5278 HP_SMALL_TIMING_AVAIL): Likewise.
5279 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5280 HP_SMALL_TIMING_AVAIL): Likewise.
5281 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5283 * sysdeps/generic/hp-timing-common.h: Update comment with
5284 HP_TIMING_AVAIL removal.
5286 * include/random-bits.h: New file.
5287 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5288 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5290 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5291 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5294 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5295 * rt/Makefile (clock-routines): Remove get_clockfreq.
5296 * rt/get_clockfreq.c: Remove file.
5297 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5298 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5301 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5303 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5304 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5305 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5306 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5307 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5309 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5310 pthread_clock_settime.
5311 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5312 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5313 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5314 * elf/rtld.c (_dl_start_final): Likewise.
5315 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5316 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5318 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5319 (_dl_cpuclock_offset): Remove.
5320 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5321 cpuclock_offset_ununsed.
5322 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5323 cpuclock_offset set.
5324 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5325 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5326 * nptl/pthread_clock_gettime.c: Remove file.
5327 * nptl/pthread_clock_settime.c: Likewise.
5328 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5329 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5330 and CLOCK_PROCESS_CPUTIME_ID support.
5331 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5332 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5333 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5334 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5335 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5337 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5339 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5341 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5342 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5343 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5345 * sysdeps/s390/memmem-arch13.S: New file.
5346 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5347 if it is only used as fallback.
5348 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5349 * sysdeps/s390/multiarch/ifunc-impl-list.c
5350 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5352 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5354 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5355 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5356 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5358 * sysdeps/s390/multiarch/ifunc-impl-list.c
5359 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5360 * sysdeps/s390/strstr-arch13.S: New file.
5361 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5362 if it is only used as fallback.
5363 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5365 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5367 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5368 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5369 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5370 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5372 * sysdeps/s390/multiarch/ifunc-impl-list.c
5373 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5374 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5375 S390_IS_ARCH13_MIE3): New defines.
5377 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5379 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5380 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5381 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5382 * sysdeps/s390/configure: Regenerated.
5384 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5386 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5387 Add vxe2, vxp, dflt, sort flags.
5388 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5389 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5391 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5392 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5393 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5394 HWCAP_S390_DFLT): Define.
5396 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5399 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5400 of compiler warning.
5401 * locale/programs/ld-collate.c (collate_output): Likewise.
5403 2019-03-21 DJ Delorie <dj@redhat.com>
5406 * iconv/iconvconfig.c (write_output): Replace floating point math
5407 with integer math to avoid imprecise results.
5408 * locale/programs/ld-collate.c (collate_output): Likewise.
5410 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5412 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5413 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5415 2019-03-20 mansayk <6688000@gmail.com>
5418 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5419 (abday): Likewise, but remove the trailing dots.
5421 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5423 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5425 (HWCAP_PACA): Likewise.
5426 (HWCAP_PACG): Likewise.
5427 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5429 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5431 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5433 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5436 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5438 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5440 (old_getpagesize): New syscall.
5442 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5445 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5446 * localedata/locales/cmn_TW (era): Likewise.
5447 * localedata/locales/hak_TW (era): Likewise.
5448 * localedata/locales/lzh_TW (era): Likewise.
5449 * localedata/locales/nan_TW (era): Likewise.
5451 2019-03-14 Adam Maris <amaris@redhat.com>
5453 * malloc/malloc.c (_int_malloc): Check for large bin list
5454 corruption when inserting unsorted chunk.
5456 2019-03-14 Florian Weimer <fweimer@redhat.com>
5458 Remove obsolete, never-implemented XSI STREAMS declarations.
5459 * manual/terminal.texi (Allocation): Remove portability note and
5461 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5463 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5464 * sysdeps/unix/inet/Subdirs (streams): Remove.
5465 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5466 (conformtest-headers-UNIX98): Likewise.
5467 (conformtest-headers-XOPEN2K): Likewise.
5468 (conformtest-headers-POSIX2008): Likewise.
5469 * posix/compat-streams.c: New file.
5470 * posix/Makefile (routines): Add it.
5471 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5472 getpmsg, isastream, putmsg, putpmsg.
5473 (GLIBC_2.30): New section.
5474 * bits/stropts.h: Remove file.
5475 * bits/xtitypes.h: Likewise.
5476 * conform/data/stropts.h-data: Likewise.
5477 * include/stropts.h: Likewise.
5478 * include/sys/stropts.h: Likewise.
5479 * include/xtitypes.h: Likewise.
5480 * streams/Makefile: Likewise.
5481 * streams/fattach.c: Likewise.
5482 * streams/fdetach.c: Likewise.
5483 * streams/getmsg.c: Likewise.
5484 * streams/getpmsg.c: Likewise.
5485 * streams/isastream.c: Likewise.
5486 * streams/putmsg.c: Likewise.
5487 * streams/putpmsg.c: Likewise.
5488 * streams/stropts.h: Likewise.
5489 * streams/sys/stropts.h: Likewise.
5490 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5491 * sysdeps/s390/bits/xtitypes.h: Likewise.
5492 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5493 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5494 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5495 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5496 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5497 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5498 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5499 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5500 * sysdeps/x86/bits/xtitypes.h: Likewise.
5502 2019-03-14 Florian Weimer <fweimer@redhat.com>
5504 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5506 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5507 but not with libnss_files.
5508 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5510 2019-03-14 Zack Weinberg <zackw@panix.com>
5512 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5513 Specify encoding="utf-8" when opening headers to check.
5515 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5517 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5519 (Context.checkout_tar): Handle variable major version for Linux
5522 2019-03-13 Florian Weimer <fweimer@redhat.com>
5525 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5527 2019-03-13 Zack Weinberg <zackw@panix.com>
5529 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5531 * include/inttypes.h: Adjust to match.
5532 * include/stdint.h: New wrapper.
5534 2019-03-13 Zack Weinberg <zackw@panix.com>
5536 * scripts/check-obsolete-constructs.py: New test script.
5537 * scripts/check-installed-headers.sh: Remove tests for
5538 obsolete typedefs, superseded by check-obsolete-constructs.py.
5539 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5540 as a special test. Update commentary.
5541 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5542 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5544 * posix/sys/types.h (__u_intN_t): Remove.
5545 (u_int8_t): Typedef using __uint8_t.
5546 (u_int16_t): Typedef using __uint16_t.
5547 (u_int32_t): Typedef using __uint32_t.
5548 (u_int64_t): Typedef using __uint64_t.
5550 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5552 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5554 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5555 Ignore types other than AT_HWCAP.
5556 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5557 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5559 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5560 in the case of falling back to generic output mechanism.
5561 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5564 2019-03-12 Florian Weimer <fweimer@redhat.com>
5566 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5568 2019-03-12 Florian Weimer <fweimer@redhat.com>
5571 resolv: Enable full ICMP errors for UDP DNS sockets
5572 * resolv/res_enable_icmp.c: New file.
5573 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5574 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5575 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5578 2019-03-11 Mao Han <han_mao@c-sky.com>
5580 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5581 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5583 2019-03-11 Mao Han <han_mao@c-sky.com>
5585 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5586 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5587 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5589 2019-03-11 Mao Han <han_mao@c-sky.com>
5591 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5593 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5596 2019-03-11 Mao Han <han_mao@c-sky.com>
5598 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5599 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5602 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5605 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5606 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5608 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5609 * localedata/unicode-gen/PropList.txt: Likewise.
5610 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5611 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5612 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5613 * localedata/charmaps/UTF-8: Regenerate.
5614 * localedata/locales/i18n_ctype: Likewise.
5615 * localedata/locales/tr_TR: Likewise.
5616 * localedata/locales/translit_circle: Likewise.
5617 * localedata/locales/translit_cjk_compat: Likewise.
5618 * localedata/locales/translit_combining: Likewise.
5619 * localedata/locales/translit_compat: Likewise.
5620 * localedata/locales/translit_font: Likewise.
5621 * localedata/locales/translit_fraction: Likewise.
5623 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5625 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5626 than after operators.
5627 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5628 (setitimer_locked): Likewise.
5629 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5630 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5631 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5632 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5633 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5634 (PPC_CPU_SUPPORTED): Likewise.
5635 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5636 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5637 (stat_overflow): Likewise.
5638 (statfs_overflow): Likewise.
5639 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5640 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5641 (eq_ttyname_r): Likewise.
5642 (run_chroot_tests): Likewise.
5644 2019-03-07 Florian Weimer <fweimer@redhat.com>
5646 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5649 2019-03-07 Martin Liska <mliska@suse.cz>
5651 * math/Makefile: Change location where math-vector-fortran.h is
5653 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5654 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5655 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5656 * scripts/check-installed-headers.sh: Skip Fortran header files.
5657 * scripts/check-wrapper-headers.py: Likewise.
5659 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5661 * nptl/nptl-init.c (__have_futex_clock_realtime,
5662 __have_futex_clock_realtime): Remove definition.
5663 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5664 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5665 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5666 __ASSUME_FUTEX_CLOCK_REALTIME support.
5667 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5669 * sysdeps/unix/sysv/linux/kernel-features.h
5670 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5671 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5674 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5676 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5677 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5678 __GI___wcscpy and wcscpy.
5680 2019-03-04 Florian Weimer <fweimer@redhat.com>
5682 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5684 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5687 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5689 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5692 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5695 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5696 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5698 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5700 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5702 (do_test): Likewise.
5703 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5704 (do_test_call_varg): Likewise.
5705 (do_test_call_rarg): Likewise.
5706 * sysdeps/ieee754/ldbl-opt/Makefile
5707 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5709 ($(objpfx)tst-nldbl-warn.c): New rule.
5710 ($(objpfx)tst-nldbl-error.c): Likewise.
5711 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5714 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5717 * include/bits/error-ldbl.h: New file.
5718 * include/error.h: Include stdarg.h. Declare internal functions
5719 __error_internal and __error_at_line_internal.
5720 * misc/Makefile (headers): Add bits/error-ldbl.h.
5721 * misc/bits/error-ldbl.h: New file.
5722 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5723 avoid the inclusion of bits/error.h.
5724 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5725 and __nldbl_error_at_line.
5726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5727 (__nldbl_error, __ndlbl_error_at_line): New functions.
5728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5729 Redirect error and error_at_line.
5730 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5743 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5746 * include/bits/err-ldbl.h: New file.
5747 * include/err.h: Add prototypes for the internal functions:
5748 __vwarnx_internal and __vwarn_internal.
5749 * misc/Makefile (headers): Add bits/err-ldbl.h.
5750 * misc/bits/err-ldbl.h: New file.
5751 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5752 defined, i.e.: when -mlong-double-64 is in use.
5753 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5754 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5755 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5757 (VA_CALL): New macro.
5758 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5759 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5762 declare prototypes for the new functions.
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 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5778 * sysdeps/ieee754/ldbl-opt/Makefile
5779 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5780 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5781 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5783 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5786 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5787 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5788 * argp/bits/argp-ldbl.h: New file.
5789 * include/argp.h: Include stdarg.h. Add prototypes for internal
5790 functions: __argp_error_internal and __argp_failure_internal.
5791 * include/bits/argp-ldbl.h: New file.
5792 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5793 __nldbl_argp_error and __nldbl_argp_failure.
5794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5795 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5797 Redirect argp_error and argp_failure calls.
5798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5808 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5811 2019-03-01 Florian Weimer <fweimer@redhat.com>
5814 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5815 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5816 code, to avoid creating an ABI tag note.
5817 (modules-names-nobuild): Add tst-big-note-lib.
5819 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5821 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5822 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5824 2019-03-01 Florian Weimer <fweimer@redhat.com>
5827 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5828 (__netlink_assert_response): Add additional missing newlines.
5830 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/powerpc/powerpc32/dl-machine.c
5833 (__elf_machine_fixup_plt): Use space before '('.
5834 (__process_machine_rela): Likewise.
5835 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5837 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5839 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5841 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5842 (pattern): Likewise.
5844 (check_result): Likewise.
5845 (check_excepts): Likewise.
5846 (check_op): Likewise.
5847 (fail_xr): Likewise.
5848 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5849 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5851 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5854 (__makecontext): Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5858 2019-02-28 Florian Weimer <fweimer@redhat.com>
5861 elf: Add test with a local IFUNC resolver.
5862 * elf/ifuncmain9.c: New file.
5863 * elf/ifuncmain9pic.c: Likewise.
5864 * elf/ifuncmain9picstatic.c: Likewise.
5865 * elf/ifuncmain9pie.c: Likewise.
5866 * elf/ifuncmain9static.c: Likewise.
5867 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5868 ifuncmain9static, ifuncmain9picstatic.
5869 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5870 Add ifuncmain9, ifuncmain9pic.
5871 * elf/Makefile [multi-arch && build-shared && have-fpie]
5872 (ifunc-pie-tests): Add ifuncmain9pie.
5873 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5874 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5875 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5877 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5879 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5880 * configure: Regenerated.
5881 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5883 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5886 symbol as __wcspcy instead of wcscpy.
5888 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5890 * include/stdio.h (__renameat2): New hidden prototype.
5891 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5892 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5893 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5894 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5896 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5898 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5901 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5902 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5903 * benchtests/bench-strlen.c (do_test): Likewise.
5904 (test_main): Likewise.
5905 * catgets/gencat.c (read_old): Likewise.
5906 * elf/cache.c (load_aux_cache): Likewise.
5907 * iconvdata/bug-iconv8.c (do_test): Likewise.
5908 * math/test-tgmath-ret.c (do_test): Likewise.
5909 * nis/nis_call.c (rec_dirsearch): Likewise.
5910 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5911 * nptl/tst-audit-threads.c (do_test): Likewise.
5912 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5913 * nss/nss_test1.c (init): Likewise.
5914 * nss/test-netdb.c (test_hosts): Likewise.
5915 * posix/execvpe.c (maybe_script_execute): Likewise.
5916 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5917 * stdio-common/tst-printf.c (do_test): Likewise.
5918 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5919 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5920 * stdlib/qsort.c (STACK_SIZE): Likewise.
5921 * stdlib/test-canon.c (do_test): Likewise.
5922 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5923 * string/memcmp.c (OPSIZ): Likewise.
5924 * string/test-strcpy.c (do_test): Likewise.
5925 (do_random_tests): Likewise.
5926 * string/test-strlen.c (do_test): Likewise.
5927 (test_main): Likewise.
5928 * string/test-strrchr.c (do_test): Likewise.
5929 (do_random_tests): Likewise.
5930 * string/tester.c (test_memrchr): Likewise.
5931 (test_memchr): Likewise.
5932 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5933 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5934 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5935 (read_encoded_value_with_base): Likewise.
5936 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5937 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5938 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5939 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5940 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5941 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5943 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5945 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5946 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5947 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5949 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5951 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5953 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5955 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5956 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5957 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5958 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5959 * time/test_time.c (main): Likewise.
5961 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5963 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5965 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5968 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5971 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5973 * include/wchar.h (__wcscpy): New prototype.
5974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5975 (__wcscpy): Route internal symbol to generic implementation.
5976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5977 Add internal __wcscpy alias.
5978 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5979 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5980 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5981 * wcsmbs/wcscpy.c (wcscpy): Add
5982 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5983 use generic implementation.
5984 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5986 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5989 * sysdeps/m68k/wcpcpy.c: Remove file.
5990 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5992 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5994 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5995 than after operators.
5996 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5997 * sysdeps/mach/hurd/getcwd.c
5998 (__hurd_canonicalize_directory_name_internal): Likewise.
5999 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6000 (pthread_mutex_consistent): Likewise.
6001 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6003 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6004 (__pthread_mutex_transfer_np): Likewise.
6005 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6006 (__pthread_mutex_unlock): Likewise.
6007 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6008 (mtx_owned_p): Likewise.
6009 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6010 (pthread_mutexattr_getrobust): Likewise.
6011 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6012 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6014 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6015 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6016 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6017 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6018 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6020 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6022 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6024 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6025 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6026 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6027 (____longjmp_chk): Likewise.
6028 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6031 (INTERNAL_SYSCALL): Likewise.
6032 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6033 (INTERNAL_SYSCALL): Likewise.
6034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6035 (__get_clockfreq_via_cpuinfo): Likewise.
6037 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6039 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6040 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6041 (WORD_COPY_BWD): Likewise.
6042 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6045 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6046 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6048 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6050 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6052 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6053 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6054 rather than after operators.
6055 * elf/cache.c (print_cache): Likewise.
6056 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6057 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6058 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6059 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6060 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6061 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6062 (reauth_proc): Likewise.
6063 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6064 (__file_name_split_at): Likewise.
6065 (__directory_name_split_at): Likewise.
6066 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6067 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6068 * iconv/gconv_dl.c (do_print): Likewise.
6069 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6070 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6071 * locale/setlocale.c (new_composite_name): Likewise.
6072 * malloc/memusagestat.c (main): Likewise.
6073 * misc/fstab.c (fstab_convert): Likewise.
6074 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6076 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6077 (getgrent_next_file): Likewise.
6078 (internal_getgrnam_r): Likewise.
6079 (internal_getgrgid_r): Likewise.
6080 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6082 (internal_getgrent_r): Likewise.
6083 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6084 (getpwent_next_nss): Likewise.
6085 (getpwent_next_file): Likewise.
6086 (internal_getpwnam_r): Likewise.
6087 (internal_getpwuid_r): Likewise.
6088 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6090 (getspent_next_nss): Likewise.
6091 (internal_getspnam_r): Likewise.
6092 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6093 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6094 * string/strchr.c (STRCHR): Likewise.
6095 * string/strchrnul.c (STRCHRNUL): Likewise.
6096 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6097 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6098 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6099 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6100 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6102 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6103 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6104 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6105 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6106 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6107 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6108 (open_file): Likewise.
6109 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6110 (pthread_mutexattr_setprotocol): Likewise.
6111 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6112 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6113 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6114 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6115 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6117 (elf_machine_rela): Likewise.
6118 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6119 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6120 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6121 * sysdeps/posix/rename.c (rename): Likewise.
6122 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6123 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6124 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6125 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6126 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6127 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6128 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6130 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6132 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6133 * time/tzfile.c (__tzfile_compute): Likewise.
6135 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6137 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6138 rather than after operators.
6139 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6140 * crypt/md5.c (md5_finish_ctx): Likewise.
6141 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6142 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6143 * elf/cache.c (load_aux_cache): Likewise.
6144 * elf/dl-load.c (open_verify): Likewise.
6145 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6146 * elf/readelflib.c (process_elf_file): Likewise.
6147 * elf/rtld.c (dl_main): Likewise.
6148 * elf/sprof.c (generate_call_graph): Likewise.
6149 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6150 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6151 * hurd/dtable.c (reauth_dtable): Likewise.
6152 * hurd/getdport.c (__getdport): Likewise.
6153 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6154 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6155 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6157 * hurd/hurdioctl.c (fioctl): Likewise.
6158 * hurd/hurdselect.c (_hurd_select): Likewise.
6159 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6160 (STOPSIGS): Likewise.
6161 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6162 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6163 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6164 * hurd/msgportdemux.c (msgport_server): Likewise.
6165 * hurd/setauth.c (_hurd_setauth): Likewise.
6166 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6167 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6168 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6169 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6170 * login/tst-utmp.c (do_check): Likewise.
6171 (simulate_login): Likewise.
6172 * mach/lowlevellock.h (lll_lock): Likewise.
6173 (lll_trylock): Likewise.
6174 * math/test-fenv.c (ALL_EXC): Likewise.
6175 * math/test-fenvinline.c (ALL_EXC): Likewise.
6176 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6177 * nis/nis_call.c (__do_niscall3): Likewise.
6178 * nis/nis_callback.c (cb_prog_1): Likewise.
6179 * nis/nis_defaults.c (searchaccess): Likewise.
6180 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6181 * nis/nis_ismember.c (internal_ismember): Likewise.
6182 * nis/nis_local_names.c (nis_local_principal): Likewise.
6183 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6184 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6186 * nis/ypclnt.c (yp_match): Likewise.
6187 (yp_first): Likewise.
6188 (yp_next): Likewise.
6189 (yp_master): Likewise.
6190 (yp_order): Likewise.
6191 * nscd/hstcache.c (cache_addhst): Likewise.
6192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6193 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6194 (internal_getpwuid_r): Likewise.
6195 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6196 * posix/glob.h (__GLOB_FLAGS): Likewise.
6197 * posix/regcomp.c (peek_token): Likewise.
6198 (peek_token_bracket): Likewise.
6199 (parse_expression): Likewise.
6200 * posix/regexec.c (sift_states_iter_mb): Likewise.
6201 (check_node_accept_bytes): Likewise.
6202 * posix/tst-spawn3.c (do_test): Likewise.
6203 * posix/wordexp-test.c (testit): Likewise.
6204 * posix/wordexp.c (parse_tilde): Likewise.
6205 (exec_comm): Likewise.
6206 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6207 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6208 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6209 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6210 * stdio-common/tst-fileno.c (do_test): Likewise.
6211 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6212 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6213 * stdlib/strtod_l.c (round_and_return): Likewise.
6214 (____STRTOF_INTERNAL): Likewise.
6215 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6216 * string/strcspn.c (STRCSPN): Likewise.
6217 * string/test-memmem.c (simple_memmem): Likewise.
6218 * termios/tcsetattr.c (tcsetattr): Likewise.
6219 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6220 * time/asctime.c (asctime_internal): Likewise.
6221 * time/strptime_l.c (__strptime_internal): Likewise.
6222 * time/sys/time.h (timercmp): Likewise.
6223 * time/tzfile.c (__tzfile_compute): Likewise.
6225 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6228 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6230 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6232 * argp/argp-help.c (__argp_error_internal): New function,
6233 renamed from __argp_error, but that takes a 'mode_flags'
6234 parameter to control the format of long double parameters.
6235 (__argp_error): Converted into a call __argp_error_internal.
6236 (__argp_failure_internal): New function, renamed from
6237 __argp_failure, but that takes a 'mode_flags' parameter.
6238 (__argp_failure): Converted into a call __argp_failure_internal.
6239 * misc/err.c (__vwarnx_internal): New function, renamed from
6240 vwarnx, but that takes a 'mode_flags' parameter.
6241 (vwarnx): Converted into a call to __vwarnx_internal.
6242 (__vwarn_internal): New function, renamed from vwarn, but that
6243 takes a 'mode_flags' parameter.
6244 (vwarn): Converted into a call to __vwarn_internal.
6245 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6246 call to __vfxprintf with 'mode_flags'.
6247 (__error_internal): New function, renamed from error, but that
6248 takes a 'mode_flags' parameter.
6249 (error): Converted into a call to __error_internal.
6250 (__error_at_line_internal): New function, renamed from
6251 error_at_line, but that takes a 'mode_flags' parameter.
6252 (error_at_line): Converted into a call to
6253 __error_at_line_internal.
6254 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6255 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6258 2019-02-20 Martin Liska <mliska@suse.cz>
6260 * math/Makefile: Install math-vector-fortran.h.
6261 * bits/math-vector-fortran.h: New file.
6262 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6264 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6266 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6267 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6269 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6271 * nptl/pthread_mutex_trylock.c: Fix comment.
6273 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6275 * nptl/pthread_tryjoin.c: Fix comment.
6277 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6281 after R_SPARC_H34 case.
6283 2019-02-18 Florian Weimer <fweimer@redhat.com>
6285 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6286 (getanswer): Do not call Dprintf.
6287 (res_gethostbyname2_context): Likewise.
6288 (res_gethostbyaddr_context): Likewise.
6290 2019-02-18 Florian Weimer <fweimer@redhat.com>
6292 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6294 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6296 * libio/stdfiles.c: Update comment.
6297 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6298 set _IO_stdin, _IO_stdout, _IO_stderr.
6299 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6300 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6302 (_IO_deallocate_file): New inline function.
6303 * libio/iolibio.h (_IO_vprintf): Remove definition.
6304 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6305 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6306 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6308 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6309 __builtin_expect. Use _IO_legacy_file.
6311 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6313 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6314 Initialize ctid with a known value and remove update of ctid
6316 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6317 as assumed current value of ctid_ptr.
6319 2019-02-16 Florian Weimer <fweimer@redhat.com>
6321 Check that non-sysdeps headers have wrapper headers.
6322 * scripts/check-wrapper-headers.py: New file.
6323 * Makefile (tests-special): Add check-wrapper-headers.out.
6324 (check-wrapper-headers.out): New target.
6325 * Rules (tests-special): Add check-wrapper-headers.out.
6326 (check-wrapper-headers.out): New target.
6328 2019-02-16 Florian Weimer <fweimer@redhat.com>
6330 Add missing header wrappers under include/.
6331 * include/ar.h: New file.
6332 * include/bits/mqueue2.h: Likewise.
6333 * include/bits/stdio.h: Likewise.
6334 * include/bits/stdio2.h: Likewise.
6335 * include/fstab.h: Likewise.
6336 * include/fts.h: Likewise.
6337 * include/lastlog.h: Likewise.
6338 * include/netinet/icmp6.h: Likewise.
6339 * include/netinet/igmp.h: Likewise.
6340 * include/netinet/ip6.h: Likewise.
6341 * include/re_comp.h: Likewise.
6342 * include/regexp.h: Likewise.
6343 * include/rpcsvc/bootparam.h: Likewise.
6344 * include/rpcsvc/yp_prot.h: Likewise.
6345 * include/sys/random.h: Likewise.
6346 * include/sys/stropts.h: Likewise.
6347 * include/sys/ttychars.h: Likewise.
6348 * include/sys/vfs.h: Likewise.
6349 * include/wait.h: Likewise.
6351 2019-02-16 Florian Weimer <fweimer@redhat.com>
6353 * nptl_db/proc_service.h: Move to ...
6354 * sysdeps/nptl/proc_service.h: ... here.
6355 * nptl_db/thread_db.h: Move to ...
6356 * sysdeps/nptl/thread_db.h: ... here.
6357 * nptl/descr.h: Include <thread_db.h>.
6359 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6361 * io/Makefile (tests): Add tst-lockf.
6362 * io/lockf.c (lockf): Use __fcntl and only define for
6363 !__OFF_T_MATCHES_OFF64_T.
6364 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6365 __OFF_T_MATCHES_OFF64_T case.
6366 * io/tst-lockf.c: New file.
6367 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6368 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6369 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6370 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6371 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6373 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6374 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6375 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6377 2019-02-15 Florian Weimer <fweimer@redhat.com>
6380 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6381 pd->result after the thread descriptor has been freed.
6383 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6385 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6386 from function return type.
6388 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6390 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6392 * scripts/test_printers_common.py: Set TERM to a known harmless
6395 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6397 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6398 (xdr_u_int): Likewise.
6399 (xdr_enum): Likewise.
6400 (xdr_bytes): Reword fall-through comment.
6401 (xdr_string): Likewise.
6403 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6406 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6407 (tests): Add tst-join8 tst-join9.
6408 * nptl/lll_timedwait_tid.c: Remove file.
6409 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6410 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6411 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6412 * nptl/pthread_join_common.c (timedwait_tid): New function.
6413 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6415 * nptl/tst-join5.c (thread_join): New function.
6416 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6418 * nptl/tst-join8.c: New file.
6419 * nptl/tst-join9.c: Likewise.
6420 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6421 lll_futex_timed_wait_cancel): Add generic macros.
6422 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6424 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6425 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6426 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6427 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6429 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6431 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6432 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6433 (lll_futex_timed_wait_cancel): New macro.
6435 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6437 * benchtests/Makefile: Add malloc-simple benchmark.
6438 * benchtests/bench-malloc-simple.c: New benchmark.
6440 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6442 * benchtests/bench-memmove.c (do_one_test): Remove unused
6445 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6449 2019-01-13 Jim Wilson <jimw@sifive.com>
6452 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6453 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6455 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6457 * nptl/Makefile (tests): Add tst-unwind-thread.
6458 (CFLAGS-tst-unwind-thread.c): Define.
6459 * nptl/tst-unwind-thread.c: New file.
6460 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6463 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6465 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6467 * nis/nis_call.c (__do_niscall3): Likewise.
6469 * catgets/gencat.c (normalize_line): Use braces around empty
6471 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6472 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6473 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6474 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6475 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6476 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6477 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6480 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6483 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6485 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6486 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6487 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6488 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6489 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6490 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6491 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6492 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6493 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6494 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6495 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6496 * benchtests/bench-bcopy.c: Delete file.
6497 * benchtests/bench-bzero.c: Likewise.
6498 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6499 (simple_memccpy): Remove.
6500 (generic_memccpy): Add function.
6501 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6502 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6503 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6504 (generic_mempcpy): Add new function.
6505 * benchtests/bench-memset.c (simple_bzero): Remove.
6506 (builtin_bzero): Remove.
6507 (builtin_memset): Remove.
6508 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6509 (generic_rawmemchr): Add new function.
6511 2019-02-12 Florian Weimer <fweimer@redhat.com>
6513 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6515 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6518 * elf/Makefile (tests): Add tst-audit13.
6519 (modules-names): Add tst-audit13mod1.
6520 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6522 * elf/tst-audit13.c: New file.
6523 * elf/tst-audit13mod1.c: Likewise.
6525 2019-02-12 Florian Weimer <fweimer@redhat.com>
6528 * elf/rtld.c (unload_audit_module): New function.
6529 (report_audit_module_load_error): Likewise.
6530 (load_audit_module): Likewise. Extracted from dl_main. Call
6531 _dl_close if the laversion symbol cannot be found. Use early
6532 returns for error handling. Add malloc error check. Check for a
6533 zero return value from la_version. Remove spurious comment about
6534 static TLS initialization. Remove useless casts.
6535 (notify_audit_modules_of_loaded_object): New function. Extracted
6537 (load_audit_module): Likewise.
6538 (dl_main): Call load_audit_modules.
6540 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6542 * elf/dl-exception.c (_dl_exception_create_format): Add
6543 fall-through comments.
6544 * elf/ldconfig.c (parse_conf_include): Likewise.
6545 * elf/rtld.c (print_statistics): Likewise.
6546 * locale/programs/charmap.c (parse_charmap): Likewise.
6547 * misc/mntent_r.c (__getmntent_r): Likewise.
6548 * posix/wordexp.c (parse_arith): Likewise.
6549 (parse_backtick): Likewise.
6550 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6551 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6554 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6556 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6557 Use float instead of double.
6559 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6561 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6563 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6565 * sysdeps/powerpc/bits/mathinline.h: Remove.
6567 2019-02-08 Florian Weimer <fweimer@redhat.com>
6569 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6570 * math/bits/math-finite.h: Move to ...
6571 * bits/math-finite.h: ... here.
6573 2019-02-08 Florian Weimer <fweimer@redhat.com>
6575 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6576 * bits/unistd_ext.h: here.
6578 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6581 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6582 * nss/tst-nss-files-hosts-long.c: New file.
6583 * nss/tst-nss-files-hosts-long.root: New directory.
6584 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6585 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6587 2019-02-08 Florian Weimer <fweimer@redhat.com>
6589 * include/bits/unistd_ext.h: Remove file.
6590 * posix/bits/unistd_ext.h: Move to ...
6591 * sysdeps/generic/bits/unistd_ext.h: ... here.
6593 2019-02-08 Florian Weimer <fweimer@redhat.com>
6595 * include/bits/unistd_ext.h: New file.
6597 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6599 * time/tst-strftime2.c: Use array_length macros instead of magic
6602 2019-02-08 Florian Weimer <fweimer@redhat.com>
6605 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6607 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6608 locking if the new do_locking argument is true.
6609 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6610 __run_fork_handlers.
6612 2019-02-08 Florian Weimer <fweimer@redhat.com>
6615 Linux: Add gettid system call wrapper.
6616 * posix/Makefile (headers): Add bits/unistd_ext.h.
6617 * posix/bits/unistd_ext.h: New file.
6618 * posix/unistd.h: Include it.
6619 * manual/process.texi (Process Identification): Document gettid.
6620 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6621 tst-gettid, tst-gettid-kill.
6622 (tst-gettid): Link with $(shared-thread-library).
6623 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6624 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6625 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6626 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6627 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6628 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6630 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6632 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6633 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6635 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6637 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6639 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6641 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6643 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6645 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6647 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6648 (GLIBC_2.30): Likewise.
6649 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6650 (GLIBC_2.30): Likewise.
6651 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6652 (GLIBC_2.30): Likewise.
6653 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6654 (GLIBC_2.30): Likewise.
6655 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6658 (GLIBC_2.30): Likewise.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6660 (GLIBC_2.30): Likewise.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6662 (GLIBC_2.30): Likewise.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6664 (GLIBC_2.30): Likewise.
6665 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6667 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6671 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6674 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6676 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6678 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6680 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6682 2019-02-08 Florian Weimer <fweimer@redhat.com>
6684 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6685 compatibility symbols.
6687 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6690 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6691 Add compiler barriers and comments.
6693 2019-02-07 Florian Weimer <fweimer@redhat.com>
6695 * include/array_length.h (array_length): Do not use a statement
6696 expression and _Static_assert, so that array_length can be used at
6697 file scope and as a constant expression.
6699 2019-02-07 Florian Weimer <fweimer@redhat.com>
6701 * support/xdlfcn.h (xdlmopen): Declare.
6702 * support/xdlmopen.c: New file.
6703 * support/Makefile (libsupport-routines): Add xdlmopen.
6705 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6707 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6708 before return type, without separate inline.
6709 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6710 * elf/dl-tunables.h (tunable_is_name): Likewise.
6711 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6712 (do_set_top_pad): Likewise.
6713 (do_set_mmap_threshold): Likewise.
6714 (do_set_mmaps_max): Likewise.
6715 (do_set_mallopt_check): Likewise.
6716 (do_set_perturb_byte): Likewise.
6717 (do_set_arena_test): Likewise.
6718 (do_set_arena_max): Likewise.
6719 (do_set_tcache_max): Likewise.
6720 (do_set_tcache_count): Likewise.
6721 (do_set_tcache_unsorted_limit): Likewise.
6722 * nis/nis_subr.c (count_dots): Likewise.
6723 * nptl/allocatestack.c (advise_stack_range): Likewise.
6724 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6726 (reduce_sincos): Likewise.
6727 (do_sincos): Likewise.
6728 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6729 (do_set_elision_enable): Likewise.
6730 (TUNABLE_CALLBACK_FNDECL): Likewise.
6732 2019-02-06 Florian Weimer <fweimer@redhat.com>
6734 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6735 (xdlsym): Use dlerror to detect a NULL symbol.
6737 2019-02-06 Florian Weimer <fweimer@redhat.com>
6739 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6741 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6743 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6745 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6747 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6749 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6750 __wmemcmp and weak alias to wmemcmp.
6752 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6755 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6756 TLS_TCB_AT_TP tls variant.
6757 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6758 Add alignment checks.
6759 * support/Makefile (libsupport-routines): Add xposix_memalign and
6761 * support/support.h: Add xposix_memalign.
6762 * support/xthread.h: Add xpthread_attr_setstack.
6763 * support/xposix_memalign.c: New File.
6764 * support/xpthread_attr_setstack.c: Likewise.
6766 2019-02-05 Florian Weimer <fweimer@redhat.com>
6769 arm: Use "nr" constraint for Systemtap probes, to avoid the
6770 compiler using memory operands for constants, due to the "o"
6771 alternative in the default "nor" constraint.
6772 * include/stap-probe.h [USE_STAP_PROBE]: Include
6773 <stap-probe-machine.h>
6774 * sysdeps/generic/stap-probe-machine.h: New file.
6775 * sysdeps/arm/stap-probe-machine.h: Likewise.
6777 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6779 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6780 with 0, not tcache->entries[tc_idx].
6782 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6785 2019-02-04 Andreas Schwab <schwab@suse.de>
6789 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6790 looking up collating elements match against (wide) character
6791 sequence instead of name. Correct alignment adjustment.
6792 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6793 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6794 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6795 (LOCALES): Add cs_CZ.ISO-8859-2.
6796 * posix/tst-fnmatch4.c: New file.
6797 * posix/tst-fnmatch5.c: New file.
6798 * include/wchar.h (__wmemcmp): Declare.
6799 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6800 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6801 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6802 * sysdeps/s390/wmemcmp.c: Likewise.
6804 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6808 * NEWS: Updated for CVE-2019-7309.
6809 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6810 upper 32 bits of RDX register for x32. Use unsigned Jcc
6811 instructions, instead of signed.
6812 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6813 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6815 2019-02-04 Florian Weimer <fweimer@redhat.com>
6817 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6818 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6819 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6821 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6822 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6823 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6824 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6826 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6828 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6830 (posix_spawn_file_actions_addopen): Likewise.
6831 (posix_spawn_file_actions_addclose): Likewise.
6832 (posix_spawn_file_actions_adddup2): Likewise.
6833 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6835 (posix_spawn_file_actions_addfchdir_np): Likewise.
6837 2019-02-04 David Newall <glibc@davidnewall.com>
6839 elf: Implement --preload option for the dynamic linker.
6840 * elf/rtld.c (preloadarg): New variable.
6841 (handle_preload_list): Pass through “where” argument to
6843 (dl_main): Handle "--preload" and add second call to
6844 handle_preload_list.
6845 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6846 (tst-rtld-preload-OBJS): Set variable.
6847 (tst-rtld-preload.out): New target.
6848 * elf/tst-rtld-preload.sh: New file.
6850 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6852 * Makefile (testrun.sh): Exit in case of incorrect argument.
6854 2019-02-04 Florian Weimer <fweimer@redhat.com>
6856 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6859 2019-02-03 Florian Weimer <fweimer@redhat.com>
6861 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6862 implicit overflow checks.
6864 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6866 * stdlib/isomac.c: Include <unistd.h>.
6868 2019-02-03 Florian Weimer <fweimer@redhat.com>
6870 * include/time.h (__tzfile_default): Use int, not long int, for
6872 * time/tzfile.c (struct ttinfo): Change type of the offset member
6874 (__tzfile_read): Remove useless cast.
6875 (__tzfile_default): Adjust prototype.
6876 * time/tzset.c (tz_rule): Change type of the offset member to int.
6877 (parse_offset): Change the type of the sign variable to int.
6879 2019-02-03 Florian Weimer <fweimer@redhat.com>
6882 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6883 * libio/getchar.c (getchar): Likewise.
6884 * libio/getchar_u.c (getchar_unlocked): Likewise.
6885 * libio/getwchar.c (getwchar): Likewise.
6886 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6887 * libio/iogets.c (_IO_gets): Likewise.
6888 * libio/vscanf.c (_IO_vscanf): Likewise.
6889 * libio/vwscanf.c (__vwscanf): Likewise.
6890 * libio/tst-bz24153.c: New file.
6891 * libio/Makefile (tests): Add it.
6893 2019-02-02 Florian Weimer <fweimer@redhat.com>
6896 * manual/resource.texi (Basic Scheduling Functions): Add
6897 portability note. Change process to task throughout the section.
6898 Remove incorrect comment about sched_yield as it affects
6899 tasks/threads, not entire processes.
6900 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6901 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6903 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6905 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6906 * configure: Regenerated.
6907 * manual/install.texi (Tools for Compilation): Update minimum GCC
6909 * INSTALL: Regenerated.
6911 2019-02-01 Florian Weimer <fweimer@redhat.com>
6913 * support/support_test_compare_string.c
6914 (support_test_compare_string): Use "string" in error message.
6915 * support/tst-test_compare_string.c (do_test): Adjust.
6917 2019-02-01 Florian Weimer <fweimer@redhat.com>
6919 * support/support_format_address_family.c
6920 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6922 2019-02-01 Florian Weimer <fweimer@redhat.com>
6924 * manual/socket.texi (Internet Address Formats): Clarify the byte
6925 order of struct sockaddr_in, struct sockaddr_in6. Document
6926 sin6_flowinfo and sin6_scope_id.
6928 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6930 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6931 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6932 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6933 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6934 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6935 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6937 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6939 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6940 [!MEMCHR](MEMCHR): Set to __memchr.
6941 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6942 Add memchr_generic and memchr_nosimd.
6943 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6944 (__libc_ifunc_impl_list): Add memchr ifuncs.
6945 * sysdeps/aarch64/multiarch/memchr.c: New file.
6946 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6947 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6949 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6951 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6953 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6954 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6955 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6956 Add IS_EMAG check for ifunc dispatch.
6957 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6958 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6960 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6962 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6965 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6968 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6970 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6972 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6974 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6975 syscall-template file.
6977 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6978 Torvald Riegel <triegel@redhat.com>
6979 Rik Prohaska <prohaska7@gmail.com>
6982 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6983 tst-rwlock-trywrlock-stall.
6984 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6985 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6986 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6987 Set __wrphase_fute to 1 only if we started the write phase.
6988 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6989 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6990 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6991 * support/xpthread_rwlock_destroy.c: New file.
6992 * support/xthread.h: Declare xpthread_rwlock_destroy.
6994 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6996 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6999 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7002 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7003 * libio/fileops.c (_IO_new_file_underflow): Likewise
7004 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7005 * libio/putchar.c (putchar): Likewise.
7006 * libio/putchar_u.c (putchar_unlocked): Likewise.
7007 * libio/putwchar.c (putchar): Likewise.
7008 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7009 * libio/tst-bz24051.c: New test.
7010 * libio/Makefile (tests): Add tst-bz24051
7012 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7015 regex: fix read overrun [BZ #24114]
7016 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7017 https://debbugs.gnu.org/34140
7018 * posix/regexec.c (proceed_next_node):
7019 Do not read past end of input buffer.
7021 2019-01-31 Florian Weimer <fweimer@redhat.com>
7024 * nss/nss_files/files-alias.c (get_next_alias): Handle
7025 continuation line without newline at the end.
7026 * nss/tst-nss-files-alias-truncated.c: New file.
7027 * nss/Makefile [$(build-shared)] (tests): Add
7028 tst-nss-files-alias-truncated.
7029 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7030 * support/namespace.h (struct support_chroot_configuration): Add
7032 (struct support_chroot): Add path_aliases member.
7033 * support/support_chroot.c (support_chroot_create): Handle
7035 (support_chroot_free): Free path_aliases.
7037 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7039 * version.h (RELEASE): Set to "development".
7040 (VERSION): Set to "2.29.9000".
7041 * NEWS: Add section for 2.30.
7043 * version.h (RELEASE): Set to "stable".
7044 (VERSION): Set to "2.29".
7045 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7047 * NEWS: Add the list of bugs fixed in 2.29.
7048 * manual/contrib.texi: Update contributors list with some more
7050 * manual/install.texi: Update latest versions of packages
7052 * INSTALL: Regenerated.
7054 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7056 * po/be.po: Update translations.
7057 * po/bg.po: Likewise.
7058 * po/ca.po: Likewise.
7059 * po/cs.po: Likewise.
7060 * po/da.po: Likewise.
7061 * po/de.po: Likewise.
7062 * po/el.po: Likewise.
7063 * po/eo.po: Likewise.
7064 * po/es.po: Likewise.
7065 * po/fi.po: Likewise.
7066 * po/fr.po: Likewise.
7067 * po/gl.po: Likewise.
7068 * po/hr.po: Likewise.
7069 * po/hu.po: Likewise.
7070 * po/ia.po: Likewise.
7071 * po/id.po: Likewise.
7072 * po/it.po: Likewise.
7073 * po/ja.po: Likewise.
7074 * po/ko.po: Likewise.
7075 * po/lt.po: Likewise.
7076 * po/nb.po: Likewise.
7077 * po/nl.po: Likewise.
7078 * po/pl.po: Likewise.
7079 * po/pt_BR.po: Likewise.
7080 * po/ru.po: Likewise.
7081 * po/rw.po: Likewise.
7082 * po/sk.po: Likewise.
7083 * po/sl.po: Likewise.
7084 * po/sv.po: Likewise.
7085 * po/tr.po: Likewise.
7086 * po/uk.po: Likewise.
7087 * po/vi.po: Likewise.
7088 * po/zh_CN.po: Likewise.
7089 * po/zh_TW.po: Likewise.
7091 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7094 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7095 of $f3 register on $y_is_neg path.
7097 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7100 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7101 sigaltstack.ss_flags.
7103 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7106 * manual/time.texi (strftime): Document "%Ey".
7107 * time/strftime_l.c (__strftime_internal): Set the default width
7108 padding with zero of "%Ey" to 2.
7111 * manual/time.texi (strftime): Document "%EC" and "%EY".
7112 * time/Makefile (tests): Add tst-strftime2.
7113 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7114 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7115 override padding for "%Ey".
7116 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7117 "%Ey" in the subformat as if decorated with that flag.
7118 * time/tst-strftime2.c: New file.
7120 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7122 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7126 * elf/Makefile (tests): Add tst-audit13.
7127 (modules-names): Add tst-audit13mod1.
7128 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7130 * elf/rtld.c (dl_main): Handle invalid audit module version.
7131 * elf/tst-audit13.c: New file.
7132 * elf/tst-audit13mod1.c: Likewise.
7134 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7136 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7137 returned by __hurd_at_flags.
7138 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7139 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7140 directly instead of __hurd_file_name_lookup.
7142 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7144 * scripts/build-many-glibcs.py (Context.checkout): Default
7145 binutils version to 2.32 branch.
7147 2019-01-21 Florian Weimer <fweimer@redhat.com>
7151 resolv: Reject trailing characters in host names
7152 * include/arpa/inet.h (__inet_aton_exact): Declare.
7153 (inet_aton): Remove hidden prototype. No longer used internally.
7154 * nscd/gai.c (__inet_aton): Do not define.
7155 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7156 * nss/digits_dots.c (__inet_aton): Likewise.
7157 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7158 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7159 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7160 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7161 (tst-resolv-trailing): Likewise.
7162 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7164 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7165 Make static. Add endp parameter.
7166 (__inet_aton_exact): New function.
7167 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7168 (__inet_addr): Call inet_aton_end.
7169 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7170 not just IPv6. Call __inet_aton_exact.
7171 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7172 (tests): Make const. Add additional test cases with trailing
7174 (do_test): Use array_length.
7175 * resolv/tst-inet_aton_exact.c: New file.
7176 * resolv/tst-resolv-trailing.c: Likewise.
7177 * resolv/tst-resolv-nondecimal.c: Likewise.
7178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7180 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7184 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7185 Clear the upper 32 bits of RSI register.
7186 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7187 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7188 and tst-size_t-wcsnlen.
7189 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7190 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7192 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7196 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7199 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7200 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7202 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7206 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7208 * sysdeps/x86_64/strcmp.S: Likewise.
7209 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7210 tst-size_t-strncmp and tst-size_t-wcsncmp.
7211 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7212 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7213 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7215 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7219 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7220 RDX_LP for length. Clear the upper 32 bits of RDX register.
7221 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7222 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7223 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7224 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7226 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7230 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7231 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7232 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7233 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7235 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7240 length. Clear the upper 32 bits of RDX register.
7241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7242 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7244 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7246 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7248 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7250 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7254 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7255 length. Clear the upper 32 bits of RDX register.
7256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7257 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7258 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7260 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7261 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7263 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7267 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7268 upper 32 bits of RDX register.
7269 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7270 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7272 * sysdeps/x86_64/x32/test-size_t.h: New file.
7273 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7274 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7276 2019-01-18 Florian Weimer <fweimer@redhat.com>
7279 resolv: Do not send queries for non-host-names in nss_dns.
7280 * resolv/nss_dns/dns-host.c (check_name): New function.
7281 (_nss_dns_gethostbyname2_r): Use it.
7282 (_nss_dns_gethostbyname_r): Likewise.
7283 (_nss_dns_gethostbyname4_r): Likewise.
7285 2019-01-21 Florian Weimer <fweimer@redhat.com>
7287 * resolv/inet_addr.c: Reformat to GNU style.
7288 (__inet_addr, __inet_aton): Update comment.
7290 2019-01-18 Florian Weimer <fweimer@redhat.com>
7292 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7293 ("malloc: Use current (C11-style) atomics for fastbin access").
7294 This commit introduces a substantial performance regression on
7296 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7297 (REMOVE_FB): Define.
7298 (_int_malloc): Use it and reindent.
7299 (_int_free): Use CAS loop with
7300 catomic_compare_and_exchange_val_rel.
7301 (malloc_consolidate): Use atomic_exchange_acq.
7304 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7306 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7308 (LDFLAGS-tst-minsigstksz-2): Likewise.
7309 (LDFLAGS-tst-minsigstksz-3): Likewise.
7310 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7311 (LDFLAGS-tst-minsigstksz-4): Likewise.
7313 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7315 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7318 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7320 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7322 2019-01-16 Zack Weinberg <zackw@panix.com>
7324 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7325 (xget_sigstack_location): New test support functions.
7326 * support/xsigstack.c: New file, implementing them.
7327 * support/tst-xsigstack.c: New test for them.
7328 * support/Makefile: Update.
7330 * signal/tst-minsigstksz-1.c
7331 * signal/tst-minsigstksz-2.c
7332 * signal/tst-minsigstksz-3.c
7333 * signal/tst-minsigstksz-3a.c
7334 * signal/tst-minsigstksz-4.c: New tests.
7335 * signal/Makefile: Run them.
7337 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7339 * po/libc.pot: Regenerate.
7341 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7343 * math/libm-test-fma.inc (fma_test_data): Set
7344 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7346 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7348 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7349 (do_test): Changed __vector __int128_t to __vector unsigned int.
7351 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7354 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7355 stpcpy-avx2 and stpncpy-avx2.
7356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7357 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7358 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7360 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7361 ifunc-strcpy.h}: rename header for a more generic name.
7362 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7363 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7364 AVX unaligned load is fast and vzeroupper is preferred.
7365 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7366 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7367 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7368 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7369 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7370 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7372 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7374 * argp/argp-help.c: Fix typo in comment.
7375 * misc/sys/cdefs.h: Likewise.
7376 * posix/regexec.c (sift_states_iter_mb): Likewise.
7377 * socket/sockatmark.c: Likewise.
7378 * socket/sys/socket.h: Likewise.
7379 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7380 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7381 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7383 * sysdeps/unix/sockatmark.c: Likewise.
7384 * time/strptime_l.c: Likewise.
7386 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7388 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7389 missing space after the cast of "_NL_CURRENT".
7391 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7394 ifdef to fix read of VSCR.
7395 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7396 tst-ucontext-ppc64-vscr.c to test list.
7397 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7399 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7401 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7404 2019-01-09 Jim Wilson <jimw@sifive.com>
7406 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7408 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7410 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7411 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7412 __memcpy_falkor for ares.
7413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7415 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7418 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7421 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7422 4_FP_W_TYPEs are used for IEEE quad precision.
7423 * soft-fp/extendhftf2.c: Likewise.
7424 * soft-fp/extendsftf2.c: Likewise.
7425 * soft-fp/extendxftf2.c: Likewise.
7426 * soft-fp/trunctfdf2.c: Likewise.
7427 * soft-fp/trunctfhf2.c: Likewise.
7428 * soft-fp/trunctfsf2.c: Likewise.
7429 * soft-fp/trunctfxf2.c: Likewise.
7430 * sysdeps/alpha/ots_cvttx.c: Likewise.
7431 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7432 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7433 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7434 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7435 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7436 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7437 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7438 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7439 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7440 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7441 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7442 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7443 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7444 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7445 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7446 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7447 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7449 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7452 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7453 code with -fmath-errno.
7454 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7455 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7456 * string/test-strerror-errno.c: New file.
7458 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7461 * localedata/locales/en_US (date_fmt): Add, set to
7462 "%a %d %b %Y %r %Z".
7464 2019-01-07 Florian Weimer <fweimer@redhat.com>
7467 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7468 instead of @var{errno}.
7469 (Parsing of Integers): Likewise.
7470 (Parsing of Floats): Likewise.
7471 * manual/filesys.texi (Working with Directory Trees): Likewise.
7472 (Temporary Files): Likewise.
7473 * manual/job.texi (Terminal Access Functions): Likewise.
7474 * manual/llio.texi (Synchronizing I/O): Likewise.
7475 * manual/math.texi (SVID Random): Likewise.
7476 * manual/message.texi (The catgets Functions): Likewise.
7477 (Translation with gettext): Likewise.
7478 (Locating gettext catalog): Likewise.
7479 (Charset conversion in gettext): Likewise.
7480 * manual/nss.texi (NSS Module Function Internals): Likewise.
7481 * manual/search.texi (Hash Search Function): Likewise.
7482 * manual/setjmp.texi (System V contexts): Likewise.
7483 * manual/time.texi (Sleeping): Likewise.
7484 * manual/users.texi (Lookup User): Likewise.
7485 (Lookup Group): Likewise.
7487 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7489 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7492 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7495 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7496 __builtin_unreachable for default case in switch.
7497 (__ieee754_yn): Likewise.
7498 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7499 (__ieee754_ynl): Likewise.
7500 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7501 (__ieee754_ynl): Likewise.
7502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7503 (__ieee754_ynl): Likewise.
7505 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7507 * manual/maint.texi: Use @{ and @}.
7509 2019-01-04 Florian Weimer <fweimer@redhat.com>
7511 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7513 (do_in_chroot_1): Call it.
7515 Improve error reporting in case it is not possible to create a
7516 collision for the PTY name required by the test.
7518 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7520 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7521 lll_wait_tid with timeout.
7522 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7523 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7524 futex_reltimed_wait_cancelable for cancelabla mode.
7525 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7526 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7528 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7529 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7530 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7531 SYSCALL_CANCEL_NCS): New macro.
7532 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7533 (lll_timedwait_tid): Remove macro.
7534 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7536 (lll_timedwait_tid): Likewise.
7537 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7539 (lll_timedwait_tid): Likewise.
7540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7542 (lll_timedwait_tid): Likewise.
7543 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7544 Use INTERNAL_SYSCALL_CANCEL.
7545 * sysdeps/unix/sysv/linux/futex-internal.h
7546 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7547 instead of __pthread_{enable,disable}_asynccancel.
7548 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7549 (lll_futex_wait_cancel): New macro.
7551 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7552 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7554 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7555 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7557 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7558 in backtrace analysis.
7559 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7561 (tf_send): Likewise.
7563 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7564 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7565 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7566 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7567 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7568 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7569 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7570 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7571 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7572 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7573 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7574 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7576 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7577 tst-cancel-wrappers.sh.
7578 (generated): Remove tst-cancel-wrappers.out.
7579 (tst-cancel-wrappers.out): Remove rule.
7580 * nptl/tst-cancel-wrappers.sh: Remove file.
7582 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7584 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7585 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7588 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7591 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7592 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7593 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7594 close-on-exec reset for adddup2 file action.
7595 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7597 2019-01-03 Zack Weinberg <zackw@panix.com>
7599 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7600 parameter. Only use deprecated scanf when __USE_GNU is defined
7601 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7602 than 201103L, whichever is relevant for the language being compiled.
7604 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7605 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7606 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7607 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7608 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7612 * libio/iovswscanf.c
7617 * stdio-common/fscanf.c
7618 * stdio-common/scanf.c
7619 * stdio-common/vfscanf.c
7620 * stdio-common/vfwscanf.c
7621 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7622 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7623 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7624 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7625 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7626 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7627 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7628 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7629 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7630 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7631 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7632 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7633 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7634 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7635 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7637 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7638 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7639 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7641 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7642 with a preprocessor macro.
7644 * stdio-common/bug21.c, stdio-common/scanf14.c:
7645 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7646 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7647 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7648 to xscanf, xfscanf, xsscanf.
7650 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7651 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7652 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7653 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7655 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7656 override feature selection macros or provide definitions of u_char etc.
7657 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7658 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7659 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7662 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7665 bits/termios-misc.h.
7666 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7667 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7669 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7670 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7671 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7673 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7675 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7676 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7677 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7678 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7680 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7681 (sysdep_headers): Add termios-misc.h.
7683 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7684 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7685 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7689 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7690 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7691 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7692 TCSAFLUSH): Move to termios-tcflow.h.
7693 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7694 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7700 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7701 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7702 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7703 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7704 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7705 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7706 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7707 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7710 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7716 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7717 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7718 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7719 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7720 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
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.
7728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7730 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7731 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7734 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7735 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7736 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7737 __MAX_BAUD): Move to termios-baud.h.
7738 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7739 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7740 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7744 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7746 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7747 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7750 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7751 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7753 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7754 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7756 [USE_MISC] (XTABS): Likewise.
7757 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7758 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7762 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7764 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7765 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7766 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7767 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7768 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7769 IUTF8): Move to termios-c_iflag.h.
7770 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7771 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7775 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7777 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7778 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7779 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7781 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7782 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7783 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7784 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7785 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7786 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7790 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7791 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7792 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7796 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7798 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7800 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7802 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7804 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7806 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7807 _HAVE_C_OSPEED): Define.
7808 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7809 _HAVE_C_OSPEED): Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7811 _HAVE_C_OSPEED): Likewise.
7812 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7813 (cfsetospeed): Check for define value instead of existence.
7814 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7815 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7816 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7817 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7818 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7821 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7823 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7824 (TIOCSER_TEMT): Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7826 (TEOCSER_TEMT): Likewise.
7828 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7831 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7833 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7835 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7837 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7839 * sysdeps/htl/pt-barrierattr-setpshared.c
7840 (pthread_barrierattr_setpshared): Add stub warning.
7841 * sysdeps/htl/pt-condattr-setpshared.c
7842 (pthread_condattr_setpshared): Likewise.
7843 * sysdeps/htl/pt-mutexattr-setpshared.c
7844 (pthread_mutexattr_setpshared): Likewise.
7845 * sysdeps/htl/pt-rwlockattr-setpshared.c
7846 (pthread_rwlockattr_setpshared): Likewise.
7847 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7848 (pthread_mutexattr_setpshared): Likewise.
7850 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7852 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7853 constants to match with Linux 4.20.
7855 * sysdeps/mips/mips32/libm-test-ulps: Update.
7856 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7858 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7861 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7862 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7863 than __typeof (...) for the a_ptr variable.
7865 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7867 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7868 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7869 * libio/Makefile (tests): Add tst-sprintf-ub and
7871 (CFLAGS-tst-sprintf-ub.c): New variable.
7872 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7873 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7874 destination buffer and check for overflows in fortified mode.
7875 * libio/libioP.h (PRINTF_CHK): New macro.
7876 * libio/tst-sprintf-chk-ub.c: New file.
7877 * libio/tst-sprintf-ub.c: Likewise.
7879 2019-01-02 Florian Weimer <fweimer@redhat.com>
7882 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7885 2019-01-02 Florian Weimer <fweimer@redhat.com>
7887 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7889 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7894 * sysdeps/unix/sysv/linux/netpacket/packet.h
7895 (PACKET_IGNORE_OUTGOING): New macro.
7897 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7900 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7902 (riscv_flush_icache): New syscall.
7904 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7905 trailing whitespace removed.
7906 * scripts/config.guess: Update to version 2019-01-01.
7907 * scripts/config.sub: Update to version 2019-01-01.
7908 * scripts/move-if-change: Update from gnulib.
7910 * NEWS: Update copyright dates.
7911 * catgets/gencat.c (print_version): Likewise.
7912 * csu/version.c (banner): Likewise.
7913 * debug/catchsegv.sh: Likewise.
7914 * debug/pcprofiledump.c (print_version): Likewise.
7915 * debug/xtrace.sh (do_version): Likewise.
7916 * elf/ldconfig.c (print_version): Likewise.
7917 * elf/ldd.bash.in: Likewise.
7918 * elf/pldd.c (print_version): Likewise.
7919 * elf/sotruss.sh: Likewise.
7920 * elf/sprof.c (print_version): Likewise.
7921 * iconv/iconv_prog.c (print_version): Likewise.
7922 * iconv/iconvconfig.c (print_version): Likewise.
7923 * locale/programs/locale.c (print_version): Likewise.
7924 * locale/programs/localedef.c (print_version): Likewise.
7925 * login/programs/pt_chown.c (print_version): Likewise.
7926 * malloc/memusage.sh (do_version): Likewise.
7927 * malloc/memusagestat.c (print_version): Likewise.
7928 * malloc/mtrace.pl: Likewise.
7929 * manual/libc.texinfo: Likewise.
7930 * nptl/version.c (banner): Likewise.
7931 * nscd/nscd.c (print_version): Likewise.
7932 * nss/getent.c (print_version): Likewise.
7933 * nss/makedb.c (print_version): Likewise.
7934 * posix/getconf.c (main): Likewise.
7935 * scripts/test-installation.pl: Likewise.
7936 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7938 * All files with FSF copyright notices: Update copyright dates
7939 using scripts/update-copyrights.
7940 * locale/programs/charmap-kw.h: Regenerated.
7941 * locale/programs/locfile-kw.h: Likewise.
7943 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7945 * timezone/zdump.c: Update from tzcode 2018i.
7946 * timezone/zic.c: Likewise.
7948 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7950 regex: improve Gnulib port to AIX
7951 From the glibc point of view, this removes duplicate macro
7952 definitions and is obviously safe.
7953 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7954 * posix/regex_internal.h:
7955 (__attribute__, __attribute_warn_unused_result__):
7956 Remove; already defined elsewhere.
7958 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7961 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7962 copying operation. (ncopies had the wrong type, resulting in an
7963 integer wraparound and too few elements being copied.)
7965 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7968 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7969 <asm/syscalls.h> exists with __has_include__ before including it.
7971 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7973 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7976 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7978 * hurd/lookup-retry: Include <unistd.h>.
7979 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7980 Release it on return. Handle "pid" magical lookup retry.
7982 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7985 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7986 (t_fmt_ampm): Likewise.
7987 * localedata/locales/aa_ER (t_fmt): Likewise.
7988 (t_fmt_ampm): Likewise.
7989 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7990 (t_fmt_ampm): Likewise.
7991 * localedata/locales/aa_ET (t_fmt): Likewise.
7992 (t_fmt_ampm): Likewise.
7993 * localedata/locales/am_ET (t_fmt): Likewise.
7994 (t_fmt_ampm): Likewise.
7995 * localedata/locales/byn_ER (t_fmt): Likewise.
7996 (t_fmt_ampm): Likewise.
7997 * localedata/locales/om_ET (t_fmt): Likewise.
7998 (t_fmt_ampm): Likewise.
7999 * localedata/locales/sid_ET (t_fmt): Likewise.
8000 (t_fmt_ampm): Likewise.
8001 * localedata/locales/so_DJ (t_fmt): Likewise.
8002 (t_fmt_ampm): Likewise.
8003 * localedata/locales/so_ET (t_fmt): Likewise.
8004 (t_fmt_ampm): Likewise.
8005 * localedata/locales/so_SO (t_fmt): Likewise.
8006 (t_fmt_ampm): Likewise.
8007 * localedata/locales/ti_ER (t_fmt): Likewise.
8008 (t_fmt_ampm): Likewise.
8009 * localedata/locales/ti_ET (t_fmt): Likewise.
8010 (t_fmt_ampm): Likewise.
8011 * localedata/locales/tig_ER (t_fmt): Likewise.
8012 (t_fmt_ampm): Likewise.
8013 * localedata/locales/wal_ET (t_fmt): Likewise.
8014 (t_fmt_ampm): Likewise.
8016 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8017 * localedata/locales/ar_IN (t_fmt): Likewise.
8018 * localedata/locales/bhb_IN (t_fmt): Likewise.
8019 * localedata/locales/bho_IN (t_fmt): Likewise.
8020 * localedata/locales/bi_VU (t_fmt): Likewise.
8021 * localedata/locales/bn_BD (t_fmt): Likewise.
8022 * localedata/locales/bn_IN (t_fmt): Likewise.
8023 * localedata/locales/brx_IN (t_fmt): Likewise.
8024 * localedata/locales/doi_IN (t_fmt): Likewise.
8025 * localedata/locales/en_HK (t_fmt): Likewise.
8026 (t_fmt_ampm): Likewise.
8027 * localedata/locales/en_IN (t_fmt): Likewise.
8028 * localedata/locales/en_PH (t_fmt): Likewise.
8029 * localedata/locales/gu_IN (t_fmt): Likewise.
8030 * localedata/locales/hi_IN (t_fmt): Likewise.
8031 * localedata/locales/hif_FJ (t_fmt): Likewise.
8032 * localedata/locales/hne_IN (t_fmt): Likewise.
8033 * localedata/locales/kn_IN (t_fmt): Likewise.
8034 * localedata/locales/kok_IN (t_fmt): Likewise.
8035 * localedata/locales/ks_IN (t_fmt): Likewise.
8036 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8037 * localedata/locales/mag_IN (t_fmt): Likewise.
8038 * localedata/locales/mai_IN (t_fmt): Likewise.
8039 * localedata/locales/mjw_IN (t_fmt): Likewise.
8040 * localedata/locales/ml_IN (t_fmt): Likewise.
8041 * localedata/locales/mni_IN (t_fmt): Likewise.
8042 * localedata/locales/mr_IN (t_fmt): Likewise.
8043 * localedata/locales/ms_MY (t_fmt): Likewise.
8044 * localedata/locales/pa_IN (t_fmt): Likewise.
8045 * localedata/locales/raj_IN (t_fmt): Likewise.
8046 * localedata/locales/sa_IN (t_fmt): Likewise.
8047 * localedata/locales/sat_IN (t_fmt): Likewise.
8048 * localedata/locales/sd_IN (t_fmt): Likewise.
8049 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8050 * localedata/locales/tcy_IN (t_fmt): Likewise.
8051 * localedata/locales/the_NP (t_fmt): Likewise.
8052 * localedata/locales/to_TO (t_fmt): Likewise.
8053 * localedata/locales/ur_IN (t_fmt): Likewise.
8055 * localedata/locales/hif_FJ (d_t_fmt): Set to
8056 "%A %d %b %Y %I:%M:%S %p".
8057 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8059 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8060 * localedata/locales/ar_BH (t_fmt): Likewise.
8061 * localedata/locales/ar_DZ (t_fmt): Likewise.
8062 * localedata/locales/ar_EG (t_fmt): Likewise.
8063 * localedata/locales/ar_IQ (t_fmt): Likewise.
8064 * localedata/locales/ar_JO (t_fmt): Likewise.
8065 * localedata/locales/ar_KW (t_fmt): Likewise.
8066 * localedata/locales/ar_LB (t_fmt): Likewise.
8067 * localedata/locales/ar_LY (t_fmt): Likewise.
8068 * localedata/locales/ar_OM (t_fmt): Likewise.
8069 * localedata/locales/ar_QA (t_fmt): Likewise.
8070 * localedata/locales/ar_SD (t_fmt): Likewise.
8071 * localedata/locales/ar_SS (t_fmt): Likewise.
8072 * localedata/locales/ar_SY (t_fmt): Likewise.
8073 * localedata/locales/ar_TN (t_fmt): Likewise.
8074 * localedata/locales/ar_YE (t_fmt): Likewise.
8076 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8077 (t_fmt_ampm): Likewise.
8078 * localedata/locales/gez_ET (t_fmt): Likewise.
8079 (t_fmt_ampm): Likewise.
8081 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8082 (t_fmt_ampm): Likewise.
8083 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8085 * localedata/locales/zh_HK (t_fmt):
8086 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8088 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8089 because this locale does not use the 12-hour clock.
8090 (t_fmt): Set to "%Z %H:%M:%S".
8091 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8093 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8094 because this locale does not use the 12-hour clock.
8095 (t_fmt): Set to "%H:%M:%S %Z".
8096 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8098 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8099 because this locale does not use the 12-hour clock.
8100 (t_fmt): Set to "%T".
8101 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8102 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8104 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8105 because this locale does not use the 12-hour clock.
8106 (t_fmt): Set to "%H:%M:%S %Z".
8107 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8109 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8110 because this locale does not use the 12-hour clock.
8111 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8112 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8114 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8118 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8119 (t_fmt_ampm): Likewise.
8120 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8121 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8122 (d_fmt): Set to "%-d.%-m.%y".
8124 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8126 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8127 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8128 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8130 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8131 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8132 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8134 * support/blob_repeat.c (check_mul_overflow_size_t,
8135 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8137 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8139 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8141 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8143 regex: simplify Gnulib port
8144 This simplifies the code, by removing stuff intended for porting
8145 to Gnulib but no longer needed there.
8146 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8147 uses of libc_hidden_def, weak_alias.
8148 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8149 _Restrict_ except for public-facing headers.
8150 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8151 Remove; already defined elsewhere.
8152 * posix/regex.c, posix/regex_internal.h:
8153 Use __GNUC_PREREQ instead of rolling our own.
8154 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8156 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8158 * benchtests/bench-strlen.c (generic_strlen): New function.
8159 (memchr_strlen): New function.
8161 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8163 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8164 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8167 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8171 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8173 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8174 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8175 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8176 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8177 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8178 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8179 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8181 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8184 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8185 PLT reference in libc.so.
8186 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8187 _Q_lltoq and _Q_qtod PLT references in libc.so.
8189 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8191 * benchtests/bench-memchr.c: Cleanup defines.
8192 * benchtests/bench-memcmp.c: Likewise.
8193 * benchtests/bench-memset.c: Likewise.
8194 * benchtests/bench-memset-large.c: Likewise.
8195 * benchtests/bench-memset-walk.c: Likewise.
8196 * benchtests/bench-stpcpy.c: Likewise.
8197 * benchtests/bench-stpncpy.c: Likewise.
8198 * benchtests/bench-strcat.c: Likewise.
8199 * benchtests/bench-strchr.c: Likewise.
8200 * benchtests/bench-strcmp.c: Likewise.
8201 * benchtests/bench-strcpy.c: Likewise.
8202 * benchtests/bench-strcspn.c: Likewise.
8203 * benchtests/bench-string.h: Likewise.
8204 * benchtests/bench-strlen.c: Likewise.
8205 * benchtests/bench-strncat.c: Likewise.
8206 * benchtests/bench-strncmp.c: Likewise.
8207 * benchtests/bench-strncpy.c: Likewise.
8208 * benchtests/bench-strnlen.c: Likewise.
8209 * benchtests/bench-strpbrk.c: Likewise.
8210 * benchtests/bench-strrchr.c: Likewise.
8211 * benchtests/bench-strspn.c: Likewise.
8213 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8215 * stdlib/longlong.h: Update from GCC.
8218 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8219 * configure: Regenerated.
8220 * manual/install.texi (Tools for Compilation): Update minimum GCC
8222 * INSTALL: Regenerated.
8224 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8226 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8228 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8230 * malloc/malloc.c (mremap_chunk): Additional checks.
8232 2018-12-21 Mao Han <han_mao@c-sky.com>
8234 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8235 * scripts/build-many-glibcs.py: Add C-SKY targets.
8236 * sysdeps/csky/Implies: New file.
8237 * sysdeps/csky/Makefile: Likewise.
8238 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8239 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8240 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8241 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8242 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8243 * sysdeps/csky/abiv2/memmove.S: Likewise.
8244 * sysdeps/csky/abiv2/memset.S: Likewise.
8245 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8246 * sysdeps/csky/abiv2/start.S: Likewise.
8247 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8248 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8249 * sysdeps/csky/abiv2/strlen.S: Likewise.
8250 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8251 * sysdeps/csky/abort-instr.h: Likewise.
8252 * sysdeps/csky/atomic-machine.h: Likewise.
8253 * sysdeps/csky/bits/endian.h: Likewise.
8254 * sysdeps/csky/bits/fenv.h: Likewise.
8255 * sysdeps/csky/bits/link.h: Likewise.
8256 * sysdeps/csky/bits/setjmp.h: Likewise.
8257 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8258 * sysdeps/csky/bsd-setjmp.S: Likewise.
8259 * sysdeps/csky/configure: Likewise.
8260 * sysdeps/csky/configure.ac: Likewise.
8261 * sysdeps/csky/dl-machine.h: Likewise.
8262 * sysdeps/csky/dl-procinfo.c: Likewise.
8263 * sysdeps/csky/dl-procinfo.h: Likewise.
8264 * sysdeps/csky/dl-sysdep.h: Likewise.
8265 * sysdeps/csky/dl-tls.h: Likewise.
8266 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8267 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8268 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8269 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8270 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8271 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8272 * sysdeps/csky/fpu/fegetround.c: Likewise.
8273 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8274 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8275 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8276 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8277 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8278 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8279 * sysdeps/csky/fpu/fesetround.c: Likewise.
8280 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8281 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8282 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8283 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8284 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8285 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8286 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8287 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8288 * sysdeps/csky/fpu_control.h: Likewise.
8289 * sysdeps/csky/gccframe.h: Likewise.
8290 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8291 * sysdeps/csky/ldsodefs.h: Likewise.
8292 * sysdeps/csky/libc-tls.c: Likewise.
8293 * sysdeps/csky/linkmap.h: Likewise.
8294 * sysdeps/csky/machine-gmon.h: Likewise.
8295 * sysdeps/csky/memusage.h: Likewise.
8296 * sysdeps/csky/nofpu/Implies: Likewise.
8297 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8298 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8299 * sysdeps/csky/nptl/Makefile: Likewise.
8300 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8301 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8302 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8303 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8304 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8305 * sysdeps/csky/nptl/tls.h: Likewise.
8306 * sysdeps/csky/preconfigure: Likewise.
8307 * sysdeps/csky/sfp-machine.h: Likewise.
8308 * sysdeps/csky/sotruss-lib.c: Likewise.
8309 * sysdeps/csky/stackinfo.h: Likewise.
8310 * sysdeps/csky/sysdep.h: Likewise.
8311 * sysdeps/csky/tininess.h: Likewise.
8312 * sysdeps/csky/tst-audit.h: Likewise.
8313 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8314 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8315 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8316 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8317 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8318 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8319 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8320 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8321 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8322 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8323 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8324 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8325 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8326 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8327 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8328 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8329 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8330 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8331 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8332 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8333 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8334 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8335 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8336 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8343 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8344 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8346 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8347 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8348 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8349 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8350 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8351 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8352 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8353 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8354 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8355 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8356 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8358 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8360 * include/time.h (__difftime64): Add.
8361 * time/difftime.c (subtract): convert to 64-bit time.
8362 * time/difftime.c (__difftime64): Add.
8363 * time/difftime.c (__difftime): Wrap around __difftime64.
8365 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8367 * manual/examples/add.c: Remove redundant "if not".
8368 * manual/examples/argp-ex1.c: Likewise.
8369 * manual/examples/argp-ex2.c: Likewise.
8370 * manual/examples/argp-ex3.c: Likewise.
8371 * manual/examples/argp-ex4.c: Likewise.
8372 * manual/examples/atexit.c: Likewise.
8373 * manual/examples/db.c: Likewise.
8374 * manual/examples/dir.c: Likewise.
8375 * manual/examples/dir2.c: Likewise.
8376 * manual/examples/execinfo.c: Likewise.
8377 * manual/examples/filecli.c: Likewise.
8378 * manual/examples/filesrv.c: Likewise.
8379 * manual/examples/fmtmsgexpl.c: Likewise.
8380 * manual/examples/genpass.c: Likewise.
8381 * manual/examples/inetcli.c: Likewise.
8382 * manual/examples/inetsrv.c: Likewise.
8383 * manual/examples/isockad.c: Likewise.
8384 * manual/examples/longopt.c: Likewise.
8385 * manual/examples/memopen.c: Likewise.
8386 * manual/examples/memstrm.c: Likewise.
8387 * manual/examples/mkdirent.c: Likewise.
8388 * manual/examples/mkfsock.c: Likewise.
8389 * manual/examples/mkisock.c: Likewise.
8390 * manual/examples/mygetpass.c: Likewise.
8391 * manual/examples/pipe.c: Likewise.
8392 * manual/examples/popen.c: Likewise.
8393 * manual/examples/rprintf.c: Likewise.
8394 * manual/examples/search.c: Likewise.
8395 * manual/examples/select.c: Likewise.
8396 * manual/examples/setjmp.c: Likewise.
8397 * manual/examples/sigh1.c: Likewise.
8398 * manual/examples/sigusr.c: Likewise.
8399 * manual/examples/stpcpy.c: Likewise.
8400 * manual/examples/strdupa.c: Likewise.
8401 * manual/examples/strftim.c: Likewise.
8402 * manual/examples/subopt.c: Likewise.
8403 * manual/examples/swapcontext.c: Likewise.
8404 * manual/examples/termios.c: Likewise.
8405 * manual/examples/testopt.c: Likewise.
8406 * manual/examples/testpass.c: Likewise.
8407 * manual/examples/timeval_subtract.c: Likewise.
8409 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8411 * sysdeps/x86/fpu/math_private.h: New file.
8412 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8414 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8419 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8421 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8422 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8423 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8424 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8426 (_dl_show_auxv): Give a special treatment to
8427 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8428 and AT_L3_CACHEGEOMETRY.
8429 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8430 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8431 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8432 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8434 2018-12-19 Andreas Schwab <schwab@suse.de>
8436 * nscd/connections.c (check_use): Don't abort on invalid len.
8438 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8440 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8441 values in the 64bit value cases.
8443 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8449 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8455 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8458 (__gmtime64_r): Add.
8460 (__gmtime64_r): Add.
8461 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8467 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8470 (__localtime64_r): Add.
8472 (__localtime64_r): Add.
8473 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8475 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8477 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8478 kernel_sigction definition.
8480 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8482 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8484 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8485 __syscall_rt_sigaction.
8486 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8487 (kernel_sigaction): Use Linux generic defintion.
8489 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8490 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8491 (__syscall_rt_sigaction): Remove implementation.
8492 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8494 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8495 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8496 INTERNAL_SYSCALL): Remove definitions.
8497 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8498 action and signal set size.
8499 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8500 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8502 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8503 James Clarke <jrtc27@jrtc27.com>
8506 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8507 Define if SA_RESTORER is defined.
8508 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8509 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8511 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8512 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8514 (HAS_SA_RESTORER): Define.
8515 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8516 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8517 (HAS_SA_RESTORER): Define.
8518 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8519 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8520 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8521 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8524 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8526 * sysdeps/unix/sysv/linux/kernel-features.h
8527 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8528 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8529 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8530 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8531 (__ASSUME_ST_INO_64_BIT): Likewise.
8532 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8533 <kernel-features.h>.
8534 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8535 Remove conditional code.
8536 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8537 <kernel-features.h>.
8538 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8539 Remove conditional code.
8540 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8541 <kernel-features.h>.
8542 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8543 Remove conditional code.
8544 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8545 <kernel-features.h>.
8546 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8547 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8551 * sysdeps/s390/multiarch/ifunc-resolve.h
8552 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8553 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8554 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8555 Delete macro definition.
8556 (s390_libc_ifunc_init): Rename to
8557 s390_libc_ifunc_expr_stfle_init.
8558 * sysdeps/s390/bzero: Use
8559 s390_libc_ifunc_expr_stfle_init instead of
8560 s390_libc_ifunc_init.
8561 * sysdeps/s390/memcmp.c: Likewise.
8562 * sysdeps/s390/memcpy.c: Likewise.
8563 * sysdeps/s390/mempcpy.c: Likewise.
8564 * sysdeps/s390/memset.c: Likewise.
8566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8568 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8569 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8571 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8573 * sysdeps/s390/multiarch/Makefile
8574 (sysdep_routines): Remove wmemcmp variants.
8575 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8576 * sysdeps/s390/multiarch/ifunc-impl-list.c
8577 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8578 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8579 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8580 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8581 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8582 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8583 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8584 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8586 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8588 * sysdeps/s390/multiarch/Makefile
8589 (sysdep_routines): Remove wmemset variants.
8590 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8591 * sysdeps/s390/multiarch/ifunc-impl-list.c
8592 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8593 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8594 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8595 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8596 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8597 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8598 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8599 * sysdeps/s390/ifunc-wmemset.h: New file.
8601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8603 * sysdeps/s390/multiarch/Makefile
8604 (sysdep_routines): Remove wmemchr variants.
8605 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8606 * sysdeps/s390/multiarch/ifunc-impl-list.c
8607 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8608 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8609 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8610 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8611 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8612 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8613 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8614 * sysdeps/s390/ifunc-wmemchr.h: New file.
8616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8618 * sysdeps/s390/multiarch/Makefile
8619 (sysdep_routines): Remove wcscspn variants.
8620 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8621 * sysdeps/s390/multiarch/ifunc-impl-list.c
8622 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8623 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8624 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8625 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8626 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8627 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8628 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8629 * sysdeps/s390/ifunc-wcscspn.h: New file.
8631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8633 * sysdeps/s390/multiarch/Makefile
8634 (sysdep_routines): Remove wcspbrk variants.
8635 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8636 * sysdeps/s390/multiarch/ifunc-impl-list.c
8637 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8638 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8639 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8640 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8641 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8642 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8643 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8644 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8646 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8648 * sysdeps/s390/multiarch/Makefile
8649 (sysdep_routines): Remove wcsspn variants.
8650 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8651 * sysdeps/s390/multiarch/ifunc-impl-list.c
8652 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8653 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8654 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8655 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8656 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8657 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8658 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8659 * sysdeps/s390/ifunc-wcsspn.h: New file.
8661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8663 * sysdeps/s390/multiarch/Makefile
8664 (sysdep_routines): Remove wcsrchr variants.
8665 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8666 * sysdeps/s390/multiarch/ifunc-impl-list.c
8667 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8668 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8669 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8670 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8671 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8672 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8673 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8674 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8678 * sysdeps/s390/multiarch/Makefile
8679 (sysdep_routines): Remove wcschrnul variants.
8680 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8681 * sysdeps/s390/multiarch/ifunc-impl-list.c
8682 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8683 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8684 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8685 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8686 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8687 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8688 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8689 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8693 * sysdeps/s390/multiarch/Makefile
8694 (sysdep_routines): Remove wcschr variants.
8695 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8696 * sysdeps/s390/multiarch/ifunc-impl-list.c
8697 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8698 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8699 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8700 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8701 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8702 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8703 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8704 * sysdeps/s390/ifunc-wcschr.h: New file.
8706 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8708 * sysdeps/s390/multiarch/Makefile
8709 (sysdep_routines): Remove wcsncmp variants.
8710 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8711 * sysdeps/s390/multiarch/ifunc-impl-list.c
8712 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8713 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8714 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8715 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8716 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8717 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8718 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8719 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8721 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8723 * sysdeps/s390/multiarch/Makefile
8724 (sysdep_routines): Remove wcscmp variants.
8725 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8726 * sysdeps/s390/multiarch/ifunc-impl-list.c
8727 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8728 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8729 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8730 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8731 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8732 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8733 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8734 * sysdeps/s390/ifunc-wcscmp.h: New file.
8736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8738 * sysdeps/s390/multiarch/Makefile
8739 (sysdep_routines): Remove wcsncat variants.
8740 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8741 * sysdeps/s390/multiarch/ifunc-impl-list.c
8742 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8743 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8744 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8745 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8746 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8747 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8748 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8749 * sysdeps/s390/ifunc-wcsncat.h: New file.
8751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8753 * sysdeps/s390/multiarch/Makefile
8754 (sysdep_routines): Remove wcscat variants.
8755 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8756 * sysdeps/s390/multiarch/ifunc-impl-list.c
8757 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8758 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8759 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8760 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8761 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8762 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8763 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8764 * sysdeps/s390/ifunc-wcscat.h: New file.
8766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8768 * sysdeps/s390/multiarch/Makefile
8769 (sysdep_routines): Remove wcpncpy variants.
8770 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8771 * sysdeps/s390/multiarch/ifunc-impl-list.c
8772 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8773 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8774 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8775 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8776 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8777 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8778 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8779 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8781 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8783 * sysdeps/s390/multiarch/Makefile
8784 (sysdep_routines): Remove wcsncpy variants.
8785 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8786 * sysdeps/s390/multiarch/ifunc-impl-list.c
8787 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8788 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8789 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8790 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8791 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8792 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8793 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8794 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8798 * sysdeps/s390/multiarch/Makefile
8799 (sysdep_routines): Remove wcpcpy variants.
8800 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8801 * sysdeps/s390/multiarch/ifunc-impl-list.c
8802 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8803 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8804 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8805 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8806 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8807 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8808 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8809 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8811 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8813 * sysdeps/s390/multiarch/Makefile
8814 (sysdep_routines): Remove wcscpy variants.
8815 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8816 * sysdeps/s390/multiarch/ifunc-impl-list.c
8817 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8818 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8819 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8820 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8821 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8822 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8823 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8824 * sysdeps/s390/ifunc-wcscpy.h: New file.
8826 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8828 * sysdeps/s390/multiarch/Makefile
8829 (sysdep_routines): Remove wcsnlen variants.
8830 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8831 * sysdeps/s390/multiarch/ifunc-impl-list.c
8832 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8833 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8834 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8835 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8836 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8837 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8838 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8839 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8843 * sysdeps/s390/multiarch/Makefile
8844 (sysdep_routines): Remove wcslen variants.
8845 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8846 * sysdeps/s390/multiarch/ifunc-impl-list.c
8847 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8848 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8849 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8850 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8851 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8852 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8853 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8854 * sysdeps/s390/ifunc-wcslen.h: New file.
8856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8858 * sysdeps/s390/multiarch/Makefile
8859 (sysdep_routines): Remove memrchr variants.
8860 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8861 * sysdeps/s390/multiarch/ifunc-impl-list.c
8862 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8863 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8864 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8865 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8866 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8867 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8868 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8869 * sysdeps/s390/ifunc-memrchr.h: New file.
8871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8873 * sysdeps/s390/multiarch/Makefile
8874 (sysdep_routines): Remove memccpy variants.
8875 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8876 * sysdeps/s390/multiarch/ifunc-impl-list.c
8877 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8878 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8879 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8880 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8881 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8882 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8883 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8884 * sysdeps/s390/ifunc-memccpy.h: New file.
8886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8888 * sysdeps/s390/multiarch/Makefile
8889 (sysdep_routines): Remove rawmemchr variants.
8890 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8891 * sysdeps/s390/multiarch/ifunc-impl-list.c
8892 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8893 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8894 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8895 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8896 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8897 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8898 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8899 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8903 * sysdeps/s390/multiarch/Makefile
8904 (sysdep_routines): Remove memchr variants.
8905 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8906 * sysdeps/s390/multiarch/ifunc-impl-list.c
8907 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8908 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8909 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8910 * sysdeps/s390/multiarch/memchr.c: Move to ...
8911 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8912 * sysdeps/s390/ifunc-memchr.h: New file.
8913 * sysdeps/s390/s390-64/memchr.S: Move to ...
8914 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8915 for 31/64bit and ifunc handling.
8916 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8917 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8918 * sysdeps/s390/s390-32/memchr.S: Likewise.
8920 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8922 * sysdeps/s390/multiarch/Makefile
8923 (sysdep_routines): Remove strcspn variants.
8924 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8925 * sysdeps/s390/multiarch/ifunc-impl-list.c
8926 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8927 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8928 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8929 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8930 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8931 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8932 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8933 * sysdeps/s390/ifunc-strcspn.h: New file.
8935 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8937 * sysdeps/s390/multiarch/Makefile
8938 (sysdep_routines): Remove strpbrk variants.
8939 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8940 * sysdeps/s390/multiarch/ifunc-impl-list.c
8941 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8942 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8943 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8944 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8945 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8946 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8947 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8948 * sysdeps/s390/ifunc-strpbrk.h: New file.
8950 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8952 * sysdeps/s390/multiarch/Makefile
8953 (sysdep_routines): Remove strspn variants.
8954 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8955 * sysdeps/s390/multiarch/ifunc-impl-list.c
8956 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8957 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8958 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8959 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8960 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8961 * sysdeps/s390/multiarch/strspn.c: Move to ...
8962 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8963 * sysdeps/s390/ifunc-strspn.h: New file.
8965 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8967 * sysdeps/s390/multiarch/Makefile
8968 (sysdep_routines): Remove strrchr variants.
8969 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8970 * sysdeps/s390/multiarch/ifunc-impl-list.c
8971 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8972 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8973 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8974 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8975 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8976 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8977 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8978 * sysdeps/s390/ifunc-strrchr.h: New file.
8980 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8982 * sysdeps/s390/multiarch/Makefile
8983 (sysdep_routines): Remove strchrnul variants.
8984 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8985 * sysdeps/s390/multiarch/ifunc-impl-list.c
8986 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8987 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8988 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8989 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8990 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8991 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8992 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8993 * sysdeps/s390/ifunc-strchrnul.h: New file.
8995 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8997 * sysdeps/s390/multiarch/Makefile
8998 (sysdep_routines): Remove strchr variants.
8999 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9000 * sysdeps/s390/multiarch/ifunc-impl-list.c
9001 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9002 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9003 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9004 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9005 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9006 * sysdeps/s390/multiarch/strchr.c: Move to ...
9007 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9008 * sysdeps/s390/ifunc-strchr.h: New file.
9010 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9012 * sysdeps/s390/multiarch/Makefile
9013 (sysdep_routines): Remove strncmp variants.
9014 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9015 * sysdeps/s390/multiarch/ifunc-impl-list.c
9016 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9017 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9018 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9019 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9020 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9021 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9022 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9023 * sysdeps/s390/ifunc-strncmp.h: New file.
9025 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9027 * sysdeps/s390/multiarch/Makefile
9028 (sysdep_routines): Remove strcmp variants.
9029 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9030 * sysdeps/s390/multiarch/ifunc-impl-list.c
9031 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9032 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9033 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9034 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9035 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9036 * sysdeps/s390/ifunc-strcmp.h: New file.
9037 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9038 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9039 for 31/64bit and ifunc handling.
9040 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9041 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9042 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9046 * sysdeps/s390/multiarch/Makefile
9047 (sysdep_routines): Remove strncat variants.
9048 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9049 * sysdeps/s390/multiarch/ifunc-impl-list.c
9050 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9051 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9052 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9053 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9054 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9055 * sysdeps/s390/multiarch/strncat.c: Move to ...
9056 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9057 * sysdeps/s390/ifunc-strncat.h: New file.
9059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9061 * sysdeps/s390/multiarch/Makefile
9062 (sysdep_routines): Remove strcat variants.
9063 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9064 * sysdeps/s390/multiarch/ifunc-impl-list.c
9065 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9066 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9067 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9068 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9069 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9070 * sysdeps/s390/multiarch/strcat.c: Move to ...
9071 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9072 * sysdeps/s390/ifunc-strcat.h: New file.
9074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9076 * sysdeps/s390/multiarch/Makefile
9077 (sysdep_routines): Remove stpncpy variants.
9078 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9079 * sysdeps/s390/multiarch/ifunc-impl-list.c
9080 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9081 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9082 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9083 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9084 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9085 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9086 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9087 * sysdeps/s390/ifunc-stpncpy.h: New file.
9089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9091 * sysdeps/s390/multiarch/Makefile
9092 (sysdep_routines): Remove strncpy variants.
9093 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9094 * sysdeps/s390/multiarch/ifunc-impl-list.c
9095 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9096 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9097 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9098 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9099 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9100 * sysdeps/s390/ifunc-strncpy.h: New file.
9101 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9102 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9103 and adjust ifunc handling.
9104 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9105 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9106 and adjust ifunc handling.
9107 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9108 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9112 * sysdeps/s390/multiarch/Makefile
9113 (sysdep_routines): Remove stpcpy variants.
9114 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9115 * sysdeps/s390/multiarch/ifunc-impl-list.c
9116 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9117 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9118 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9119 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9120 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9121 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9122 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9123 * sysdeps/s390/ifunc-stpcpy.h: New file.
9125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9127 * sysdeps/s390/multiarch/Makefile
9128 (sysdep_routines): Remove strcpy variants.
9129 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9130 * sysdeps/s390/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9132 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9133 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9134 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9135 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9136 * sysdeps/s390/ifunc-strcpy.h: New file.
9137 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9138 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9139 for 31/64bit and ifunc handling.
9140 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9141 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9142 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9146 * sysdeps/s390/multiarch/Makefile
9147 (sysdep_routines): Remove strnlen variants.
9148 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9149 * sysdeps/s390/multiarch/ifunc-impl-list.c
9150 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9151 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9152 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9153 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9154 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9155 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9156 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9157 * sysdeps/s390/ifunc-strnlen.h: New file.
9159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9161 * sysdeps/s390/multiarch/Makefile
9162 (sysdep_routines): Remove strlen variants.
9163 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9164 * sysdeps/s390/multiarch/ifunc-impl-list.c
9165 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9166 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9167 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9168 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9169 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9170 * sysdeps/s390/multiarch/strlen.c: Move to ...
9171 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9172 * sysdeps/s390/ifunc-strlen.h: New file.
9174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9176 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9177 * sysdeps/s390/multiarch/ifunc-impl-list.c
9178 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9179 * sysdeps/s390/ifunc-memmem.h: New file.
9180 * sysdeps/s390/memmem.c: Likewise.
9181 * sysdeps/s390/memmem-c.c: Likewise.
9182 * sysdeps/s390/memmem-vx.c: Likewise.
9184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9186 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9187 * sysdeps/s390/multiarch/ifunc-impl-list.c
9188 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9189 * sysdeps/s390/ifunc-strstr.h: New file.
9190 * sysdeps/s390/strstr.c: Likewise.
9191 * sysdeps/s390/strstr-c.c: Likewise.
9192 * sysdeps/s390/strstr-vx.c: Likewise.
9194 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9196 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9197 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9198 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9199 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9201 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9202 * sysdeps/s390/memmove-c.c: New file.
9203 * sysdeps/s390/memmove.c: Likewise.
9204 * sysdeps/s390/multiarch/ifunc-impl-list.c
9205 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9209 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9210 * sysdeps/s390/configure.ac: Add check for z13 support.
9211 * sysdeps/s390/configure: Regenerated.
9213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9215 * sysdeps/s390/memcopy.h: New file.
9217 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9219 * sysdeps/s390/s390-32/bcopy.S: Remove.
9220 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9224 * sysdeps/s390/ifunc-memcpy.h: New File.
9225 * sysdeps/s390/memcpy.S: Move to ...
9226 * sysdeps/s390/memcpy-z900.S ... here.
9227 Move implementations from memcpy-s390x.s to here.
9228 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9229 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9230 Remove memcpy/mempcpy variants.
9231 * sysdeps/s390/Makefile (sysdep_routines):
9232 Add memcpy/mempcpy variants.
9233 * sysdeps/s390/multiarch/ifunc-impl-list.c
9234 (__libc_ifunc_impl_list): Adjust ifunc variants for
9236 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9238 * sysdeps/s390/memcpy.c: ... here.
9239 Adjust ifunc variants for memcpy.
9240 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9241 * sysdeps/s390/mempcpy.c: ... here.
9242 Adjust ifunc variants for mempcpy.
9243 * sysdeps/s390/mempcpy.S: Delete file.
9245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9247 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9248 * sysdeps/s390/memcpy.S: ... here.
9249 Adjust to be usable for 31/64bit.
9250 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9251 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9252 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9253 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9254 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9255 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9256 Adjust to be usable for 31/64bit.
9257 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9258 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9259 * sysdeps/s390/multiarch/memcpy.c: ... here.
9260 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9262 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9264 * sysdeps/s390/ifunc-memcmp.h: New File.
9265 * sysdeps/s390/memcmp.S: Move to ...
9266 * sysdeps/s390/memcmp-z900.S ... here.
9267 Move implementations from memcmp-s390x.s to here.
9268 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9269 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9270 Remove memcmp variants.
9271 * sysdeps/s390/Makefile (sysdep_routines):
9272 Add memcmp variants.
9273 * sysdeps/s390/multiarch/ifunc-impl-list.c
9274 (__libc_ifunc_impl_list): Adjust ifunc variants for
9276 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9278 * sysdeps/s390/memcmp.c: ... here.
9279 Adjust ifunc variants for memcmp.
9281 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9283 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9284 * sysdeps/s390/memcmp.S: ... here.
9285 Adjust to be usable for 31/64bit.
9286 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9287 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9288 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9290 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9291 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9292 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9293 Adjust to be usable for 31/64bit.
9294 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9295 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9296 * sysdeps/s390/multiarch/memcmp.c: ... here.
9297 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9299 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9301 * sysdeps/s390/s390-32/bzero.S: Delete file.
9302 * sysdeps/s390/s390-64/bzero.S: Likewise.
9303 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9304 * sysdeps/s390/bzero.c: New file.
9305 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9306 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9307 * sysdeps/s390/multiarch/ifunc-impl-list.c
9308 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9312 * sysdeps/s390/ifunc-memset.h: New File.
9313 * sysdeps/s390/memset.S: Move to ...
9314 * sysdeps/s390/memset-z900.S ... here.
9315 Move implementations from memset-s390x.s to here.
9316 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9317 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9318 Remove memset variants.
9319 * sysdeps/s390/Makefile (sysdep_routines):
9320 Add memset variants.
9321 * sysdeps/s390/multiarch/ifunc-impl-list.c
9322 (__libc_ifunc_impl_list): Adjust ifunc variants for
9324 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9326 * sysdeps/s390/memset.c: ... here.
9327 Adjust ifunc variants for memset.
9329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9331 * sysdeps/s390/s390-64/memset.S: Move to ...
9332 * sysdeps/s390/memset.S: ... here.
9333 Adjust to be usable for 31/64bit.
9334 * sysdeps/s390/s390-32/memset.S: Delete File.
9335 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9336 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9338 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9339 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9340 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9341 Adjust to be usable for 31/64bit.
9342 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9343 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9344 * sysdeps/s390/multiarch/memset.c: ... here.
9345 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9347 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9349 * sysdeps/s390/multiarch/ifunc-resolve.h
9350 (s390_libc_ifunc_init, s390_libc_ifunc,
9351 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9355 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9356 * sysdeps/s390/configure.ac: Add check for z10 support.
9357 * sysdeps/s390/configure: Regenerated.
9359 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9361 * sysdeps/i386/atomic-machine.h: Merged with ...
9362 * sysdeps/x86_64/atomic-machine.h: To ...
9363 * sysdeps/x86/atomic-machine.h: This. New file.
9365 2018-12-18 Florian Weimer <fweimer@redhat.com>
9367 Rewrite locale/gen-translit.pl in Python.
9368 * locale/Makefile (generated): Add C-translit.h.
9369 (before-compile): Add $(objpfx)C-translit.h.
9370 (C-translit.h): Move to $(objpfx). Create target directory.
9371 Build using Python script.
9372 * locale/gen-translit.py: New file.
9373 * locale/gen-translit.pl: Remove file.
9374 * locale/C-translit.h.in: Change comment character to '#' for
9375 easier parsing without a C preprocessor.
9376 * locale/C-translit.h: Remove generated file.
9377 * manual/install.texi (Tools for Compilation): Do not mention
9379 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9380 Remove locale/C-translit.h.
9381 * scripts/update-copyrights: Likewise.
9382 * INSTALL: Regenerate.
9384 2018-12-18 Florian Weimer <fweimer@redhat.com>
9387 * localedata/locales/bi_VU: Remove executable bit from file.
9389 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9392 (__localtime64): Add.
9393 * manual/maint.texi: Document Y2038 symbol handling.
9395 (__localtime64): Add.
9396 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9398 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9400 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9403 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9404 to allow extra macros from first or second sources.
9405 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9406 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9407 (tests-special): Add $(objpfx)tst-mman-consts.out.
9408 ($(objpfx)tst-mman-consts.out): New makefile target.
9410 2018-12-17 Mao Han <han_mao@c-sky.com>
9412 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9413 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9414 without stat64 system call support.
9415 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9416 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9417 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9418 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9419 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9420 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9421 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9422 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9423 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9424 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9425 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9427 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9429 regex: fix storage-exhaustion error
9431 * posix/regexec.c (get_subexp):
9432 Do not continue if storage is exhausted.
9434 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9436 regex: fix heap-use-after-free error
9438 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9439 https://debbugs.gnu.org/32592
9440 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9441 call extend_buffers which reallocates the re_string_t internal buffer.
9442 Local variable 'buf' was not updated in such case, resulting in
9444 * posix/regexec.c (get_subexp): Update 'buf' after call to
9447 2018-12-15 Florian Weimer <fweimer@redhat.com>
9449 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9450 (minimum_stride_size): Use it.
9451 (support_blob_repeat_allocate): Likewise.
9453 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9455 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9460 2018-12-14 Florian Weimer <fweimer@redhat.com>
9462 * manual/process.texi (Process Creation Concepts): Remove
9463 documentation of process (ID) lifetime. List more process
9464 creation functions. Reference Process Identification section.
9465 (Process Identification): Add information about process ID
9466 lifetime. Describe Linux thread/task IDs.
9467 * manual/signal.texi (Signaling Another Process): Mention that the
9468 signal is always sent to the process.
9470 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9472 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9473 and tst-ldbl-efgcvt.
9474 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9475 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9476 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9477 (fcvt_tests, output_error, output_r_error, do_test): Use the
9478 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9479 select the type of floating-point variables and arguments; to
9480 produce extra tests for double and conversion specifiers for
9481 printf; and to set the names of called functions.
9482 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9483 in tst-efgcvt-template.c.
9484 * misc/tst-ldbl-efgcvt.c: Likewise.
9486 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9488 * nss/Makefile (tst-nss-test3.out): New rule.
9490 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9492 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9495 2018-12-13 fanjinke <fanjinke@hygon.cn>
9497 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9500 2018-12-13 Andreas Schwab <schwab@suse.de>
9503 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9504 (__pthread_rwlock_rdlock_full): Update expected value for
9505 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9506 * nptl/tst-rwlock-pwn.c: New file.
9507 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9509 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9511 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9514 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9516 * benchtests/scripts/compare_bench.py (do_compare): write to
9517 stderr in casestat is not present.
9518 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9519 stderr in case timings field is not present. Also string showing
9520 the output filename goes into the stderr.
9522 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9524 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9525 and ZeroDivisorError exceptions.
9526 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9527 argument to loop through user provided statistics.
9528 * benchtests/scripts/compare_bench.py (main): Include the --stats
9531 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9533 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9536 2018-12-12 Florian Weimer <fweimer@redhat.com>
9538 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9539 clause to copyright header.
9541 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9544 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9545 registers saved in the stack frame.
9546 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9547 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9549 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9551 * include/bits/monetary-ldbl.h: New file.
9552 * include/bits/printf-ldbl.h: Likewise.
9553 * include/bits/stdio-ldbl.h: Likewise.
9554 * include/bits/stdlib-ldbl.h: Likewise.
9555 * include/bits/syslog-ldbl.h: Likewise.
9556 * include/bits/wchar-ldbl.h: Likewise.
9558 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9560 * libio/libio.h: Remove redirection for _IO_vfprintf.
9562 2018-12-11 Andreas Schwab <schwab@suse.de>
9564 * Makerules: Remove all references to abilist-pattern.
9565 (update-all-abi): Simplify find expression.
9567 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9570 * math/auto-libm-test-in: Add new test case.
9571 * math/auto-libm-test-out-pow: Regenerated.
9572 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9574 2018-12-10 DJ Delorie <dj@redhat.com>
9577 * support/test-container.c: Move postclean step to before we
9580 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9582 * scripts/gen-as-const.py (main): Handle --python option.
9583 * scripts/gen-py-const.awk: Remove.
9584 * Makerules (py-const-script): Use gen-as-const.py.
9585 ($(py-const)): Likewise.
9586 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9587 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9588 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9589 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9590 ~PTHREAD_MUTEX_NO_ELISION_NP.
9591 * manual/README.pretty-printers: Update reference to
9594 * scripts/glibcextract.py: New file.
9595 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9596 or tempfile. Import glibcexctract.
9597 (compute_c_consts): Remove. Moved to glibcextract.py.
9598 (gen_test): Update reference to compute_c_consts.
9600 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9601 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9602 * sysdeps/unix/sysv/linux/Makefile
9603 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9604 Redirect stderr as well as stdout.
9606 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9609 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9610 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9611 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9612 ALWAYS_USE_VSYSCALL.
9613 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9614 ALWAYS_USE_VSYSCALL.
9615 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9616 ALWAYS_USE_VSYSCALL.
9618 2018-12-10 Florian Weimer <fweimer@redhat.com>
9621 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9622 offset instead of count for clarity. Fix typo in comment.
9623 (__old_getdents64): Keep track of previous offset. Use it to call
9625 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9626 that d_off is never zero.
9628 2018-12-10 Andreas Schwab <schwab@suse.de>
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9631 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9633 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9634 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9636 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9638 * timezone/private.h: Update from tzcode 2018g.
9639 * timezone/tzfile.h: Likewise.
9640 * timezone/tzselect.ksh: Likewise.
9641 * timezone/zdump.c: Likewise.
9642 * timezone/zic.c: Likewise.
9644 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9647 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9648 (do_test): Adjust buffer size and fix format.
9650 2018-12-07 DJ Delorie <dj@redhat.com>
9653 * malloc/tst-tcfree3.c: New.
9654 * malloc/Makefile: Add it.
9656 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9658 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9660 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9662 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9663 used as a mask for the mode argument of __vfscanf_internal and
9664 __vfwscanf_internal.
9665 * stdio-common/vfscanf-internal.c
9666 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9667 (__strtof128_internal): Define to __wcstof128_internal.
9668 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9669 __strtof128_internal or __wcstof128_internal when the format of
9670 long double is the same as _Float128.
9672 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9674 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9675 * posix/confstr.c (confstr): Rename to __confstr.
9676 (__confstr): Add hidden def.
9677 (confstr): Add weak alias for __confstr.
9678 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9681 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9683 * NEWS: Mention getcpu.
9684 * include/sched.h (__getcpu): New libc_hidden_proto.
9685 * manual/resource.texi: Document getcpu.
9686 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9687 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9688 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9689 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9690 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9691 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9692 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9693 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9694 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9695 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9697 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9698 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9700 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9702 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9711 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9720 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9721 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9724 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9726 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9728 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9730 2018-12-07 Florian Weimer <fweimer@redhat.com>
9733 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9734 * posix/Versions (GLIBC_2.29): Export
9735 posix_spawn_file_actions_addfchdir_np.
9736 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9737 * posix/spawn_faction_destroy.c
9738 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9739 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9740 and the field action.fchdir_action.
9741 * posix/tst-spawn-chdir.c (add_chdir): New function.
9742 (do_test): Add do_fchdir loop. Call add_chdir.
9743 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9744 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9745 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9746 posix_spawn_file_actions_addfchdir_np.
9747 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9749 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9751 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9752 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9754 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9756 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9758 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9760 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9762 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9764 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9765 (GLIBC_2.29): Likewise.
9766 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9767 (GLIBC_2.29): Likewise.
9768 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9769 (GLIBC_2.29): Likewise.
9770 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9771 (GLIBC_2.29): Likewise.
9772 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9775 (GLIBC_2.29): Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9777 (GLIBC_2.29): Likewise.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9779 (GLIBC_2.29): Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9781 (GLIBC_2.29): Likewise.
9782 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9788 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9789 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9791 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9793 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9798 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9800 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9801 trailing whitespace removed.
9802 * scripts/config.guess: Update to version 2018-11-28.
9803 * scripts/config.sub: Update to version 2018-11-28.
9804 * scripts/install-sh: Update to version 2018-03-11.20.
9805 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9806 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9808 2018-12-07 Florian Weimer <fweimer@redhat.com>
9812 * inet/tst-if_index-long.c: New file.
9813 * inet/Makefile (tests): Add tst-if_index-long.
9815 2018-12-07 Florian Weimer <fweimer@redhat.com>
9817 * support/check.h (support_record_failure_is_failed): Declare.
9818 * support/descriptors.h: New file.
9819 * support/support_descriptors.c: Likewise.
9820 * support/tst-support_descriptors.c: Likewise.
9821 * support/support_record_failure.c
9822 (support_record_failure_is_failed): New function.
9823 * support/Makefile (libsupport-routines): Add support_descriptors.
9824 (tests): Add tst-support_descriptors.
9826 2018-12-05 Zack Weinberg <zackw@panix.com>
9827 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9829 * stdio-common/vfprintf-internal.c
9830 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9831 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9833 and __no_long_double.
9834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9835 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9836 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9837 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9838 and __nldbl_*syslog* functions.
9839 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9840 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9841 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9842 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9843 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9844 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9845 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9846 (__nldbl_vwprintf, __nldbl_wprintf):
9847 Directly call the appropriate __v*printf_internal routine, passing
9848 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9850 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9851 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9852 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9853 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9854 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9855 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9856 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9857 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9858 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9859 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9860 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9861 (__nldbl_syslog, __nldbl_vsyslog):
9862 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9863 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9865 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9868 2018-12-05 Zack Weinberg <zackw@panix.com>
9869 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9872 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9873 Moved here from debug/vsprintf_chk.c.
9874 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9875 and completion logic for the strfile to match exactly what
9876 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9877 _IO_str_init_static_internal instead of maxlen-1.
9878 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9879 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9880 __vsprintf_internal.
9882 * debug/vsprintf_chk.c (__vsprintf_chk)
9883 * debug/sprintf_chk.c (__sprintf_chk):
9884 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9885 'flags' argument is positive, and slen as maxlen. No need to lock
9886 the FILE and/or construct a temporary FILE. Minimize and normalize
9887 header inclusions and variable names. Do not libc_hidden_def anything.
9889 * debug/asprintf_chk.c (__asprintf_chk)
9890 * debug/dprintf_chk.c (__dprintf_chk)
9891 * debug/fprintf_chk.c (__fprintf_chk)
9892 * debug/fwprintf_chk.c (__fwprintf_chk)
9893 * debug/printf_chk.c (__printf_chk)
9894 * debug/snprintf_chk.c (__snprintf_chk)
9895 * debug/swprintf_chk.c (__swprintf_chk)
9896 * debug/vasprintf_chk.c (__vasprintf_chk)
9897 * debug/vdprintf_chk.c (__vdprintf_chk)
9898 * debug/vfprintf_chk.c (__vfprintf_chk)
9899 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9900 * debug/vprintf_chk.c (__vprintf_chk)
9901 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9902 * debug/vswprintf_chk.c (__vswprintf_chk)
9903 * debug/vwprintf_chk.c (__vwprintf_chk)
9904 * debug/wprintf_chk.c (__wprintf_chk):
9905 Directly call the corresponding vxxprintf_internal function, passing
9906 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9907 the FILE and/or construct a temporary FILE. Minimize and normalize
9908 header inclusions and variable names. Do not libc_hidden_def anything.
9910 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9911 __obstack_vprintf_internal.
9912 (__obstack_vprintf_chk): Convert into a wrapper that calls
9913 __obstack_vprintf_internal (these two functions already had the
9914 same code) and move to new file...
9915 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9917 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9918 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9919 * debug/Makefile (routines): Add vobprintf_chk.
9921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9922 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9923 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9924 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9925 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9926 (__nldbl___obstack_vfprintf_chk):
9927 Directly call the corresponding vxxprintf_internal function,
9928 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9929 duplicate comparison of slen with 0 or maxlen from the corresponding
9930 non-__nldbl function.
9932 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9933 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9934 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9935 Remove libc_hidden_proto.
9937 * stdio-common/vfprintf-internal.c
9938 (__vfprintf_internal, __vfwprintf_internal):
9939 Do not check _IO_FLAGS2_FORTIFY.
9940 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9941 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9942 a comment explaining why it has the maxlen argument.
9943 (_IO_acquire_lock_clear_flags2_fct): Remove.
9944 (_IO_acquire_lock_clear_flags2): Remove.
9945 (_IO_release_lock): Remove conditional statement which will
9947 (_IO_acquire_lock): Remove variable which is now unused.
9948 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9949 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9951 * stdio-common/Makefile (tests): Add tst-bz11319 and
9952 tst-bz11319-fortify2.
9953 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9954 * stdio-common/tst-bz11319-fortify2.c: New file.
9955 * stdio-common/tst-bz11319.c: Likewise.
9957 2018-12-05 Zack Weinberg <zackw@panix.com>
9958 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9960 * misc/syslog.c: Include libioP.h, not iolibio.h.
9961 (__vsyslog_internal): New function with the former body of
9962 __vsyslog_chk; takes mode_flags argument same as
9963 __v*printf_internal. Call __vfprintf_internal directly.
9965 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9966 Remove libc_hidden_def.
9967 (__syslog, __syslog_chk): Use __vsyslog_internal.
9968 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9970 * include/sys/syslog.h: Add multiple inclusion guard.
9971 Add prototype for __vsyslog_internal.
9972 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9974 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9975 Use __vsyslog_internal.
9977 2018-12-05 Zack Weinberg <zackw@panix.com>
9978 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9980 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9981 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9982 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9984 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9985 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9987 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9988 Include wctype.h here if COMPILE_WPRINTF is defined.
9989 Define __vfprintf_internal or __vfwprintf_internal, depending
9991 Temporarily, on entry to this function, update mode_flags
9992 according to the environmental settings corresponding to
9993 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9994 Throughout, check mode_flags instead of __ldbl_is_dbl and
9995 _IO_FLAGS2_FORTIFY on the destination FILE.
9996 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9997 Include vfprintf-internal.c. Don't include wctype.h.
9998 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9999 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10001 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10002 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10004 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10006 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10007 and add mode_flags argument; use __vfprintf_internal.
10008 (__vdprintf): New function. Alias vdprintf to this.
10009 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10010 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10011 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10012 (__obstack_printf): Use __obstack_printf_internal.
10013 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10014 public aliases __vsnprintf and vsnprintf.
10015 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10017 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10018 public aliases _IO_vsprintf and vsprintf.
10019 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10020 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10021 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10022 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10023 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10025 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10026 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10027 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10028 * stdio-common/printf.c: Use __vfprintf_internal.
10030 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10031 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10032 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10034 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10035 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10036 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10037 __vfwprintf_internal.
10039 * libio/libio.h: Remove libc_hidden_proto and declaration for
10041 Remove declaration of _IO_vfwprintf.
10042 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10044 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10045 _IO_obstack_printf.
10046 * include/stdio.h: Add prototype for __vasprintf.
10047 (__vsnprintf): Remove declaration, because there are no more
10049 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10050 declaration, because there are no more internal calls.
10052 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10053 __vsnprintf_internal, instead of _IO_vsnprintf.
10054 * argp/argp-help.c (__argp_error, __argp_failure): Use
10055 __vasprintf_internal, instead of _IO_vasprintf.
10056 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10057 redefine, because there are no more internal calls.
10059 2018-12-05 Zack Weinberg <zackw@panix.com>
10060 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10062 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10063 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10064 Include libio/strfile.h instead of libioP.h.
10065 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10066 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10067 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10068 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10069 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10070 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10071 necessary. Do not set __no_long_double. Normalize variable names.
10072 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10073 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10074 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10075 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10076 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10077 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10078 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10079 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10080 Do not set __no_long_double. Normalize variable names.
10082 2018-12-05 Zack Weinberg <zackw@panix.com>
10083 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10085 * stdio-common/isoc99_scanf.c
10086 * stdio-common/isoc99_fscanf.c
10087 * stdio-common/isoc99_sscanf.c
10088 * stdio-common/isoc99_vscanf.c
10089 * stdio-common/isoc99_vfscanf.c
10090 * stdio-common/isoc99_vsscanf.c
10091 * wcsmbs/isoc99_wscanf.c
10092 * wcsmbs/isoc99_fwscanf.c
10093 * wcsmbs/isoc99_swscanf.c
10094 * wcsmbs/isoc99_vwscanf.c
10095 * wcsmbs/isoc99_vfwscanf.c
10096 * wcsmbs/isoc99_vswscanf.c:
10097 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10098 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10099 No need to lock and unlock the FILE passed to that function.
10101 * stdio-common/vfscanf-internal.c
10102 (__vfscanf_internal, __vfwscanf_internal):
10103 Don't look at _IO_FLAGS2_SCANF_STD.
10104 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10105 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10106 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10108 2018-12-05 Zack Weinberg <zackw@panix.com>
10109 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10111 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10112 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10113 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10114 * libio/strfile.h: Add multiple inclusion guard.
10115 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10117 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10118 consistency with the other version of this file.
10119 (ldbl_compat_symbol): New macro.
10120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10123 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10124 Define __vfscanf_internal or __vfwscanf_internal, depending on
10125 COMPILE_WSCANF; don't define any other public symbols.
10126 Remove errval and code to set errp.
10127 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10128 as the mode_flags argument.
10129 (encode_error, conv_error, input_error): Don't set errval.
10130 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10131 Include vfscanf-internal.c.
10132 * stdio-common/vfscanf.c: New file defining the public entry
10133 point vfscanf, which calls __vfscanf_internal.
10134 * stdio-common/vfwscanf.c: New file defining the public entry
10135 point vfwscanf, which calls __vfwscanf_internal.
10137 * stdio-common/iovfscanf.c: New file.
10138 * stdio-common/iovfwscanf.c: Likewise.
10140 * stdio-common/Makefile (routines): Add vfscanf-internal,
10141 vfwscanf-internal, iovfscanf, iovfwscanf.
10142 * stdio-common/Versions: Mention GLIBC_2.29, so that
10143 it can be used in SHLIB_COMPAT expressions.
10144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10145 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10146 Call __vfscanf_internal, instead of _IO_vfscanf.
10147 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10149 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10152 * libio/iovsscanf.c: Clean up includes, when possible. Use
10153 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10154 __vfscanf_internal or __vfwscanf_internal directly.
10155 * libio/iovswscanf.c: Likewise.
10156 * libio/swscanf.c: Likewise.
10157 * libio/vscanf.c: Likewise.
10158 * libio/vwscanf.c: Likewise.
10159 * libio/wscanf.c: Likewise.
10160 * stdio-common/isoc99_fscanf.c: Likewise.
10161 * stdio-common/isoc99_scanf.c: Likewise.
10162 * stdio-common/isoc99_sscanf.c: Likewise.
10163 * stdio-common/isoc99_vfscanf.c: Likewise.
10164 * stdio-common/isoc99_vscanf.c: Likewise.
10165 * stdio-common/isoc99_vsscanf.c: Likewise.
10166 * stdio-common/scanf.c: Likewise.
10167 * stdio-common/sscanf.c: Likewise.
10168 * wcsmbs/isoc99_fwscanf.c: Likewise.
10169 * wcsmbs/isoc99_swscanf.c: Likewise.
10170 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10171 * wcsmbs/isoc99_vswscanf.c: Likewise.
10172 * wcsmbs/isoc99_vwscanf.c: Likewise.
10173 * wcsmbs/isoc99_wscanf.c: Likewise.
10175 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10178 (__tz_compute): Replace time_t with __time64_t.
10179 (__tz_convert): Replace time_t* with __time64_t.
10180 (__offtime): Replace time_t* with __time64_t.
10182 (__gmtime_r): Adjust call to __tz_convert.
10183 (gmtime): Likewise.
10185 (__localtime_r): Likewise.
10186 (localtime): Likewise.
10187 * time/offtime.c: Replace time_t with __time64_t.
10188 * time/tzset.c: Likewise.
10190 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10192 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10193 dynamic linker unless [$(run-built-tests) = yes].
10195 2018-12-03 DJ Delorie <dj@delorie.com>
10197 * support/test-container.c (check_for_unshare_hints): New.
10198 (main): Call it if unshare fails. Add support for "su" scriptlet
10201 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10203 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10204 'START' to indicate that start text should be output.
10205 (gen_test): Likewise.
10206 (main): Generate 'START' for first symbol or '--' line, or at end
10207 of input if not previously generated.
10209 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10212 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10213 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10214 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10215 ALWAYS_USE_VSYSCALL.
10217 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10220 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10223 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10226 * locale/programs/localedef.c: Declare boolean hard_links default true.
10227 (options): Add --no-hard-links option.
10228 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10229 * locale/programs/localedef.h: Declare prototype for hard_links.
10230 * locale/programs/locfile.c (write_locale_data): Don't use hard
10231 links if hard_links is false.
10233 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10235 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10236 cpu_features_basic.
10237 (__cache_sysconf): Likewise.
10238 (init_cacheinfo): Likewise.
10239 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10240 populate COMMON_CPUID_INDEX_80000007 and
10241 COMMON_CPUID_INDEX_80000008.
10242 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10243 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10244 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10245 (init_cpu_features): Use _Static_assert on
10246 index_arch_Fast_Unaligned_Load.
10247 __get_cpuid_registers and __get_arch_feature. Updated for
10248 cpu_features_basic. Set stepping in cpu_features.
10249 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10250 (FEATURE_INDEX_2): New.
10251 (FEATURE_INDEX_MAX): Changed to enum.
10252 (COMMON_CPUID_INDEX_D_ECX_1): New.
10253 (COMMON_CPUID_INDEX_80000007): Likewise.
10254 (COMMON_CPUID_INDEX_80000008): Likewise.
10255 (cpuid_registers): Likewise.
10256 (cpu_features_basic): Likewise.
10257 (CPU_FEATURE_USABLE): Likewise.
10258 (bit_arch_XXX_Usable): Likewise.
10259 (cpu_features): Use cpuid_registers and cpu_features_basic.
10260 (bit_arch_XXX): Reweritten.
10261 (bit_cpu_XXX): Likewise.
10262 (index_cpu_XXX): Likewise.
10263 (reg_XXX): Likewise.
10264 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10266 (CHECK_CPU_FEATURE): New.
10267 (CHECK_CPU_FEATURE_USABLE): Likewise.
10268 (cpu_kinds): Likewise.
10269 (do_test): Print vendor, family, model and stepping. Check
10270 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10271 (TEST_FUNCTION): Removed.
10272 Include <support/test-driver.c> instead of
10273 "../../test-skeleton.c".
10274 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10275 Check POPCNT instead of POPCOUNT.
10276 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10278 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10280 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10281 there is no element in `consts'.
10283 2018-12-01 Florian Weimer <fweimer@redhat.com>
10285 * support/support_capture_subprocess.c
10286 (support_capture_subprocess): Check that pipe descriptors have
10287 expected values. Close original pipe descriptors in subprocess.
10289 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10292 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10293 attr with __pthread_default_barrierattr.
10294 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10295 attr with __pthread_default_condattr.
10296 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10297 attr with __pthread_default_mutexattr.
10298 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10299 attr with __pthread_default_rwlockattr.
10301 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10303 * manual/tunables.texi (POSIX Thread Tunables): New node.
10304 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10305 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10306 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10307 __pthread_tunables_init.
10308 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10309 (max_adaptive_count): Define.
10310 * nptl/pthread_mutex_conf.c: New file.
10311 * nptl/pthread_mutex_conf.h: New file.
10312 * sysdeps/generic/adaptive_spin_count.h: New file.
10313 * sysdeps/nptl/dl-tunables.list: New file.
10314 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10315 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10316 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10319 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10322 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10323 * stdlib/on_exit.c (__on_exit): Likewise.
10324 * stdlib/Makefile (tests): Add tst-bz20544.
10325 * stdlib/tst-bz20544.c: New test.
10327 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10330 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10331 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10334 2018-11-30 Florian Weimer <fweimer@redhat.com>
10336 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10337 Extend error logging.
10338 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10341 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10343 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10344 __sigismember instead of sigismember.
10345 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10346 cancel_handler): New definitions.
10347 (do_system): Use posix_spawn instead of fork and execl and remove
10349 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10350 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10351 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10352 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10353 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10354 * sysdeps/unix/sysv/linux/system.c: Likewise.
10358 * NEWS: Add new semantic for atfork with popen and system.
10359 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10362 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10365 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10366 modification order when accessing reloc_result->addr.
10367 * include/link.h (reloc_result): Add field init.
10368 * nptl/Makefile (tests): Add tst-audit-threads.
10369 (modules-names): Add tst-audit-threads-mod1 and
10370 tst-audit-threads-mod2.
10371 Add rules to build tst-audit-threads.
10372 * nptl/tst-audit-threads-mod1.c: New file.
10373 * nptl/tst-audit-threads-mod2.c: Likewise.
10374 * nptl/tst-audit-threads.c: Likewise.
10375 * nptl/tst-audit-threads.h: Likewise.
10377 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10379 * scripts/gen-as-const.py: New file.
10380 * scripts/gen-as-const.awk: Remove.
10381 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10383 ($(objpfx)test-as-const-%.c): Likewise.
10385 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10387 * elf/dl-exception.c: Include <_itoa.h>.
10389 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10391 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10392 returned by __f_setlk.
10394 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10395 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10397 * elf/Makefile (tests-internal): Add tst-create_format1.
10398 * elf/dl-exception.c (_dl_exception_create_format): Support
10400 * elf/tst-create_format1.c: New file.
10402 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10404 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10405 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10407 * argp/argp-help.c (__argp_failure): Likewise.
10409 2018-11-29 Mao Han <han_mao@c-sky.com>
10411 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10412 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10413 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10414 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10415 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10416 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10417 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10418 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10419 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10420 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10421 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10422 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10423 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10424 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10425 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10426 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10427 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10428 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10429 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10430 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10431 (R_CKCORE_TLS_TPOFF32): New defines.
10433 2018-11-29 Florian Weimer <fweimer@redhat.com>
10435 * posix/Makefile (before-compile): Remove testcases.h and
10437 (generated): Add testcases.h and ptestcases.h.
10438 (testcases.h, ptestcases.h): Move to $(objpfx).
10439 (runtests.o): Add dependency on testcases.h.
10440 (runptests.o): Add dependency on ptestcases.h.
10441 * posix/testcases.h, posix/ptestcases.h: Remove files.
10442 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10443 not touch posix/testcases.h and posix/ptestcases.h.
10445 2018-11-28 Florian Weimer <fweimer@redhat.com>
10447 support: Add signal support to support_capture_subprocess_check.
10448 * support/capture_subprocess.h (support_capture_subprocess_check):
10449 Adjust comment and rename parameter.
10450 * support/support_capture_subprocess_check.c
10451 (print_actual_status): New function.
10452 (support_capture_subprocess_check): Support negative
10453 status_or_signal. Call print_actual_status.
10454 * support/tst-support_capture_subprocess.c (do_test): Call
10455 support_capture_subprocess_check.
10456 * libio/tst-vtables-common.c (termination_status)
10457 (init_termination_status): Remove.
10458 (check_for_termination): Adjust support_capture_subprocess_check
10460 (do_test): Remove call to init_termination_status.
10462 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10464 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10465 source directory instead of a copy.
10466 (CommandList.create_copy_dir): Remove.
10468 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10470 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10472 2018-11-28 Florian Weimer <fweimer@redhat.com>
10474 * support/support.h (support_quote_string): Do not use str
10477 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10479 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10480 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10482 2018-11-27 Florian Weimer <fweimer@redhat.com>
10484 * support/support.h (support_quote_string): Declare.
10485 * support/support_quote_string.c: New file.
10486 * support/tst-support_quote_string.c: Likewise.
10487 * support/Makefile (libsupport-routines): Add
10488 support_quote_string.
10489 (tests): Add tst-support_quote_string.
10491 2018-11-27 Florian Weimer <fweimer@redhat.com>
10495 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10496 descriptor leak in case of ENODEV error.
10498 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10501 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10502 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10505 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10507 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10508 Error for unknown lines.
10510 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10512 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10513 Touch additional files.
10515 2018-11-26 Florian Weimer <fweimer@redhat.com>
10518 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10521 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10525 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10526 SHARED. Include sysdep.h.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10528 ALWAYS_USE_VSYSCALL.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10530 ALWAYS_USE_VSYSCALL.
10532 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10535 * nptl/Makefile (tests-static): Add tst-cond11-static.
10537 * nptl/tst-cond11-static.c: New File.
10538 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10539 tst-affinity-static.
10541 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10543 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10544 (USE_VSYSCALL): Likewise.
10545 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10546 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10548 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10553 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10556 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10557 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10560 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10562 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10563 (tst-cet-legacy-1a-ARGS): New.
10564 ($(objpfx)tst-cet-legacy-1a): New target.
10565 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10567 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10569 * conform/conformtest.py (CompileSubTest.__init__): Set
10570 self.run_early to False.
10571 (ExecuteSubTest.__init__): Likewise.
10572 (HeaderTests.run): Try running all non-optional, non-XFAILed
10573 compilation tests in a single execution of the compiler.
10575 * conform/conformtest.py (CompileSubTest): New class.
10576 (ExecuteSubTest): Likewise.
10577 (ElementTest.run): Rename to gen_subtests. Append tests to
10578 self.subtests instead of running them.
10579 (ConstantTest.run): Likewise.
10580 (SymbolTest.run): Likewise.
10581 (TypeTest.run): Likewise.
10582 (TagTest.run): Likewise.
10583 (FunctionTest.run): Likewise.
10584 (VariableTest.run): Likewise.
10585 (MacroFunctionTest.run): Likewise.
10586 (MacroStrTest.run): Likewise.
10587 (HeaderTests.handle_test_line): Generate subtests for tests.
10588 (HeaderTests.run): Run subtests for tests.
10590 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10592 * math/Versions (GLIBC_2.29): Add pow.
10593 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10595 * math/w_pow.c: New file.
10596 * sysdeps/i386/fpu/w_pow.c: New file.
10597 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10598 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10599 and add necessary aliases.
10600 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10601 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10602 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10603 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10604 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10605 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10606 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10607 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10608 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10609 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10610 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10611 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10612 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10613 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10614 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10619 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10620 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10621 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10623 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10624 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10625 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10628 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10629 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10630 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10632 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10634 * math/Versions (GLIBC_2.29): Add log2.
10635 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10637 * math/w_log2.c: New file.
10638 * sysdeps/i386/fpu/w_log2.c: New file.
10639 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10640 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10641 and add necessary aliases.
10642 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10643 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10644 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10645 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10650 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10653 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10661 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10666 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10667 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10669 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10671 * math/Versions (GLIBC_2.29): Add log.
10672 * math/w_log_compat.c (__log_compat): Change to versioned compat
10674 * math/w_log.c: New file.
10675 * sysdeps/i386/fpu/w_log.c: New file.
10676 * sysdeps/ia64/fpu/e_log.S: Update.
10677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10678 and add necessary aliases.
10679 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10680 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10681 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10682 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10684 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10691 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10698 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10699 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10703 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10705 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10707 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10708 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10709 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10710 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10712 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10714 * math/Versions (GLIBC_2.29): Add exp and exp2.
10715 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10716 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10717 * math/w_exp_compat.c (__exp_compat): Likewise.
10718 * math/w_exp.c: New file.
10719 * math/w_exp2.c: New file.
10720 * sysdeps/i386/fpu/w_exp.c: New file.
10721 * sysdeps/i386/fpu/w_exp2.c: New file.
10722 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10723 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10724 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10725 and add necessary aliases.
10726 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10727 and add necessary aliases.
10728 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10729 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10730 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10731 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10732 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10733 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10735 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10737 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10738 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10739 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10740 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10742 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10743 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10744 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10751 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10754 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10755 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10756 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10757 (__ieee754_exp): Rename to __exp.
10758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10759 (__ieee754_exp): Rename to __exp.
10760 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10761 (__ieee754_exp): Rename to __exp.
10762 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10764 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10766 2018-11-20 DJ Delorie <dj@redhat.com>
10768 * malloc/malloc.c (tcache_entry): Add key field.
10769 (tcache_put): Set it.
10770 (tcache_get): Likewise.
10771 (_int_free): Check for double free in tcache.
10772 * malloc/tst-tcfree1.c: New.
10773 * malloc/tst-tcfree2.c: New.
10774 * malloc/Makefile: Run the new tests.
10775 * manual/probes.texi: Document memory_tcache_double_free probe.
10777 * dlfcn/dlerror.c (check_free): Prevent double frees.
10779 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10781 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10783 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10785 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10786 in tests. Use names for format arguments.
10787 (ConstantTest.run): Likewise.
10788 (SymbolTest.run): Likewise.
10789 (TypeTest.run): Likewise.
10790 (TagTest.run): Likewise.
10791 (FunctionTest.run): Likewise.
10792 (VariableTest.run): Likewise.
10793 (MacroFunctionTest.run): Likewise.
10794 (MacroStrTest.run): Likewise.
10795 (HeaderTests.__init__): Set self.num_tests.
10796 (HeaderTests.handle_test_line): Set test.num. Increment
10799 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10801 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10802 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10805 2018-11-19 Mao Han <han_mao@c-sky.com>
10807 * scripts/config.guess: Update to version 2018-08-29.
10808 * scripts/config.sub: Update to version 2018-08-29.
10810 2018-11-19 Florian Weimer <fweimer@redhat.com>
10812 support: Print timestamps in timeout handler.
10813 * support/support_test_main.c (print_timestamp): New function.
10814 (signal_handler): Use it to print the termination time and the
10815 time of the last write to standard output.
10817 2018-11-16 Zack Weinberg <zackw@panix.com>
10818 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10820 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10821 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10823 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10824 and add flags argument. Check flags instead of __ldbl_is_dbl when
10825 deciding whether to set is_long_double.
10826 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10827 passing zero for flags argument.
10828 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10831 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10832 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10833 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10834 variable names. Remove libc_hidden_def/libc_hidden_proto from
10835 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10836 longer called from within the library.
10837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10838 for __nldbl___vstrfmon_l, declare it explicitly.
10840 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10842 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10844 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10846 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10847 F_SETLK64, F_SETLKW64, respectively.
10848 * sysdeps/mach/hurd/f_setlk.c: New file.
10849 * sysdeps/mach/hurd/f_setlk.h: New file.
10850 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10852 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10853 (__libc_fcntl): Move non-flock operations to...
10854 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10855 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10857 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10859 mktime: DEBUG_MKTIME cleanup
10860 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10861 And it’s no longer needed now that glibc and Gnulib both have
10862 their own testing mechanisms for mktime.
10863 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10865 mktime: fix non-EOVERFLOW errno handling
10867 mktime was not properly reporting failures when the underlying
10868 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10869 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10870 The problem could happen on non-glibc platforms, with Gnulib.
10871 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10872 (tm_diff): ... this simpler function, which does not change errno.
10873 All callers changed to deal with errno themselves.
10874 (ranged_convert, __mktime_internal): Return failure immediately if
10875 the underlying function reports any failure other than EOVERFLOW.
10876 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10879 mktime: fix bug with Y2038 DST transition
10881 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10882 mishandle a DST transition that jumps over the Y2038 boundary.
10883 No such DST transitions are known so this is only a theoretical
10884 bug, but we might as well do things right.
10886 mktime: make more room for overflow
10888 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10889 This is so that we can add tm_diff results to a previous guess,
10890 which will be useful in a later patch.
10892 mktime: simplify offset guess
10894 * time/mktime.c (__mktime_internal): Omit excess precision.
10896 mktime: new test for mktime failure
10898 Based on a test suggested by Albert Aribaud in:
10899 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10900 * time/Makefile (tests): Add bug-mktime4.
10901 * time/bug-mktime4.c: New file.
10903 mktime: fix EOVERFLOW bug
10905 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10906 Include libc-config.h, not config.h, for __set_errno.
10907 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10909 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10911 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10912 __attribute_copy__ to copy attributes from name. Drop static qualifier
10913 to avoid warnings about leaf attribute not having effect on static
10916 2018-11-13 Florian Weimer <fweimer@redhat.com>
10918 * malloc/malloc.c (fastbin_push_entry): New function.
10919 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10920 (REMOVE_FB): Remove macro.
10921 (_int_malloc): Use fastbin_pop_entry and reindent.
10922 (_int_free): Use fastbin_push_entry.
10923 (malloc_consolidate): Use atomic_exchange_acquire.
10925 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10927 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10928 alias attribute, not with strong_alias.
10930 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10931 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10932 with additional parameter thread.
10933 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10934 in terms of __hidden_ver2.
10935 (hidden_tls_def): New macro.
10936 (libc_hidden_tls_def): Likewise.
10937 (rtld_hidden_tls_def): Likewise.
10938 (libm_hidden_tls_def): Likewise.
10939 (libmvec_hidden_tls_def): Likewise.
10940 (libresolv_hidden_tls_def): Likewise.
10941 (librt_hidden_tls_def): Likewise.
10942 (libdl_hidden_tls_def): Likewise.
10943 (libnss_files_hidden_tls_def): Likewise.
10944 (libnsl_hidden_tls_def): Likewise.
10945 (libnss_nisplus_hidden_tls_def): Likewise.
10946 (libutil_hidden_tls_def): Likewise.
10947 (libutil_hidden_tls_def): Likweise.
10948 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10949 libc_hidden_tls_def.
10950 (__sim_disabled_exceptions_thread): Likewise.
10951 (__sim_round_mode_thread): Likewise.
10953 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10954 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10955 copy attributes from name.
10957 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10959 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10960 Use __attribute_copy__ to copy attributes from name.
10962 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10963 with __hidden_ver1 call.
10964 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10965 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10966 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10967 (__cosf): Do not declare here.
10968 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10969 (__sincosf): Do not declare here.
10970 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10971 (__sinf): Do not declare here.
10973 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10974 (__BIG_ENDIAN): Likewise.
10975 (__BYTE_ORDER): Likewise.
10976 (strong_alias): Likewise.
10977 (_strong_alias): Likewise.
10979 2018-11-12 Florian Weimer <fweimer@redhat.com>
10981 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10982 function. Move after the definition of in_smallbin_range. Do not
10983 use __builtin_expect for paths that lead to a noreturn function.
10984 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10985 because it is unclear whether this is in fact an unlikely
10987 (_int_malloc, _int_free): Adjust.
10988 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10990 * malloc/arena.c (heap_trim): Likewise.
10992 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10994 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10995 it, free it if needed.
10996 (reauthenticate): Test and use ccwdir.
10997 (child_init_port): In non-resetids case, test and use ccwdir.
10998 (child_chdir): New nested function to set ccwdir.
10999 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11000 * hurd/hurd/port.h (_hurd_port_move): New function.
11001 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11002 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11003 * hurd/Versions (_hurd_port_move): Export function.
11004 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11006 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11007 of dtablesize for allocating dtable_cloexec.
11009 2018-11-09 Martin Sebor <msebor@redhat.com>
11011 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11012 it's already defined.
11013 (_strong_alias): Use __attribute_copy__.
11014 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11015 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11016 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11017 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11018 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11019 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11020 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11021 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11022 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11023 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11024 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11025 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11026 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11027 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11028 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11029 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11030 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11031 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11032 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11034 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11036 * misc/tst-efgcvt.c: Include support/check.h and
11037 support/test-driver.c. Do not include test-skeleton.c.
11038 (error_count): Remove.
11039 (output_error): Replace increments to error_count with calls to
11040 support_record_failure.
11041 (output_r_error): Likewise.
11042 (special): Likewise.
11043 (do_test): Unconditionally return zero.
11044 (TEST_FUNCTION): Remove.
11046 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11048 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11050 ($(linknamespace-header-tests)): Likewise.
11052 * conform/conformtest.py: New file.
11053 * conform/conformtest.pl: Remove.
11054 * conform/GlibcConform.pm: Likewise.
11055 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11056 (KEYWORDS_C99): Likewise.
11057 (KEYWORDS): Likewise.
11058 * conform/Makefile ($(conformtest-header-tests)): Use
11059 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11060 option. Use --header instead of --headers.
11061 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11063 * conform/data/spawn.h-data: Likewise.
11064 * conform/data/fcntl.h-data (openat): Add space after function
11066 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11067 (wcscasecmp_l): Likewise.
11068 * conform/data/termios.h-data (c_cc): Add space after element
11071 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11073 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11074 instead of manually comparing and reporting mismatching strings.
11075 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11076 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11078 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11081 __ASSUME_SOCKETCALL.
11082 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11083 (__ASSUME_SOCKETCALL): Remove.
11084 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11085 (__ASSUME_SOCKETCALL): Likewise.
11086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11087 (__ASSUME_SOCKETCALL): Likewise.
11088 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11089 (__ASSUME_SOCKETCALL): Likewise.
11090 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11091 (__ASSUME_SOCKETCALL): Likewise.
11092 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11093 (__ASSUME_SOCKETCALL): Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11095 (__ASSUME_SOCKETCALL): Likewise.
11097 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11100 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11101 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11102 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11103 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11104 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11107 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11110 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11112 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11115 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11116 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11118 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11120 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11122 * support/support_test_compare_string.c
11123 (support_test_compare_string): Fix printf format.
11125 2018-11-07 Florian Weimer <fweimer@redhat.com>
11127 Implement TEST_COMPARE_STRING.
11128 * support/check.h (TEST_COMPARE_STRING): Define.
11129 (support_test_compare_string): Declare.
11130 * support/Makefile (libsupport-routines): Add
11131 support_test_compare_string.
11132 (tests): Add tst-test_compare_string.
11133 * support/support_test_compare_string.c: New file.
11134 * support/tst-test_compare_string.c: Likewise.
11136 2018-11-07 Andreas Schwab <schwab@suse.de>
11139 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11140 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11143 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11146 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11147 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11148 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11149 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11152 2018-11-06 Florian Weimer <fweimer@redhat.com>
11155 * posix/Makefile (routines): Add spawn_faction_addchdir.
11156 (tests): Add tst-spawn-chdir.
11157 * posix/Versions (GLIBC_2.29): Add
11158 posix_spawn_file_actions_addchdir_np.
11159 * posix/spawn_faction_addchdir.c: New file.
11160 * posix/spawn_faction_destroy.c
11161 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11162 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11163 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11165 * posix/tst-spawn-chdir.c: New file.
11166 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11167 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11168 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11169 posix_spawn_file_actions_addchdir_np.
11170 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11172 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11174 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11175 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11177 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11179 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11181 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11183 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11185 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11187 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11188 (GLIBC_2.29): Likewise.
11189 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11190 (GLIBC_2.29): Likewise.
11191 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11192 (GLIBC_2.29): Likewise.
11193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11194 (GLIBC_2.29): Likewise.
11195 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11198 (GLIBC_2.29): Likewise.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11200 (GLIBC_2.29): Likewise.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11202 (GLIBC_2.29): Likewise.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11204 (GLIBC_2.29): Likewise.
11205 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11211 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11216 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11221 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11223 * misc/Makefile (tests): Add tst-ldbl-error.
11224 * misc/tst-ldbl-error.c: New file.
11226 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11228 * misc/Makefile (tests): Add tst-ldbl-warn.
11229 * misc/tst-ldbl-warn.c: New file.
11231 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11233 * argp/Makefile (tests): Add tst-ldbl-argp.
11234 * argp/tst-ldbl-argp.c: New file.
11236 2018-11-05 Arjun Shankar <arjun@redhat.com>
11238 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11239 __gconv_path_elem and call __gconv_get_path unconditionally.
11241 2018-11-05 Andreas Schwab <schwab@suse.de>
11244 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11245 creating the first helper thread failed.
11247 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11249 * sysdeps/mach/hurd/msync.c: New file.
11251 2018-11-02 Florian Weimer <fweimer@redhat.com>
11253 * support/shell-container.c (copy_func): Call
11254 support_copy_file_range instead of copy_file_range to support
11255 cross-device copies.
11257 2018-11-02 Florian Weimer <fweimer@redhat.com>
11259 * support/test-container.c: Include <libc-pointer-arith.h> for
11262 2018-11-01 Zong Li <zong@andestech.com>
11264 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11265 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11266 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11267 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11269 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11270 variable to avoid overlap arguments.
11272 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11274 * posix/bug-regex22.c (main): Use puts with distinct error
11275 messages for unexpected success of re_compile_pattern, not printf
11276 with NULL argument to %s.
11278 * stdio-common/bug22.c: Include <libc-diag.h>.
11279 (do_test): Disable -Wformat-overflow= warnings around fprintf
11280 calls outputting more than INT_MAX characters.
11281 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11282 around printf call with NULL %s argument.
11285 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11286 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11288 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11289 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11290 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11291 (__ASSUME_SENDTO_SYSCALL): Likewise.
11292 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11293 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11295 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11296 (__ASSUME_CONNECT_SYSCALL): Likewise.
11297 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11298 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11299 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11301 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11303 [__LINUX_KERNEL_VERSION >= 0x040400]
11304 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11305 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11307 (listen): Likewise.
11308 (setsockopt): Likewise.
11310 2018-11-01 Fredrik Noring <noring@nocrew.org>
11312 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11313 with the ISA override.
11315 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11317 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11320 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11322 * manual/errno.texi (EIEIO): Document how translators should
11323 translate the error message.
11324 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11325 printing trailing whitespaces refused by git.
11326 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11327 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11328 * hurd/Makefile (user-interfaces): Add pci.
11330 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11332 * conform/linknamespace.py: New file.
11333 * conform/linknamespace.pl: Remove file.
11334 * conform/Makefile ($(linknamespace-header-tests)): Use
11335 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11338 2018-10-30 Florian Weimer <fweimer@redhat.com>
11340 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11343 2018-10-30 Florian Weimer <fweimer@redhat.com>
11345 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11347 2018-10-30 Florian Weimer <fweimer@redhat.com>
11349 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11350 support_blob_repeat.
11352 2018-10-30 Florian Weimer <fweimer@redhat.com>
11354 Avoid spurious test failures in stdlib/test-bz22786.
11355 * support/Makefile (libsupport-routines): Add blob_repeat.
11356 (tests): Add tst-support_blob_repeat.
11357 * support/blob_repeat.h: New file.
11358 * support/blob_repeat.c: Likewise.
11359 * support/tst-support_blob_repeat.c: Likewise.
11360 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11361 support_blob_repeat_allocate.
11363 2018-10-30 Andreas Schwab <schwab@suse.de>
11366 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11367 Don't use tail call.
11368 * elf/tst-unwind-main.c: New file.
11369 * elf/Makefile (tests): Add tst-unwind-main.
11370 (CFLAGS-tst-unwind-main.c): Define.
11372 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11375 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11376 n_cs_precedes to 0.
11377 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11379 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11381 * conform/glibcconform.py: Do not import shutil.
11382 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11385 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11386 critic_missing for versions before 3.4.
11387 * configure: Regenerated.
11388 * manual/install.texi (Tools for Compilation): Document
11389 requirement for Python to build glibc.
11390 * INSTALL: Regenerated.
11391 * Rules [PYTHON]: Make code unconditional.
11392 * benchtests/Makefile [PYTHON]: Likewise.
11393 * conform/Makefile [PYTHON]: Likewise.
11394 * manual/Makefile [PYTHON]: Likewise.
11395 * math/Makefile [PYTHON]: Likewise.
11397 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11399 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11400 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11401 answer to interrupt_operation, return EIEIO instead of EINTR.
11402 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11403 _hurd_intr_rpc_msg_about_to global point to start of controlled
11404 assembly snippet. Make it check canceled flag.
11405 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11406 the _hurd_intr_rpc_msg_about_to point.
11407 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11408 issue, remove cancel flag check.
11410 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11412 * scripts/build-many-glibcs.py: Remove compatibility for missing
11413 os.cpu_count and re.fullmatch.
11415 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11418 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11419 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11420 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11422 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11424 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11427 2018-10-25 Florian Weimer <fweimer@redhat.com>
11431 XFAIL siginfo_t si_band conform test on sparc64.
11432 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11433 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11435 (conformtest-xfail-conds): Add sparc64-linux.
11436 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11438 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11440 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11442 * elf/elf.h (NT_MIPS_DSP): New macro.
11443 (NT_MIPS_FP_MODE): Likewise.
11445 2018-10-25 Zong Li <zong@andestech.com>
11447 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11448 name by adding the file extension (.so).
11450 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11452 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11453 (test-xfail-ISO11/threads.h/linknamespace,
11454 test-xfail-ISO11/threads.h/conform): Add.
11456 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11458 * math/gen-libm-test.py: Import os.
11459 (ALL_FLOATS_MANUAL): New constant.
11460 (ALL_FLOATS_SUFFIX): Likewise.
11461 (Ulps.all_functions): New function.
11462 (real_all_ulps): Likewise.
11463 (generate_err_table_sub): Likewise.
11464 (generate_err_table): Likewise.
11465 (main): Handle -s and -m options.
11466 * manual/libm-err-tab.pl: Remove.
11467 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11468 instead of libm-err-tab.pl.
11469 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11471 * manual/install.texi (Tools for Compilation): Document
11472 requirement for Python to build manual.
11473 * INSTALL: Regenerated.
11475 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11477 * bits/time64.h: New file.
11478 * include/time.h: Replace internal_time_t with __time64_t.
11479 * posix/bits/types (__time64_t): Add.
11480 * stdlib/Makefile: Add bits/time64.h to includes.
11481 * time/tzfile.c: Replace internal_time_t with __time64_t.
11483 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11485 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11486 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11487 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11488 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11489 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11491 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11492 * posix/spawn_faction_addclose.c
11493 (__posix_spawn_file_actions_addclose): Add hidden definition.
11494 * posix/spawn_faction_adddup2.c
11495 (__posix_spawn_file_actions_adddup2): Likewise.
11496 * posix/spawn_faction_destroy.c
11497 (__posix_spawn_file_actions_destroy): Likewise.
11498 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11500 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11501 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11502 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11504 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11505 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11508 2018-10-24 Andreas Schwab <schwab@suse.de>
11511 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11513 * elf/cache.c (print_cache): Likewise.
11515 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11517 * bits/timesize.h: New file.
11518 * stdlib/Makefile (headers): Add bits/timesize.h.
11519 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11520 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11521 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11522 (__SEM_PAD_AFTER_TIME): Likewise.
11523 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11524 (__SHM_PAD_AFTER_TIME): Likewise.
11525 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11526 (__MSQ_PAD_BEFORE_TIME): Likewise.
11527 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11528 (__SEM_PAD_BEFORE_TIME): Likewise.
11529 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11530 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11531 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11532 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11534 (__MSQ_PAD_BEFORE_TIME): Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11536 (__SEM_PAD_BEFORE_TIME): Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11538 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11539 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11540 (__MSQ_PAD_BEFORE_TIME): Likewise.
11541 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11542 (__SEM_PAD_BEFORE_TIME): Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11544 (__SHM_PAD_BEFORE_TIME): Likewise.
11545 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11546 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11547 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11549 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11551 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11552 USE_RDTSCP is defined.
11553 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11554 USE_RDTSCP is defined.
11556 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11558 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11562 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11563 independently of other flags.
11565 2018-10-23 Florian Weimer <fweimer@redhat.com>
11567 * time/tst-mktime2.c (N_STRINGS): Remove.
11568 (set_timezone): New function.
11569 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11570 (mktime_test1): Report localtime failure and check errno value.
11572 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11573 (do_test): Remove alarm call. Use set_timezone and array_length.
11575 2018-10-23 Andreas Schwab <schwab@suse.de>
11577 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11578 (__start_context): Use END instead of PSEUDO_END.
11580 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11582 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11585 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11589 * wcsmbs/c32rtomb.c: New file.
11590 * wcsmbs/mbrtoc32.c: Likewise.
11591 * wcsmbs/tst-c32-state.c: Likewise.
11592 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11593 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11594 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11595 (tests): Add tst-c32-state.
11596 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11599 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11601 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11602 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11604 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11607 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11608 pair and return 0 in that case, and use saved character to
11609 interpret following character.
11610 * wcsmbs/tst-c16-surrogate.c: New file.
11611 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11612 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11613 Depend on $(gen-locales)
11615 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11618 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11619 (struct siginfo_t): Use correct type for si_band.
11621 2018-10-19 Florian Weimer <fweimer@redhat.com>
11624 * resource/bits/types/struct_rusage.h (struct rusage): Update
11625 comment on struct. Remove extraneous field comment.
11627 2018-10-18 David S. Miller <davem@davemloft.net>
11629 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11630 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11631 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11632 sysdep_routines in subdir elf.
11633 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11634 version for __vdso_clock_gettime.
11635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11637 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11638 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11640 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11642 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/i386/init-arch.h: Removed.
11645 * sysdeps/i386/i586/init-arch.h: Likewise.
11646 * sysdeps/i386/i686/init-arch.h: Likewise.
11647 * sysdeps/i386/i686/hp-timing.h: Likewise.
11648 * sysdeps/x86_64/hp-timing.h: Likewise.
11649 * sysdeps/i386/isa.h: New file.
11650 * sysdeps/i386/i586/isa.h: Likewise.
11651 * sysdeps/i386/i686/isa.h: Likewise.
11652 * sysdeps/x86_64/isa.h: Likewise.
11653 * sysdeps/x86/hp-timing.h: New file.
11654 * sysdeps/x86/init-arch.h: Include <isa.h>.
11656 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11658 * math/libm-test-pow.inc (pow_test_data): Do not allow
11659 divide-by-zero exception for pow(+/- 0, -Inf).
11661 2018-10-17 Zack Weinberg <zackw@panix.com>
11663 * manual/job.texi (Job Control is Optional): Remove node, as
11664 job control has not been optional in quite some time.
11665 (Job Control): Mention briefly that systems older than
11666 POSIX.1-2001 might not support job control.
11667 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11668 defined on systems conforming to POSIX.1-2001.
11670 2018-10-17 Arjun Shankar <arjun@redhat.com>
11673 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11675 * (__gconv_read_conf): Mark function static.
11676 * (once): New static variable.
11677 * (__gconv_load_conf): New function.
11678 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11679 * iconv/gconv_db.c (once): Remove static variable.
11680 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11682 * (__gconv_find_transform): Likewise.
11683 * iconv/tst-iconv-mt.c: New test.
11684 * iconv/Makefile: Add tst-iconv_mt.
11686 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11690 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11691 (shmatt_t): Define as __syscall_ulong_t.
11692 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11693 and [__SHM_PAD_AFTER_TIME].
11694 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11695 Define shm_segsz and associated padding based on
11696 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11697 Use __syscall_ulong_t instead of unsigned long int.
11698 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11700 [__USE_MISC] (struct shm_info): Likewise.
11701 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11702 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11703 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11706 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11707 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11708 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11710 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11711 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11715 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11716 (SHMLBA): Remove macro.
11717 (__getpagesize): Remove function declaration.
11718 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11720 (SHMLBA): Remove macro.
11721 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11723 (SHMLBA): Remove macro.
11724 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11726 (SHMLBA): Remove macro.
11727 (__getpagesize): Remove function declaration.
11728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11730 (SHMLBA): Remove macro.
11731 (__getshmlba): Remove function declaration.
11732 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11733 (SHMLBA): Remove macro.
11734 (__getpagesize): Remove function declaration.
11735 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11736 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11737 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11738 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11739 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11740 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11741 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11742 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11743 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11744 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11746 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11749 * nptl/tst-mutex10.c: New File.
11750 * nptl/Makefile (tests): Add tst-mutex10.
11751 (tst-mutex10-ENV): New variable.
11752 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11753 Ensure that elision path is used if elision is available.
11754 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11756 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11758 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11759 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11760 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11761 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11763 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11764 (__pthread_mutex_cond_lock_adjust): Likewise.
11765 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11767 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11768 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11769 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11770 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11772 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11773 Use atomic_load_relaxed and atomic_store_relaxed.
11774 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11775 Use atomic_store_relaxed.
11777 2018-10-17 Andreas Schwab <schwab@suse.de>
11779 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11780 * crypt/badsalttest.c (TIMEOUT): Likewise.
11781 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11782 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11783 * io/test-lfs.c (TIMEOUT): Likewise.
11784 * libio/tst-atime.c (TIMEOUT): Likewise.
11785 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11786 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11787 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11788 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11789 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11790 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11791 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11792 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11793 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11794 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11795 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11796 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11797 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11798 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11799 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11800 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11801 * nptl/tst-once2.c (TIMEOUT): Likewise.
11802 * nptl/tst-once3.c (TIMEOUT): Likewise.
11803 * nptl/tst-once4.c (TIMEOUT): Likewise.
11804 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11805 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11806 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11807 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11808 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11809 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11810 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11811 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11812 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11813 * posix/tst-chmod.c (TIMEOUT): Likewise.
11814 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11815 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11816 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11817 * posix/tst-regex2.c (TIMEOUT): Likewise.
11818 * posix/tst-waitid.c (TIMEOUT): Likewise.
11819 * rt/tst-aio.c (TIMEOUT): Likewise.
11820 * rt/tst-aio10.c (TIMEOUT): Likewise.
11821 * rt/tst-aio4.c (TIMEOUT): Likewise.
11822 * rt/tst-aio5.c (TIMEOUT): Likewise.
11823 * rt/tst-aio6.c (TIMEOUT): Likewise.
11824 * rt/tst-aio64.c (TIMEOUT): Likewise.
11825 * rt/tst-aio7.c (TIMEOUT): Likewise.
11826 * rt/tst-aio9.c (TIMEOUT): Likewise.
11827 * rt/tst-clock.c (TIMEOUT): Likewise.
11828 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11829 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11830 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11831 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11832 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11833 * rt/tst-timer4.c (TIMEOUT): Likewise.
11834 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11835 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11836 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11837 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11838 * time/tst-ftime.c (TIMEOUT): Likewise.
11839 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11841 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11843 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11844 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11847 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11851 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11852 instead of <bits/wordsize.h>.
11853 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11854 and [__SEM_PAD_AFTER_TIME].
11855 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11856 __syscall_ulong_t instead of unsigned long int.
11857 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11858 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11859 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11860 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11861 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11862 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11863 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11864 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11865 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11867 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11869 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11871 regex: simplify by using intprops.h
11873 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11874 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11875 intprops.h defines them.
11877 regex: __builtin_expect → __glibc_unlikely
11879 This refactoring was prompted by a problem when the regex code is
11880 used as part of Gnulib and when the builder’s compiler does not grok
11881 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11882 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11883 Although this refactoring does not fix the problem directly,
11884 we might as well have Gawk use the now-preferred glibc style for when
11885 __builtin_expect is unavailable.
11886 * posix/regex_internal.h (BE): Remove.
11887 All uses replaced by __glibc_unlikely or __glibc_likely.
11889 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11893 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11894 instead of <bits/wordsize.h>.
11895 (msgqnum_t): Define as __syscall_ulong_t.
11896 (msglen_t): Likewise.
11897 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11898 and [__MSQ_PAD_AFTER_TIME].
11899 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11900 __syscall_ulong_t instead of unsigned long int.
11901 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11902 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11903 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11904 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11905 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11906 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11907 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11908 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11913 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11916 (struct shmid_ds): Condition padding after time fields on
11917 [__WORDSIZE == 32].
11918 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11919 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11920 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11922 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11923 (struct semid_ds): Condition padding after time fields on
11924 [__WORDSIZE == 32].
11925 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11926 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11927 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11928 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11930 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11931 (struct msqid_ds): Condition padding after time fields on
11932 [__WORDSIZE == 32].
11933 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11934 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11936 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11938 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11940 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11942 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11944 * libio/tst-readline.c (TIMEOUT): Define.
11946 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11948 mktime fix for Gnulib + coreutils
11950 This fix affects only Gnulib. Problem discovered when
11951 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11953 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11954 Do not define since it is not used. Defining an unused static
11955 function prompts a warning from GCC when Coreutils is configured
11956 with --enable-gcc-warnings.
11958 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11960 * benchtests/scripts/compare_bench.py (main): set float type on
11961 threshold argument.
11963 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11966 * localedata/locales/kl_GL (mon): Update, the relative case.
11967 (alt_mon): Add, fill with month names in the nominative case.
11968 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11969 (d_fmt): Set to "%b %d %Y".
11971 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11974 <bits/mman-linux.h>.
11975 (PROT_READ): Don't define here.
11976 (PROT_WRITE): Likewise.
11977 (PROT_EXEC): Likewise.
11978 (PROT_NONE): Likewise.
11979 (PROT_GROWSDOWN): Likewise.
11980 (PROT_GROWSUP): Likewise.
11981 (MAP_SHARED): Likewise.
11982 (MAP_PRIVATE): Likewise.
11983 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11984 [__USE_MISC] (MAP_FILE): Likewise.
11985 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11986 [__USE_MISC] (MAP_ANON): Likewise.
11987 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11988 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11989 (MCL_CURRENT): Likewise.
11990 (MCL_FUTURE): Likewise.
11991 (MCL_ONFAULT): Likewise.
11992 [__USE_MISC] (MADV_NORMAL): Likewise.
11993 [__USE_MISC] (MADV_RANDOM): Likewise.
11994 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11995 [__USE_MISC] (MADV_WILLNEED): Likewise.
11996 [__USE_MISC] (MADV_DONTNEED): Likewise.
11997 [__USE_MISC] (MADV_FREE): Likewise.
11998 [__USE_MISC] (MADV_REMOVE): Likewise.
11999 [__USE_MISC] (MADV_DONTFORK): Likewise.
12000 [__USE_MISC] (MADV_DOFORK): Likewise.
12001 [__USE_MISC] (MADV_HWPOISON): Likewise.
12002 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12003 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12004 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12005 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12006 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12007 (__MAP_ANONYMOUS): New macro.
12008 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12009 <bits/mman-linux.h> inclusion.
12010 (MAP_FIXED): Likewise.
12011 (MS_SYNC): Likewise.
12012 (MS_ASYNC): Likewise.
12013 (MS_INVALIDATE): Likewise.
12014 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12015 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12016 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12017 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12018 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12019 [__USE_MISC] (MADV_DODUMP): Likewise.
12020 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12021 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12024 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12026 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12027 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12028 Add test-nldbl-redirect.
12029 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12030 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12031 $(objpfx)libnldbl_nonshared.a.
12033 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12035 * support/support.h (support_objdir_elf_ldso): New variable.
12036 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12037 * support/Makefile (CFLAGS-support_paths.c): Add definition
12038 for OBJDIR_ELF_LDSO_PATH.
12039 * support/test-container.c (main): Search for the ld.so
12040 which is also used by the testsuite.
12042 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12045 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12046 should be "sap" rather than "sab".
12047 (day): Fix spelling of Sunday, should be "sapaat" rather than
12050 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12052 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12054 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12057 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12058 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12059 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12061 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12063 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12065 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12067 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12069 (CFLAGS-elision-unlock.c): Likewise.
12070 (CFLAGS-elision-timed.c): Likewise.
12071 (CFLAGS-elision-trylock.c): Likewise.
12072 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12074 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12077 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12078 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12079 new fd_to_filename interface.
12080 * libio/freopen64.c (freopen64): Likewise.
12081 * libio/tst-memstream.h: New file.
12082 * libio/tst-memstream4.c: Likewise.
12083 * libio/tst-wmemstream4.c: Likewise.
12084 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12085 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12086 and remove internal dynamic allocation.
12088 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12090 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12091 (MREMAP_MAYMOVE): Do not define here.
12092 [__USE_GNU] (MREMAP_FIXED): Likewise.
12093 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12094 (MREMAP_MAYMOVE): Define here instead.
12095 [__USE_GNU] (MREMAP_FIXED): Likewise.
12096 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12097 (MREMAP_MAYMOVE): Remove.
12098 [__USE_GNU] (MREMAP_FIXED): Likewise.
12100 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12102 * math/fromfp.h: Do not include <math_private.h>.
12103 * math/s_cacosh_template.c: Likewise.
12104 * math/s_casin_template.c: Likewise.
12105 * math/s_casinh_template.c: Likewise.
12106 * math/s_ccos_template.c: Likewise.
12107 * math/s_cproj_template.c: Likewise.
12108 * math/s_fdim_template.c: Likewise.
12109 * math/s_fmaxmag_template.c: Likewise.
12110 * math/s_fminmag_template.c: Likewise.
12111 * math/s_iseqsig_template.c: Likewise.
12112 * math/s_ldexp_template.c: Likewise.
12113 * math/s_nextdown_template.c: Likewise.
12114 * math/w_log1p_template.c: Likewise.
12115 * math/w_scalbln_template.c: Likewise.
12116 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12117 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12118 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12119 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12120 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12121 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12122 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12123 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12124 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12125 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12126 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12127 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12128 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12129 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12130 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12131 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12132 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12137 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12138 * sysdeps/ieee754/k_standardf.c: Likewise.
12139 * sysdeps/ieee754/k_standardl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12142 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12144 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12148 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12149 * sysdeps/ieee754/s_signgam.c: Likewise.
12150 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12151 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12152 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12153 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12154 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12155 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12156 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12157 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12158 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12159 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12160 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12161 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12162 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12163 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12164 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12165 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12166 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12167 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12168 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12169 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12170 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12171 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12172 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12173 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12174 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12175 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12176 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12177 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12178 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12179 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12180 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12181 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12182 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12183 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12184 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12185 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12186 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12188 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12190 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12193 * sysdeps/i386/dl-cet.c: Removed.
12194 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12196 (_dl_runtime_profile_shstk): Likewise.
12197 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12198 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12200 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12203 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12204 do_test_with_invalid_iov): New tests.
12205 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12206 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12207 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12209 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12210 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12211 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12213 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12215 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12216 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12217 (MATH_REDIRECT_BINARY_ARGS): New macro.
12218 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12219 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12220 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12222 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12224 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12225 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12235 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12236 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12241 * sysdeps/generic/math_private_calls.h
12242 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12243 Do not declare and define as an inline function.
12244 * math/divtc3.c (__divtc3): Use copysign functions instead of
12245 __copysign variants.
12246 * math/multc3.c (__multc3): Likewise.
12247 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12248 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12249 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12250 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12252 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12253 (__ieee754_yn): Likewise.
12254 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12255 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12256 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12257 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12258 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12260 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12261 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12267 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12268 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12270 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12271 (__ieee754_ynf): Likewise.
12272 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12273 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12277 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12278 (__ieee754_ynl): Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12284 (__ieee754_ynl): Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12290 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12292 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12294 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12295 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12296 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12298 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12299 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12300 using MATH_REDIRECT.
12301 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12303 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12306 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12314 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12315 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12317 (round): Redirect to __round.
12318 (__roundl): Call round instead of __round.
12319 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12321 [_ARCH_PWR5X] (__roundf): Likewise.
12322 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12323 functions instead of __round variants.
12324 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12325 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12327 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12329 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12331 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12334 (__ieee754_expl): Call roundl instead of __roundl.
12336 2018-09-27 Andreas Schwab <schwab@suse.de>
12339 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12340 (do_test): Make st1 static.
12342 2018-09-26 Andreas Schwab <schwab@suse.de>
12345 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12346 * elf/Makefile (tests): Add tst-unwind-ctor.
12347 (modules-names): Add tst-unwind-ctor-lib.
12348 ($(objpfx)tst-unwind-ctor): Depend on
12349 $(objpfx)tst-unwind-ctor-lib.so.
12351 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12353 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12354 file. Most contents moved from ....
12355 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12356 and include <bits/mman-map-flags-generic.h>.
12357 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12358 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12359 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12360 <bits/mman-map-flags-generic.h>.
12361 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12362 macros defined in <bits/mman-map-flags-generic.h>.
12363 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12364 <bits/mman-map-flags-generic.h>.
12365 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12366 defined in <bits/mman-map-flags-generic.h>.
12368 2018-09-26 Andreas Schwab <schwab@suse.de>
12370 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12373 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12374 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12375 Fangrui Song <maskray@google.com>
12378 * config.make.in (have-textrel_ifunc): New define.
12379 * configure.ac: Add check if linker supports textrel relocation with
12381 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12383 (CFLAGS-tst-ifunc-textrel.c): New rule.
12384 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12385 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12386 * elf/tst-ifunc-textrel.c: New file.
12388 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12391 <bits/procfs-prregset.h>.
12392 (prgregset_t): Define using __prgregset_t.
12393 (prfpregset_t): Define using __prfpregset_t.
12394 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12395 (sysdep_headers): Add bits/procfs-prregset.h.
12396 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12397 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12398 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12399 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12401 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12402 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12403 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12405 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12406 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12407 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12408 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12409 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12410 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12411 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12412 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12416 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12417 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12421 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12422 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12423 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12424 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12425 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12428 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12430 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12431 AArch64 version. Include <bits/procfs.h>.
12432 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12433 (sysdep_headers): Add bits/procfs.h.
12434 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12435 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12436 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12437 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12438 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12439 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12440 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12441 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12442 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12443 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12444 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12445 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12446 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12447 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12448 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12449 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12450 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12452 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12454 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12457 2018-09-25 Arjun Shankar <arjun@redhat.com>
12459 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12460 (__gconv_max_path_elem_len): Likewise.
12461 (__gconv_nmodules): Likewise.
12462 (__gconv_get_path): Likewise.
12463 (path_elem): Move to ...
12464 * iconv/gconv_conf.c: ... here.
12465 (__gconv_get_path): Mark function static.
12466 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12467 * iconv/gconv_open.c: ... here.
12469 2018-09-24 Andreas Schwab <schwab@suse.de>
12471 * scripts/haveversions.awk: New file.
12472 * Makerules ($(common-objpfx)Versions.def)
12473 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12474 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12476 * Makeconfig ($(common-objpfx)Versions.def)
12477 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12478 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12480 ($(common-objpfx)Versions.mk): New rule. Include it.
12481 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12482 Emit error if build-obsolete-nsl = yes.
12483 * manual/install.texi (Configuring and compiling): Describe
12484 --enable-obsolete-nsl as unavaiable after version 2.28.
12485 * INSTALL: Regenerate.
12487 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12489 * NEWS: Add note about new TLE support on powerpc64le.
12490 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12491 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12493 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12494 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12495 * sysdeps/powerpc/powerpc32/sysdep.h,
12496 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12497 ABORT_TRANSACTION): Remove macros.
12498 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12500 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12502 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12503 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12505 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12507 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12510 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12511 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12512 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12513 which is the same as in it_IT.
12514 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12515 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12517 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12519 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12520 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12521 using MATH_REDIRECT.
12522 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12524 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12526 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12534 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12535 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12536 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12537 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12538 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12539 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12540 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12542 (ceil): Redirect to __ceil.
12543 (floor): Redirect to __floor.
12544 (trunc): Redirect to __trunc.
12545 (__truncl): Call trunc instead of __trunc.
12546 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12548 [_ARCH_PWR5X] (__truncf): Likewise.
12549 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12550 trunc functions instead of __trunc variants.
12551 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12555 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12557 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12560 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12561 [__i586__ || __pentium__].
12562 [__i486__]: Handle explicitly.
12563 (HAS_CPUID): Define to 1 if above macros are undefined.
12564 (HAS_I586): Likewise.
12565 (HAS_I686): Likewise.
12567 2018-09-20 Florian Weimer <fweimer@redhat.com>
12569 * misc/tst-gethostid.c: New file.
12570 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12571 (tst-gethostid): Link with -ldl.
12573 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12575 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12576 value from gethostbyname_r.
12578 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12580 * stdlib/tst-setcontext9.c (f1): Rename to...
12582 (f1b): New function implementing lower half of f1 in alternate stack.
12584 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12586 Fix mktime localtime offset confusion
12588 * include/time.h (__mktime_internal): The localtime offset is now
12589 of type long int instead of time_t. This is the longstanding type
12590 in glibc, and it is more than enough to represent difference
12591 between localtime and gmtime even if it is 32 bits and time_t is
12592 64. Changing it now will let us avoid an unnecessary change when
12593 time_t is widened to 64 bits on 32-bit platforms.
12594 * time/mktime-internal.h (mktime_offset_t): Now long int.
12596 Merge mktime, timegm from upstream Gnulib
12597 [BZ #23603][BZ #16346]
12598 This fixes some obscure problems with integer overflow.
12599 Although it looks scary, it is almost all a byte-for-byte copy
12600 from Gnulib, and the Gnulib code has been tested reasonably well.
12601 * include/intprops.h: New file, copied from Gnulib.
12602 * include/verify.h, time/mktime-internal.h:
12603 New tiny files, simplified from Gnulib.
12604 * time/mktime.c: Copy from Gnulib. This has the following changes:
12605 Do not include config.h if DEBUG_MKTIME is nonzero.
12606 Include stdbool.h, intprops.h, verify.h.
12607 Include string.h only if needed.
12608 Include stdlib.h on MS-Windows.
12609 Include mktime-internal.h.
12610 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12611 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12612 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12613 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12614 simplify later conditionals; default the others to zero. Use
12615 these conditionals to express only the code needed on the current
12616 platform. In uses of these conditionals, explicitly spell out how
12617 _LIBC affects things, so it’s easier to review from a glibc
12619 (WRAPV): Remove; no longer needed now that we have
12620 systematic overflow checking.
12621 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12622 compartmentalize tzset issues. Move system-dependent tzsettish
12623 code here from mktime.
12624 (verify): Remove; now done by verify.h. All uses changed.
12625 (long_int): Use a more-conservative definition, to avoid
12627 (SHR): Remove, replacing with ...
12628 (shr): New function, which means we needn’t worry about side
12629 effects in args, and conversion analysis is simpler.
12630 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12631 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12632 (time_t_avg, time_t_add_ok): Remove.
12633 (mktime_min, mktime_max): New constants.
12634 (leapyear, isdst_differ): Use bool for booleans.
12635 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12636 Use long_int, not time_t, for mktime differences.
12637 (long_int_avg): New function, replacing time_t_avg.
12638 INT_ADD_WRAPV replaces time_t_add_ok.
12639 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12641 (convert_time): New function.
12642 (ranged_convert): Use it.
12643 (__mktime_internal): Last arg now points to mktime_offset_t, not
12644 time_t. All uses changed. This is a no-op on glibc, where
12645 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12646 offset guess. Directly check for integer overflow instead of
12647 using a heuristic that works only 99.9...% of the time.
12648 Access *OFFSET only once, to avoid an unlikely race if the
12649 compiler delays a load and if this cascades into a signed integer
12651 (mktime): Move tzsettish code to my_tzset, and move
12652 localtime_offset to within mktime so that it doesn’t
12653 need a separate ifdef.
12654 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12655 instead of localtime.
12656 * time/timegm.c: Copy from Gnulib. This has the following changes:
12657 Include mktime-internal.h.
12658 [!_LIBC]: Include config.h and time.h. Do not include
12659 timegm.h or time_r.h. Make __mktime_internal a macro,
12660 and include mktime-internal.h to get its declaration.
12661 (timegm): Temporary is now mktime_offset_t, not time_t.
12662 This affects only Gnulib.
12664 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12667 * string/test-strstr.c (pr23637): New function.
12668 (test_main): Add tests with longer needles.
12669 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12670 * string/strstr.c (AVAILABLE): Likewise.
12672 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12674 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12676 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12678 * NEWS: Mention pow improvements.
12679 * math/Makefile (type-double-routines): Add e_pow_log_data.
12680 * sysdeps/generic/math_private.h (__exp1): Remove.
12681 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12682 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12683 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12685 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12686 (exp_inline): Remove.
12687 (__ieee754_exp): Only single double input is handled.
12688 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12689 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12690 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12691 (__pow_log_data): Define.
12692 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12693 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12694 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12695 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12697 (CFLAGS-e_pow-fma4.c): Likewise.
12699 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12701 Simplify tzfile fstat failure code
12703 * time/tzfile.c (__tzfile_read): Simplify slightly.
12705 Fix tzfile low-memory assertion failure
12707 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12708 when registering time zone abbreviations.
12710 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12712 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12713 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12714 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12715 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12716 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12717 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12718 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12724 (__ceill): Call ceil instead of __ceil.
12725 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12727 (__floorl): Call floor instead of __floor.
12729 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12731 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12732 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12733 using MATH_REDIRECT.
12734 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12736 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12739 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12743 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12748 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12749 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12752 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12754 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12756 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12757 functions instead of __ceil variants.
12758 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12759 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12763 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12764 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12766 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12767 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12770 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12772 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12773 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12774 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12775 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12776 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12777 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12778 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12779 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12780 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12781 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12782 (ILL_BADIADDR): Remove constant.
12783 (TRAP_BRANCH): Likewise.
12784 (TRAP_HWBKPT): Likewise.
12786 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12789 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12790 Remove [_MIPS_SIM = _ABIN32] conditional case.
12791 (struct elf_prpsinfo): Likewise.
12794 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12795 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12796 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12798 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12799 elf_prpsinfo): Likewise.
12800 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12801 elf_prpsinfo): Likewise.
12802 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12805 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12806 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12807 using MATH_REDIRECT.
12808 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12810 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12811 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12812 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12813 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12816 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12820 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12821 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12822 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12823 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12824 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12825 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12826 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12827 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12828 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12833 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12834 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12835 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12836 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12838 * math/e_scalbf.c (invalid_fn): Likewise.
12839 * math/e_scalbl.c (invalid_fn): Likewise.
12840 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12842 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12845 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12846 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12850 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12852 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12853 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12855 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12856 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12858 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12859 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12860 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12861 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12862 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12863 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12864 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12865 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12866 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12867 && !NO_MATH_REDIRECT] (floor): Likewise.
12868 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12870 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12873 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12877 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12882 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12883 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12886 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12887 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12888 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12890 [_ARCH_PWR5X] (__floorf): Likewise.
12891 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12893 [__SSE4_1__] (__floorf): Likewise.
12894 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12895 instead of __floor variants.
12896 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12897 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12898 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12899 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12900 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12901 * math/w_tgamma_compat.c (__tgamma): Likewise.
12902 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12903 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12904 * math/w_tgammal_compat.c (__tgammal): Likewise.
12905 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12908 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12909 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12910 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12913 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12914 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12916 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12922 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12924 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12925 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12927 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12929 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12931 * elf/Makefile (modules-names-tests): New variable.
12933 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12935 * NEWS: Mention log2 improvements.
12936 * math/Makefile (type-double-routines): Add e_log2_data.
12937 * sysdeps/i386/fpu/e_log2_data.c: New file.
12938 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12939 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12940 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12941 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12943 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12945 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12947 * NEWS: Mention log improvement.
12948 * math/Makefile (type-double-routines): Add e_log_data.
12949 * sysdeps/i386/fpu/e_log_data.c: New file.
12950 * sysdeps/ia64/fpu/e_log_data.c: New file.
12951 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12952 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12953 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12954 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12955 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12956 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12958 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12959 Xuepeng Guo <xuepeng.guo@intel.com>
12962 * sysdeps/i386/start.S: Include <sysdep.h>
12963 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12964 enabled. Add cfi_undefined (eip).
12966 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12968 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12970 (EXTRACT_WORDS64): Likewise.
12971 (INSERT_WORDS64): Likewise.
12972 (GET_FLOAT_WORD): Likewise.
12973 (SET_FLOAT_WORD): Likewise.
12975 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12977 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12978 build, but not for second build if --full-gcc. Use
12979 --enable-languages=all for second build if --full-gcc.
12980 (get_parser): Add --full-gcc option.
12981 (main): Update call to Context.
12983 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12986 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12987 Single Quotation Mark).
12988 (thousands_sep): Likewise.
12989 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12990 * localedata/locales/it_IT (thousands_sep): Use ".".
12991 (grouping): Use "3;3".
12993 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12995 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12996 x86_64 and i686 configs using --enable-obsolete-rpc
12997 --enable-obsolete-nsl.
12999 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13001 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13003 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13005 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13006 Increment size of new_argv by one.
13008 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13011 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13012 * localedata/locales/ar_IN (d_fmt): Likewise.
13013 * localedata/locales/bhb_IN (d_fmt): Likewise.
13014 * localedata/locales/bho_IN (d_fmt): Likewise.
13015 * localedata/locales/bn_BD (d_fmt): Likewise.
13016 * localedata/locales/bn_IN (d_fmt): Likewise.
13017 * localedata/locales/doi_IN (d_fmt): Likewise.
13018 * localedata/locales/gu_IN (d_fmt): Likewise.
13019 * localedata/locales/hi_IN (d_fmt): Likewise.
13020 * localedata/locales/hne_IN (d_fmt): Likewise.
13021 * localedata/locales/kn_IN (d_fmt): Likewise.
13022 * localedata/locales/mag_IN (d_fmt): Likewise.
13023 * localedata/locales/mai_IN (d_fmt): Likewise.
13024 * localedata/locales/mjw_IN (d_fmt): Likewise.
13025 * localedata/locales/ml_IN (d_fmt): Likewise.
13026 * localedata/locales/mni_IN (d_fmt): Likewise.
13027 * localedata/locales/mr_IN (d_fmt): Likewise.
13028 * localedata/locales/pa_IN (d_fmt): Likewise.
13029 * localedata/locales/raj_IN (d_fmt): Likewise.
13030 * localedata/locales/sat_IN (d_fmt): Likewise.
13031 * localedata/locales/sd_IN (d_fmt): Likewise.
13032 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13033 * localedata/locales/ta_IN (d_fmt): Likewise.
13034 * localedata/locales/ta_LK (d_fmt): Likewise.
13035 * localedata/locales/tcy_IN (d_fmt): Likewise.
13036 * localedata/locales/ur_IN (d_fmt): Likewise.
13038 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13039 * localedata/locales/ks_IN (d_fmt): Likewise.
13040 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13042 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13043 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13044 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13045 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13047 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13049 * NEWS: Mention exp and exp2 improvements.
13050 * math/Makefile (libm-support): Remove t_exp.
13051 (type-double-routines): Add math_err and e_exp_data.
13052 * sysdeps/aarch64/libm-test-ulps: Update.
13053 * sysdeps/arm/libm-test-ulps: Update.
13054 * sysdeps/i386/fpu/e_exp_data.c: New file.
13055 * sysdeps/i386/fpu/math_err.c: New file.
13056 * sysdeps/i386/fpu/t_exp.c: Remove.
13057 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13058 * sysdeps/ia64/fpu/math_err.c: New file.
13059 * sysdeps/ia64/fpu/t_exp.c: Remove.
13060 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13061 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13062 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13064 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13065 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13066 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13067 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13068 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13069 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13070 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13071 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13072 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13073 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13077 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13079 * sysdeps/alpha/fpu/math_private.h: Remove.
13081 * sysdeps/generic/math_private.h
13082 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13083 Move this inline function ....
13084 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13085 * include/math.h [!_ISOMAC]: To here....
13087 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13091 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13092 * include/fenv.h [!_ISOMAC]: ... to here.
13093 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13094 (feraiseexcept): Likewise.
13095 * math/fromfp.h: Do not include <fenv_private.h>.
13096 * math/s_cexp_template.c: Likewise.
13097 * math/s_csin_template.c: Likewise.
13098 * math/s_csinh_template.c: Likewise.
13099 * math/s_ctan_template.c: Likewise.
13100 * math/s_ctanh_template.c: Likewise.
13101 * math/s_iseqsig_template.c: Likewise.
13102 * math/w_acos_compat.c: Likewise.
13103 * math/w_acosf_compat.c: Likewise.
13104 * math/w_acosl_compat.c: Likewise.
13105 * math/w_asin_compat.c: Likewise.
13106 * math/w_asinf_compat.c: Likewise.
13107 * math/w_asinl_compat.c: Likewise.
13108 * math/w_j0_compat.c: Likewise.
13109 * math/w_j0f_compat.c: Likewise.
13110 * math/w_j0l_compat.c: Likewise.
13111 * math/w_j1_compat.c: Likewise.
13112 * math/w_j1f_compat.c: Likewise.
13113 * math/w_j1l_compat.c: Likewise.
13114 * math/w_jn_compat.c: Likewise.
13115 * math/w_jnf_compat.c: Likewise.
13116 * math/w_log10_compat.c: Likewise.
13117 * math/w_log10f_compat.c: Likewise.
13118 * math/w_log10l_compat.c: Likewise.
13119 * math/w_log2_compat.c: Likewise.
13120 * math/w_log2f_compat.c: Likewise.
13121 * math/w_log2l_compat.c: Likewise.
13122 * math/w_log_compat.c: Likewise.
13123 * math/w_logf_compat.c: Likewise.
13124 * math/w_logl_compat.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13130 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13131 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13134 * sysdeps/ieee754/k_standardl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13152 * math/w_ilogb_template.c: Include <fenv.h> instead of
13154 * math/w_llogb_template.c: Likewise.
13155 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13156 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13158 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13160 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13161 * math/fromfp.h: Include <fenv_private.h>.
13162 * math/math-narrow.h: Likewise.
13163 * math/s_cexp_template.c: Likewise.
13164 * math/s_csin_template.c: Likewise.
13165 * math/s_csinh_template.c: Likewise.
13166 * math/s_ctan_template.c: Likewise.
13167 * math/s_ctanh_template.c: Likewise.
13168 * math/s_iseqsig_template.c: Likewise.
13169 * math/w_acos_compat.c: Likewise.
13170 * math/w_acosf_compat.c: Likewise.
13171 * math/w_acosl_compat.c: Likewise.
13172 * math/w_asin_compat.c: Likewise.
13173 * math/w_asinf_compat.c: Likewise.
13174 * math/w_asinl_compat.c: Likewise.
13175 * math/w_ilogb_template.c: Likewise.
13176 * math/w_j0_compat.c: Likewise.
13177 * math/w_j0f_compat.c: Likewise.
13178 * math/w_j0l_compat.c: Likewise.
13179 * math/w_j1_compat.c: Likewise.
13180 * math/w_j1f_compat.c: Likewise.
13181 * math/w_j1l_compat.c: Likewise.
13182 * math/w_jn_compat.c: Likewise.
13183 * math/w_jnf_compat.c: Likewise.
13184 * math/w_llogb_template.c: Likewise.
13185 * math/w_log10_compat.c: Likewise.
13186 * math/w_log10f_compat.c: Likewise.
13187 * math/w_log10l_compat.c: Likewise.
13188 * math/w_log2_compat.c: Likewise.
13189 * math/w_log2f_compat.c: Likewise.
13190 * math/w_log2l_compat.c: Likewise.
13191 * math/w_log_compat.c: Likewise.
13192 * math/w_logf_compat.c: Likewise.
13193 * math/w_logl_compat.c: Likewise.
13194 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13195 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13196 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13197 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13222 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13223 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13224 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13226 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13227 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13228 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13231 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13232 * sysdeps/ieee754/k_standardl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13259 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13263 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13269 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13270 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13271 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13272 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13273 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13274 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13275 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13276 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13277 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13278 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13279 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13280 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13281 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13282 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13283 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13284 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13285 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13286 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13287 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13288 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13289 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13290 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13291 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13292 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13293 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13294 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13295 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13296 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13297 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13298 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13299 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13300 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13301 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13302 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13303 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13305 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13308 * include/stdio.h (__libc_fatal): Mention newline in comment.
13309 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13310 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13312 * nss/nsswitch.c (__nss_next2): Likewise.
13313 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13314 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13315 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13316 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13317 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13319 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13320 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13321 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13322 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13323 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13324 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13325 (__netlink_assert_response): Likewise.
13327 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13329 * conform/glibcconform.py: New file.
13330 * conform/list-header-symbols.py: Likewise.
13331 * conform/list-header-symbols.pl: Remove.
13332 * conform/Makefile (tests-special): Only add linknamespace tests
13334 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13336 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13339 * support/Makefile (libsupport-routines): Add
13340 support_copy_file_range and xcopy_file_range.
13341 * support/support.h: Include <sys/types.h>.
13342 (support_copy_file_range): New prototype.
13343 * support/support_copy_file_range.c: New file. Copied and
13344 modified from io/copy_file_range-compat.c.
13345 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13346 instead of copy_file_range.
13347 * support/xcopy_file_range.c: New file.
13348 * support/xunistd.h (xcopy_file_range): New prototype.
13350 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13352 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13353 xpthread_create and xpthread_join.
13355 2018-08-30 Florian Weimer <fweimer@redhat.com>
13357 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13359 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13361 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13364 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13366 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13367 and minus_oflow as non-finite.
13369 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13371 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13372 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13373 moved to fenv_private.h except for ...
13374 (TOINT_INTRINSICS): Kept in math_private.h.
13375 (roundtoint): Likewise.
13376 (converttoint): Likewise.
13377 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13378 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13379 * sysdeps/arm/math_private.h: Remove.
13380 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13382 * sysdeps/generic/math_private.h: ... this file. Include
13383 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13384 Include <fenv_private.h>. Remove functions and macros moved to
13386 * sysdeps/i386/fpu/math_private.h: Remove.
13387 * sysdeps/mips/math_private.h: Move to ....
13388 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13389 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13390 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13391 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13392 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13393 * sysdeps/powerpc/fpu/math_private.h: Do not include
13395 * sysdeps/riscv/rvf/math_private.h: Move to ....
13396 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13397 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13399 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13400 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13401 * sysdeps/sparc/fpu/math_private.h: Remove.
13402 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13403 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13404 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13406 * sysdeps/x86_64/fpu/math_private.h: Do not include
13407 <sysdeps/i386/fpu/fenv_private.h>.
13409 2018-08-28 Florian Weimer <fweimer@redhat.com>
13412 * posix/tst-regcomp-truncated.c: New file.
13413 * posix/Makefile (tests): Add it.
13414 (tst-regcomp-truncated.out): Depend on generated locales.
13416 2018-08-28 Florian Weimer <fweimer@redhat.com>
13418 * support/test-container.c (main): Treat unshare failure with
13419 EPERM as an unsupported test.
13421 2018-08-28 Florian Weimer <fweimer@redhat.com>
13424 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13425 * nscd/netgroupcache.c
13426 (addgetnetgrentX): Add tofreep parameter. Do not free
13427 heap-allocated buffer.
13428 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13429 (addgetnetgrentX_ignore): New function.
13430 (addgetnetgrent): Call it.
13431 (readdgetnetgrent): Likewise.
13433 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13435 * string/memmem.c: Use memcmp for first match.
13437 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13440 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13442 2018-08-27 DJ Delorie <dj@redhat.com>
13444 * support/Makefile (others): Don't list programs explicitly as a
13445 dependency of "others".
13447 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13449 * sysdeps/generic/math-tests-trap-force.h: New file.
13450 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13451 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13452 * sysdeps/powerpc/math-tests.h: Remove file.
13453 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13455 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13456 Torvald Riegel <triegel@redhat.com>
13459 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13460 Update r to include the set wake-request flag if waiters are
13461 remaining after spinning.
13463 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13465 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13467 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13470 regex: fix uninitialized memory access
13471 I introduced this bug into gnulib in commit
13472 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13473 eventually it was merged into glibc. The bug was found by
13474 project-repo <bugs@feusi.co> and reported here:
13475 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13476 Diagnosis and draft fix reported by Assaf Gordon here:
13477 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13478 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13479 * posix/regex_internal.c (build_wcs_upper_buffer):
13480 Fix bug when mbrtowc returns 0.
13482 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13484 * po/be.po: Update translation.
13486 2018-08-24 DJ Delorie <dj@delorie.com>
13488 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13491 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13494 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13495 create temporary files in source tree.
13497 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13499 * sysdeps/generic/math-tests-trap.h: New file.
13500 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13501 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13502 * sysdeps/aarch64/math-tests.h: Remove file.
13503 * sysdeps/arm/math-tests.h: Likewise.
13504 * sysdeps/riscv/math-tests.h: Likewise.
13505 * sysdeps/aarch64/math-tests-trap.h: New file.
13506 * sysdeps/arm/math-tests-trap.h: Likewise.
13507 * sysdeps/riscv/math-tests-trap.h: Likewise.
13509 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13511 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13512 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13513 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13514 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13515 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13516 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13524 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13525 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13526 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13530 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13532 * sysdeps/generic/math-tests-exceptions.h: New file.
13533 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13534 (EXCEPTION_TESTS_float): Do not define here.
13535 (EXCEPTION_TESTS_double): Likewise.
13536 (EXCEPTION_TESTS_long_double): Likewise.
13537 (EXCEPTION_TESTS_float128): Likewise.
13538 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13540 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13541 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13542 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13543 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13544 * sysdeps/mips/math-tests.h: Likewise.
13545 * sysdeps/nios2/math-tests.h: Likewise.
13546 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13547 (EXCEPTION_TESTS_float): Do not define here.
13548 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13549 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13550 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13552 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13554 * NEWS: Move optimized sinf entry to 2.29.
13556 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13558 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13560 2018-08-22 DJ Delorie <dj@redhat.com>
13562 * Makefile (testroot.pristine): New rules to initialize the
13563 test-in-container "testroot".
13564 * Makerules (all-testsuite): Add tests-container.
13565 * Rules (tests-expected): Add tests-container.
13566 (binaries-all-tests): Likewise.
13567 (tests-container): New, run these tests in the testroot container.
13568 * support/Makefile (others): Add *-container, support_paths.c,
13569 xmkdirp, and links-dso-program.
13570 * support/links-dso-program-c.c: New.
13571 * support/links-dso-program.cc: New.
13572 * support/test-container.c: New.
13573 * support/shell-container.c: New.
13574 * support/echo-container.c: New.
13575 * support/true-container.c: New.
13576 * support/xmkdirp.c: New.
13577 * support/xsymlink.c: New.
13578 * support/support_paths.c: New.
13579 * support/support.h: Add support paths prototypes.
13580 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13582 * nss/tst-nss-test3.c: Convert to test-in-container.
13583 * nss/tst-nss-test3.root/: New.
13585 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13587 regex: port Gnulib code to z/OS POSIX environment
13588 Problem reported by Arnold Robbins in:
13589 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13590 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13593 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13595 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13596 (ROUNDING_TESTS_double): Remove.
13597 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13598 (ROUNDING_TESTS_double): Remove.
13599 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13600 (ROUNDING_TESTS_double): Remove.
13601 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13602 (ROUNDING_TESTS_float): Remove.
13603 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13604 (ROUNDING_TESTS_float): Remove.
13605 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13606 (ROUNDING_TESTS_float): Remove.
13607 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13608 !TEST_MATHVEC here.
13609 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13610 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13612 * sysdeps/generic/math-tests-rounding.h: New file.
13613 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13614 (ROUNDING_TESTS_float): Do not define here.
13615 (ROUNDING_TESTS_double): Likewise.
13616 (ROUNDING_TESTS_long_double): Likewise.
13617 (ROUNDING_TESTS_float128): Likewise.
13618 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13619 (ROUNDING_TESTS_double): Undefine before defining.
13620 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13621 (ROUNDING_TESTS_double): Undefine before defining.
13622 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13623 (ROUNDING_TESTS_double): Undefine before defining.
13624 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13625 (ROUNDING_TESTS_float): Undefine before defining.
13626 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13627 (ROUNDING_TESTS_float): Undefine before defining.
13628 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13629 (ROUNDING_TESTS_float): Undefine before defining.
13630 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13631 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13633 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13634 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13635 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13636 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13637 (ROUNDING_TESTS_float): Do not define here.
13638 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13639 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13640 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13641 (ROUNDING_TESTS_float): Likewise.
13642 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13643 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13644 * sysdeps/mips/math-tests.h [__mips_soft_float]
13645 (ROUNDING_TESTS_float): Likewise.
13646 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13647 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13648 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13649 (ROUNDING_TESTS_double): Likewise.
13650 (ROUNDING_TESTS_long_double): Likewise.
13652 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13655 (PF_XDP): New macro.
13656 (AF_XDP): New macro.
13657 (SOL_XDP): New macro.
13659 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13661 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13662 (TCP_INQ): Likewise.
13663 (TCP_CM_INQ): Likewise.
13664 (TCP_REPAIR_ON): Likewise.
13665 (TCP_REPAIR_OFF): Likewise.
13666 (TCP_REPAIR_OFF_NO_WP): Likewise.
13667 (struct tcp_zerocopy_receive): New type.
13669 2018-08-21 Florian Weimer <fweimer@redhat.com>
13671 * support/support.h (support_descriptor_supports_holes): Declare.
13672 * support/Makefile (libsupport-routines): Add
13673 support_descriptor_supports_holes.
13674 * support/support_descriptor_supports_holes.c: New file.
13675 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13676 and stop testing if holes are not supported.
13677 * io/test-lfs.c (do_prepare): Likewise.
13678 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13680 * timezone/tst-tzset.c (create_tz_file): Likewise.
13681 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13683 (do_prepare): Set it.
13684 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13686 2018-08-21 Florian Weimer <fweimer@redhat.com>
13689 * Makeconfig (+cflags): Do not sort (and deduplicate).
13691 2018-08-21 Florian Weimer <fweimer@redhat.com>
13693 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13694 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13696 2018-08-20 Florian Weimer <fweimer@redhat.com>
13698 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13699 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13701 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13703 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13704 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13705 and ssi_arch members.
13707 * elf/elf.c (NT_VMCOREDD): New macro.
13708 (AT_MINSIGSTKSZ): Likewise.
13710 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13713 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13714 s_cosf-ppc64 and s_cosf-power8.
13715 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13716 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13717 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13718 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13725 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13726 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13728 2018-08-17 Florian Weimer <fweimer@redhat.com>
13730 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13732 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13734 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13736 2018-08-16 Florian Weimer <fweimer@redhat.com>
13738 * configure.ac: Add --with-nonshared-cflags option.
13739 * config.make.in (extra-nonshared-cflags): Set variable.
13740 * Makeconfig (CFLAGS-.oS): Use it.
13741 * manual/install.texi (Configuring and compiling): Document
13742 --with-nonshared-cflags.
13743 * configure: Regenerate.
13744 * INSTALL: Likewise.
13746 2018-08-16 Florian Weimer <fweimer@redhat.com>
13748 * Makeconfig (ASFLAGS): Always append required assembler flags.
13750 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13752 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13753 (malloc_consolidate): Likewise.
13755 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13757 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13759 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13761 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13764 * benchtests/bench-strlen.c: Print performance numbers in json.
13766 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13768 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13769 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13770 only for little endian.
13771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13772 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13773 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13774 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13775 Add check for little endian.
13776 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13777 (__strcmp_power9): Add check for little endian.
13778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13779 Add check for little endian.
13780 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13781 (__strncmp_power9): Add check for little endian.
13782 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13783 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13784 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13786 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13788 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13790 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13791 [!STRLEN](STRLEN): Set to __strlen.
13792 * sysdeps/aarch64/multiarch/strlen.c: New file.
13793 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13794 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13795 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13796 (__libc_ifunc_impl_list): Add strlen.
13797 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13798 strlen_generic and strlen_asimd.
13800 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13803 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13804 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13806 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13810 2018-08-14 Florian Weimer <fweimer@redhat.com>
13813 * include/stdio.h (__vfxprintf): Declare.
13814 * stdio-common/fxprintf.c (__vfxprintf): New function.
13815 (__fxprintf): Call it.
13816 * misc/err.c (convert_and_print): Remove function.
13817 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13818 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13819 * misc/Makefile (tests): Add tst-warn-wide.
13820 * misc/tst-warn-wide.c: New file.
13822 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13823 Szabolcs Nagy <szabolcs.nagy@arm.com>
13825 * NEWS: Mention sinf, cosf, sincosf.
13826 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13827 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13828 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13829 constants rather than including generic sincosf.h.
13830 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13831 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13832 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13833 (reduced_cos): Remove.
13834 (sinf_poly): New function.
13835 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13837 2018-08-14 Florian Weimer <fweimer@redhat.com>
13841 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13842 processing, bail out if no room, and close the stream before
13844 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13845 (tst-nss-files-alias-leak): Link with libdl.
13846 (tst-nss-files-alias-leak.out): Depend on nss_files.
13848 * nss/tst-nss-files-alias-leak.c: New file.
13850 2018-08-14 Florian Weimer <fweimer@redhat.com>
13852 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13853 server_user, stat_user.
13855 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13857 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13859 (io_pgetevents): New syscall.
13862 * manual/install.texi (Configuring and compiling): Do not list
13863 tools used for testing pretty printers here.
13864 (Tools for Compilation): List Python, PExpect and GDB here.
13865 Update descriptions of uses of Perl and Python.
13866 * INSTALL: Regenerate.
13868 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13871 2018-08-13 Florian Weimer <fweimer@redhat.com>
13873 * misc/error.c (error): Add missing va_end call.
13874 (error_at_line): Likewise.
13876 2018-08-13 Florian Weimer <fweimer@redhat.com>
13878 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13880 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13882 * benchtests/scripts/benchout.schema.json (properties): Add
13885 * benchtests/bench-skeleton.c (main): Add duration and
13886 iterations attributes.
13888 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13890 regex: Gnulib unibyte RRI uses bytes not chars
13891 Adjust the non-glibc code to agree with what Gawk needs for
13892 rational range interpretation (RRI) for regular expression ranges.
13893 In unibyte locales, Gawk wants ranges to use the underlying byte
13894 rather than the character code point. This change does not affect
13896 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13897 In unibyte locales, use the byte value rather than
13898 running it through btowc.
13900 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13902 * sysdeps/generic/math-tests-snan.h: New file.
13903 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13904 (SNAN_TESTS_float): Do not define here.
13905 (SNAN_TESTS_double): Likewise.
13906 (SNAN_TESTS_long_double): Likewise.
13907 (SNAN_TESTS_float128): Likewise.
13908 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13909 * sysdeps/i386/fpu/math-tests.h: Remove file.
13910 * sysdeps/ia64/math-tests-snan.h: New file.
13911 * sysdeps/ia64/math-tests.h: Remove file.
13912 * sysdeps/x86/math-tests.h: Likewise.
13913 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13915 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13916 Szabolcs Nagy <szabolcs.nagy@arm.com>
13918 * math/Makefile: Add s_sincosf_data.c.
13919 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13920 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13921 (sincosf_poly): Likewise.
13922 (reduce_small): Likewise.
13923 (reduce_large): Likewise.
13924 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13925 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13926 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13927 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13929 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13930 Szabolcs Nagy <szabolcs.nagy@arm.com>
13932 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13933 (converttoint): Use lround.
13934 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13935 document the semantics when TOINT_INTRINSICS is set.
13936 (converttoint): Likewise.
13937 (TOINT_RINT): Remove.
13938 (TOINT_SHIFT): Remove.
13939 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13942 2018-08-10 Florian Weimer <fweimer@redhat.com>
13945 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13947 (__old_getdents64): Use getdents64. Convert entries without
13949 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13950 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13951 tst-readdir64-compat.
13953 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13955 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13958 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13960 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13961 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13962 code to s390x-mcount.h and #include it.
13963 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13964 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13967 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13969 * stdlib/Versions: Remove __fentry__.
13970 * sysdeps/i386/Versions: Add __fentry__.
13971 * sysdeps/x86_64/Versions: Add __fentry__.
13973 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13975 * sysdeps/s390/Makefile: Register the new tests.
13976 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13977 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13978 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13979 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13980 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13981 * sysdeps/s390/tst-dl-runtime.c: New file.
13983 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13985 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13988 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13990 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13993 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13995 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13998 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14000 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14003 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14005 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14006 Use symbolic offsets for stack variables.
14008 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14010 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14011 Use symbolic offsets for stack variables.
14013 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14015 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14016 Use symbolic offsets for stack variables.
14018 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14020 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14021 Use symbolic offsets for stack variables.
14023 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14025 * math/gen-libm-test.py: New file.
14026 * math/gen-libm-test.pl: Remove.
14027 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14028 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14030 ($(libm-test-c-noauto-obj)): Likewise.
14031 ($(libm-test-c-auto-obj)): Likewise.
14032 ($(libm-test-c-narrow-obj)): Likewise.
14033 (regen-ulps): Likewise.
14034 * math/README.libm-test: Update references to gen-libm-test.pl.
14035 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14036 referencing gen-libm-test.pl.
14037 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14038 * math/libm-test-support.c: Likewise.
14039 * math/libm-test-support.h: Likewise.
14040 * sysdeps/generic/libm-test-ulps: Likewise.
14042 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14044 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14047 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14049 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14050 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14052 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14054 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14056 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14057 __pthread_setspecific): Add hidden proto.
14058 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14059 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14061 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14063 * benchtests/bench-string.h (buf1_size, buf2_size): New
14065 (init_sizes): New function.
14066 (test_init): Use it.
14067 (alloc_buf, exit_error): New functions.
14068 (alloc_bufs): Use ALLOC_BUF.
14069 (realloc_bufs): Remove.
14070 * benchtests/bench-memcmp.c (do_test): Adjust.
14071 * benchtests/bench-memset-large.c (do_test): Likewise.
14072 * benchtests/bench-memset-walk.c (do_test): Likewise.
14073 * benchtests/bench-memset.c (do_test): Likewise.
14074 * benchtests/bench-strncmp.c (do_test): Likewise.
14076 2018-08-06 Andreas Schwab <schwab@suse.de>
14078 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14079 of CONST_THREAD_AREA.
14081 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14083 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14084 (STATE_SAVE_MASK): Likewise.
14085 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14086 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14087 (STATE_SAVE_MASK): Likewise.
14088 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14089 instead of <cpu-features.h>.
14091 2018-08-03 DJ Delorie <dj@redhat.com>
14093 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14094 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14096 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14098 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14100 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14101 after TEST_* calls.
14102 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14103 * math/libm-test-logb.inc (logb_test_data): Likewise.
14105 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14107 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14108 * string/strstr.c (AVAILABLE): Likewise.
14110 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14112 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14115 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14116 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14118 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14120 * po/be.po: Update translation.
14122 * po/be.po: Update translation.
14124 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14126 * sysdeps/x86/cpu-features-offsets.sym
14127 (rtld_global_ro_offsetof): Removed.
14128 (CPU_FEATURES_SIZE): Likewise.
14129 (CPUID_OFFSET): Likewise.
14130 (CPUID_SIZE): Likewise.
14131 (CPUID_EAX_OFFSET): Likewise.
14132 (CPUID_EBX_OFFSET): Likewise.
14133 (CPUID_ECX_OFFSET): Likewise.
14134 (CPUID_EDX_OFFSET): Likewise.
14135 (FAMILY_OFFSET): Likewise.
14136 (MODEL_OFFSET): Likewise.
14137 (FEATURE_OFFSET): Likewise.
14138 (FEATURE_SIZ): Likewise.
14139 (COMMON_CPUID_INDEX_1): Likewise.
14140 (COMMON_CPUID_INDEX_7): Likewise.
14141 (FEATURE_INDEX_1): Likewise.
14142 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14144 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14146 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14147 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14148 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14149 (install-locales): Depend on install-locale-archive.
14150 (install-locale-archive): Define.
14151 (install-locale-files): Define.
14152 (build-one-locale): Define macro.
14153 * manual/install.texi (Running make install): Document.
14154 * manual/INSTALL: Regenerate.
14156 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14158 * benchtests/scripts/compare_strings.py: Import traceback.
14159 (parse_file): Pretty-print error.
14161 * NEWS: Mention the change.
14162 * elf/dl-tunables.list: Rename tune namespace to cpu.
14163 * sysdeps/powerpc/dl-tunables.list: Likewise.
14164 * sysdeps/x86/dl-tunables.list: Likewise.
14165 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14168 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14169 * manual/README.tunables: Likewise.
14170 * manual/tunables.texi: Likewise.
14171 * sysdeps/powerpc/cpu-features.c: Likewise.
14172 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14173 (init_cpu_features): Likewise.
14174 * sysdeps/x86/cpu-features.c: Likewise.
14175 * sysdeps/x86/cpu-features.h: Likewise.
14176 * sysdeps/x86/cpu-tunables.c: Likewise.
14177 * sysdeps/x86_64/Makefile: Likewise.
14178 * sysdeps/x86/dl-cet.c: Likewise.
14180 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14183 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14184 [__mips_hard_float].
14185 (FE_UNDERFLOW): Likewise.
14186 (FE_OVERFLOW): Likewise.
14187 (FE_DIVBYZERO): Likewise.
14188 (FE_INVALID): Likewise.
14189 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14190 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14191 (FE_UPWARD): Likewise.
14192 (FE_DOWNWARD): Likewise.
14193 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14194 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14195 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14196 [__mips_hard_float].
14197 (FP_ROUNDMODE): Likewise.
14198 (FP_RND_NEAREST): Likewise.
14199 (FP_RND_ZERO): Likewise.
14200 (FP_RND_PINF): Likewise.
14201 (FP_RND_MINF): Likewise.
14202 (FP_EX_INVALID): Likewise.
14203 (FP_EX_OVERFLOW): Likewise.
14204 (FP_EX_UNDERFLOW): Likewise.
14205 (FP_EX_DIVZERO): Likewise.
14206 (FP_EX_INEXACT): Likewise.
14207 (FP_INIT_ROUNDMODE): Likewise.
14208 * sysdeps/mips/nofpu/fesetenv.c: New file.
14209 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14211 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14213 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14214 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14215 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14216 conditional on [FE_UPWARD].
14218 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14220 regex: fix memory leak in Gnulib
14221 Problem and fix reported by Assaf Gordon in:
14222 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14223 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14224 range_ends members too, as they are defined in 'struct
14225 re_charset_t' even if not _LIBC. This affects only Gnulib.
14227 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14229 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14231 (get_common_indices): This.
14232 (init_cpu_features): Updated.
14234 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/generic/math-tests-snan-payload.h: New file.
14237 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14238 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14239 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14240 * sysdeps/generic/math-tests.h: Include
14241 <math-tests-snan-payload.h>.
14242 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14243 * sysdeps/hppa/math-tests.h: Remove file.
14244 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14245 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14246 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14249 * sysdeps/generic/math-tests-snan-cast.h: New file.
14250 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14251 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14252 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14253 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14255 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14257 * version.h (RELEASE): Set to "development".
14258 (VERSION): Set to "2.28.9000".
14259 * NEWS (2.29): New section.
14261 * version.h (RELEASE): Set to "stable".
14262 (VERSION): Set to "2.28".
14263 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14264 * NEWS: Add the list of bugs fixed in 2.28.
14266 * po/ca.po: Update to latest version.
14267 * po/cs.po: Likewise
14268 * po/da.po: Likewise
14269 * po/el.po: Likewise
14270 * po/eo.po: Likewise
14271 * po/es.po: Likewise
14272 * po/fi.po: Likewise
14273 * po/fr.po: Likewise
14274 * po/gl.po: Likewise
14275 * po/hu.po: Likewise
14276 * po/ia.po: Likewise
14277 * po/id.po: Likewise
14278 * po/it.po: Likewise
14279 * po/ja.po: Likewise
14280 * po/ko.po: Likewise
14281 * po/lt.po: Likewise
14282 * po/nb.po: Likewise
14283 * po/nl.po: Likewise
14284 * po/pt_BR.po: Likewise
14285 * po/ru.po: Likewise
14286 * po/rw.po: Likewise
14287 * po/sk.po: Likewise
14288 * po/sl.po: Likewise
14289 * po/tr.po: Likewise
14290 * po/zh_CN.po: Likewise
14291 * po/zh_TW.po: Likewise
14293 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14295 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14297 (init): ... before initializing libpthread.
14299 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14300 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14301 (__mach_setup_tls): ... new function.
14302 (mach_setup_tls): New alias.
14303 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14304 __mach_setup_thread.
14305 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14306 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14307 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14308 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14310 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14312 * manual/install.texi: Update versions.
14313 * INSTALL: Regenerate.
14315 * manual/contrib.texi (Contributors): Update contributions.
14317 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14319 * po/be.po: Update translations.
14321 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14323 * sysdeps/sh/libm-test-ulps: Update.
14325 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14327 * po/bg.po: Update translations.
14328 * po/de.po: Likewise.
14329 * po/hr.po: Likewise.
14330 * po/pt_BR.po: Likewise.
14331 * po/sv.po: Likewise.
14332 * po/vi.po: Likewise.
14334 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14337 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14338 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14339 (CFLAGS-tst-cet-property-1.o): New.
14340 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14341 ($(objpfx)tst-cet-property-2): Likewise.
14342 ($(objpfx)tst-cet-property-2.out): Likewise.
14343 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14344 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14345 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14346 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14347 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14349 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14352 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14354 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14356 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14357 __sbrk): Do not set attribute_hidden.
14358 * sysdeps/mach/hurd/not-errno.h: New file.
14359 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14360 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14362 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14364 * po/uk.po: Update translations.
14365 * po/cs.po: Likewise.
14366 * po/pl.po: Likewise.
14368 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14370 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14371 parse beyond the note end.
14373 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14375 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14376 kernel does not support OFD locks.
14377 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14379 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14381 * sysdeps/mach/hurd/Versions (libc): Make __access and
14382 __access_noerrno external so they can override the ld symbols.
14383 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14384 __writev, __open64, __access_noerrno extern so they can be overrided.
14385 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14386 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14388 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14390 * po/libc.pot: Regenerate.
14392 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14394 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14396 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14399 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14401 (init_cpu_features): Call get_extended_indices for both Intel
14403 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14404 Remove "for AMD" comment.
14406 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14409 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14410 COMMON_CPUID_INDEX_80000001.
14412 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14414 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14415 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14417 2018-07-26 Florian Weimer <fweimer@redhat.com>
14419 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14420 aliases for symbols not in the implementation namespace.
14422 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14425 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14426 lowercase in LATIN script.
14427 * localedata/Makefile (test-input): Add en_US.UTF-8.
14428 * localedata/en_US.UTF-8.in: New file.
14429 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14430 and restore old tests.
14431 * posix/tst-regexloc.c (do_test): Add back range expression test.
14433 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14435 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14437 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14439 * nptl/threads.h: Move to ...
14440 * sysdeps/nptl/threads.h: ... here.
14441 * sysdeps/hurd/stdc-predef.h: New file.
14443 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14445 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14446 tst-cet-setcontext-1 if CET is enabled.
14447 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14448 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14450 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14452 * include/threads.h: Move to ...
14453 * sysdeps/nptl/threads.h: ... here.
14454 * sysdeps/htl/threads.h: New file.
14455 * conform/Makefile (linknamespace-libs-ISO11): Use
14456 static-thread-library instead of linking libpthread.
14457 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14459 2018-07-25 Florian Weimer <fweimer@redhat.com>
14461 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14462 nanoseconds into seconds.
14463 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14464 (do_test): Likewise.
14465 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14466 (do_test): Likewise. Avoid nanosecond overflow and spurious
14467 timeouts due to system load.
14468 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14469 (child_wait): Increment it.
14470 (do_test): Wait as long as necessary until all expected threads
14473 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14474 H.J. Lu <hongjiu.lu@intel.com>
14476 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14478 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14479 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14480 (__push___start_context): New.
14481 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14483 (__getcontext): Record the current shadow stack base. Save the
14484 caller's shadow stack pointer and base.
14485 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14486 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14487 (__push___start_context): New prototype.
14488 (__makecontext): Call __push___start_context to allocate a new
14489 shadow stack, push __start_context onto the new stack as well
14490 as the new shadow stack.
14491 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14493 (__setcontext): Restore the target shadow stack.
14494 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14496 (__swapcontext): Record the current shadow stack base. Save
14497 the caller's shadow stack pointer and base. Restore the target
14499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14500 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14501 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14503 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14505 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14506 tst-setcontext8 and tst-setcontext9.
14507 * stdlib/tst-setcontext6.c: New file.
14508 * stdlib/tst-setcontext7.c: Likewise.
14509 * stdlib/tst-setcontext8.c: Likewise.
14510 * stdlib/tst-setcontext9.c: Likewise.
14512 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14514 * stdlib/Makefile ((tests): Add tst-setcontext5.
14515 * stdlib/tst-setcontext5.c: New file.
14517 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14519 * stdlib/Makefile (tests): Add tst-setcontext4.
14520 * stdlib/tst-setcontext4.c: New file.
14522 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14524 * stdlib/Makefile (tests): Add tst-swapcontext1.
14525 * stdlib/tst-swapcontext1.c: New test.
14527 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14529 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14530 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14531 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14532 and tst-cet-legacy-4c.
14533 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14534 and tst-cet-legacy-mod-4.
14535 (CFLAGS-tst-cet-legacy-2.c): New.
14536 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14537 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14538 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14539 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14540 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14541 ($(objpfx)tst-cet-legacy-1): Likewise.
14542 ($(objpfx)tst-cet-legacy-2): Likewise.
14543 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14544 ($(objpfx)tst-cet-legacy-2a): Likewise.
14545 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14546 ($(objpfx)tst-cet-legacy-4): Likewise.
14547 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14548 ($(objpfx)tst-cet-legacy-4a): Likewise.
14549 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14550 (tst-cet-legacy-4a-ENV): Likewise.
14551 ($(objpfx)tst-cet-legacy-4b): Likewise.
14552 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14553 (tst-cet-legacy-4b-ENV): Likewise.
14554 ($(objpfx)tst-cet-legacy-4c): Likewise.
14555 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14556 (tst-cet-legacy-4c-ENV): Likewise.
14557 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14558 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14559 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14560 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14561 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14562 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14563 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14564 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14565 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14566 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14567 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14569 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14571 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14572 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14574 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14575 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14578 2018-07-25 Andreas Schwab <schwab@suse.de>
14581 * locale/weightwc.h (findidx): Handle the case where usrc is a
14582 prefix of cp but one character too short.
14584 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14586 * NEWS: Add ISO C threads addition.
14588 2018-07-24 Florian Weimer <fweimer@redhat.com>
14590 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14591 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14592 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14595 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14597 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14598 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14599 <sys/prctl.h> and <asm/prctl.h>.
14600 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14601 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14603 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14604 ARCH_CET_LEGACY_BITMAP.
14605 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14606 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14607 * sysdeps/x86/libc-start.c: Include <startup.h>.
14609 2018-07-24 Florian Weimer <fweimer@redhat.com>
14611 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14612 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14614 2018-07-24 Rical Jasan <rj@2c3t.io>
14615 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14616 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14619 * manual/debug.texi: Update adjacent chapter name.
14620 * manual/probes.texi: Likewise.
14621 * manual/threads.texi (ISO C Threads): New section.
14622 (POSIX Threads): Convert to a section.
14624 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14625 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14628 * nptl/Makefile (tests): Add new test files.
14629 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14630 * nptl/tst-cnd-basic.c: Likewise.
14631 * nptl/tst-cnd-broadcast.c: Likewise.
14632 * nptl/tst-cnd-timedwait.c: Likewise.
14633 * nptl/tst-mtx-basic.c: Likewise.
14634 * nptl/tst-mtx-recursive.c: Likewise.
14635 * nptl/tst-mtx-timedlock.c: Likewise.
14636 * nptl/tst-mtx-trylock.c: Likewise.
14637 * nptl/tst-thrd-basic.c: Likewise.
14638 * nptl/tst-thrd-detach.c: Likewise.
14639 * nptl/tst-thrd-sleep.c: Likewise.
14640 * nptl/tst-tss-basic.c: Likewise.
14642 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14645 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14646 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14648 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14676 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14677 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14678 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14679 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14681 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14699 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14709 * conform/data/threads.h-data (thread_local): New macro.
14710 (TSS_DTOR_ITERATIONS): Likewise.
14712 (tss_dtor_t): Likewise.
14713 (tss_create): New function.
14714 (tss_get): Likewise.
14715 (tss_set): Likewise.
14716 (tss_delete): Likewise.
14717 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14718 tss_get, and tss_set objects.
14719 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14720 * nptl/tss_create.c: New file.
14721 * nptl/tss_delete.c: Likewise.
14722 * nptl/tss_get.c: Likewise.
14723 * nptl/tss_set.c: Likewise.
14724 * sysdeps/nptl/threads.h (thread_local): New define.
14725 (TSS_DTOR_ITERATIONS): Likewise.
14726 (tss_t): New typedef.
14727 (tss_dtor_t): Likewise.
14728 (tss_create): New prototype.
14729 (tss_get): Likewise.
14730 (tss_set): Likewise.
14731 (tss_delete): Likewise.
14734 * conform/data/threads.h-data (cnd_t): New type.
14735 (cnd_init): New function.
14736 (cnd_signal): Likewise.
14737 (cnd_broadcast): Likewise.
14738 (cnd_wait): Likewise.
14739 (cnd_timedwait): Likewise.
14740 (cnd_destroy): Likewise.
14741 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14742 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14744 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14745 * nptl/cnd_broadcast.c: New file.
14746 * nptl/cnd_destroy.c: Likewise.
14747 * nptl/cnd_init.c: Likewise.
14748 * nptl/cnd_signal.c: Likewise.
14749 * nptl/cnd_timedwait.c: Likewise.
14750 * nptl/cnd_wait.c: Likewise.
14751 * sysdeps/nptl/threads.h (cnd_t): New type.
14752 (cnd_init): New prototype.
14753 (cnd_signa): Likewise.
14754 (cnd_broadcast): Likewise.
14755 (cnd_wait): Likewise.
14756 (cnd_timedwait): Likewise.
14757 (cnd_destroy): Likewise.
14760 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14761 (once_flag): New type.
14762 (call_once): New function.
14763 * nptl/Makefile (libpthread-routines): Add call_once object.
14764 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14765 * nptl/call_once.c: New file.
14766 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14767 (once_flag): New type.
14768 (call_once): New prototype.
14771 * conform/data/threads.h-data (mtx_plain): New constant.
14772 (mtx_recursive): Likewise.
14773 (mtx_timed): Likewise.
14775 (mtx_init): New function.
14776 (mtx_lock): Likewise.
14777 (mtx_timedlock): Likewise.
14778 (mtx_trylock): Likewise.
14779 (mtx_unlock): Likewise.
14780 (mtx_destroy): Likewise.
14781 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14782 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14783 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14784 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14785 * nptl/mtx_destroy.c: New file.
14786 * nptl/mtx_init.c: Likewise.
14787 * nptl/mtx_lock.c: Likewise.
14788 * nptl/mtx_timedlock.c: Likewise.
14789 * nptl/mtx_trylock.c: Likewise.
14790 * nptl/mtx_unlock.c: Likewise.
14791 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14792 (mtx_recursive): Likewise.
14793 (mtx_timed): Likewise.
14795 (mtx_init): New prototype.
14796 (mtx_lock): Likewise.
14797 (mtx_timedlock): Likewise.
14798 (mtx_trylock): Likewise.
14799 (mtx_unlock): Likewise.
14800 (mtx_destroy): Likewise.
14803 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14804 (linknamespace-libs-ISO11): Add libpthread.a.
14805 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14807 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14808 * nptl/Makefile (headers): Add threads.h.
14809 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14810 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14812 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14813 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14814 thrd_join, thrd_sleep, and thrd_yield symbols.
14815 * nptl/descr.h (struct pthread): Add c11 field.
14816 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14817 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14818 routine with expected function prototype.
14819 (__pthread_create_2_1): Add C11 threads check based on attribute
14821 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14822 * nptl/thrd_create.c: New file.
14823 * nptl/thrd_current.c: Likewise.
14824 * nptl/thrd_detach.c: Likewise.
14825 * nptl/thrd_equal.c: Likewise.
14826 * nptl/thrd_exit.c: Likewise.
14827 * nptl/thrd_join.c: Likewise.
14828 * nptl/thrd_priv.h: Likewise.
14829 * nptl/thrd_sleep.c: Likewise.
14830 * nptl/thrd_yield.c: Likewise.
14831 * include/threads.h: Likewise.
14833 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14835 * bits/indirect-return.h: New file.
14836 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14837 * sysdeps/x86/bits/indirect-return.h: Likewise.
14838 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14839 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14840 (swapcontext): Add __INDIRECT_RETURN.
14841 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14842 (prepare_test_buffer): Use it.
14844 2018-07-24 Andreas Schwab <schwab@suse.de>
14847 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14848 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14850 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14852 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14853 Redefine if shadow stack is enabled.
14854 (SYSCALL_ERROR_LABEL): Likewise.
14855 (__vfork): Pop shadow stack and jump back to to caller directly
14856 when shadow stack is in use.
14857 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14858 Redefine if shadow stack is enabled.
14859 (SYSCALL_ERROR_LABEL): Likewise.
14860 (__vfork): Pop shadow stack and jump back to to caller directly
14861 when shadow stack is in use.
14863 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14865 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14868 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14871 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14873 * scripts/build-many-glibcs.py (Context.checkout): Default
14874 binutils version to 2.31 branch.
14876 2018-07-20 Zong Li <zong@andestech.com>
14878 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14879 URL of gcc's tarball.
14881 2018-07-20 Florian Weimer <fweimer@redhat.com>
14884 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14885 not compare an extra byte after the end of the weights.
14887 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14889 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14891 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14893 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14894 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14895 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14896 list of libraries whose stack executability is expected.
14897 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14898 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14900 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14901 libc.so libpthread.so.
14903 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14905 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14907 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14909 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14911 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14913 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14915 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14916 library to improve command line parsing.
14917 (__main__): make schema file as optional parameter (--schema),
14918 defaulting to benchtests/scripts/benchout.schema.json.
14919 (main): move out of the parsing stuff to __main_ and leave it
14920 only as caller of main comparison functions.
14922 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14924 * NEWS: Add a note for Intel CET status.
14925 * manual/install.texi: Likewise.
14926 * INSTALL: Regenerated.
14928 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14931 * localedata/locales/oc_FR (mon): Rename to...
14932 (alt_mon): This, then update October (typo fix).
14933 (mon): New content (genitive case, month names preceded by
14937 * localedata/locales/oc_FR (abday): Update all items.
14938 (day): Update Wednesday and Saturday (typo fixes).
14939 (abmon): Update all items, except May.
14940 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14941 (LC_IDENTIFICATION): Bump the revision number and date.
14942 Keep the "category" entries in alphabetic order.
14943 (LC_ADDRESS): Remove no longer needed comment.
14944 (LC_COLLATE): Use “copy "ca_ES"”.
14945 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14948 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14950 * grp/tst_fgetgrent.c: Include <unistd.h>.
14951 (main): Use mkstemp instead of tmpnam.
14952 * io/test-utime.c (main): Likewise.
14953 * posix/annexc.c (macrofile): Change to modifiable array.
14954 (main): Remove macrofile here.
14955 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14957 (check_header): Do not remove macrofile here.
14958 * posix/bug-getopt1.c: Include <stdlib.h>.
14959 (do_test): Use mkstemp instead of tmpnam.
14960 * posix/bug-getopt2.c: Include <stdlib.h>.
14961 (do_test): Use mkstemp instead of tmpnam.
14962 * posix/bug-getopt3.c: Include <stdlib.h>.
14963 (do_test): Use mkstemp instead of tmpnam.
14964 * posix/bug-getopt4.c: Include <stdlib.h>.
14965 (do_test): Use mkstemp instead of tmpnam.
14966 * posix/bug-getopt5.c: Include <stdlib.h>.
14967 (do_test): Use mkstemp instead of tmpnam.
14968 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14969 (main): Use mkstemp instead of tmpnam.
14970 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14971 (main): Use mkstemp instead of tmpnam.
14972 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14973 (main): use mkstemp instead of tmpnam.
14974 * stdlib/isomac.c (macrofile): Change to modifiable array.
14975 (main): Remove macrofile here.
14976 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14978 (check_header): Do not remove macrofile here.
14980 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14982 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14983 glibc.tune.x86_shstk.
14985 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14987 * NEWS: Mention --enable-cet.
14988 * manual/install.texi: Document --enable-cet.
14989 * INSTALL: Regenerated.
14991 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14993 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14994 Add _CET_NOTRACK before indirect jump to jump table.
14996 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14998 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14999 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15002 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15004 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15005 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15008 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15010 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15011 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15014 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15017 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15025 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15033 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15035 * sysdeps/i386/i686/multiarch/memset-sse2.S
15036 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15039 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15041 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15042 indirect jump to jump table.
15044 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15047 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15049 (MEMCPY): Likewise.
15051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15056 (MEMCPY): Likewise.
15058 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15060 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15061 _CET_NOTRACK before indirect jump to jump table.
15063 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15065 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15066 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15069 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15071 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15072 indirect jump to jump table.
15074 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15077 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15078 (LOCALES): Likewise.
15079 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15080 * localedata/locales/sah_RU: New file.
15081 * localedata/sah_RU.UTF-8.in: New file.
15083 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15085 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15087 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15088 _CET_ENDBR to indirect jump targets and adjust jump destination
15090 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15092 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15093 _CET_ENDBR to indirect jump targets and adjust jump destination
15095 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15097 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15098 _CET_ENDBR to indirect jump targets and adjust jump destination
15101 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15103 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15106 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15108 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15110 (_dl_tlsdesc_undefweak): Likewise.
15111 (_dl_tlsdesc_dynamic): Likewise.
15112 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15113 (_dl_tlsdesc_resolve_rel): Likewise.
15114 (_dl_tlsdesc_resolve_rela): Likewise.
15115 (_dl_tlsdesc_resolve_hold): Likewise.
15116 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15117 (_dl_tlsdesc_undefweak): Likewise.
15118 (_dl_tlsdesc_dynamic): Likewise.
15119 (_dl_tlsdesc_resolve_rela): Likewise.
15120 (_dl_tlsdesc_resolve_hold): Likewise.
15122 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15124 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15126 * sysdeps/x86_64/crti.S (_init): Likewise.
15129 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15132 * localedata/locales/os_RU (mon): Rename to...
15134 (mon): Import from CLDR (genitive case).
15136 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15138 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15139 cet-tunables.h> when CET is enabled.
15141 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15144 * configure.ac: Add --enable-cet.
15145 * configure: Regenerated.
15146 * elf/Makefille (all-built-dso): Add a comment.
15147 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15148 Include <dl-prop.h>.
15149 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15151 * elf/dl-open.c: Include <dl-prop.h>.
15152 (dl_open_worker): Call _dl_open_check.
15153 * elf/rtld.c: Include <dl-prop.h>.
15154 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15156 * sysdeps/generic/dl-prop.h: New file.
15157 * sysdeps/i386/dl-cet.c: Likewise.
15158 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15159 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15160 * sysdeps/x86/cet-tunables.h: Likewise.
15161 * sysdeps/x86/check-cet.awk: Likewise.
15162 * sysdeps/x86/configure: Likewise.
15163 * sysdeps/x86/configure.ac: Likewise.
15164 * sysdeps/x86/dl-cet.c: Likewise.
15165 * sysdeps/x86/dl-procruntime.c: Likewise.
15166 * sysdeps/x86/dl-prop.h: Likewise.
15167 * sysdeps/x86/libc-start.h: Likewise.
15168 * sysdeps/x86/link_map.h: Likewise.
15169 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15171 (_dl_runtime_profile): Likewise.
15172 (_dl_runtime_resolve_shstk): New.
15173 (_dl_runtime_profile_shstk): Likewise.
15174 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15176 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15177 (CFLAGS-.os): Likewise.
15178 (CFLAGS-.op): Likewise.
15179 (CFLAGS-.oS): Likewise.
15180 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15182 (tests-special): Add $(objpfx)check-cet.out.
15183 (cet-built-dso): New.
15184 (+$(cet-built-dso:=.note)): Likewise.
15185 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15186 ($(objpfx)check-cet.out): New.
15187 (generated): Add check-cet.out.
15188 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15190 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15191 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15192 (init_cpu_features): Call get_cet_status to check CET status
15193 and update dl_x86_feature_1 with CET status. Call
15194 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15195 (set_x86_shstk). Disable and lock CET in libc.a.
15196 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15197 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15198 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15199 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15200 (_CET_ENDBR): Define if not defined.
15201 (ENTRY): Add _CET_ENDBR.
15202 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15204 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15206 (_dl_runtime_profile): Likewise.
15208 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15211 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15212 restore r2 on longjmp.
15213 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15215 Added rules to build test tst-setjmp-bug21895-static.
15216 Added module setjmp-bug21895 and rules to build a shared object from it.
15217 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15218 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15220 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15222 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15223 * benchtests/bench-strstr.c: Likewise.
15224 * string/memmem.c (FASTSEARCH): Define.
15225 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15226 Add support for FASTSEARCH.
15227 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15228 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15229 (FASTSEARCH): Define.
15230 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15231 * string/test-strstr.c: Likewise.
15233 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15236 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15238 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15239 H.J. Lu <hongjiu.lu@intel.com>
15241 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15242 (__longjmp): Restore shadow stack pointer if shadow stack is
15243 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15244 isn't defined for __longjmp_cancel.
15245 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15246 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15247 and SHADOW_STACK_POINTER_OFFSET is defined.
15248 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15249 (setjmp): Save shadow stack pointer if shadow stack is enabled
15250 and SHADOW_STACK_POINTER_OFFSET is defined.
15251 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15252 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15253 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15256 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15257 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15258 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15259 Remove jmp_buf-ssp.sym.
15260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15262 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15263 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15264 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15266 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15267 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15268 (__longjmp): Restore shadow stack pointer if shadow stack is
15269 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15270 isn't defined for __longjmp_cancel.
15271 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15272 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15273 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15275 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15278 * nptl/pthread_create.c: Include <tls-setup.h>.
15279 (__pthread_create_2_1): Call tls_setup_tcbhead.
15280 * sysdeps/generic/tls-setup.h: New file.
15281 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15282 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15283 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15285 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15287 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15288 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15289 (X86_FEATURE_1_SHSTK): Likewise.
15290 (CET_ENABLED): Likewise.
15291 (IBT_ENABLED): Likewise.
15292 (SHSTK_ENABLED): Likewise.
15294 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15297 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15298 (LOCALES): Likewise.
15299 * localedata/dsb_DE.UTF-8.in: New file.
15300 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15302 2018-07-12 Florian Weimer <fweimer@redhat.com>
15304 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15305 __mprotect, not mprotect.
15307 2018-07-11 Florian Weimer <fweimer@redhat.com>
15309 * io/Makefile (headers): Add bits/statx.h.
15311 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15313 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15314 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15316 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15317 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15320 2018-07-10 Florian Weimer <fweimer@redhat.com>
15322 * io/Makefile (routines): Add statx.
15323 (tests-internal): Add tst-statx.
15324 * io/Versions (GLIBC_2.28): Export statx.
15325 * io/bits/statx.h: New file.
15326 * io/sys/stat.h [__USE_GNU]: Include it.
15327 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15328 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15330 * io/statx.c: New file.
15331 * io/statx_generic.: Likewise.
15332 * io/tst-statx.: Likewise.
15333 * include/bits/statx.h: Likewise.
15334 * sysdeps/unix/sysv/linux/kernel-features.h
15335 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15337 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15338 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15341 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15342 * sysdeps/unix/sysv/linux/statx.c: New file.
15343 * manual/filesys.texi: Note that statx is undocumented.
15344 * sysdeps/**/libc*.abilist: Update.
15346 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15348 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15349 a kernel issue which lead to test failure in some cases.
15351 2018-07-10 Florian Weimer <fweimer@redhat.com>
15354 * posix/regexec.c (check_node_accept_bytes): When comparing
15355 weights, do not compare an extra byte after the end of the
15358 2018-07-10 Florian Weimer <fweimer@redhat.com>
15360 * libio/readline.c: Fix copyright year.
15361 * libio/tst-readline.c Likewise.
15362 * nss/tst-nss-files-hosts-getent.c: Likewise.
15364 2018-07-06 Florian Weimer <fweimer@redhat.com>
15367 * nss/nss_files/files-XXX.c (internal_getent): Use
15368 __libc_readline_unlocked. Seek back to the start of the line if
15369 parsing failes with ERANGE.
15370 (get_contents_ret, get_contents): Remove.
15371 * nss/tst-nss-files-hosts-getent.c: New file.
15372 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15373 (tst-nss-files-hosts-getent): Link with -ldl.
15375 2018-07-06 Florian Weimer <fweimer@redhat.com>
15377 * include/stdio.h (__libc_readline_unlocked): Declare.
15378 (__ftello64, __fseeko64): Declare aliases.
15379 * libio/readline.c: New file.
15380 * libio/tst-readline.c: Likewise.
15381 (routines): Add readline.
15382 (tests-internal): Add tst-readlime.
15383 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15384 __libc_readline_unlocked.
15385 * libio/fseeko.c (__fseeko): Rename from fseeko.
15386 (fseeko): Add alias.
15387 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15388 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15389 (fseeko64): Add alias.
15390 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15391 * libio/ftello64.c (__ftello64): Rename from ftello64.
15392 (ftello64): Add alias.
15394 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15396 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15399 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15401 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15402 Use dl_hwcap without masking.
15403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15404 Remove HWCAP_CPUID.
15406 2018-07-06 Florian Weimer <fweimer@redhat.com>
15408 * conform/conformtest.pl (checknamespace): Escape literal braces
15409 in regular expressions.
15411 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15413 * sysdeps/x86/cpu-features.c (get_common_indeces):
15414 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15415 * sysdeps/x86/cpu-features.c (init_cpu_features):
15416 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15418 2018-07-05 Florian Weimer <fweimer@redhat.com>
15420 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15422 (CFLAGS-elf-init.oS): Likewise.
15424 2018-07-05 Florian Weimer <fweimer@redhat.com>
15425 Carlos O'Donell <carlos@redhat.com>
15427 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15428 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15429 with stack protector enabled because there is no risk of infinite
15432 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15436 * libc-abis (ABSOLUTE): New ABI.
15437 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15438 * NEWS: Mention the new ABI.
15440 2018-07-05 Florian Weimer <fweimer@redhat.com>
15443 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15444 (RENAME_WHITEOUT): Define.
15445 [__USE_GNU] (renameat2): Declare.
15446 * stdio-common/Makefile (routines): Add renameat2.
15447 (tests): Add tst-renameat2.
15448 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15449 * stdio-common/renameat2.c: New file.
15450 * stdio-common/tst-renameat2.c: Likewise.
15451 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15452 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15454 * sysdeps/unix/sysv/linux/kernel-features.h
15455 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15457 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15459 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15460 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15461 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15462 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15463 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15464 * include/stdio.h (__renameat): Add alias for renameat.
15465 * stdio-common/renameat.c (__renameat): Rename from renameat.
15466 Add hidden definition and alias.
15467 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15468 * sysdeps/mach/hurd/renameat.c: Likewise.
15469 * sysdeps/**/libc*.abilist: Add renameat2.
15471 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15473 * posix/bug-regex33.c: Fix build after regex sync.
15475 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15478 * localedata/tst-langinfo-setlocale.c: New file.
15479 * localedata/tst-langinfo-setlocale-static.c: New file.
15480 * localedata/tst-langinfo-newlocale.c: New file.
15481 * localedata/tst-langinfo-newlocale-static.c: New file.
15482 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15483 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15484 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15485 (tests-static): Remove tst-langinfo-static. Add
15486 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15487 (tests-special): Remove $(objpfx)tst-langinfo.out,
15488 $(objpfx)tst-langinfo-static.out. Add
15489 $(objpfx)tst-langinfo-setlocale.out,
15490 $(objpfx)tst-langinfo-newlocale.out,
15491 $(objpfx)tst-langinfo-setlocale-static.out,
15492 $(objpfx)tst-langinfo-newlocale-static.out.
15493 ($(objpfx)tst-langinfo.out): Remove.
15494 ($(objpfx)tst-langinfo-static.out): Remove.
15495 ($(objpfx)tst-langinfo-newlocale.out): New target.
15496 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15497 (test-xfail-tst-langinfo-newlocale-static): Add.
15498 ($(objpfx)tst-langinfo-setlocale.out): New target.
15499 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15500 * localedata/tst-langinfo.c: Call test_locale.
15501 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15504 2018-07-04 Florian Weimer <fweimer@redhat.com>
15506 testrun.sh: Implement --tool=strace, --tool=valgrind
15507 * Makefile (testrun-script): Define variable.
15508 (testrun.sh): Use variable.
15509 * manual/install.texi (Tools for Compilation): make 4.0 or later
15511 * configure.ac: Check for make 4.0 or later.
15512 * INSTALL: Regenerate.
15513 * configure: Likewise.
15515 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15521 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15522 * posix/PCRE.tests: Remove invalid test.
15523 * posix/bug-regex28.c: Fix expected values for used syntax.
15524 * posix/bug-regex37.c: New file.
15525 * posix/bug-regex38.c: Likewise.
15526 * posix/regcomp.c: Sync with gnulib.
15527 * posix/regex.c: Likewise.
15528 * posix/regex.h: Likewise.
15529 * posix/regex_internal.c: Likewise.
15530 * posix/regex_internal.h: Likewise.
15531 * posix/regexec.c: Likewise.
15533 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15536 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15537 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15538 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15539 * localedata/unicode-gen/PropList.txt: likewise.
15540 * localedata/unicode-gen/UnicodeData.txt: likewise.
15541 * localedata/charmaps/UTF-8: Regenerate.
15542 * localedata/locales/i18n_ctype: likewise.
15543 * localedata/locales/tr_TR: likewise.
15544 * localedata/locales/translit_circle: likewise.
15545 * localedata/locales/translit_cjk_compat: likewise.
15546 * localedata/locales/translit_combining: likewise.
15547 * localedata/locales/translit_compat: likewise.
15548 * localedata/locales/translit_font: likewise.
15549 * localedata/locales/translit_fraction: likewise.
15551 2018-07-03 Florian Weimer <fweimer@redhat.com>
15554 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15555 * stdio-common/tst-printf.sh: Adjust expected output.
15556 * LICENSES: Update.
15558 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15560 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15563 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15565 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15566 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15567 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15568 * stdio-common/tst-printfsz-islongdouble.c: New file.
15569 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15571 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15572 [subdir == stdio-common] (tests-internal): Add
15573 test-printf-size-ieee128, and test-printf-size-ibm128.
15574 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15575 (CFLAGS-test-printf-size-ibm128.c): New variables.
15576 [subdir == stdio-common] (tests-special): Add
15577 $(objpfx)test-printf-size-ieee128.out and
15578 $(objpfx)test-printf-size-ibm128.out.
15579 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15580 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15581 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15582 __printf_sizeieee128.
15583 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15585 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15587 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15590 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15592 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15593 (exp2f_inline): Likewise.
15594 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15595 (__math_uflowf): Likewise.
15596 (__math_may_uflowf): Likewise.
15597 (__math_divzerof): Likewise.
15598 (__math_invalidf): Likewise.
15599 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15600 (__math_oflowf): Likewise.
15601 (__math_uflowf): Likewise.
15602 (__math_may_uflowf): Likewise.
15603 (__math_divzerof): Likewise.
15604 (__math_invalidf): Likewise.
15606 2018-06-29 DJ Delorie <dj@redhat.com>
15607 Carlos O'Donell <carlos@redhat.com>
15610 * include/libc-symbols.h: Comment the freeres framework.
15611 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15612 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15613 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15614 * dlfcn/dlerror.c: Include libc-symbols.h
15615 (__dlerror_main_freeres): New function.
15616 * dlfcn/dlfreeres.c: New file.
15617 * dlfcn/sdlfreeres.c: New file.
15618 * include/dlfcn.h: Declare __dlerror_main_freeres.
15619 * malloc/set-freeres.c: Declare __libdl_freeres, and
15620 __libpthread_freeres.
15621 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15622 the releavant libraries are loaded.
15623 * malloc/thread-freeres.c: Add comments.
15624 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15625 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15626 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15627 (__free_stacks): Rename to...
15628 (free_stacks): ...this. Mark static.
15629 (queue_stack): Call free_stacks.
15630 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15631 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15632 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15633 ptr_freeres element from struct.
15634 (pthread_functions): Remove .ptr_freeres from struct initializer.
15635 [SHARED] (nptl_freeres): Remove.
15636 * nptl/nptlfreeres.c: New file.
15638 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15639 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15641 (__free_stacks): Rename to...
15642 (__nptl_stacks_freeres): ...this.
15643 (__shm_directory_freeres): Declare.
15644 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15645 (__nptl_unwind_freeres): ...this.
15646 * resolv/res-close.c: Add comment.
15647 * resolv/resolv_conf.c: Include libc-symbols.h.
15648 * string/strerror_l.c: Include libc-symbols.h.
15649 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15650 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15651 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15652 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15654 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15656 * stdlib/tst-strfmon_l.c: Add tests for long double.
15658 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15661 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15662 * localedata/locales/dsb_DE: New file.
15664 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15667 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15669 (alt_mon): New entry, import from CLDR (nominative case).
15671 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15674 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15676 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15678 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15679 Use vector registers.
15681 * sysdeps/aarch64/multiarch/memmove_falkor.S
15682 (__memcpy_falkor): Use vector registers.
15684 2018-06-29 Martin Sebor <msebor@redhat.com>
15686 * manual/stdio.texi (Customizing Printf): Mention interaction
15687 with GCC built-ins.
15689 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15692 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15693 `st_value' is 0 if `st_shndx' is SHN_ABS.
15694 * elf/tst-absolute-zero.c: New file.
15695 * elf/tst-absolute-zero-lib.c: New file.
15696 * elf/tst-absolute-zero-lib.lds: New file.
15697 * elf/Makefile (tests): Add `tst-absolute-zero'.
15698 (modules-names): Add `tst-absolute-zero-lib'.
15699 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15700 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15701 ($(objpfx)tst-absolute-zero: New dependency.
15703 2018-06-29 Zack Weinberg <zackw@panix.com>
15705 * configure.ac: New command-line option --disable-crypt.
15706 Force --disable-nss-crypt when --disable-crypt is given, with a
15707 warning if it was explicitly enabled.
15708 * configure: Regenerate.
15709 * config.make.in: New boolean substitution variable $(build-crypt).
15710 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15711 when $(build-crypt).
15712 * manual/install.texi: Document --disable-crypt.
15713 * INSTALL: Regenerate.
15715 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15716 which is never set.
15717 * conform/Makefile: Only include libcrypt.a in
15718 linknamespace-libs-xsi and linknamespace-libs-XPG4
15719 when $(build-crypt).
15720 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15721 USE_CRYPT to 1 when $(build-crypt).
15722 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15723 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15724 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15726 2018-06-29 Zack Weinberg <zackw@panix.com>
15728 * crypt/crypt.h, posix/unistd.h: Update comments and
15729 prototypes for crypt and crypt_r.
15731 * manual/crypt.texi (Cryptographic Functions): New initial
15733 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15734 (Unpredictable Bytes): Improve initial exposition. Clarify error
15735 behavior of getentropy and getrandom.
15736 * manual/examples/genpass.c: Generate a salt using getentropy
15737 instead of the current time. Use hash $5$ (SHA-2-256).
15738 * manual/examples/testpass.c: Demonstrate validation against
15739 hashes generated with three different one-way functions.
15741 * manual/intro.texi: crypt.texi does not need an overview
15744 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15745 * manual/terminal.texi: Consistently refer to "passphrases"
15746 * instead of "passwords", and to the "user database" instead
15747 * of the "password database".
15748 * manual/users.texi: Similarly. Add notes about how actual
15749 passphrase hashes are now stored in the shadow database.
15750 Remove 20-year-old junk todo note.
15752 2018-06-29 Zack Weinberg <zackw@panix.com>
15754 * manual/crypt.texi: Use a normal top-level @node declaration.
15755 Move most of the introductory text to the 'crypt' section.
15756 Move the example programs below the @deftypefun for 'crypt_r'.
15757 Move the 'getpass' section...
15758 * manual/terminal.texi: ...here.
15760 2018-06-29 Zack Weinberg <zackw@panix.com>
15761 Florian Weimer <fweimer@redhat.com>
15763 * posix/unistd.h: Do not declare encrypt.
15764 (_XOPEN_CRYPT): Remove macro definition.
15765 (crypt): Declare only for _USE_MISC.
15766 * stdlib/stdlib.h: Do not declare setkey.
15767 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15768 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15770 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15771 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15772 into compat symbols. Don't define initial_perm if it's not
15774 * crypt/cert.c: Link explicitly with the expected versions for
15775 setkey and encrypt. If they are not available at all, mark
15776 the test as unsupported.
15778 * sunrpc/des_crypt.c: Unconditionally block linkage with
15779 cbc_crypt and ecb_crypt for new binaries.
15780 * sunrpc/des_soft.c: Unconditionally block linkage with
15781 des_setparity for new binaries.
15783 * manual/crypt.texi: Remove the entire "DES Encryption"
15784 section. Also remove the paragraph talking about FIPS 140-2
15785 from the introduction.
15786 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15787 of libgcrypt for "real" encryption, not DES.
15788 * manual/conf.texi (Constants for Sysconf): Mention that
15789 _XOPEN_CRYPT is no longer impelemented.
15791 * conform/data/unistd.h-data: Remove crypt function declaration.
15793 2018-06-29 Florian Weimer <fweimer@redhat.com>
15796 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15797 (disallow_malloc_check): Remove variable.
15798 (__malloc_check_init): Adjust.
15799 (malloc_set_state): Update comment.
15800 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15803 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15806 * localedata/locales/ast_ES (mon): Rename to...
15808 (mon): Import from CLDR (genitive case).
15810 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15811 Jakub Sitnicki <jkbs@redhat.com>
15814 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15815 on NLM_F_DUMP_INTR.
15817 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15819 * manual/llio.texi: Remove spurious space.
15821 2018-06-28 Florian Weimer <fweimer@redhat.com>
15824 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15827 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15829 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15830 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15831 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15832 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15833 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15834 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15835 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15837 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15840 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15841 Copy and null-terminate entries that are not terminated, in
15842 addition to empty ones.
15844 2018-06-27 Florian Weimer <fweimer@redhat.com>
15847 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15848 (extend_alloca_account): Remove.
15849 * manual/stdio.texi (Variable Arguments Output): Update comment.
15851 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15853 * nptl/sockperf.c: Remove file.
15855 2018-06-27 Florian Weimer <fweimer@redhat.com>
15858 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15859 scratch_buffer instead of extend_alloca.
15861 2018-06-27 Florian Weimer <fweimer@redhat.com>
15864 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15865 scratch_buffer instead of extend_alloca. Update comments.
15867 2018-06-27 Florian Weimer <fweimer@redhat.com>
15870 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15871 instead of extend_alloca.
15873 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15876 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15877 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15879 * scripts/test-installation.pl: Put temporary files in build
15880 directory, not /tmp.
15881 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15882 (CFLAGS-bug4.c): Likewise.
15883 (CFLAGS-bug5.c): Likewise.
15884 (CFLAGS-test-fseek.c): Likewise.
15885 (CFLAGS-test-popen.c): Likewise.
15886 (CFLAGS-test_rdwr.c): Likewise.
15887 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15889 * stdio-common/bug4.c (main): Likewise.
15890 * stdio-common/bug5.c (main): Likewise.
15891 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15892 * stdio-common/test-popen.c (do_test): Likewise.
15893 * stdio-common/test_rdwr.c (main): Likewise.
15895 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15897 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15898 (sem_open): Set sem.newsem.pad to zero for valgrind.
15900 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15903 * NEWS: Mention fcntl64 addition.
15904 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15905 * login/utmp_file.c: Likewise.
15906 * sysdeps/posix/fdopendir.c: Likewise.
15907 * sysdeps/posix/opendir.c: Likewise.
15908 * sysdeps/unix/pt-fcntl.c: Likewise.
15909 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15910 __fcntl64_nocancel_adjusted): New prototype.
15911 (__fcntl_nocancel_adjusted): Remove prototype.
15912 * io/Makefile (routines): Add fcntl64.
15913 (CFLAGS-fcntl64.c): New rule.
15914 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15915 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15916 * io/fcntl.h (fcntl64): Add prototype and redirect if
15917 __USE_FILE_OFFSET64 is defined.
15918 * io/fcntl64.c: New file.
15919 * manual/llio.text: Add a note for which commands fcntl acts a
15920 cancellation point.
15921 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15922 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15923 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15925 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15926 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15928 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15929 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15930 to __fcntl64_nocancel.
15931 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15932 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15933 to __fcntl64_nocancel.
15934 * sysdeps/generic/not-cancel.h: Likewise.
15935 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15936 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15937 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15938 (fcntl64): New symbol.
15939 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15950 fcntl64): Likewise.
15951 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15953 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15964 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15968 2018-06-26 Florian Weimer <fweimer@redhat.com>
15970 Run thread shutdown functions in an explicit order.
15971 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15973 (__libc_thread_freeres): Call thread shutdown functions
15975 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15976 * include/string.h (__strerror_thread_freeres): Declare.
15977 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15978 arena_thread_freeres. No longer static. Remove thread shutdown
15980 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15982 * resolv/res-close.c (__res_thread_freeres): Renamed from
15983 res_thread_freeres. No longer static. Remove thread shutdown
15985 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15986 * resolv/resolv_conf.c (freeres): Remove incorrect section
15987 attribute and use libc_freeres_fn.
15988 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15989 strerror_thread_freeres. No longer static. Remove thread
15990 shutdown hook registration.
15991 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15992 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15993 shutdown hook registration.
15994 * Makerules (shlib.lds): Do not provide section boundary symbols
15995 for __libc_thread_subfreeres.
15996 * manual/memory.texi (Basic Allocation): Update comment.
15998 2018-06-26 Florian Weimer <fweimer@redhat.com>
16000 Remove always-defined _RPC_THREAD_SAFE_ macro.
16001 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16002 Do not define _RPC_THREAD_SAFE_.
16003 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16005 * sunrpc/clnt_perr.c: Likewise.
16006 * sunrpc/clnt_raw.c: Likewise.
16007 * sunrpc/clnt_simp.c: Likewise.
16008 * sunrpc/key_call.c: Likewise.
16009 * sunrpc/rpc_common.c: Likewise.
16010 * sunrpc/rpc_main.c: Likewise.
16011 * sunrpc/rpc_thread.c: Likewise.
16012 * sunrpc/svc.c: Likewise.
16013 * sunrpc/svc_raw.c: Likewise.
16014 * sunrpc/svc_simple.c: Likewise.
16015 * sumrpc/svcauth_des.c: Likewise.
16017 2018-06-26 Florian Weimer <fweimer@redhat.com>
16019 * libio/Makefile (tests-internal): Add tst-vtables,
16020 tst-vtables-interposed.
16021 * libio/tst-vtables.c: New file.
16022 * libio/tst-vtables-common.c: Likewise.
16023 * libio/tst-vtables-interposed.c: Likewise.
16025 2018-06-26 Florian Weimer <fweimer@redhat.com>
16027 * support/support_test_main.c (support_test_main): Only call
16028 setvbuf if not disables.
16029 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16030 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16032 2018-06-26 Florian Weimer <fweimer@redhat.com>
16035 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16037 2018-06-25 Florian Weimer <fweimer@redhat.com>
16040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16041 Use struct scratch_buffer instead of extend_alloca.
16043 2018-06-25 Florian Weimer <fweimer@redhat.com>
16046 * nss/getent.c (initgroups_keys): Use dynarray instead of
16049 2018-06-25 Florian Weimer <fweimer@redhat.com>
16052 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16053 Use struct scratch_buffer instead of extend_alloca.
16055 2018-06-25 Florian Weimer <fweimer@redhat.com>
16058 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16059 back to malloc directly, without stack allocations.
16061 2018-06-25 Florian Weimer <fweimer@redhat.com>
16064 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16067 2018-06-25 Florian Weimer <fweimer@redhat.com>
16070 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16072 * nscd/hstcache.c (addhstbyX): Likewise.
16073 * nscd/pwdcache.c (addpwbyX): Likewise.
16074 * nscd/servicescache.c (addservbyX): Likewise.
16076 2018-06-25 Florian Weimer <fweimer@redhat.com>
16079 * nscd/connections.c (read_cmdline): New function.
16080 (restart): Use it. Update comment.
16082 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16085 * localedata/locales/csb_PL (mon): Rename to...
16087 (abmon): Rename to...
16088 (ab_alt_mon): This.
16089 (mon): Add with proper genitive forms, copy from Wikipedia.
16092 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16095 * localedata/locales/csb_PL (mon): Fix typos:
16096 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16097 (yesstr): Add, value is "jo".
16098 (nostr): Add, value is "nié".
16100 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16102 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16103 all log1p and significand functions on m680x0.
16104 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16105 of s_significand.c..
16106 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16107 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16108 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16109 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16110 s_log1p.c and include it..
16112 2018-06-21 Vincent Chen <vincentc@andestech.com>
16114 * elf/elf.h (R_NDS32_NONE): New define.
16115 (R_NDS32_32_RELA): Likewise.
16116 (R_NDS32_COPY): Likewise.
16117 (R_NDS32_GLOB_DAT): Likewise.
16118 (R_NDS32_JUMP_SLOT): Likewise.
16119 (R_NDS32_RELATIVE): Likewise.
16120 (R_NDS32_TLS_TPOFF): Likewise.
16121 (R_NDS32_TLS_DESC): Likewise.
16123 2018-06-21 Mark Wielaard <mark@klomp.org>
16125 * elf/elf.h (R_BPF_MAP_FD): Removed.
16126 (R_BPF_64_64, R_BPF_64_32): New.
16128 2018-06-21 Florian Weimer <fweimer@redhat.com>
16131 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16132 Renamed from libc_feholdsetround_ctx.
16133 (default_libc_feresetround_ctx): Renamed from
16134 libc_feresetround_ctx.
16135 (default_libc_feholdsetround_noex_ctx): Renamed from
16136 libc_feholdsetround_noex_ctx.
16137 (default_libc_feresetround_noex_ctx): Renamed from
16138 libc_feresetround_noex_ctx.
16139 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16140 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16141 forwardning to the old implementations under the new names.
16142 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16143 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16144 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16145 (libc_feresetround_ctx): Forward to default implements for i386
16146 and MATH_SET_BOTH_ROUNDING_MODES.
16147 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16148 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16150 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16152 * string/tst-cmp.c: Include <libc-diag.h>.
16153 (strncmp_max): Disable -Wstringop-overflow= around call to
16155 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16158 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16159 (main): Disable -Wunused-value around call to strpbrk.
16160 * string/bug-strspn1.c: Include <libc-diag.h>.
16161 (main): Disable -Wunused-value around call to strspn.
16163 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16164 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16166 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16167 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16169 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16171 * math/Makefile (libm-calls): Move s_significandF to...
16172 (gen-libm-calls): ... here.
16173 * math/s_significand_template.c: New file.
16174 * math/s_significand.c: Removed.
16175 * math/s_significandf.c: Removed.
16176 * math/s_significandl.c: Removed.
16177 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16178 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16180 * math/e_exp2_template.c (declare_mgen_finite_alias,
16181 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16182 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16183 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16185 2018-06-20 Florian Weimer <fweimer@redhat.com>
16187 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16189 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16192 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16193 floating-point number to strtod functions rather than possibly
16194 negating result of those functions.
16195 * stdio-common/tst-scanf-round.c: New file.
16196 * stdio-common/Makefile (tests): Add tst-scanf-round.
16197 ($(objpfx)tst-scanf-round): Depend on $(libm).
16199 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16201 * sysdeps/mach/hurd/localplt.data: Move to...
16202 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16203 R_386_GLOB_DAT like on Linux i386.
16205 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16207 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16208 (SHM_STAT_ANY): New macro.
16209 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16210 (SHM_STAT_ANY): Likewise.
16211 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16212 (SHM_STAT_ANY): Likewise.
16213 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16214 (SHM_STAT_ANY): Likewise.
16215 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16216 (SHM_STAT_ANY): Likewise.
16217 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16218 (SHM_STAT_ANY): Likewise.
16219 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16220 (SHM_STAT_ANY): Likewise.
16221 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16222 (SHM_STAT_ANY): Likewise.
16223 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16224 (SHM_STAT_ANY): Likewise.
16225 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16226 (SHM_STAT_ANY): Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16228 (SHM_STAT_ANY): Likewise.
16229 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16230 (SHM_STAT_ANY): Likewise.
16232 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16233 (SEM_STAT_ANY): New macro.
16234 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16235 (SEM_STAT_ANY): Likewise.
16236 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16237 (SEM_STAT_ANY): Likewise.
16238 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16239 (SEM_STAT_ANY): Likewise.
16240 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16241 (SEM_STAT_ANY): Likewise.
16242 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16243 (SEM_STAT_ANY): Likewise.
16244 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16245 (SEM_STAT_ANY): Likewise.
16246 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16247 (SEM_STAT_ANY): Likewise.
16248 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16249 (SEM_STAT_ANY): Likewise.
16250 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16251 (SEM_STAT_ANY): Likewise.
16253 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16254 (MSG_STAT_ANY): New macro.
16255 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16256 (MSG_STAT_ANY): Likewise.
16257 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16258 (MSG_STAT_ANY): Likewise.
16259 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16260 (MSG_STAT_ANY): Likewise.
16261 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16262 (MSG_STAT_ANY): Likewise.
16263 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16264 (MSG_STAT_ANY): Likewise.
16265 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16266 (MSG_STAT_ANY): Likewise.
16267 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16268 (MSG_STAT_ANY): Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16270 (MSG_STAT_ANY): Likewise.
16271 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16272 (MSG_STAT_ANY): Likewise.
16274 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16275 (MAP_TYPE): Change value to 0x2b.
16277 2018-06-18 Florian Weimer <fweimer@redhat.com>
16280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16281 socket with SOCK_CLOEXEC.
16283 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16286 * sysdeps/powerpc/powerpc64/le/Makefile
16287 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16288 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16289 (gnulib-tests): Also add $(f128-loader-link) for
16290 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16292 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16294 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16295 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16297 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16298 (sendfile64): New strong alias.
16299 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16300 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16301 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16302 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16304 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16305 ___pthread_get_cleanup_stack.
16306 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16307 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16308 * mach/shortcut.awk: Make syscall stubs include
16309 <mach-shortcuts-hidden.h> and add hidden definition.
16310 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16311 (__mach_msg): Add hidden prototype.
16312 * mach/msg.c: Include <mach.h>.
16313 (__mach_msg): Add hidden definition.
16314 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16315 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16316 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16317 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16318 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16319 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16320 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16321 prototype and definition.
16322 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16323 hidden target for _hurd_self_sigstate.
16325 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16328 * stdlib/tst-strtod-nan-sign-main.c: New file.
16329 * stdlib/tst-strtod-nan-sign.c: Likewise.
16330 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16331 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16332 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16333 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16334 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16336 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16342 2018-06-14 Florian Weimer <fweimer@redhat.com>
16345 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16346 that the result stays within the ISO-8859-1 range.
16347 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16348 characters are defined in IBM273.
16350 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16352 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16353 __mach_task_self): Remove attribute_hidden.
16355 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16357 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16358 ignore -Wrestrict for one test.
16360 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16361 Szabolcs Nagy <szabolcs.nagy@arm.com>
16363 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16365 2018-06-14 Florian Weimer <fweimer@redhat.com>
16367 * scripts/update-abilist.sh: Accept empty list of files to patch.
16369 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16371 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16372 test-xfail-check-abi-libmachuser): Add.
16373 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16374 __libc_read and __libc_write to __read and __write.
16375 * sysdeps/hurd/include/hurd/port.h: New file.
16376 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16377 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16378 __thread_switch, __evc_wait): Move declarations to...
16379 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16381 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16382 use PLT to call _hurd_self_sigstate.
16384 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16387 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16388 MAX_EXP as overflowing.
16389 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16391 (round_str): Output also whether result overflows in each rounding
16393 * stdlib/tst-strtod-round-data: Add more tests.
16394 * stdlib/tst-strtod-round-data.h: Regenerated.
16395 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16396 (TEST): Handle extra arguments for overflow flags.
16397 (struct test_overflow): New type.
16398 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16399 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16400 (test_in_one_mode): Take argument with overflow information.
16401 (do_test): Update calls to test_in_one_mode.
16403 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16405 * elf/dl-load (_dl_dst_substitute): Correct comment.
16406 (_dl_dst_count): Likewise.
16408 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16409 lll_futex_timed_wait.
16411 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16414 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16416 * math/test-nan-const.c: New file.
16417 * math/Makefile (tests): Add test-nan-const.
16418 (CFLAGS-test-nan-const.c): New variable.
16420 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16422 * benchtests/scripts/compare_strings.py (process_results): Add
16423 funcs argument. Compare only functions which are selected.
16424 (main): Check if base function is among selected functions.
16425 Pass selected functions to process_results.
16426 (__main__): Add -f/--functions argument.
16428 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16429 Hongbo Zhang <hongbo.zhang@linaro.org>
16431 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16432 __memcpy_falkor for phecda core.
16433 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16434 __memmove_falkor for phecda core.
16435 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16436 __memset_falkor for phecda core.
16437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16440 macro to identify phecda core.
16442 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16443 Andreas Schwab <schwab@suse.de>
16444 Dmitry V. Levin <ldv@altlinux.org>
16445 Florian Weimer <fweimer@redhat.com>
16452 * elf/dl-dst.h: Remove DL_DST_COUNT.
16453 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16454 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16455 (is_dst): Comment. Support ELF gABI.
16456 (_dl_dst_count): Comment. Simplify and count DSTs.
16457 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16458 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16461 2018-06-12 Zack Weinberg <zackw@panix.com>
16463 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16464 * sysdeps/unix/sysv/linux/dl-sysdep.c
16465 Include not-cancel.h. Use __close_nocancel instead of __close,
16466 __open64_nocancel instead of __open, __read_nocancel instead of
16467 __libc_read, and __write_nocancel instead of __libc_write.
16469 * csu/check_fds.c (check_one_fd)
16470 * sysdeps/posix/fdopendir.c (__fdopendir)
16471 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16472 instead of __fcntl and/or __libc_fcntl.
16474 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16475 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16476 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16477 Use __open64_nocancel instead of __open_nocancel.
16479 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16480 hidden_proto declarations to the end and issue them if either
16481 IS_IN(libc) or IS_IN(rtld).
16482 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16483 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16484 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16485 read_nocancel, waitpid_nocancel, write_nocancel.
16487 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16488 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16489 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16491 * nptl/pt-fcntl.c: New file.
16492 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16493 (libpthread-routines): Add pt-fcntl.
16494 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16495 (__libc_fcntl): Remove attribute_hidden.
16496 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16497 __fcntl_nocancel_adjusted, not fcntl_common.
16498 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16499 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16500 to fcntl_nocancel.c.
16501 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16504 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16506 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16507 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16508 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16509 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16510 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16511 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16512 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16513 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16514 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16515 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16516 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16517 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16518 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16519 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16520 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16521 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16522 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16523 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16524 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16525 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16527 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16528 libpthread-routines.
16529 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16532 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16533 __libc_read, and __write instead of __libc_write. Define
16534 __open64 in addition to __open.
16536 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16540 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16541 to _private_tm[3] and add __glibc_reserved2.
16542 Add _Static_assert of offset of __private_ss == 0x30.
16543 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16544 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16546 2018-06-12 Florian Weimer <fweimer@redhat.com>
16548 x86: Make strncmp usable from rtld.
16549 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16550 __strncmp_ia32 if in libc (and not in rtld).
16551 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16552 strncmp if not in libc (and not to __strncmp_sse2).
16554 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16557 * localedata/locales/gd_GB (mon): Rename to...
16559 (mon): Import from CLDR (genitive case).
16560 * localedata/locales/hsb_DE (mon): Rename to...
16562 (mon): Import from CLDR (genitive case).
16563 * localedata/locales/wa_BE (mon): Rename to...
16565 (mon): Add, fill with the proper genitive forms, but CLDR data
16566 is incomplete; completed according to the comments in this file.
16567 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16569 * localedata/locales/wa_BE (country_name): Reword
16570 "Beljike" -> "Beldjike".
16572 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16576 cases of non-finite arguments.
16577 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16579 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16582 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16584 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16587 * include/unistd.h (__execvpex): New prototype.
16588 * posix/Makefile (tests): Add tst-spawn4.
16589 (tests-internal): Add tst-spawn4-compat.
16590 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16591 * posix/tst-spawn4-compat.c: New file.
16592 * posix/tst-spawn4.c: Likewise.
16593 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16594 binaries as shell scripts.
16595 * sysdeps/posix/spawni.c (__spawni): Likewise.
16597 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16600 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16601 ($(all-built-dso:=.dynsym): New target.
16602 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16603 ($(objpfx)check-initfini.out): New target.
16604 (generated): Add check-initfini.out.
16605 * scripts/check-initfini.awk: New file.
16606 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16608 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16610 * sysdeps/arm/crti.S (_init): Mark as hidden.
16612 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16614 * sysdeps/i386/crti.S (_init): Mark as hidden.
16616 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16618 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16620 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16622 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16624 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16626 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16628 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16630 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16632 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16634 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16636 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16638 * sysdeps/sh/crti.S (_init): Mark as hidden.
16640 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16642 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16645 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16647 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16648 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16649 and TF redirection to KFtype and KF only when the default
16650 long double type is not the IEEE 128-bit floating point type.
16652 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16654 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16656 (HWCAP_USCAT): Likewise.
16657 (HWCAP_ILRCPC): Likewise.
16658 (HWCAP_FLAGM): Likewise.
16659 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16661 (_dl_aarch64_cap_flags): Add new flag names.
16663 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16664 (MAP_FIXED_NOREPLACE): New macro.
16665 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16666 (MAP_FIXED_NOREPLACE): Likewise.
16667 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16668 (MAP_FIXED_NOREPLACE): Likewise.
16669 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16670 (MAP_FIXED_NOREPLACE): Likewise.
16671 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16672 (MAP_FIXED_NOREPLACE): Likewise.
16673 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16674 (MAP_FIXED_NOREPLACE): Likewise.
16675 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16676 (MAP_FIXED_NOREPLACE): Likewise.
16677 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16678 (MAP_FIXED_NOREPLACE): Likewise.
16679 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16680 (MAP_FIXED_NOREPLACE): Likewise.
16681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16682 (MAP_FIXED_NOREPLACE): Likewise.
16683 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16684 (MAP_FIXED_NOREPLACE): Likewise.
16685 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16686 (MAP_FIXED_NOREPLACE): Likewise.
16687 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16688 (MAP_FIXED_NOREPLACE): Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16690 (MAP_FIXED_NOREPLACE): Likewise.
16691 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16692 (MAP_FIXED_NOREPLACE): Likewise.
16694 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16697 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16699 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16702 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16704 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16706 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16708 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16710 * benchtests/scripts/compare_string.py: (process_results) Catch
16711 exception in non-existent base_func and catch exception in
16712 non-existent attribute.
16713 (parse_file) Catch exception if input file does not exist.
16715 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16717 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16718 options to avoid diff calculation and omit header, respectively.
16719 (main): process --no-diff and --no-header
16721 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16722 H.J. Lu <hongjiu.lu@intel.com>
16724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16725 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16728 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16729 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16730 and __wcsncmp_sse2.
16731 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16732 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16733 AVX unaligned load is fast and vzeroupper is preferred.
16734 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16735 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16736 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16737 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16738 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16739 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16740 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16741 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16742 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16743 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16746 2018-06-01 Florian Weimer <fweimer@redhat.com>
16748 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16749 configuring with --disable-multi-arch, building with
16750 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16753 2018-06-01 Florian Weimer <fweimer@redhat.com>
16755 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16756 results from building with “-march=x86-64 -mtune=generic
16757 -mfpmath=sse” and running on a Haswell-era CPU.
16759 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16762 * soft-fp/sqrttf2.c: Remove file.
16763 * soft-fp/sqrtdf2.c: Move to ....
16764 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16766 (__sqrtdf2): Make conditional on
16767 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16769 * soft-fp/sqrtsf2.c: Move to ....
16770 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16772 (__sqrtsf2): Make conditional on
16773 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16775 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16776 (gcc-double-routines): Remove sqrtdf2.
16777 (gcc-quad-routines): Remove sqrttf2.
16778 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16779 Do not filter out sqrtsf2 and sqrtdf2.
16780 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16781 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16783 2018-06-01 Florian Weimer <fweimer@redhat.com>
16785 * sysdeps/generic/libcidn.abilist: Remove file.
16787 2018-06-01 Florian Weimer <fweimer@redhat.com>
16790 * libio/strfile.h (struct _IO_str_fields): Rename members to
16791 discourage their use and add comment.
16792 (_IO_STR_DYNAMIC): Remove unused macro.
16793 * libio/strops.c (_IO_str_init_static_internal): Do not use
16794 callback pointers. Call malloc and free.
16795 (_IO_str_overflow): Do not use callback pointers. Call malloc
16797 (enlarge_userbuf): Likewise.
16798 (_IO_str_finish): Call free.
16799 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16800 _allocate_buffer_unused.
16801 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16803 (enlarge_userbuf): Likewise.
16804 (_IO_wstr_finish): Call free.
16805 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16806 _allocate_buffer_unused, _free_buffer_unused.
16807 * libio/memstream.c (__open_memstream): Likewise.
16808 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16809 * libio/wmemstream.c (open_wmemstream): Likewise.
16811 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16813 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16816 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16818 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16819 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16820 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16822 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16824 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16826 2018-05-29 Florian Weimer <fweimer@redhat.com>
16828 * support/Makefile (libsupport-routines): Add
16829 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16830 xpthread_barrierattr_setpshared.
16831 * support/xpthread_barrierattr_destroy.c: New file.
16832 * support/xpthread_barrierattr_init.c: Likewise.
16833 * support/xpthread_barrierattr_setpshared.c: Likewise.
16835 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16838 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16839 _r_debug and update DT_DEBUG for debugger.
16841 2018-05-29 Florian Weimer <fweimer@redhat.com>
16843 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16844 (tst-strtod5i.out): Likewise.
16846 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16848 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16849 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16850 (sparc64-quad-routines): New variable. Moved from ....
16851 [$(subdir) = soft-fp] (sysdep_routines): Add
16852 $(sparc64-quad-routines). Moved from ....
16853 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16854 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16855 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16857 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16858 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16859 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16860 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16861 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16862 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16863 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16864 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16865 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16866 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16867 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16868 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16869 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16870 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16871 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16872 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16873 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16874 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16875 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16876 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16877 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16878 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16879 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16880 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16881 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16882 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16883 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16884 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16885 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16886 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16887 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16888 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16889 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16890 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16891 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16892 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16893 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16894 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16895 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16896 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16897 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16898 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16899 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16900 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16901 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16902 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16903 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16904 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16905 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16906 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16907 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16908 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16909 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16910 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16911 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16912 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16914 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16916 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16917 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16918 (sparc32-quad-routines): New variable. Moved from ....
16919 [$(subdir) = soft-fp] (sysdep_routines): Add
16920 $(sparc32-quad-routines). Moved from ....
16921 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16922 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16924 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16925 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16926 * sysdeps/sparc/sparc32/q_add.c: ... here.
16927 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16928 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16929 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16930 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16931 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16932 * sysdeps/sparc/sparc32/q_div.c: ... here.
16933 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16934 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16935 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16936 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16937 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16938 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16939 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16940 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16941 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16942 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16943 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16944 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16945 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16946 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16947 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16948 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16949 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16950 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16951 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16952 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16953 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16954 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16955 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16956 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16957 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16958 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16959 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16960 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16961 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16962 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16963 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16964 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16965 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16966 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16967 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16968 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16969 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16970 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16971 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16972 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16973 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16974 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16975 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16976 * sysdeps/sparc/sparc32/q_util.c: ... here.
16977 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16978 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16980 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16982 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16983 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16985 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16986 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16987 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16988 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16990 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16996 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16997 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16999 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17002 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17005 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17007 * sysdeps/sh/Implies: Remove sh/soft-fp.
17008 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17009 * sysdeps/sh/sfp-machine.h: ... here.
17011 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17013 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17014 (__mempcpy_erms): Skip zero length.
17015 (__memmove_erms): Likewise.
17016 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17017 (__memset_erms): Likewise.
17019 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17021 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17022 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17023 Add functions moved from ....
17024 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17025 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17026 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17028 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17029 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17030 * sysdeps/alpha/e_sqrtl.c: ... here.
17031 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17032 * sysdeps/alpha/local-soft-fp.h: ... here.
17033 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17034 * sysdeps/alpha/ots_add.c: ... here.
17035 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17036 * sysdeps/alpha/ots_cmp.c: ... here.
17037 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17038 * sysdeps/alpha/ots_cmpe.c: ... here.
17039 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17040 * sysdeps/alpha/ots_cvtqux.c: ... here.
17041 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17042 * sysdeps/alpha/ots_cvtqx.c: ... here.
17043 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17044 * sysdeps/alpha/ots_cvttx.c: ... here.
17045 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17046 * sysdeps/alpha/ots_cvtxq.c: ... here.
17047 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17048 * sysdeps/alpha/ots_cvtxt.c: ... here.
17049 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17050 * sysdeps/alpha/ots_div.c: ... here.
17051 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17052 * sysdeps/alpha/ots_mul.c: ... here.
17053 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17054 * sysdeps/alpha/ots_nintxq.c: ... here.
17055 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17056 * sysdeps/alpha/ots_sub.c: ... here.
17057 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17058 * sysdeps/alpha/sfp-machine.h: ... here.
17060 2018-05-23 Florian Weimer <fweimer@redhat.com>
17068 Switch to extern IDNA implementation (libidn2).
17069 * libidn: Remove subdirectory.
17070 * LICENSES: Do not mention licensing conditions for the removed
17072 * config.h.in (HAVE_LIBIDN): Remove.
17073 * include/dlfcn.h (__libc_dlopen): Update comment.
17074 * include/idna.h: Remove file.
17075 * inet/Makefile (routines): Add idna.
17076 (tests-static, tests-internal): Add tst-idna_name_classify.
17077 (LOCALES): Generate locales for tests.
17078 (tst-idna_name_classify.out): Depend on generated locales.
17079 * inet/idna_name_classify.c: New file.
17080 * inet/tst-idna_name_classify.c: Likewise.
17081 * inet/net-internal.h (__idna_to_dns_encoding)
17082 (__idna_from_dns_encoding): Declare.
17083 * inet/net-internal.h (enum idna_name_classification): Define.
17084 (__idna_name_classify): Declare.
17085 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17086 __idna_from_dns_encoding.
17087 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17088 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17089 name as a fallback in case of encoding errors.
17090 (getnameinfo): Use DEPRECATED_NI_IDN.
17091 * inet/idna.c: New file.
17092 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17093 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17094 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17095 (modules-names): Add tst-no-libidn2.
17096 (extra-test-objs): Add tst-no-libidn2.os.
17097 (LDFLAGS-tst-no-libidn2.so): Set soname.
17098 (LOCALES): Set, and generate locales.
17099 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17100 (tst-resolv-ai_idn-latin1): Likewise.
17101 (tst-resolv-ai_idn-nolibidn2): Likewise.
17102 (tst-resolv-ai_idn.out): Depend on locales.
17103 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17104 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17106 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17107 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17108 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17109 * resolv/tst-resolv-ai_idn.c: New file.
17110 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17111 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17112 * resolv/tst-no-libidn2.c: Likewise.
17113 * support/support_format_addrinfo.c (format_ai_flags): Do not
17114 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17115 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17116 (gaih_inet): Call __idna_to_dns_encoding and
17117 __idna_from_dns_encoding, and use the original (punycode) name if
17118 __idna_from_dns_encoding fails due to an encoding error.
17119 (getaddrinfo): Use DEPRECATED_AI_IDN.
17120 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17121 * sysdeps/unix/inet/configure: Remove file.
17122 * sysdeps/unix/inet/configure.ac: Likewise.
17124 2018-05-23 Florian Weimer <fweimer@redhat.com>
17126 Implement allocate_once.
17127 * include/allocate_once.h: New file.
17128 * misc/allocate_once.c: Likewise.
17129 * misc/tst-allocate_once.c: Likewise.
17130 * misc/Makefile (routines): Add allocate_once.
17131 (tests-internal): Add tst-allocate_once.
17132 (generated): Add tst-allocate_once.mtrace,
17133 tst-allocate_once-mem.out.
17134 (tests-special): Add tst-allocate_once-mem.out.
17135 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17136 (tst-allocate_once-mem.out): Call mtrace.
17137 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17139 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17142 * string/test-memcpy.c (do_test1): New function.
17143 (test_main): Call it.
17145 2018-05-23 Andreas Schwab <schwab@suse.de>
17149 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17150 (L(preloop_large)): Save initial destination pointer in %r11 and
17151 use it instead of %rax after the loop.
17152 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17154 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17156 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17157 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17158 -I../soft-fp. Moved from ....
17159 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17160 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17161 * sysdeps/aarch64/e_sqrtl.c: ... here.
17162 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17163 * sysdeps/aarch64/sfp-machine.h: ... here.
17165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17166 -Wmaybe-uninitialized around access to fq[0].
17167 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17171 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17172 aliases for non-libc case of versioned symbols.
17173 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17174 (llseek): Define as compat symbol if
17175 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17177 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17178 Make into a compat symbol, disabled for minimum symbol version
17179 GLIBC_2.28 and later.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17182 2018-05-22 Florian Weimer <fweimer@redhat.com>
17184 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17185 not add -mpreferred-stack-boundary=4.
17186 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17187 (stack-align-test-flags): Likewise.
17188 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17190 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17191 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17192 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17193 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17194 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17195 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17196 (CFLAGS-tst-align2.c): Likewise.
17198 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17200 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17201 (index_arch_Prefer_FSRM): Likewise.
17202 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17203 Also check Prefer_FSRM.
17204 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17205 Also return OPTIMIZE (erms) for Prefer_FSRM.
17207 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17209 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17210 (index_cpu_FSRM): Likewise.
17211 (reg_FSRM): Likewise.
17213 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17215 * math/gen-tgmath-tests.py: Import sys.
17216 (Tests.__init__): Initialize macros_seen.
17217 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17218 if requested to do so for this macro.
17219 (Tests.add_all_tests): Take argument for macro for which to
17221 (Tests.check_macro_list): New function.
17222 (main): Handle check-list argument and argument specifying macro
17223 for which to generate tests.
17224 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17225 [PYTHON] (tgmath3-macro-tests): Likewise.
17226 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17227 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17228 not test-tgmath3.c.
17229 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17230 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17232 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17233 [PYTHON] ($(foreach
17234 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17236 [PYTHON] (tests-special): Add
17237 $(objpfx)test-tgmath3-macro-list.out.
17238 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17240 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17241 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17245 * time/tzset.c (SECSPERDAY): Cast to time_t.
17246 * time/tst-y2039.c: New file.
17247 * time/Makefile (tests): Add tst-y2039.
17249 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17252 (PREFETCH_ONE_SET): Remove duplicate line.
17254 2018-05-17 Florian Weimer <fweimer@redhat.com>
17256 * sysdeps/generic/math-type-macros-double.h: Include
17257 <math-nan-payload-double.h> after <libm-alias-double.h>.
17258 * sysdeps/generic/math-type-macros-float.h: Include
17259 <math-nan-payload-float.h> after <libm-alias-float.h>.
17260 * sysdeps/generic/math-type-macros-float128.h: Include
17261 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17262 * sysdeps/generic/math-type-macros-ldouble.h: Include
17263 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17265 2018-05-17 Andreas Schwab <schwab@suse.de>
17267 * resolv/res_send.c (__res_context_send): Don't set errno when
17268 returing error after malloc failure.
17270 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17272 * nptl/allocatestack.c (allocate_stack): Remove the
17273 !__ASSUME_PRIVATE_FUTEX paths.
17274 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17275 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17277 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17278 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17279 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17280 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17281 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17282 !__ASSUME_PRIVATE_FUTEX path.
17283 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17284 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17285 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17286 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17287 !__ASSUME_PRIVATE_FUTEX macros.
17288 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17289 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17291 * sysdeps/unix/sysv/linux/kernel-features.h
17292 (__ASSUME_PRIVATE_FUTEX): Removed.
17294 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17296 * math/Makefile (libm-narrow-fns): Add div.
17297 (libm-test-funcs-narrow): Likewise.
17298 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17299 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17300 * math/gen-auto-libm-tests.c (test_functions): Add div.
17301 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17302 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17303 (NARROW_DIV_TRIVIAL): Likewise.
17304 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17306 (__ddivl): Likewise.
17307 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17309 (CFLAGS-nldbl-ddiv.c): New variable.
17310 (CFLAGS-nldbl-fdiv.c): Likewise.
17311 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17313 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17315 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17316 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17317 * math/auto-libm-test-in: Add tests of div.
17318 * math/auto-libm-test-out-narrow-div: New generated file.
17319 * math/libm-test-narrow-div.inc: New file.
17320 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17323 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17324 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17325 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17334 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17335 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17336 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17337 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17339 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17365 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17368 * nscd/nscd-client.h (sendfileall): Remove prototype.
17369 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17370 (handle_request): Use writeall instead of sendfileall.
17371 * nscd/aicache.c (addhstaiX): Likewise.
17372 * nscd/grpcache.c (cache_addgr): Likewise.
17373 * nscd/hstcache.c (cache_addhst): Likewise.
17374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17375 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17376 * nscd/pwdcache.c (cache_addpw): Likewise.
17377 * nscd/servicescache.c (cache_addserv): Likewise.
17378 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17379 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17383 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17385 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17386 Include <string/strncat.c>.
17387 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17389 (__GI___strncat): New hidden alias.
17391 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/mips/mips32/libm-test-ulps: Update.
17394 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17396 2018-05-16 Florian Weimer <fweimer@redhat.com>
17398 * support/Makefile (libsupport-routines): Add support_quote_blob,
17399 support_test_compare_blob.
17400 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17401 * support/check.h (TEST_COMPARE_BLOB): Define.
17402 (support_test_compare_blob): Declare.
17403 * support/support.h (support_quote_blob): Declare.
17404 * support/support_quote_blob.c: New file.
17405 * support/support_test_compare_blob.c: Likewise.
17406 * support/tst-support_quote_blob.c: Likewise.
17407 * support/tst-test_compare_blob.c: Likewise.
17409 2018-05-16 Florian Weimer <fweimer@redhat.com>
17411 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17412 of <strtod_nan_double.h>.
17413 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17414 instead of SET_MANTISSA.
17415 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17416 of include <strtod_nan_float.h>.
17417 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17418 instead of <strtod_nan_ldouble.h>.
17419 * stdlib/strtod_nan_double.h: Move to ...
17420 * sysdeps/generic/math-nan-payload-double.h: ... here.
17421 (FLOAT): Remove definition.
17422 (SET_MANTISSA): Rename to ...
17423 (SET_NAN_PAYLOAD): ... this.
17424 * stdlib/strtod_nan_float.h: Move to ...
17425 * sysdeps/generic/math-nan-payload-float.h: ... here.
17426 (FLOAT): Remove definition.
17427 (SET_MANTISSA): Rename to ...
17428 (SET_NAN_PAYLOAD): ... this.
17429 * sysdeps/generic/math-type-macros-double.h: Include
17430 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17431 instead of <math-svid-compat.h>.
17432 * sysdeps/generic/math-type-macros-float.h: Include
17433 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17434 instead of <math-svid-compat.h>.
17435 * sysdeps/generic/math-type-macros-float128.h: Include
17436 <math-nan-payload-float128.h>.
17437 * sysdeps/generic/math-type-macros-ldouble.h: Include
17438 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17439 instead of <math-svid-compat.h>.
17440 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17441 check for definition.
17442 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17443 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17444 Include <ieee754_float128.h>.
17445 (FLOAT): Remove definition.
17446 (SET_MANTISSA): Rename to ...
17447 (SET_NAN_PAYLOAD): ... this.
17448 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17449 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17450 Do not include <float128_private.h>.
17451 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17453 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17454 (FLOAT): Remove definition.
17455 (SET_MANTISSA): Rename to ...
17456 (SET_NAN_PAYLOAD): ... this.
17457 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17458 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17459 (FLOAT): Remove definition.
17460 (SET_MANTISSA): Rename to ...
17461 (SET_NAN_PAYLOAD): ... this.
17462 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17463 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17464 (FLOAT): Remove definition.
17465 (SET_MANTISSA): Rename to ...
17466 (SET_NAN_PAYLOAD): ... this.
17467 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17468 of "../stdlib/strtod_nan_double.h".
17469 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17470 of "../stdlib/strtod_nan_float.h".
17471 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17472 instead of "../stdlib/strtod_nan_ldouble.h".
17473 * manual/arith.texi (Parsing of Floats): Adjust comment.
17475 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17477 * math/Makefile (libm-narrow-fns): Add mul.
17478 (libm-test-funcs-narrow): Likewise.
17479 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17480 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17481 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17482 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17483 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17484 (NARROW_MUL_TRIVIAL): Likewise.
17485 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17486 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17488 (__dmull): Likewise.
17489 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17491 (CFLAGS-nldbl-dmul.c): New variable.
17492 (CFLAGS-nldbl-fmul.c): Likewise.
17493 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17495 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17497 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17498 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17499 * math/auto-libm-test-in: Add tests of mul.
17500 * math/auto-libm-test-out-narrow-mul: New generated file.
17501 * math/libm-test-narrow-mul.inc: New file.
17502 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17505 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17506 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17507 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17513 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17515 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17516 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17517 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17518 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17519 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17521 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17547 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17549 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17550 with *%eax in call.
17552 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17554 * sysdeps/i386/ldsodefs.h: Removed.
17555 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17556 * sysdeps/x86/ldsodefs.h: This.
17557 (La_i86_regs): New.
17558 (La_i86_retval): Likewise.
17559 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17560 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17562 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17564 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17567 2018-05-13 Alan Modra <amodra@gmail.com>
17569 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17570 R_PARISC_TLS_DTPOFF32 reloc addend.
17572 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17574 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17575 * math/math.h: Restrict the prototype definition for the functions
17576 issignaling(_Float128) and iszero(_Float128); and template
17577 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17578 __HAVE_FLOAT128_UNLIKE_LDBL.
17579 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17580 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17581 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17582 __f128() constants; define the type _Float128 as long double;
17583 and reuse long double in __CFLOAT128.
17585 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17587 * sysdeps/generic/math_private.h: Do not include
17589 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17591 * math/fromfp.h: Include <math-barriers.h>.
17592 * math/math-narrow.h: Likewise.
17593 * math/s_nextafter.c: Likewise.
17594 * math/s_nexttowardf.c: Likewise.
17595 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17596 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17597 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17598 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17599 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17600 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17601 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17615 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17618 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17620 * sysdeps/ieee754/k_standardl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17641 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17642 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17644 2018-05-11 Florian Weimer <fweimer@redhat.com>
17646 Use 64-bit epoch values in the time zone file parser.
17647 * include/time.h (internal_time_t): Define.
17648 (__tzfile_compute): Use it.
17649 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17651 (transitions): Switch to internal_time_t.
17652 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17654 (__tzfile_compute): Use internal_time_t for timer argument. Check
17655 for truncation before calling __offtime.
17657 2018-05-11 Florian Weimer <fweimer@redhat.com>
17660 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17661 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17663 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17664 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17665 export without --enable-obsolete-rpc.
17666 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17667 symbol. This should not have been exported, ever.
17669 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17672 * localedata/locales/gd_GB (abmon): Fix typo in May:
17673 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17675 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17677 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17678 Use multiple registers to copy data in loop tail.
17680 * sysdeps/aarch64/multiarch/memmove_falkor.S
17681 (__memmove_falkor): Use multiple registers to move data in
17684 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17686 * math/math-underflow.h: New file.
17687 * sysdeps/generic/math_private.h: Do not include <float.h>.
17688 (fabs_tg): Remove macro. Moved to math-underflow.h.
17689 (min_of_type_f): Likewise.
17690 (min_of_type_): Likewise.
17691 (min_of_type_l): Likewise.
17692 (min_of_type_f128): Likewise.
17693 (min_of_type): Likewise.
17694 (math_check_force_underflow): Likewise.
17695 (math_check_force_underflow_nonneg): Likewise.
17696 (math_check_force_underflow_complex): Likewise.
17697 * math/e_exp2_template.c: Include <math-underflow.h>.
17698 * math/k_casinh_template.c: Likewise.
17699 * math/s_catan_template.c: Likewise.
17700 * math/s_catanh_template.c: Likewise.
17701 * math/s_ccosh_template.c: Likewise.
17702 * math/s_cexp_template.c: Likewise.
17703 * math/s_clog10_template.c: Likewise.
17704 * math/s_clog_template.c: Likewise.
17705 * math/s_csin_template.c: Likewise.
17706 * math/s_csinh_template.c: Likewise.
17707 * math/s_csqrt_template.c: Likewise.
17708 * math/s_ctan_template.c: Likewise.
17709 * math/s_ctanh_template.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17729 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17730 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17731 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17733 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17739 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17740 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17741 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17787 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17788 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17790 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17795 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17797 * sysdeps/generic/math-barriers.h: New file.
17798 * sysdeps/generic/math_private.h [!math_opt_barrier]
17799 (math_opt_barrier): Move to math-barriers.h.
17800 [!math_opt_barrier] (math_force_eval): Likewise.
17801 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17802 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17804 (math_force_eval): Likewise.
17805 * sysdeps/alpha/fpu/math-barriers.h: New file.
17806 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17808 (math_force_eval): Likewise.
17809 * sysdeps/x86/fpu/math-barriers.h: New file.
17810 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17812 (math_force_eval): Likewise.
17813 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17814 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17815 multiple-include guard for rename.
17816 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17817 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17819 (math_force_eval): Likewise.
17821 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17825 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17827 * stdlib/Makefile (test-bz22786): New test.
17828 * stdlib/test-bz22786.c: New test.
17830 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17832 * include/math-narrow-eval.h: New file. Contents moved from ....
17833 * sysdeps/generic/math_private.h: ... here.
17834 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17835 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17836 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17837 * stdlib/strtod_l.c: Likewise.
17838 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17839 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17840 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17853 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17854 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17862 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17864 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17866 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17868 2018-05-08 Andreas Schwab <schwab@suse.de>
17870 * sysdeps/nptl/internaltypes.h: Fix comment.
17872 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17874 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17875 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17878 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17880 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17881 of I into loop header.
17882 * benchtests/bench-memmove-walk.c
17883 (test_main): Likewise.
17885 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17888 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17889 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17891 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17894 * elf/dl-load.c (open_verify): Fix stack overflow.
17895 * elf/Makefile (tst-big-note): New test.
17896 * elf/tst-big-note-lib.S: New.
17897 * elf/tst-big-note.c: New.
17899 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17901 * scripts/abilist.awk: Ignore absolute symbols.
17902 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17903 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17904 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17905 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17906 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17907 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17908 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17909 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17910 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17911 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17912 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17913 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17995 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18009 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18037 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18058 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18148 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18163 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18216 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18255 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18258 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18259 Use atomic_load_acquire to load __tid.
18261 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18263 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18264 Restore the pointer into %rdx, after syscall and use %rdx,
18265 instead of %rsi, to restore context.
18267 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18269 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18270 Pop the pointer into %rdx after syscall and use %rdx, instead
18271 of %rsi, to restore context.
18273 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18275 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18276 handlers after setjmp.
18277 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18279 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18280 <libc-pointer-arith.h>.
18281 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18282 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18283 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18284 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18285 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18286 * sysdeps/x86/__longjmp_cancel.S: New file.
18287 * sysdeps/x86/longjmp.c: Likewise.
18288 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18290 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18292 * NEWS: Add ustat.h deprecation entry.
18293 * bits/ustat.h: Remove file.
18294 * misc/sys/ustat.h: Likewise.
18295 * misc/ustat.h: Likewise.
18296 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18297 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18298 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18299 compatibility mode.
18300 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18301 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18302 generic Linux implementation.
18304 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18306 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18307 * math/w_expl_compat.c: Likewise.
18308 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18310 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18312 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18314 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18316 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18317 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18318 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18320 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18323 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18324 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18327 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18329 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18331 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18332 * math/w_asin_template.c: Likewise.
18333 * math/w_atanh_template.c: Likewise.
18335 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18337 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18338 to powerpc/powerpc64/be for big-endian.
18339 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18342 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18343 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18344 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18345 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18346 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18347 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18348 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18349 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18352 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18354 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18359 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18360 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18373 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18375 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18376 adjusted to imply powerpc64 and older processors on powerpc64/be.
18377 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18393 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18395 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18396 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18397 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18398 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18399 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18400 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18401 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18403 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18405 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18409 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18410 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18411 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18412 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18415 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18416 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18417 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18419 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18420 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18421 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18422 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18423 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18424 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18426 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18427 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18428 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18429 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18431 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18432 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18433 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18434 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18435 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18436 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18437 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18438 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18439 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18440 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18441 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18443 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18444 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18445 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18446 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18447 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18448 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18449 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18450 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18451 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18452 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18453 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18454 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18456 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18457 and adjusted to imply olders processors.
18458 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18459 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18460 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18461 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18462 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18463 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18464 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18465 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18466 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18467 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18468 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18473 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18487 powerpc64 and adjusted.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18493 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18495 * sysdeps/tile: Remove.
18496 * sysdeps/unix/sysv/linux/tile: Likewise.
18497 * README (tilegx-*-linux-gnu): Remove from list of supported
18499 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18500 contribution of support for generic Linux kernel syscall
18502 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18503 tilegx configurations.
18504 (Config.install_linux_headers): Do not handle tile.
18505 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18507 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18508 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18509 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18510 conditional undefine and redefine.
18511 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18513 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18514 conditional undefine and redefine.
18516 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18518 * signal/tst-sigaction.c: New file to test BZ #23069.
18519 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18521 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18524 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18525 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18526 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18527 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18529 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18531 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18532 _DIRENT_MATCHES_DIRENT64 is not defined.
18533 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18534 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18536 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18537 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18539 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18541 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18542 version to GCC 8 branch.
18544 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18546 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18547 (check_no_hidden): Use type of original function when declaring
18550 * sysdeps/unix/sysv/linux/sys/ptrace.h
18551 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18552 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18553 (struct __ptrace_seccomp_metadata): New type.
18554 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18555 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18556 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18557 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18558 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18559 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18561 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18563 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18565 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18566 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18567 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18568 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18569 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18571 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18573 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18575 * dirent/versionsort.c (versionsort): Likewise.
18576 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18577 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18578 * dirent/versionsort64.c (versionsort64): Likewise.
18579 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18580 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18581 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18582 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18583 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18585 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18586 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18587 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18588 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18594 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18596 * elf/elf.h (NT_PPC_PKEY): New macro.
18598 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18601 * localedata/locales/hr_HR: fix thousands_sep and
18604 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18606 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18607 (XTABS): Define to TAB3.
18609 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18611 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18613 * dirent/scandir-tail-common.c: New file.
18614 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18615 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18616 * dirent/scandir.c: Use scandir-tail-common.c.
18617 * dirent/scandirat.c: Likewise.
18618 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18619 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18620 if _DIRENT_MATCHES_DIRENT64 is defined.
18621 * dirent/scandirat64.c (scandirat64): Likewise.
18622 * include/dirent.h (__scandir_tail): Only define iff
18623 _DIRENT_MATCHES_DIRENT64 is not defined.
18624 (__scandir64_tail): Define regardless.
18625 (__scandirat, scandirat64): Remove libc_hidden_proto.
18626 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18627 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18629 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18630 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18631 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18632 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18634 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18636 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18638 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18640 (_dl_aarch64_cap_flags): Add asimdfhm.
18642 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18644 * sysdeps/nios2/libm-test-ulps: Update.
18646 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18648 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18649 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18651 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18653 (_DIRENT_MATCHES_DIRENT64): Undef
18654 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18655 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18656 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18657 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18658 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18659 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18660 use getdents64 syscalls as base.
18661 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18662 symbol if required.
18663 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18664 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18665 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18667 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18668 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18669 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18670 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18672 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18673 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18675 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18677 * scripts/test_printers_common.py (init_test): Disable lock elision.
18679 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18681 * math/test-tgmath.c (count_double, count_float,
18682 count_ldouble, count_cdouble, count_cfloat,
18683 count_cldouble): Use volatile int.
18685 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18687 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18688 (conformtest-xfail-conds): Add i386-gnu.
18689 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18691 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18692 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18693 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18694 msqid_ds.msg_lrpid): Likewise.
18695 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18697 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18698 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18699 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18700 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18702 (struct statvfs64): Likewise.
18703 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18705 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18706 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18707 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18708 instead of wait_queue.
18709 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18710 instead of vm_area_struct.
18711 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18712 struct sched_param definition to it.
18713 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18714 * bits/types/struct_sched_param.h: New file.
18715 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18716 <bits/types/struct_sched_param.h> instead of <sched.h>.
18717 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18718 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18719 generic version but include <bits/pthreadtypes.h> to make struct
18720 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18721 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18723 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18724 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18725 [__USE_XOPEN] (OFDEL): New macro.
18726 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18727 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18728 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18730 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18731 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18732 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18734 * sysdeps/i386/sys/ucontext.h: Likewise.
18735 * sysdeps/m68k/sys/ucontext.h: Likewise.
18736 * sysdeps/mips/sys/ucontext.h: Likewise.
18737 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18738 * sysdeps/mach/hurd/i386/Makefile
18739 (test-xfail-POSIX/fcntl.h/conform): Add.
18740 (test-xfail-POSIX/signal.h/conform): Add.
18741 (test-xfail-POSIX/semaphore.h/conform): Add.
18742 (test-xfail-POSIX/regex.h/conform): Add.
18743 (test-xfail-POSIX/aio.h/conform): Add.
18744 (test-xfail-POSIX/mqueue.h/conform): Add.
18745 (test-xfail-POSIX/sys/types.h/conform): Add.
18746 (test-xfail-UNIX98/fcntl.h/conform): Add.
18747 (test-xfail-UNIX98/netdb.h/conform): Add.
18748 (test-xfail-UNIX98/signal.h/conform): Add.
18749 (test-xfail-UNIX98/semaphore.h/conform): Add.
18750 (test-xfail-UNIX98/regex.h/conform): Add.
18751 (test-xfail-UNIX98/aio.h/conform): Add.
18752 (test-xfail-UNIX98/ftw.h/conform): Add.
18753 (test-xfail-UNIX98/mqueue.h/conform): Add.
18754 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18755 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18756 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18757 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18758 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18759 (test-xfail-UNIX98/sys/types.h/conform): Add.
18760 (test-xfail-UNIX98/stdlib.h/conform): Add.
18761 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18762 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18763 (test-xfail-POSIX2008/netdb.h/conform): Add.
18764 (test-xfail-POSIX2008/signal.h/conform): Add.
18765 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18766 (test-xfail-POSIX2008/regex.h/conform): Add.
18767 (test-xfail-POSIX2008/aio.h/conform): Add.
18768 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18769 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18770 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18771 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18772 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18773 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18774 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18775 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18776 (test-xfail-XOPEN2K/signal.h/conform): Add.
18777 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18778 (test-xfail-XOPEN2K/regex.h/conform): Add.
18779 (test-xfail-XOPEN2K/aio.h/conform): Add.
18780 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18781 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18782 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18783 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18784 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18785 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18786 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18787 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18788 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18789 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18790 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18791 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18792 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18793 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18794 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18795 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18796 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18797 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18798 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18799 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18800 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18801 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18802 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18803 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18804 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18805 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18806 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18808 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18809 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18811 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18813 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18814 --enable-obsolete for powerpc-linux-gnuspe.
18816 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18818 * conform/data/sys/un.h-data: Allow sun_ prefix.
18819 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18821 * sysdeps/mach/include/mach.h: Likewise.
18822 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18823 * sysdeps/mach/include/mach_error.h: Likewise.
18825 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18827 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18828 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18829 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18830 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18832 2018-04-16 Andreas Schwab <schwab@suse.de>
18835 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18837 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18839 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18840 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18842 2018-04-12 DJ Delorie <dj@redhat.com>
18844 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18847 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18849 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18850 (struct kernel_sigaction): Use the same definition on 31bit as is used
18853 2018-04-09 Florian Weimer <fweimer@redhat.com>
18856 * resolv/res_send.c (send_dg): Use designated initializers instead
18857 of assignment to zero-initialize other fields of struct mmsghdr.
18859 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18861 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18862 __READDIR_ALIAS): Undefine after usage.
18863 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18864 __READDIR_R_ALIAS): Likewise.
18865 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18866 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18867 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18868 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18870 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18871 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18872 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18873 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18875 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18877 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18878 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18879 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18880 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18881 * sysdeps/unix/sysv/linux/readdir.c: New file.
18882 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18883 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18884 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18886 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18888 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18890 * manual/charset.texi (Converting a Character): Fix typo.
18892 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18896 * sysdeps/arm/libm-test-ulps: Update.
18898 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18899 as base implementation.
18900 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18901 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18905 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18906 remove unrequired definitions and update comments.
18907 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18908 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18909 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18910 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18911 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18912 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18913 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18914 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18915 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18916 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18917 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18918 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18919 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18920 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18921 and RESET_SA_RESTORER hooks.
18923 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18925 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18927 2018-04-05 Florian Weimer <fweimer@redhat.com>
18929 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18930 integer overflow, memory leak on error, and indeterminate errno
18931 value. Add a null wide character to terminate the result string.
18932 * manual/charset.texi (Converting a Character): Mention embedded
18933 null bytes in the mbrtowc input string. Explain what happens in
18934 the -2 result case. Do not claim that mbrtowc is simple or
18935 obvious to use. Adjust the description of the code example. Use
18936 @code, not @var, for concrete variables.
18938 2018-04-05 Florian Weimer <fweimer@redhat.com>
18940 * manual/examples/mbstouwcs.c: New file.
18941 * manual/charset.texi (Converting a Character): Include it.
18943 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18945 * include/dirent.h (dirfd): Add hidden proto.
18946 * dirent/dirfd.c (dirfd): Add hidden def.
18947 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18948 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18950 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18952 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18953 sin, cos and sincos to 1 ULP.
18955 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18958 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18960 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18961 * elf/tst-absolute-sym.c: New file.
18962 * elf/tst-absolute-sym-lib.c: New file.
18963 * elf/tst-absolute-sym-lib.lds: New file.
18964 * elf/Makefile (tests): Add `tst-absolute-sym'.
18965 (modules-names): Add `tst-absolute-sym-lib'.
18966 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18967 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18968 ($(objpfx)tst-absolute-sym): New dependency.
18971 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18973 (SYMBOL_ADDRESS): New macro.
18974 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18975 SYMBOL_ADDRESS for symbol address calculation.
18976 * elf/dl-runtime.c (_dl_fixup): Likewise.
18977 (_dl_profile_fixup): Likewise.
18978 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18979 * elf/rtld.c (dl_main): Likewise.
18980 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18981 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18982 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18983 (elf_machine_rela): Likewise.
18984 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18985 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18987 (elf_machine_rela): Likewise.
18988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18989 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18990 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18991 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18993 (elf_machine_reloc): Likewise.
18994 (elf_machine_got_rel): Likewise.
18995 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18996 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18997 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19001 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19006 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19011 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19014 2018-04-04 Zack Weinberg <zackw@panix.com>
19016 * sysdeps/generic/internal-signals.h: Include signal.h,
19017 sigsetops.h, and stdbool.h.
19018 (__libc_signal_block_all): Actually block all signals.
19019 (__libc_signal_block_app): Likewise.
19020 (__libc_signal_restore_set): Actually restore the signal mask.
19022 2018-04-04 Florian Weimer <fweimer@redhat.com>
19024 inet: Actually build and run tst-deadline.
19025 * inet/Makefile (tests-internal): Add tst-deadline and do not
19026 overwrite the variable.
19027 (tests-static-internal): Remove variable.
19029 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19032 * bits/uio-ext.h (RWF_APPEND): New.
19033 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19034 * manual/llio.texi: Document RWF_APPEND.
19035 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19036 (RWF_SUPPORTED): Add RWF_APPEND.
19038 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19041 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19042 check for internal nptl signals.
19043 * nptl/sigaction.c (__sigaction): Likewise.
19044 * signal/sigaddset.c (sigaddset): Likewise.
19045 * signal/sigdelset.c (sigdelset): Likewise.
19046 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19047 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19049 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19050 to filter out internal nptl signals.
19051 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19052 also check realtime signals using standard macros.
19053 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19054 __is_internal_signal, __libc_signal_block_all,
19055 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19056 * sysdeps/nptl/sigfillset.c: Remove file.
19057 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19058 Change return to bool.
19059 (__clear_internal_signals): Remove SIGTIMER clean since it is
19060 equal to SIGCANEL on Linux.
19061 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19062 signal set was constructed using standard functions.
19064 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19066 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19067 ifname is too long.
19068 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19069 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19070 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19072 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19073 * signal/sigaddset.c: Include <sigsetopts.h>.
19074 * signal/sigdelset.c: Likewise.
19076 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19080 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19081 logic as sin and cos.
19083 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19085 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19086 inputs. Return correct sign.
19087 (do_sincos): Remove small input check before do_sin, let do_sin set
19092 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19094 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19095 (do_cos_slow): Likewise.
19096 (do_sin_slow): Likewise.
19097 (reduce_and_compute): Likewise.
19102 (sloww1): Likewise.
19103 (sloww2): Likewise.
19105 (bslow1): Likewise.
19106 (bslow2): Likewise.
19107 (cslow2): Likewise.
19109 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19111 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19112 (do_cos): Remove corp parameter and calculations.
19113 (do_sin): Likewise.
19114 (do_sincos): Remove cor variable.
19115 (__sin): Use do_sincos for huge inputs.
19117 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19118 (reduce_and_compute_sincos): Remove unused function.
19120 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19122 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19123 reduce_sincos, improve accuracy to 136 bits.
19124 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19125 (__sin): Use improved reduction and simplified do_sincos calculation.
19127 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19129 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19131 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19132 (do_sincos_2): Likewise.
19133 (__sin): Remove middle range reduction case.
19135 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19138 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19140 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19144 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19146 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19148 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19151 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19153 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19154 Remove definitions.
19155 (opendir_oflags): Use O_DIRECTORY regardless.
19156 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19157 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19159 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19161 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19162 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19164 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19165 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19166 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19167 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19168 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19169 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19171 * htl/Makefile: Bump licence to LGPL 2.1+.
19172 * htl/alloca_cutoff.c: Likewise.
19173 * htl/cthreads-compat.c: Likewise.
19174 * htl/lockfile.c: Likewise.
19175 * htl/pt-alloc.c: Likewise.
19176 * htl/pt-cancel.c: Likewise.
19177 * htl/pt-cleanup.c: Likewise.
19178 * htl/pt-create.c: Likewise.
19179 * htl/pt-dealloc.c: Likewise.
19180 * htl/pt-detach.c: Likewise.
19181 * htl/pt-exit.c: Likewise.
19182 * htl/pt-getattr.c: Likewise.
19183 * htl/pt-initialize.c: Likewise.
19184 * htl/pt-internal.h: Likewise.
19185 * htl/pt-join.c: Likewise.
19186 * htl/pt-self.c: Likewise.
19187 * htl/pt-setcancelstate.c: Likewise.
19188 * htl/pt-setcanceltype.c: Likewise.
19189 * htl/pt-sigmask.c: Likewise.
19190 * htl/pt-spin-inlines.c: Likewise.
19191 * htl/pt-testcancel.c: Likewise.
19192 * htl/pt-yield.c: Likewise.
19193 * htl/tests/test-1.c: Likewise.
19194 * htl/tests/test-10.c: Likewise.
19195 * htl/tests/test-11.c: Likewise.
19196 * htl/tests/test-12.c: Likewise.
19197 * htl/tests/test-13.c: Likewise.
19198 * htl/tests/test-14.c: Likewise.
19199 * htl/tests/test-15.c: Likewise.
19200 * htl/tests/test-16.c: Likewise.
19201 * htl/tests/test-17.c: Likewise.
19202 * htl/tests/test-2.c: Likewise.
19203 * htl/tests/test-3.c: Likewise.
19204 * htl/tests/test-4.c: Likewise.
19205 * htl/tests/test-5.c: Likewise.
19206 * htl/tests/test-6.c: Likewise.
19207 * htl/tests/test-7.c: Likewise.
19208 * htl/tests/test-8.c: Likewise.
19209 * htl/tests/test-9.c: Likewise.
19210 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19211 * sysdeps/htl/bits/cancelation.h: Likewise.
19212 * sysdeps/htl/bits/pthread-np.h: Likewise.
19213 * sysdeps/htl/bits/pthread.h: Likewise.
19214 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19215 * sysdeps/htl/bits/semaphore.h: Likewise.
19216 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19217 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19218 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19219 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19220 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19221 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19222 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19223 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19224 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19225 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19226 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19227 * sysdeps/htl/old_pt-atfork.c: Likewise.
19228 * sysdeps/htl/pt-atfork.c: Likewise.
19229 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19230 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19231 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19232 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19233 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19234 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19235 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19236 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19237 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19238 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19239 * sysdeps/htl/pt-attr-init.c: Likewise.
19240 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19241 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19242 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19243 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19244 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19245 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19246 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19247 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19248 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19249 * sysdeps/htl/pt-attr.c: Likewise.
19250 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19251 * sysdeps/htl/pt-barrier-init.c: Likewise.
19252 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19253 * sysdeps/htl/pt-barrier.c: Likewise.
19254 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19255 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19256 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19257 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19258 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19259 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19260 * sysdeps/htl/pt-cond-init.c: Likewise.
19261 * sysdeps/htl/pt-cond-signal.c: Likewise.
19262 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19263 * sysdeps/htl/pt-cond-wait.c: Likewise.
19264 * sysdeps/htl/pt-cond.c: Likewise.
19265 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19266 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19267 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19268 * sysdeps/htl/pt-condattr-init.c: Likewise.
19269 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19270 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19271 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19272 * sysdeps/htl/pt-equal.c: Likewise.
19273 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19274 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19275 * sysdeps/htl/pt-getschedparam.c: Likewise.
19276 * sysdeps/htl/pt-getspecific.c: Likewise.
19277 * sysdeps/htl/pt-init-specific.c: Likewise.
19278 * sysdeps/htl/pt-key-create.c: Likewise.
19279 * sysdeps/htl/pt-key-delete.c: Likewise.
19280 * sysdeps/htl/pt-key.h: Likewise.
19281 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19282 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19283 * sysdeps/htl/pt-mutex-init.c: Likewise.
19284 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19285 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19286 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19287 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19288 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19289 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19290 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19291 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19292 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19293 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19294 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19295 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19296 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19297 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19298 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19299 * sysdeps/htl/pt-mutexattr.c: Likewise.
19300 * sysdeps/htl/pt-once.c: Likewise.
19301 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19302 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19303 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19304 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19305 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19306 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19307 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19308 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19309 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19310 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19311 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19312 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19313 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19314 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19315 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19316 * sysdeps/htl/pt-setschedparam.c: Likewise.
19317 * sysdeps/htl/pt-setschedprio.c: Likewise.
19318 * sysdeps/htl/pt-setspecific.c: Likewise.
19319 * sysdeps/htl/pt-spin.c: Likewise.
19320 * sysdeps/htl/pt-startup.c: Likewise.
19321 * sysdeps/htl/pthread.h: Likewise.
19322 * sysdeps/htl/sem-close.c: Likewise.
19323 * sysdeps/htl/sem-destroy.c: Likewise.
19324 * sysdeps/htl/sem-getvalue.c: Likewise.
19325 * sysdeps/htl/sem-init.c: Likewise.
19326 * sysdeps/htl/sem-open.c: Likewise.
19327 * sysdeps/htl/sem-post.c: Likewise.
19328 * sysdeps/htl/sem-timedwait.c: Likewise.
19329 * sysdeps/htl/sem-trywait.c: Likewise.
19330 * sysdeps/htl/sem-unlink.c: Likewise.
19331 * sysdeps/htl/sem-wait.c: Likewise.
19332 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19333 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19334 * sysdeps/mach/htl/pt-block.c: Likewise.
19335 * sysdeps/mach/htl/pt-spin.c: Likewise.
19336 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19337 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19338 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19339 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19340 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19341 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19342 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19343 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19344 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19345 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19346 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19347 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19348 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19349 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19350 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19351 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19352 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19353 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19354 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19355 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19356 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19357 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19358 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19359 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19360 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19361 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19362 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19363 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19364 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19365 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19366 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19367 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19368 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19369 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19370 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19371 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19372 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19373 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19374 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19375 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19376 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19377 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19378 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19380 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19381 * README: Remove the mention of out-of-tree patches needed for
19384 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19385 (UTIME_NOW, UTIME_OMIT): Define macros.
19387 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19388 instead of pthread_detach.
19389 (__cthread_fork): Call __pthread_create instead of pthread_create.
19390 (__cthread_keycreate): Call __pthread_key_create instead of
19391 pthread_key_create.
19392 (__cthread_getspecific): Call __pthread_getspecific instead of
19393 pthread_getspecific.
19394 (__cthread_setspecific): Call __pthread_setspecific instead of
19395 pthread_setspecific.
19396 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19397 __pthread_mutex_unlock instead of pthread_mutex_lock and
19398 pthread_mutex_unlock.
19399 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19400 ___pthread_get_cleanup_stack.
19401 (__pthread_get_cleanup_stack): New strong alias.
19402 * htl/pt-create.c: Include <pthreadP.h>.
19403 (entry_point): Call __pthread_exit instead of pthread_exit.
19404 (pthread_create): Rename to __pthread_create.
19405 (pthread_create): New strong alias.
19406 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19407 (pthread_detach): New strong alias.
19408 (__pthread_detach): Call __pthread_cond_broadcast instead of
19409 pthread_cond_broadcast.
19410 * htl/pt-exit.c: Include <pthreadP.h>.
19411 (__pthread_exit): Call __pthread_setcancelstate and
19412 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19413 __pthread_get_cleanup_stack.
19414 * htl/pt-testcancel.c: Include <pthreadP.h>.
19415 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19416 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19417 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19418 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19419 pthread_attr_getstacksize.
19420 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19421 Rename to __pthread_attr_getstackaddr.
19422 (pthread_attr_getstackaddr): New strong alias.
19423 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19424 Rename to __pthread_attr_getstacksize.
19425 (pthread_attr_getstacksize): New strong alias.
19426 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19427 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19428 (pthread_attr_setstack): New strong alias.
19429 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19430 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19431 pthread_attr_getstacksize, pthread_attr_setstacksize and
19432 pthread_attr_setstackaddr.
19433 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19434 Rename to __pthread_attr_setstackaddr.
19435 (pthread_attr_setstackaddr): New strong alias.
19436 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19437 Rename to __pthread_attr_setstacksize.
19438 (pthread_attr_setstacksize): New strong alias.
19439 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19440 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19442 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19443 (__pthread_key_create): New hidden def.
19444 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19445 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19446 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19447 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19448 __pthread_setspecific, __pthread_setcancelstate,
19449 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19450 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19451 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19453 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19454 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19455 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19456 (pthread_attr_setstackaddr): New strong alias.
19457 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19458 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19459 (pthread_attr_setstacksize): New strong alias.
19460 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19461 (call_exit): Call __pthread_exit instead of pthread_exit.
19462 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19463 (_pthread_mutex_init): New hidden definition.
19464 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19465 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19466 instead of pthread_attr_init and pthread_attr_setstack.
19468 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19469 __vm_deallocate instead of vm_allocate and vm_deallocate.
19470 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19472 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19474 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19476 * hurd/siginfo.c: Include <libioP.h>.
19477 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19478 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19480 * mach/devstream.c: Include <libioP.h>.
19481 (dealloc_ref): Call __mach_port_deallocate instead of
19482 mach_port_deallocate.
19483 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19484 Call __mach_port_deallocate instead of mach_port_deallocate.
19485 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19487 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19489 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19490 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19491 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19493 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19495 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19496 instead of sysconf.
19497 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19498 __clock_gettime instead of clock_gettime.
19499 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19500 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19501 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19502 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19503 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19505 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19506 __clock_gettime and __nanosleep instead of clock_gettime and
19508 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19509 __hurd_catch_signal.
19510 (hurd_catch_signal): New strong alias.
19511 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19512 __hurd_catch_signal instead of hurd_catch_signal.
19513 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19514 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19515 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19516 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19517 (_hurd_thread_sigstate): Add hidden def.
19518 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19520 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19521 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19522 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19523 __hurd_file_name_path_lookup.
19524 (hurd_file_name_path_lookup): New strong alias.
19525 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19526 hurd_file_name_path_lookup.
19527 * mach/errstring.c (mach_error_type): Add hidden def.
19528 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19529 * mach/mutex-init.c (__mutex_init): Add hidden def.
19530 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19531 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19532 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19533 * sysdeps/mach/hurd/getcwd.c
19534 (_hurd_canonicalize_directory_name_internal): Rename to
19535 __hurd_canonicalize_directory_name_internal.
19536 (_hurd_canonicalize_directory_name_internal): New strong alias.
19537 (__canonicalize_directory_name_internal, __getcwd): Call
19538 __hurd_canonicalize_directory_name_internal instead of
19539 _hurd_canonicalize_directory_name_internal.
19540 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19541 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19543 * sysdeps/hurd/include/hurd.h: New file.
19544 * sysdeps/hurd/include/hurd/fd.h: New file.
19545 * sysdeps/hurd/include/hurd/signal.h: New file.
19546 * sysdeps/mach/include/lock-intern.h: New file.
19547 * sysdeps/mach/include/mach.h: New file.
19548 * sysdeps/mach/include/mach/mig_support.h: New file.
19549 * sysdeps/mach/include/mach_error.h: New file.
19550 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19552 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19553 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19554 _HEADER_H_HIDDEN_DEF macro.
19555 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19556 _hurd_fd_error_signal): Add hidden prototype.
19557 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19559 * libio/iolibio.h (_IO_puts): New hidden prototype.
19560 * libio/ioputs.c (_IO_puts): New hidden def.
19561 * sysdeps/mach/hurd/localplt.data: New file.
19563 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19564 Amos Jeffries <squid3@treenet.co.nz>
19565 David Michael <fedora.dm0@gmail.com>
19566 Marco Gerards <marco@gnu.org>
19567 Marcus Brinkmann <marcus@gnu.org>
19568 Neal H. Walfield <neal@gnu.org>
19569 Pino Toscano <toscano.pino@tiscali.it>
19570 Richard Braun <rbraun@sceen.net>
19571 Roland McGrath <roland@gnu.org>
19572 Samuel Thibault <samuel.thibault@ens-lyon.org>
19573 Thomas DiModica <ricinwich@yahoo.com>
19574 Thomas Schwinge <tschwinge@gnu.org>
19576 * htl: New directory.
19577 * sysdeps/htl: New directory.
19578 * sysdeps/hurd/htl: New directory.
19579 * sysdeps/i386/htl: New directory.
19580 * sysdeps/mach/htl: New directory.
19581 * sysdeps/mach/hurd/htl: New directory.
19582 * sysdeps/mach/hurd/i386/htl: New directory.
19583 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19584 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19585 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19587 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19589 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19590 signals in thread created for runing timers.
19592 2018-04-01 Florian Weimer <fweimer@redhat.com>
19594 * support/support_format_addrinfo.c (support_format_addrinfo):
19595 Include unknown error number in formatted result.
19597 2018-03-29 Florian Weimer <fweimer@redhat.com>
19599 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19602 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19604 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19605 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19606 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19607 (__ASSUME_CLONE_BACKWARDS): Define.
19609 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19613 early when linux sentinel value is set.
19615 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19617 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19619 2018-03-27 Andreas Schwab <schwab@suse.de>
19622 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19623 allocation of private copy of nsaddr_list fails.
19625 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19628 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19629 * sysdeps/unix/sysv/linux/umount.c: ... here.
19630 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19631 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19632 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19633 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19635 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19636 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19638 2018-03-26 Andreas Schwab <schwab@suse.de>
19640 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19641 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19642 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19643 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19644 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19645 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19646 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19647 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19648 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19649 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19650 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19651 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19652 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19653 (R_RISCV_NUM): Define.
19655 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19657 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19658 TLS declaration of errno.
19659 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19661 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19662 (ARCH_SETUP_TLS): Likewise.
19663 * sysdeps/mach/hurd/libc-start.h: New file copied from
19664 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19665 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19666 instead of __libc_setup_tls.
19667 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19668 __libc_setup_tls before initializing libpthread and running _hurd_init
19669 which starts the signal thread.
19670 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19672 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19674 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19677 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19678 after it is defined.
19680 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19681 Max Horn <max@quendi.de>
19685 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19687 * string/test-memmove.c (do_test2): New testcase.
19689 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19691 * sysdeps/generic/frame.h: Remove file.
19692 * sysdeps/arm/frame.h: Likewise.
19693 * sysdeps/hppa/frame.h: Likewise.
19694 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19696 (GET_FRAME): Likewise.
19697 (GET_STACK): Likewise.
19698 (CALL_SIGHANDLER): Likewise.
19699 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19701 (GET_FRAME): Likewise.
19702 (GET_STACK): Likewise.
19703 (CALL_SIGHANDLER): Likewise.
19704 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19706 (GET_FRAME): Likewise.
19707 (GET_STACK): Likewise.
19708 (CALL_SIGHANDLER): Likewise.
19709 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19711 (GET_FRAME): Likewise.
19712 (GET_STACK): Likewise.
19713 (ADVANCE_STACK_FRAME): Likewise.
19714 (CALL_SIGHANDLER): Likewise.
19715 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19717 (GET_FRAME): Likewise.
19718 (GET_STACK): Likewise.
19719 (CALL_SIGHANDLER): Likewise.
19720 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19721 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19722 (GET_FRAME): Likewise.
19723 (GET_STACK): Likewise.
19724 (CALL_SIGHANDLER): Likewise.
19725 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19726 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19727 (GET_FRAME): Likewise.
19728 (GET_STACK): Likewise.
19729 (CALL_SIGHANDLER): Likewise.
19730 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19731 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19732 (GET_FRAME): Likewise.
19733 (GET_STACK): Likewise.
19734 (CALL_SIGHANDLER): Likewise.
19735 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19736 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19737 (GET_FRAME): Likewise.
19738 (GET_STACK): Likewise.
19739 (CALL_SIGHANDLER): Likewise.
19740 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19741 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19742 (GET_FRAME): Likewise.
19743 (GET_STACK): Likewise.
19744 (CALL_SIGHANDLER): Likewise.
19745 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19746 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19747 (GET_FRAME): Likewise.
19748 (GET_STACK): Likewise.
19749 (CALL_SIGHANDLER): Likewise.
19750 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19751 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19752 (GET_FRAME): Likewise.
19753 (GET_STACK): Likewise.
19754 (CALL_SIGHANDLER): Likewise.
19755 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19756 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19757 (GET_FRAME): Likewise.
19758 (GET_STACK): Likewise.
19759 (CALL_SIGHANDLER): Likewise.
19760 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19761 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19762 (FIRST_FRAME_POINTER): Likewise.
19763 (ADVANCE_STACK_FRAME): Likewise.
19764 (GET_STACK): Likewise.
19765 (GET_FRAME): Likewise.
19766 (CALL_SIGHANDLER): Likewise.
19767 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19768 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19769 (ADVANCE_STACK_FRAME): Likewise.
19770 (GET_STACK): Likewise.
19771 (GET_FRAME): Likewise.
19772 (CALL_SIGHANDLER): Likewise.
19773 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19774 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19775 (GET_FRAME): Likewise.
19776 (GET_STACK): Likewise.
19777 (CALL_SIGHANDLER): Likewise.
19778 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19779 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19780 (GET_FRAME): Likewise.
19781 (GET_STACK): Likewise.
19782 (CALL_SIGHANDLER): Likewise.
19784 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19786 * sysdeps/x86_64/backtrace.c: Move to ....
19787 * debug/backtrace.c: ... here.
19788 * sysdeps/aarch64/backtrace.c: Remove file.
19789 * sysdeps/alpha/backtrace.c: Likewise.
19790 * sysdeps/hppa/backtrace.c: Likewise.
19791 * sysdeps/ia64/backtrace.c: Likewise.
19792 * sysdeps/mips/backtrace.c: Likewise.
19793 * sysdeps/nios2/backtrace.c: Likewise.
19794 * sysdeps/riscv/backtrace.c: Likewise.
19795 * sysdeps/sh/backtrace.c: Likewise.
19796 * sysdeps/tile/backtrace.c: Likewise.
19798 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19804 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19807 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19808 possibly overflowing computations.
19810 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19812 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19813 values from Linux-specific section now that it is in the GNU section.
19814 * sysdeps/gnu/errlist.c: Regenerate.
19816 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19818 * math/Makefile (libm-narrow-fns): Add sub.
19819 (libm-test-funcs-narrow): Likewise.
19820 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19821 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19822 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19823 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19824 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19825 (NARROW_SUB_TRIVIAL): Likewise.
19826 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19828 (__dsubl): Likewise.
19829 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19831 (CFLAGS-nldbl-dsub.c): New variable.
19832 (CFLAGS-nldbl-fsub.c): Likewise.
19833 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19835 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19837 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19838 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19839 * math/auto-libm-test-in: Add tests of sub.
19840 * math/auto-libm-test-out-narrow-sub: New generated file.
19841 * math/libm-test-narrow-sub.inc: New file.
19842 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19845 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19846 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19847 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19848 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19856 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19857 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19858 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19859 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19861 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19863 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19864 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19865 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19866 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19867 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19889 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19892 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19894 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19896 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19898 2018-03-18 Richard Braun <rbraun@sceen.net>
19900 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19903 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19905 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19906 (__libc_cleanup_fct): Define function.
19907 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19908 __libc_cleanup_end): Rewrite implementation using
19909 __attribute__ ((__cleanup__)).
19910 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19911 * hurd/Makefile (routines): Add hurdlock.
19912 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19914 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19915 * hurd/hurdpid.c: Include <lowlevellock.h>
19916 (_S_msg_proc_newids): Use lll_wait to synchronize.
19917 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19918 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19919 * mach/Makefile (lock-headers): Remove machine-lock.h.
19920 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19922 (__spin_lock_t): New type.
19923 (__SPIN_LOCK_INITIALIZER): New macro.
19924 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19925 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19926 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19927 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19928 (__mutex_init): Initialize with lll.
19929 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19930 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19932 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19933 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19934 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19935 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19936 (__setpgid): Use lll for synchronization.
19937 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19938 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19939 instead of <cthreads.h>.
19940 (_IO_lock_inexpensive): New macro
19941 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19942 (__libc_lock_self0): New declaration.
19943 (__libc_lock_owner_self): New macro.
19944 (__libc_key_t): Remove type.
19945 (_LIBC_LOCK_INITIALIZER): New macro.
19946 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19947 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19948 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19949 __libc_lock_define_initialized_recursive,
19950 __rtld_lock_define_initialized_recursive,
19951 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19952 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19953 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19954 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19955 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19956 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19957 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19959 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19960 * hurd/hurdlock.c: New file.
19961 * hurd/hurdlock.h: New file.
19962 * mach/lowlevellock.h: New file
19964 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19966 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19967 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19968 when opening a symlink with O_NOFOLLOW.
19969 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19970 path when flags contains O_NOFOLLOW.
19971 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19972 if flags contains O_DIRECTORY and the result is a directory.
19973 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19974 oneself when the pointer given in D is nul (as set by ext2fs).
19975 * sysdeps/mach/hurd/mlockall.c: New file.
19976 * sysdeps/mach/hurd/munlockall.c: New file.
19978 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19980 * hurd/hurdsig.c: Include <pthread.h>.
19981 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19982 get the signal thread stack layout.
19983 * hurd/Makefile (headers): Remove threadvar.h.
19984 (inline-headers): Remove threadvar.h.
19985 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19986 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19987 __hurd_threadvar_max, __hurd_errno_location.
19988 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19989 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19990 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19991 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19992 unless TLS is not initialized yet, in which case we do not need a
19993 critical section yet anyway.
19994 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19996 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19998 (__hurd_threadvar_index): Remove enum.
19999 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20000 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20002 (__hurd_reply_port0): New variable declaration.
20003 (__hurd_local_reply_port): New macro.
20004 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20005 (interrupted_reply_port_location): Add thread_t parameter. Use it
20006 with THREAD_TCB to access thread-local variables.
20007 (_hurdsig_abort_rpcs): Pass ss->thread to
20008 interrupted_reply_port_location.
20009 (_hurd_internal_post_signal): Likewise.
20010 (_hurdsig_init): Use presence of cthread_fork instead of
20011 __hurd_threadvar_stack_mask to start signal thread by hand.
20012 Remove signal thread threadvar initialization.
20013 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20014 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20015 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20017 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20019 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20020 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20021 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20022 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20023 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20024 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20025 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20027 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20028 <hurd/threadvar.h>.
20029 [IS_IN(rtld)] (rtld_errno): New variable.
20030 [IS_IN(rtld)] (__errno_location): New weak function.
20031 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20032 * sysdeps/mach/hurd/errno.c: Remove file.
20033 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20034 (__fork): Remove THREADVAR_SPACE macro and its use.
20035 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20037 (init): Do not initialize threadvar.
20038 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20040 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20041 __hurd_local_reply_port instead of threadvar.
20042 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20043 _hurd_sigstate fields.
20044 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20045 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20046 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20047 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20048 instead of threadvar.
20049 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20050 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20051 (use_threadvar, global_reply_port): Remove variables.
20052 (__hurd_reply_port0): New variable.
20053 (__mig_get_reply_port): Use __hurd_local_reply_port and
20054 __hurd_reply_port0 instead of threadvar.
20055 (__mig_dealloc_reply_port): Likewise.
20056 (__mig_init): Do not initialize threadvar.
20057 * sysdeps/mach/hurd/profil.c: Fix comment.
20058 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20059 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20060 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20061 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20062 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20063 __cthread_setspecific.
20064 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20065 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20066 __cthread_t instead of cthread_fork, cthread_detach,
20067 pthread_getattr_np, pthread_attr_getstack.
20068 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20069 __cthread_keycreate.
20070 (cthread_getspecific): Rename to __cthread_getspecific.
20071 (cthread_setspecific): Rename to __cthread_setspecific.
20072 (__libc_getspecific): Use __cthread_getspecific instead of
20073 cthread_getspecific.
20074 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20075 __cthread_keycreate instead of cthread_keycreate.
20076 (__libc_setspecific): Use __cthread_setspecific instead of
20077 cthread_setspecific.
20078 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20081 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20082 testing whether it is defined.
20084 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20086 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20088 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20089 * sysdeps/mach/i386/thread_state.h
20090 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20092 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20094 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20096 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20097 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20099 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20101 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20102 descriptor instead of creating a new one.
20103 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20105 * mach/setup-thread.c: Include <ldsodefs.h>.
20106 (__mach_setup_thread): Call _dl_allocate_tls, pass
20107 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20108 MACHINE_THREAD_STATE_FLAVOR, before getting
20109 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20110 MACHINE_THREAD_STATE_FLAVOR with the result.
20111 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20112 MACHINE_THREAD_STATE_FIX_NEW.
20113 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20114 too. Add original thread parameter.
20116 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20118 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20119 Remove inline function.
20121 * sysdeps/i386/fpu/libm-test-ulps: Update.
20122 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20124 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20126 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20129 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20131 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20132 (__sincos_code): Remove define and undefine.
20133 [__FAST_MATH__] (__sincos): Remove inline function.
20134 [__FAST_MATH__] (__sincosf): Remove inline function.
20135 [__FAST_MATH__] (__sincosl): Remove inline function.
20136 (__atan2l): Remove inline functions.
20137 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20138 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20140 (floor): Remove inline function.
20142 [__FAST_MATH__] (__ldexp_code): Remove macro.
20143 [__FAST_MATH__] (ldexp): Remove inline function.
20144 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20145 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20146 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20147 [__USE_ISOC99] (__lrint_code): Remove macro.
20148 [__USE_ISOC99] (__llrint_code): Likewise.
20149 [__USE_ISOC99] (lrintf): Remove inline function.
20150 [__USE_ISOC99] (lrint): Likewise.
20151 [__USE_ISOC99] (lrintl): Likewise.
20152 [__USE_ISOC99] (llrint): Likewise.
20153 [__USE_ISOC99] (llrintf): Likewise.
20154 [__USE_ISOC99] (llrintl): Likewise.
20156 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20158 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20159 (__ieee754_sqrtf): Remove.
20160 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20161 (__ieee754_sqrtf): Remove.
20162 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20163 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20164 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20165 (__ieee754_sqrtf): Remove.
20166 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20167 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20170 (__ieee754_sqrt): Remove.
20171 (__ieee754_sqrtf): Remove.
20172 (__ieee754_sqrtl): Remove.
20173 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20174 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20176 (__ieee754_sqrtf): Remove.
20177 (__ieee754_sqrtl): Remove.
20179 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20181 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20182 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20183 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20184 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20185 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20186 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20187 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20188 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20190 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20191 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20192 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20193 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20194 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20195 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20196 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20197 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20198 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20199 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20200 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20201 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20203 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20204 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20206 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20208 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20219 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20220 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20222 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20223 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20224 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20225 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20226 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20227 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20228 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20231 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20233 * include/math.h (sqrt): Declare with asm redirect.
20236 (sqrtf128): Likewise.
20237 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20238 nonlib and libnldbl with -fmath-errno.
20239 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20240 * math/w_sqrt_template.c: Likewise.
20241 * math/w_sqrtf_compat.c: Likewise.
20242 * math/w_sqrtl_compat.c: Likewise.
20243 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20244 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20245 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20248 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20250 * benchtests/Makefile: Define _ISOMAC.
20251 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20252 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20253 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20254 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20255 * benchtests/bench-timing.h: Define attribute_hidden.
20257 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20259 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20262 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20265 * localedata/locales/cs_CZ (mon): Rename to...
20267 (mon): Import from CLDR (genitive case).
20269 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20272 * localedata/locales/el_CY (abmon): Rename to...
20273 (ab_alt_mon): This.
20274 (abmon): Import from CLDR (abbreviated genitive case).
20275 * localedata/locales/el_GR (abmon): Rename to...
20276 (ab_alt_mon): This.
20277 (abmon): Import from CLDR (abbreviated genitive case).
20279 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20282 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20284 2018-03-15 Robert Buj <robert.buj@gmail.com>
20287 * localedata/locales/ca_ES (abmon): Rename to...
20288 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20289 (mon): Rename to...
20291 (abmon): Import from CLDR (genitive case, month names preceded by
20294 (abday): Synchronize with CLDR.
20295 (d_t_fmt): Likewise.
20299 (LC_TIME): Improve indentation.
20300 (LC_TELEPHONE): Likewise.
20301 (LC_NAME): Likewise.
20302 (LC_ADDRESS): Likewise.
20304 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20306 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20307 (lrintf): Remove definitions used only with old GCC.
20308 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20309 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20310 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20311 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20312 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20313 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20314 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20315 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20316 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20317 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20318 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20319 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20320 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20321 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20322 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20323 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20324 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20325 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20326 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20327 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20328 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20329 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20335 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20337 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20339 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20340 instruction to unbreak builds with binutils 2.26 and older.
20342 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20344 * sysdeps/aarch64/strncmp.S (count): New macro.
20345 (strncmp): Store misaligned length in SRC1 in COUNT.
20346 (mutual_align): Adjust.
20347 (misaligned8): Load dword at a time when it is safe.
20349 2018-03-12 Zack Weinberg <zackw@panix.com>
20353 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20354 if the _IO_EOF_SEEN bit is already set; update commentary.
20355 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20356 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20358 * support/support_openpty.c, support/tty.h: New files.
20359 * support/Makefile (libsupport-routines): Add support_openpty.
20361 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20363 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20364 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20366 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20368 * po/pt_BR.po: Update translations.
20370 2018-03-12 David Michael <fedora.dm0@gmail.com>
20372 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20373 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20374 get a port to the startup server.
20376 2018-03-11 Zack Weinberg <zackw@panix.com>
20378 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20379 before nldbl-compat.h.
20381 2018-03-10 Zack Weinberg <zackw@panix.com>
20383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20384 math.h or math_private.h.
20386 * sysdeps/alpha/fpu/s_isnan.c
20387 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20388 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20390 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20391 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20392 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20393 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20394 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20395 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20401 Include math_private.h.
20403 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20404 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20405 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20406 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20407 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20408 * sysdeps/powerpc/power7/fpu/s_logb.c:
20409 Include math.h and math_private.h.
20411 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20412 uses of $at in .set noat / .set at.
20414 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20416 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20417 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20418 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20419 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20422 2018-03-09 Florian Weimer <fweimer@redhat.com>
20424 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20427 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20430 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20431 Add nop before __startcontext, add explaining comments.
20433 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20436 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20438 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20439 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20440 Do not build hardware transactional code for __SPE__.
20441 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20442 (__lll_trylock_elision): Likewise.
20443 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20444 (__lll_unlock_elision): Likewise.
20446 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20447 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20448 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20449 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20450 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20451 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20452 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20453 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20454 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20455 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20456 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20457 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20458 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20459 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20460 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20461 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20462 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20464 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20466 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20468 (__ASSUME_CLONE_BACKWARDS): Define.
20469 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20470 __clone2 if __NR_clone2 is defined.
20471 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20472 (__ASSUME_CLONE_BACKWARDS): Likewise.
20473 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20474 (__ASSUME_CLONE_BACKWARDS): Likewise.
20475 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20476 (__ASSUME_CLONE2): Likewise.
20477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20478 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20479 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20480 variants and the define architecture can use.
20481 (__ASSUME_CLONE_DEFAULT): Define as default.
20482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20483 (__ASSUME_CLONE_BACKWARDS): Likewise.
20484 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20485 (__ASSUME_CLONE_BACKWARDS): Likewise.
20486 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20487 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20489 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20491 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20493 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20496 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20497 (do_test_limit): Likewise.
20499 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20500 for every implementation.
20501 (do_test): Likewise.
20503 * benchtests/bench-strncmp.c: Convert output to json.
20505 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20507 * io/futimens.c: Add missing start-of-file descriptive comment.
20508 * io/utime.c: Likewise.
20509 * misc/futimesat.c: Likewise.
20510 * misc/utimes.c: Likewise.
20511 * sysdeps/mach/hurd/futimesat.c: Likewise.
20512 * sysdeps/mach/hurd/utimes.c: Likewise.
20513 * sysdeps/posix/utime.c: Likewise.
20514 * sysdeps/posix/utimes.c: Likewise.
20515 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20516 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20517 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20518 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20520 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20522 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20524 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20525 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20526 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20527 (__futimens): Move implementation to...
20528 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20529 utime_tvalue_from_tspec): ... new helper functions.
20530 (hurd_futimens): New function.
20531 * sysdeps/mach/hurd/futimesat.c: New file.
20532 * sysdeps/mach/hurd/utimensat.c: New file.
20534 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20536 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20537 UTIME_OMIT): New macros.
20538 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20539 before reverting to converting time spec to time value and calling
20541 * sysdeps/mach/hurd/utime-helper.c: New file.
20542 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20543 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20544 reverting to utime_tvalue_from_tval and __file_utimes.
20545 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20546 (__lutimes): Just call hurd_futimens after lookup.
20547 * sysdeps/mach/hurd/utimes.c: Likewise.
20549 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20551 * bits/sigaction.h: Add include guard.
20552 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20553 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20554 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20555 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20556 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20557 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20558 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20559 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20560 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20562 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20564 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20565 -Wmaybe-uninitialized for -Os.
20566 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20569 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20571 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20572 __INO_T_MATCHES_INO64_T is defined.
20573 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20574 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20576 * dirent/alphasort64.c: Likewise.
20577 * dirent/scandir.c: Likewise.
20578 * dirent/scandir64-tail.c: Likewise.
20579 * dirent/scandir64.c: Likewise.
20580 * dirent/scandirat.c: Likewise.
20581 * dirent/scandirat64.c: Likewise.
20582 * dirent/versionsort.c: Likewise.
20583 * dirent/versionsort64.c: Likewise.
20584 * include/dirent.h: Likewise.
20586 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20587 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20588 for socketpair endpoint.
20589 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20590 WRITE_BUFFER_SIZE as buffer size for sending socket.
20591 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20592 issue on system where send is implemented with sendto syscall.
20593 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20594 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20595 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20596 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20599 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20600 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20601 sa_restorer for vDSO case.
20602 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20604 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20606 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20607 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20608 * hurd/hurd/ioctl.h: Include <mach/port.h>
20609 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20610 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20611 <mach/mach_types.h> and <mach/message.h>.
20612 (headers): Move mach/param.h to bits/mach/param.h.
20613 * sysdeps/mach/i386/mach/param.h: Move file to ...
20614 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20615 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20617 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20618 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20619 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20620 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20621 trivial, for C++ conformity.
20622 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20623 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20624 Process mig output through $(migheadersed).
20625 * hurd/Makefile (migheadersed): Define variable.
20626 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20627 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20629 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20630 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20631 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20632 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20633 <bits/types/sigset_t.h>.
20634 [!defined __USE_GNU]: Do not #error out.
20635 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20636 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20637 Include <stddef.h> and <bits/types/sigset_t.h>
20638 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20639 instead of sighandler_t.
20640 * stdlib/errno.h (error_t): Move definition to...
20641 * bits/types/error_t.h: ... new header.
20642 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20643 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20644 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20645 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20646 * hurd/hurd.h: Include <bits/types/error_t.h>
20647 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20648 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20649 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20650 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20651 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20652 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20653 * sysdeps/mach/hurd/futimens.c: New file.
20655 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20658 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20659 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20660 * nscd/gai.c (__nss_hosts_database): Readd definition.
20661 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20662 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20663 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20665 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20667 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20668 (ifunc_one): Likewise.
20670 2018-03-01 DJ Delorie <dj@delorie.com>
20673 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20676 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20678 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20679 `match_pid' parameter.
20680 (td_ta_thr_iter): Update accordingly.
20682 2018-03-01 Florian Weimer <fweimer@redhat.com>
20684 * nptl/Makefile (install-lib-ldscripts): Remove.
20685 (install): Remove rule.
20686 ($(inst_libdir)/libpthread.so): Likewise.
20688 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20691 * localedata/locales/an_ES: update month and day names,
20692 improve d_fmt, improve postal_fmt, add country_post,
20695 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20697 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20698 Ukrainian instead of Bulgarian.
20700 2018-03-01 Florian Weimer <fweimer@redhat.com>
20702 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20705 2018-03-01 Florian Weimer <fweimer@redhat.com>
20707 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20708 * nptl/Makefile (routines): Add pthread_atfork.
20709 (static-only-routines): Set to pthread_atfork.
20710 (libpthread-routines): Remove pthread_atfork.
20711 (libpthread-static-only-routines): Remove.
20712 (install): Update comment.
20713 (libpthread.so): Do not install libpthread_nonshared.a.
20714 (tests): Do not link with libpthread_nonshared.a.
20715 (generated): Remove libpthread_nonshared.a.
20716 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20717 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20718 with libpthread_nonshared.a.
20720 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20723 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20724 (libc_feholdexcept_setroundf128): New macro.
20725 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20728 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20730 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20731 * include/inttypes.h: New file.
20733 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20735 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20736 -Os in two more places.
20738 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20740 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20741 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20742 be sorted correctly at the moment because of a bug.
20744 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20746 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20747 treat ñ as a primary different character, sync the collation
20748 for Spanish with CLDR.
20749 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20750 * localedata/Makefile: Add new test files.
20751 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20752 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20754 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20755 * localedata/am_ET.UTF-8.in: New test file.
20756 * localedata/az_AZ.UTF-8.in: Likewise.
20757 * localedata/be_BY.UTF-8.in: Likewise.
20758 * localedata/ber_DZ.UTF-8.in: Likewise.
20759 * localedata/ber_MA.UTF-8.in: Likewise.
20760 * localedata/bg_BG.UTF-8.in: Likewise.
20761 * localedata/br_FR.UTF-8.in: Likewise.
20762 * localedata/cmn_TW.UTF-8.in: Likewise.
20763 * localedata/crh_UA.UTF-8.in: Likewise.
20764 * localedata/csb_PL.UTF-8.in: Likewise.
20765 * localedata/cv_RU.UTF-8.in: Likewise.
20766 * localedata/cy_GB.UTF-8.in: Likewise.
20767 * localedata/dz_BT.UTF-8.in: Likewise.
20768 * localedata/eo.UTF-8.in: Likewise.
20769 * localedata/es_ES.UTF-8.in: Likewise.
20770 * localedata/fa_IR.UTF-8.in: Likewise.
20771 * localedata/fi_FI.UTF-8.in: Likewise.
20772 * localedata/fil_PH.UTF-8.in: Likewise.
20773 * localedata/fur_IT.UTF-8.in: Likewise.
20774 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20775 * localedata/ha_NG.UTF-8.in: Likewise.
20776 * localedata/ig_NG.UTF-8.in: Likewise.
20777 * localedata/ik_CA.UTF-8.in: Likewise.
20778 * localedata/kk_KZ.UTF-8.in: Likewise.
20779 * localedata/ku_TR.UTF-8.in: Likewise.
20780 * localedata/ky_KG.UTF-8.in: Likewise.
20781 * localedata/ln_CD.UTF-8.in: Likewise.
20782 * localedata/mi_NZ.UTF-8.in: Likewise.
20783 * localedata/ml_IN.UTF-8.in: Likewise.
20784 * localedata/mn_MN.UTF-8.in: Likewise.
20785 * localedata/mr_IN.UTF-8.in: Likewise.
20786 * localedata/mt_MT.UTF-8.in: Likewise.
20787 * localedata/nb_NO.UTF-8.in: Likewise.
20788 * localedata/om_KE.UTF-8.in: Likewise.
20789 * localedata/os_RU.UTF-8.in: Likewise.
20790 * localedata/ps_AF.UTF-8.in: Likewise.
20791 * localedata/ro_RO.UTF-8.in: Likewise.
20792 * localedata/ru_RU.UTF-8.in: Likewise.
20793 * localedata/sc_IT.UTF-8.in: Likewise.
20794 * localedata/se_NO.UTF-8.in: Likewise.
20795 * localedata/sq_AL.UTF-8.in: Likewise.
20796 * localedata/sv_SE.UTF-8.in: Likewise.
20797 * localedata/szl_PL.UTF-8.in: Likewise.
20798 * localedata/tg_TJ.UTF-8.in: Likewise.
20799 * localedata/tk_TM.UTF-8.in: Likewise.
20800 * localedata/tt_RU.UTF-8.in: Likewise.
20801 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20802 * localedata/ug_CN.UTF-8.in: Likewise.
20803 * localedata/uz_UZ.UTF-8.in: Likewise.
20804 * localedata/vi_VN.UTF-8.in: Likewise.
20805 * localedata/yi_US.UTF-8.in: Likewise.
20806 * localedata/yo_NG.UTF-8.in: Likewise.
20807 * localedata/zh_CN.UTF-8.in: Likewise.
20808 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20809 file and fix bugs in the collation.
20810 * localedata/locales/az_AZ: Likewise.
20811 * localedata/locales/be_BY: Likewise.
20812 * localedata/locales/ber_DZ: Likewise.
20813 * localedata/locales/ber_MA: Likewise.
20814 * localedata/locales/bg_BG: Likewise.
20815 * localedata/locales/br_FR: Likewise.
20816 * localedata/locales/br_FR@euro: Likewise.
20817 * localedata/locales/ca_ES: Likewise.
20818 * localedata/locales/cns11643_stroke: Likewise.
20819 * localedata/locales/crh_UA: Likewise.
20820 * localedata/locales/cs_CZ: Likewise.
20821 * localedata/locales/csb_PL: Likewise.
20822 * localedata/locales/cv_RU: Likewise.
20823 * localedata/locales/cy_GB: Likewise.
20824 * localedata/locales/da_DK: Likewise.
20825 * localedata/locales/dz_BT: Likewise.
20826 * localedata/locales/en_CA: Likewise.
20827 * localedata/locales/eo: Likewise.
20828 * localedata/locales/es_CU: Likewise.
20829 * localedata/locales/es_EC: Likewise.
20830 * localedata/locales/es_ES: Likewise.
20831 * localedata/locales/es_US: Likewise.
20832 * localedata/locales/et_EE: Likewise.
20833 * localedata/locales/fa_IR: Likewise.
20834 * localedata/locales/fi_FI: Likewise.
20835 * localedata/locales/fil_PH: Likewise.
20836 * localedata/locales/fur_IT: Likewise.
20837 * localedata/locales/gez_ER@abegede: Likewise.
20838 * localedata/locales/ha_NG: Likewise.
20839 * localedata/locales/hr_HR: Likewise.
20840 * localedata/locales/hsb_DE: Likewise.
20841 * localedata/locales/hu_HU: Likewise.
20842 * localedata/locales/ig_NG: Likewise.
20843 * localedata/locales/ik_CA: Likewise.
20844 * localedata/locales/is_IS: Likewise.
20845 * localedata/locales/iso14651_t1_pinyin: Likewise.
20846 * localedata/locales/kk_KZ: Likewise.
20847 * localedata/locales/ku_TR: Likewise.
20848 * localedata/locales/ky_KG: Likewise.
20849 * localedata/locales/ln_CD: Likewise.
20850 * localedata/locales/lt_LT: Likewise.
20851 * localedata/locales/lv_LV: Likewise.
20852 * localedata/locales/mi_NZ: Likewise.
20853 * localedata/locales/ml_IN: Likewise.
20854 * localedata/locales/mn_MN: Likewise.
20855 * localedata/locales/mr_IN: Likewise.
20856 * localedata/locales/mt_MT: Likewise.
20857 * localedata/locales/nb_NO: Likewise.
20858 * localedata/locales/om_KE: Likewise.
20859 * localedata/locales/os_RU: Likewise.
20860 * localedata/locales/pl_PL: Likewise.
20861 * localedata/locales/ps_AF: Likewise.
20862 * localedata/locales/ro_RO: Likewise.
20863 * localedata/locales/ru_RU: Likewise.
20864 * localedata/locales/ru_UA: Likewise.
20865 * localedata/locales/sc_IT: Likewise.
20866 * localedata/locales/se_NO: Likewise.
20867 * localedata/locales/si_LK: Likewise.
20868 * localedata/locales/sq_AL: Likewise.
20869 * localedata/locales/sv_FI: Likewise.
20870 * localedata/locales/sv_FI@euro: Likewise.
20871 * localedata/locales/sv_SE: Likewise.
20872 * localedata/locales/szl_PL: Likewise.
20873 * localedata/locales/tg_TJ: Likewise.
20874 * localedata/locales/ti_ER: Likewise.
20875 * localedata/locales/tk_TM: Likewise.
20876 * localedata/locales/tl_PH: Likewise.
20877 * localedata/locales/tr_TR: Likewise.
20878 * localedata/locales/tt_RU: Likewise.
20879 * localedata/locales/tt_RU@iqtelif: Likewise.
20880 * localedata/locales/ug_CN: Likewise.
20881 * localedata/locales/uk_UA: Likewise.
20882 * localedata/locales/uz_UZ: Likewise.
20883 * localedata/locales/uz_UZ@cyrillic: Likewise.
20884 * localedata/locales/vi_VN: Likewise.
20885 * localedata/locales/yi_US: Likewise.
20886 * localedata/locales/yo_NG: Likewise.
20888 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20890 * gen-locales.mk: Make test files which contain @ modifiers in their
20892 * localedata/gen-locale.sh: Likewise.
20894 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20896 * posix/tst-fnmatch.input: Fix results for range expressions
20898 * posix/tst-regexloc.c: Do not use a range expression for
20899 de_DE.ISO-8859-1 locale.
20901 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20903 * posix/bug-regex5.c: Fix test case because with the new
20904 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20905 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20908 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20910 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20911 downloaded from ISO, the collation order of @-. and space has changed.
20912 Therefore, this test file needed to be adapted.
20913 * localedata/fr_CA.UTF-8.in: Likewise.
20914 * localedata/fr_FR.UTF-8.in: Likewise.
20915 * localedata/uk_UA.UTF-8.in: Likewise.
20917 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20919 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20920 order of ȥ in the new iso14651_t1_common file.
20921 * localedata/pl_PL.UTF-8.in: Likewise.
20923 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20925 * localedata/locales/iso14651_t1_common: Add sections for various
20926 scripts to the iso14651_t1_common file.
20928 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20930 * localedata/locales/iso14651_t1_common: Use the code point of a
20931 character in the fourth collation level instead of IGNORE for all
20932 entries which have IGNORE on all 4 levels.
20934 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20936 * localedata/locales/iso14651_t1_common: Add some convenient collation
20937 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20938 rules similar to those in CLDR.
20940 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20942 * localedata/locales/iso14651_t1_common: The new version of this
20943 file downloaded from ISO contained several syntax errors which
20944 are fixed by this patch.
20946 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20948 * localedata/locales/iso14651_t1_common: replace all <U.....>
20949 with <U000.....> because glibc understands only 4 digit or 8 digit
20951 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20953 * localedata/locales/iso14651_t1_common: Necessary changes
20954 to make the file downloaded from ISO usable by glibc.
20956 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20959 * localedata/locales/iso14651_t1_common: Update file to
20960 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20962 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20964 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20965 of <nptl/pthreadP.h>
20966 (thread_attr_compare): Move function to...
20967 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20968 * sysdeps/nptl/timer_routines.h: ... new header.
20969 * sysdeps/mach/hurd/gai_misc.h: New file.
20971 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20973 * string/strcoll_l.c: Include <libc-diag.h>.
20974 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20975 declarations of seq1 and seq2.
20978 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20979 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20981 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20986 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20987 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20988 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20989 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20990 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20992 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20995 macros used in __ptrace_request.
20997 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21000 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21003 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21007 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21010 * ctype/ctype.c (tolower): Use libc_hidden_def.
21011 (toupper): Likewise.
21012 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21013 [!_ISOMAC] (toupper): Likewise.
21015 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21017 * localedata/Makefile: Remove --quiet argument when
21020 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21023 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21025 * localedata/locales/pt_PT (LC_TIME): likewise
21027 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21030 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21031 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21032 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21034 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21038 * nptl/Makefile (routines): Remove unregister-atfork.
21039 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21040 (fork_handler_alloc): Remove function.
21041 (fork_handlers, fork_handler_init): New variables.
21042 (__fork_lock): Rename to atfork_lock.
21043 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21044 to use a dynamic array to add/remove atfork handlers.
21045 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21046 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21047 Remove declaration.
21048 (fork_handler): Remove next, refcntr, and need_signal member.
21049 (__run_fork_handler_type): New enum.
21050 (__run_fork_handlers): New prototype.
21051 * nptl/register-atfork.c: Remove file.
21052 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21054 * sysdeps/nptl/nptl-signals.h: Move to ...
21055 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21057 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21058 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21059 unnecessary check for SIGTIMER.
21060 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21061 remove unnecessary removal of SIGTIMER.
21062 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21063 include-signals.h rename.
21064 * nptl/pthreadP.h: Likewise.
21065 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21066 __is_internal_signal instead of __nptl_is_internal_signal.
21068 2018-02-22 Andrew Waterman <andrew@sifive.com>
21071 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21072 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21073 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21074 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21076 2018-02-22 DJ Delorie <dj@delorie.com>
21078 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21080 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21082 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21083 do_misaligned, not misaligned8.
21085 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21087 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21088 Add memcpy_thunderx2.
21089 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21091 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21092 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21093 and IS_THUNDERX2PA checks.
21094 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21095 Use macro to set name appropriately.
21096 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21097 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21100 (IS_THUNDERX2): New macro.
21102 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21104 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21106 2018-02-21 Zack Weinberg <zackw@panix.com>
21108 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21109 Define here, unconditionally.
21110 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21111 * libio/libioP.h: Remove #if 0 blocks.
21112 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21113 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21114 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21116 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21117 Assume weak_alias is always defined.
21119 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21120 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21121 Remove #if 0 and #ifdef TODO blocks.
21122 Assume text_set_element is always defined.
21124 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21125 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21126 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21128 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21129 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21130 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21131 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21132 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21133 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21134 Reformat bit flags for _flags field to make occupancy clearer.
21136 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21137 Keep definitions consistent with those in libio/libio.h.
21139 * libio/libio.h (_IO_file_flags): Remove macro.
21140 All uses changed to _flags.
21142 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21143 (__HAVE_COLUMN, _IO_BE): Don't define.
21144 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21145 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21146 * libio/libioP.h (EOF): Don't define.
21147 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21148 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21149 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21150 testing _IO_UNIFIED_JUMPTABLES.
21152 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21153 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21154 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21155 (_IO_size_t): Delete; all uses changed to size_t.
21156 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21157 (_IO_off_t): Delete; all uses changed to off_t.
21158 (_IO_off64_t): Delete; all uses changed to off64_t.
21159 (_IO_pid_t): Delete; all uses changed to pid_t.
21160 (_IO_uid_t): Delete; all uses changed to uid_t.
21161 (_IO_wint_t): Delete; all uses changed to wint_t.
21162 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21163 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21164 (_IO_cookie_io_functions_t): Delete; all uses changed to
21165 cookie_io_functions_t.
21166 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21167 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21168 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21169 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21171 * libio/iofopncook.c: Remove unnecessary forward declarations.
21172 * libio/iolibio.h: Correct outdated commentary.
21173 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21174 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21175 Remove unnecessary casts.
21176 * stdio-common/getline.c: Use _IO_getdelim directly.
21177 Don't redefine ssize_t.
21178 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21179 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21180 Remove outdated comments.
21181 * stdio-common/vfscanf.c: Don't redefine va_list.
21183 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21184 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21185 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21186 which are always true, and __cplusplus, which is always false.
21188 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21192 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21193 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21194 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21195 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21197 [!_ISOMAC] (putc_unlocked): Likewise.
21198 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21199 define inline if [__USE_EXTERN_INLINES].
21200 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21205 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21206 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21207 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21208 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21209 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21211 * time/tzfile.c (__tzfile_read): Likewise.
21213 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21216 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21218 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21220 * io/fcntl.h: Fix a typo in a comment.
21222 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21225 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21226 define _DEFAULT_SOURCE.
21227 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21229 2018-02-21 Florian Weimer <fweimer@redhat.com>
21232 * elf/cache.c (save_cache): Call fsync on temporary file before
21234 (save_aux_cache): Call fdatasync on temporary file before renaming
21237 2018-02-21 Florian Weimer <fweimer@redhat.com>
21240 * include/caller.h: Remove file.
21241 * elf/dl-caller.c: Likewise.
21242 * elf/Makefile (dl-routines): Remove dl-caller.
21243 (shared-only-routines): Do not add dl-caller.
21244 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21246 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21248 (dl_open_worker): Do not call __check_caller.
21249 (_dl_open): Do not set caller_dl_open member.
21250 * elf/rtld.c (_rtld_global_ro): Do not initialize
21251 _dl_check_caller member.
21252 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21253 _dl_check_caller member.
21254 (_dl_check_caller): Remove declaration.
21255 * sysdeps/unix/sysv/linux/dl-execstack.c
21256 (_dl_make_stack_executable): Do not call __check_caller.
21258 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21260 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21261 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21263 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21265 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21268 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21271 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21272 of 199606L, 200112L, and 200809L.
21273 (_XOPEN_SOURCE): Document special values of 600 and 700.
21274 (_ISOC11_SOURCE): Document macro.
21275 (_ATFILE_SOURCE): Likewise.
21276 (_FORTIFY_SOURCE): Likewise.
21278 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21282 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21283 and define as weak alias of __ferror_unlocked. Use
21285 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21287 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21288 function if [__USE_EXTERN_INLINES].
21289 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21292 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21295 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21297 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21300 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21301 the GLIBC_2.1 version.
21303 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21306 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21307 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21308 intl/tst-gettext-de.po from po/de.po by removing the
21309 POT-Creation-Date line.
21310 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21312 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21315 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21317 * mach/Makefile (headers): Add mach/param.h.
21318 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21319 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21320 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21321 (__ptsname_r): Move implementation to...
21322 (__ptsname_internal): ... new function. Add filling the STP
21325 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21327 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21330 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21332 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21335 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21337 * nptl/Makefile (tst-mutex8-ENV): Delete.
21338 * nptl/tst-mutex8.c (check_type):
21339 Add runtime check if mutex will be elided.
21341 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21345 * manual/install.texi (Configuring and compiling): Describe
21346 passing CC and CFLAGS on configure command line, not as
21347 environment variables. Use @code markup on those variables.
21348 Specify what options go in CC and what go in CFLAGS. Note the
21349 requirement to compile with optimization.
21350 * INSTALL: Regenerated.
21353 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21354 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21355 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21356 __sigprocmask instead of sigprocmask.
21357 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21359 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21360 __sigsetjmp and sigprocmask.
21363 * include/argz.h (argz_next): Use libc_hidden_proto.
21364 (__argz_next): Likewise.
21365 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21366 (argz_next): Use libc_hidden_weak.
21369 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21371 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21375 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21377 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21381 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21382 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21383 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21384 (__feof_unlocked): New declaration, and inline function if
21385 [__USE_EXTERN_INLINES].
21386 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21387 instead of feof_unlocked.
21388 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21389 * nss/nsswitch.c (nss_parse_file): Likewise.
21390 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21392 * time/getdate.c (__getdate_r): Likewise.
21393 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21394 Define as macro to call __feof_unlocked.
21396 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21398 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21400 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21402 * math/Makefile: Remove mpexp.c and mplog.c
21403 * sysdeps/i386/fpu/mpexp.c: Delete file.
21404 * sysdeps/i386/fpu/mplog.c: Likewise.
21405 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21406 * sysdeps/ia64/fpu/mplog.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21408 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21409 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21410 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21411 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21412 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21413 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21414 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21415 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21417 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21418 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21420 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21421 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21422 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21424 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21426 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21428 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21430 * sysdeps/sh/libm-test-ulps: Update.
21432 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21434 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21437 2018-02-12 Zack Weinberg <zackw@panix.com>
21440 * posix/sys/types.h: Don't include sys/sysmacros.h.
21441 * misc/sys/sysmacros.h: Remove the conditional deprecation
21442 warnings for the macros defined by this header.
21444 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21446 * manual/probes.texi: Remove slowexp probes.
21447 * math/Makefile: Remove slowexp.
21448 * sysdeps/generic/math_private.h (__slowexp): Remove.
21449 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21450 document error bounds.
21451 * sysdeps/i386/fpu/slowexp.c: Remove.
21452 * sysdeps/ia64/fpu/slowexp.c: Remove.
21453 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21454 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21455 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21456 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21457 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21458 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21459 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21460 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21461 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21462 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21465 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21468 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21469 * benchtests/pow-inputs: Update comment for slow path cases.
21470 * manual/probes.texi (slowpow_p10): Delete removed probe.
21471 (slowpow_p10): Likewise.
21472 * math/Makefile: Remove halfulp.c and slowpow.c.
21473 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21474 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21475 (__halfulp): Remove.
21476 (__slowpow): Remove.
21477 * sysdeps/i386/fpu/halfulp.c: Delete file.
21478 * sysdeps/i386/fpu/slowpow.c: Likewise.
21479 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21480 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21481 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21482 improve comments and add error analysis.
21483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21484 (power1): Remove function:
21485 (log1): Remove error argument, add error analysis.
21486 (my_log2): Remove function.
21487 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21489 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21490 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21491 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21492 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21493 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21494 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21495 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21497 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21498 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21499 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21500 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21502 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21504 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21505 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21507 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21510 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21511 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21512 and PTRACE_SETHBPREGS.
21514 2018-02-10 Zack Weinberg <zackw@panix.com>
21517 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21519 * malloc/tst-malloc-stats-cancellation.c: New test case.
21520 * malloc/Makefile: Add new test case.
21522 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21524 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21526 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21528 * math/Makefile (libm-narrow-fns): Add add.
21529 (libm-test-funcs-narrow): Likewise.
21530 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21531 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21532 * math/gen-auto-libm-tests.c (test_functions): Add add.
21533 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21534 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21535 (NARROW_ADD_TRIVIAL): Likewise.
21536 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21538 (__daddl): Likewise.
21539 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21541 (CFLAGS-nldbl-dadd.c): New variable.
21542 (CFLAGS-nldbl-fadd.c): Likewise.
21543 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21545 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21547 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21548 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21549 * math/auto-libm-test-in: Add tests of add.
21550 * math/auto-libm-test-out-narrow-add: New generated file.
21551 * math/libm-test-narrow-add.inc: New file.
21552 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21555 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21556 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21557 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21563 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21565 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21566 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21567 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21568 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21569 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21571 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21572 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21573 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21574 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21575 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21576 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21577 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21578 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21579 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21580 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21581 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21582 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21583 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21588 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21589 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21590 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21592 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21593 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21599 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21600 (f128-pairs): New variable.
21601 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21602 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21604 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21605 Also make tests add $(f128-loader-link) to gnulib-tests.
21607 2018-02-09 DJ Delorie <dj@redhat.com>
21610 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21611 64-bit ELF type for 64-bit ELF objects.
21613 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21615 * math/libm-test-driver.c (snan_tests_arg): New variable.
21616 * math/libm-test-support.h (snan_tests_arg): New declaration.
21617 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21619 * math/Makefile (test-type-pairs): New variable.
21620 (test-type-pairs-f64xf128-yes): Likewise.
21621 (tests): Add test-narrow-macros.
21622 (libm-test-funcs-narrow): New variable.
21623 (libm-test-c-narrow): Likewise.
21624 (generated): Add $(libm-test-c-narrow).
21625 (libm-tests-base-narrow): New variable.
21626 (libm-tests-narrow): Likewise.
21627 (libm-tests): Add $(libm-tests-narrow).
21628 (libm-tests-for-type): Handle $(libm-tests-narrow).
21629 (libm-test-c-narrow-obj): New variable.
21630 ($(libm-test-c-narrow-obj)): New rule.
21631 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21632 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21633 $(o-iterator) to set dependencies and CFLAGS.
21634 * math/gen-auto-libm-tests.c: Document use for narrowing
21636 (output_for_one_input_case): Take argument NARROW.
21637 (generate_output): Likewise. Update call to
21638 output_for_one_input_case.
21639 (main): Take --narrow option. Update call to generate_output.
21640 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21641 (apply_lit): Update call to _apply_lit.
21642 (apply_arglit): New function.
21643 (parse_args): Handle "a" arguments.
21644 (parse_auto_input): Handle format names using ":".
21645 * math/README.libm-test: Document "a" parameter type.
21646 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21647 (ARG_TYPE_TRUE_MIN): Likewise.
21648 (ARG_TYPE_MAX): Likwise.
21649 (ARG_MIN_EXP): Likewise.
21650 (ARG_MAX_EXP): Likewise.
21651 (ARG_MANT_DIG): Likewise.
21652 (TEST_COND_arg_ibm128): Likewise.
21653 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21654 (TEST_COND_arg_fmt): New macro.
21655 (init_max_error): Update prototype.
21656 * math/libm-test-support.c (test_ibm128): New variable.
21657 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21658 instead of using [TEST_COND_ibm128] conditional.
21659 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21660 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21661 [TEST_NARROW] (TEST_MSG): New definition.
21662 (arg_plus_zero): New macro.
21663 (arg_minus_zero): Likewise.
21664 (arg_plus_infty): Likewise.
21665 (arg_minus_infty): Likewise.
21666 (arg_qnan_value_pl): Likewise.
21667 (arg_qnan_value): Likewise.
21668 (arg_snan_value_pl): Likewise.
21669 (arg_snan_value): Likewise.
21670 (arg_max_value): Likewise.
21671 (arg_min_value): Likewise.
21672 (arg_min_subnorm_value): Likewise.
21673 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21674 (RUN_TEST_LOOP_aa_f): New macro.
21675 (TEST_SUFF): New macro.
21676 (TEST_SUFF_STR): Likewise.
21677 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21678 (TEST_COND_any_ibm128): New macro.
21679 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21680 this_func. Update call to init_max_error.
21681 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21682 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21683 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21684 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21685 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21686 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21687 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21688 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21689 * math/test-math-vector.h (TEST_NARROW): Likewise.
21690 * math/test-arg-double.h: New file.
21691 * math/test-arg-float128.h: Likewise.
21692 * math/test-arg-float32x.h: Likewise.
21693 * math/test-arg-float64.h: Likewise.
21694 * math/test-arg-float64x.h: Likewise.
21695 * math/test-arg-ldouble.h: Likewise.
21696 * math/test-math-narrow.h: Likewise.
21697 * math/test-narrow-macros.c: Likewise.
21698 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21699 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21700 test-narrow-macros-ldbl-64.
21701 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21703 * math/bits/mathcalls-narrow.h: New file.
21704 * include/bits/mathcalls-narrow.h: Likewise.
21705 * math/math-narrow.h: Likewise.
21706 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21707 (__MATHCALL_NARROW_ARGS_2): Likewise.
21708 (__MATHCALL_NARROW_ARGS_3): Likewise.
21709 (__MATHCALL_NARROW_NORMAL): Likewise.
21710 (__MATHCALL_NARROW_REDIR): Likewise.
21711 (__MATHCALL_NARROW): Likewise.
21712 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21713 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21715 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21716 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21717 (libm-narrow-fns): New variable.
21718 (libm-narrow-types-basic): Likewise.
21719 (libm-narrow-types-ldouble-yes): Likewise.
21720 (libm-narrow-types-float128-yes): Likewise.
21721 (libm-narrow-types-float128-alias-yes): Likewise.
21722 (libm-narrow-types): Likewise.
21723 (libm-routines): Add narrowing functions.
21724 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21725 (libc_feholdexcept_setroundf128): New macro.
21726 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21727 * sysdeps/ieee754/float128/float128_private.h: Include
21728 <math/math-narrow.h>.
21729 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21730 Undefine and redefine.
21731 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21732 (libm_alias_float_ldouble): Undefine and redefine.
21733 (libm_alias_double_ldouble): Likewise.
21735 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21737 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21739 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21742 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21744 * manual/creature.texi: Convert references to gcc.info to gcc.
21745 * manual/stdio.texi: Likewise.
21746 * manual/string.texi: Likewise.
21748 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21751 * posix/bits/types.h (__int_least8_t): New typedef.
21752 (__uint_least8_t): Likewise.
21753 (__int_least16_t): Likewise.
21754 (__uint_least16_t): Likewise.
21755 (__int_least32_t): Likewise.
21756 (__uint_least32_t): Likewise.
21757 (__int_least64_t): Likewise.
21758 (__uint_least64_t): Likewise.
21759 * sysdeps/generic/stdint.h (int_least8_t): Define using
21761 (int_least16_t): Define using __int_least16_t.
21762 (int_least32_t): Define using __int_least32_t.
21763 (int_least64_t): Define using __int_least64_t.
21764 (uint_least8_t): Define using __uint_least8_t.
21765 (uint_least16_t): Define using __uint_least16_t.
21766 (uint_least32_t): Define using __uint_least32_t.
21767 (uint_least64_t): Define using __uint_least64_t.
21768 * wcsmbs/uchar.h: Include <bits/types.h>.
21769 (char16_t): Define using __uint_least16_t conditional only on
21771 (char32_t): Define using __uint_least32_t conditional only on
21773 * wcsmbs/test-char-types.c: New file.
21774 * wcsmbs/Makefile (tests): Add test-char-types.
21776 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21779 2018-02-07 Zack Weinberg <zackw@panix.com>
21781 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21782 Delete all contents except for definitions of _G_HAVE_MMAP and
21783 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21784 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21785 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21788 * libio/libio.h: Don't include bits/_G_config.h here.
21789 Include stddef.h with __need_wchar_t defined. Include
21790 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21791 Define _IO_iconv_t here, directly.
21792 Don't define _IO_HAVE_ST_BLKSIZE.
21793 * libio/libioP.h: Include _G_config.h here. Move include of
21794 shlib-compat.h up with rest of includes. Simplify conditionals
21795 controlling definition of _IO_JUMPS_OFFSET.
21797 * csu/init.c: Remove always-true #if around entire file.
21798 Don't include stdio.h. Set _IO_stdin_used to hardwired
21799 constant 0x20001, and update commentary.
21800 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21801 Replace all uses of _G_va_list with __gnuc_va_list.
21802 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21803 instead of #if _IO_HAVE_ST_BLKSIZE.
21804 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21805 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21808 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21809 multiple-include guard to match.
21810 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21812 Remove preprocessor conditionals that are always true and/or
21813 redundant to other preprocessor conditionals in the same nest.
21814 Include shlib-compat.h unconditionally.
21815 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21816 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21817 defined after including stdio.h.
21818 Use __BEGIN_DECLS/__END_DECLS.
21820 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21821 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21822 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21824 2018-02-07 Zack Weinberg <zackw@panix.com>
21826 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21827 New single-type headers split from _G_config.h.
21828 * libio/bits/types/cookie_io_functions_t.h
21829 * libio/bits/types/struct_FILE.h
21830 New single-type headers split from libio.h.
21832 * libio/Makefile: Install the above new headers. Don't install
21833 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21835 * libio/_G_config.h, libio/libio.h: Delete file.
21837 * libio/bits/libio.h: Remove improper-inclusion guard.
21838 Include stdio.h and don't repeat anything that it does.
21839 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21840 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21841 __io_read_fn as cookie_read_function_t,
21842 __io_write_fn as cookie_write_function_t,
21843 __io_seek_fn as cookie_seek_function_t,
21844 __io_close_fn as cookie_close_function_t,
21845 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21846 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21847 here, in the "compatibility defines" section. Remove an #if 0
21848 block. Use the "body" macros from bits/types/struct_FILE.h to
21849 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21850 and _IO_ferror_unlocked.
21851 Move prototypes of __uflow and __overflow...
21853 * libio/stdio.h: ...here. Don't include bits/libio.h.
21854 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21855 directly from stdarg.h. Include bits/types/__fpos_t.h,
21856 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21857 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21858 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21859 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21860 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21861 __ssize_t, not _IO_ssize_t. Unconditionally define
21862 BUFSIZ as 8192 and EOF as (-1).
21864 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21865 macros from bits/types/struct_FILE.h instead of _IO_* macros
21866 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21867 instead of _IO_ssize_t.
21868 * libio/bits/stdio2.h: Similarly.
21870 * libio/iolibio.h: Add multiple-include guard.
21871 Include bits/libio.h after stdio.h.
21872 * libio/libioP.h: Add multiple-include guard.
21873 Include stdio.h and bits/libio.h before iolibio.h.
21875 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21876 * include/bits/types/cookie_io_functions_t.h
21877 * include/bits/types/struct_FILE.h: New wrappers.
21879 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21880 Get definitions of _G_fpos_t and _G_fpos64_t from
21881 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21882 respectively. Remove improper-inclusion guards.
21884 * conform/data/stdio.h-data: Update expectations of va_list.
21885 * scripts/check-installed-headers.sh: Remove special case for
21886 libio.h and _G_config.h.
21888 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21892 * include/sys/sysmacros.h [!_ISOMAC]
21893 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21894 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21895 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21896 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21898 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21899 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21901 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21902 Undefine and redefine to add use __gnu_dev_ prefix.
21903 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21906 and define as hidden inline function.
21907 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21909 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21911 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21912 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21913 (gnu_dev_minor): Likewise.
21914 (gnu_dev_makedev): Likewise.
21915 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21917 * posix/wordexp.c (exec_comm_child): Likewise.
21918 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21919 instead of minor and __gnu_dev_major instead of major.
21920 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21921 __gnu_dev_major instead of major.
21922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21923 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21924 instead of gnu_dev_minor.
21925 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21926 (SLAVE_P): Likewise.
21927 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21928 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21932 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21934 * locale/weightwc.h (findidx): Likewise.
21936 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21938 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21939 (slowlog_inexact): Likewise
21940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21941 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21943 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21946 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21947 missing second underscore to parameter name.
21949 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21955 * bits/byteswap.h: Update file comment. Do not include
21956 <bits/byteswap-16.h>.
21957 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21959 (__bswap_16): Define as inline function.
21960 (__bswap_constant_32): Reformat definition.
21961 (__bswap_32): Always define as inline function, not macro, using
21962 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21963 otherwise __bswap_constant_32.
21964 (__bswap_constant_64): Reformat definition. Do not use
21965 __extension__ here.
21966 (__bswap_64): Always define as inline function, not macro. Use
21967 __extension__ on function definition. Use __builtin_bswap64 if
21968 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21969 * string/test-endian-file-scope.c: New file.
21970 * string/test-endian-sign-conversion.c: Likewise.
21971 * string/Makefile (headers): Remove bits/byteswap-16.h.
21972 (tests): Add test-endian-file-scope and
21973 test-endian-sign-conversion.
21974 (CFLAGS-test-endian-sign-conversion.c): New variable.
21975 * bits/byteswap-16.h: Remove file.
21976 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21977 * sysdeps/ia64/bits/byteswap.h: Likewise.
21978 * sysdeps/m68k/bits/byteswap.h: Likewise.
21979 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21980 * sysdeps/s390/bits/byteswap.h: Likewise.
21981 * sysdeps/tile/bits/byteswap.h: Likewise.
21982 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21983 * sysdeps/x86/bits/byteswap.h: Likewise.
21986 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21987 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21988 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21989 199901L] (__restrict): Define to restrict.
21992 * string/testcopy.c: Include <support/support.h>. Do not include
21993 <malloc.h>. Use <support/test-driver.c>.
21994 (main): Rename to do_test. Make static. Use xmalloc instead of
21998 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21999 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22000 (SSIZE_MAX): Define to INT_MAX.
22001 * posix/test-ssize-max.c: New file.
22002 * posix/Makefile (tests): Add test-ssize-max.
22005 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22006 <support/support.h>. Do not include <malloc.h>.
22007 (query_auxv): Use xmalloc instead of malloc.
22010 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22011 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22014 2018-02-06 Florian Weimer <fweimer@redhat.com>
22017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22018 Use scratch_buffer instead of extend_alloca.
22020 2018-02-06 Zack Weinberg <zackw@panix.com>
22022 * libio/stdio.h: Don't define getc or putc as macros.
22023 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22024 not _IO_getc and _IO_putc.
22026 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22027 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22029 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22031 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22032 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22034 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22037 * elf/elf.h (NT_PRFPREG): New macro.
22038 (NT_S390_VXRS_LOW): Likewise.
22039 (NT_S390_VXRS_HIGH): Likewise.
22040 (NT_S390_GS_CB): Likewise.
22041 (NT_S390_GS_BC): Likewise.
22042 (NT_S390_RI_CB): Likewise.
22044 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22045 (MAP_SYNC): New macro.
22046 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22048 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22049 (MAP_SYNC): Likewise.
22050 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22051 (MAP_SYNC): Likewise.
22052 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22053 (MAP_SYNC): Likewise.
22054 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22055 (MAP_SYNC): Likewise.
22056 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22057 (MAP_SYNC): Likewise.
22058 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22059 (MAP_SYNC): Likewise.
22060 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22062 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22065 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22066 (MAP_SHARED_VALIDATE): New macro.
22067 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22068 (MAP_SHARED_VALIDATE): Likewise.
22070 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22072 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22073 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22074 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22076 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22078 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22079 (DT_NUM): Updated to 35.
22081 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22084 __builtin_expect with __glibc_likely and __glibc_unlikely.
22085 (elf_machine_rela): Likewise.
22086 (elf_machine_lazy_rel): Likewise.
22088 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22091 __builtin_expect with __glibc_likely and __glibc_unlikely.
22092 (elf_machine_lazy_rel): Likewise.
22094 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22099 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22101 2018-02-05 Andreas Schwab <schwab@suse.de>
22104 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22107 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22109 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22110 not check against PTHREAD_STACK_MIN.
22112 2018-02-02 Sean McKean <smckean83@gmail.com>
22115 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22117 2018-02-02 Florian Weimer <fweimer@redhat.com>
22120 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22121 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22122 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22123 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22124 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22125 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22126 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22127 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22128 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22129 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22130 * misc/tst-preadvwritev2.c (do_test): Call it.
22131 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22133 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22135 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22137 * benchtests/bench-memcmp.c: Print json instead of plain text.
22139 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22142 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22144 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22146 (s390_sthyi): New syscall.
22148 * sysdeps/generic/ldbl-classify-compat.h: New file.
22149 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22150 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22151 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22152 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22153 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22154 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22155 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22156 <ldbl-classify-compat.h>.
22157 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22158 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22159 <ldbl-classify-compat.h>.
22160 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22161 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22162 <ldbl-classify-compat.h>.
22163 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22165 <ldbl-classify-compat.h>.
22166 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22168 <ldbl-classify-compat.h>.
22169 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22171 <ldbl-classify-compat.h>.
22172 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22173 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22174 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22175 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22176 * sysdeps/microblaze/math_private.h: Likewise.
22177 * sysdeps/nios2/math_private.h: Likewise.
22178 * sysdeps/sh/math_private.h: Likewise.
22180 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22181 * sysdeps/m68k/coldfire/math_private.h: ... here.
22182 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22183 * sysdeps/tile/math_private.h: Likewise.
22184 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22186 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22189 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22191 (libc_fetestexcept): Likewise.
22192 (libc_feupdateenv_test): Likewise.
22193 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22194 (libc_fetestexcept): Likewise.
22195 (libc_feupdateenv_test): Likewise.
22196 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22197 (libc_fetestexcept): Likewise.
22198 (libc_feupdateenv_test): Likewise.
22199 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22200 (libc_fetestexcept): Likewise.
22201 (libc_feupdateenv_test): Likewise.
22203 * sysdeps/generic/math_private.h
22204 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22205 New inline function.
22206 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22209 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22210 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22211 * sysdeps/generic/math_private.h
22212 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22214 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22216 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22218 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22220 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22222 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22224 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22225 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22226 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22227 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22228 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22229 (__fegetenv): Likewise.
22230 (fesetenv): Likewise.
22231 (__fesetenv): Likewise.
22232 (feupdateenv): Likewise.
22233 (__feupdateenv): Likewise.
22234 (fegetround): Likewise.
22235 (__fegetround): Likewise.
22236 (fesetround): Likewise.
22237 (__fesetround): Likewise.
22239 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22240 (feraiseexcept): New macro.
22241 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22242 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22244 (__feraiseexcept): Likewise.
22245 (feclearexcept): Likewise.
22246 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22247 (__feraiseexcept): Likewise.
22248 (feclearexcept): Likewise.
22249 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22250 (__feraiseexcept): Likewise.
22251 (feclearexcept): Likewise.
22252 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22253 (__feraiseexcept): Likewise.
22254 (feclearexcept): Likewise.
22255 (fetestexcept): Likewise.
22257 * sysdeps/m68k/coldfire/math-tests.h: New file.
22259 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22260 * sysdeps/m68k/bits/fenv.h: ... here.
22261 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22263 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22265 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22267 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22269 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22271 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22273 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22274 (__FE_UNDEFINED): New enum constant.
22275 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22277 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22279 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22281 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22282 to match generic bits/fenv.h.
22283 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22286 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22288 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22289 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22290 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22291 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22293 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22294 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22295 Joseph Myers <joseph@codesourcery.com>
22298 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22299 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22300 computation using c.
22301 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22302 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22303 computation using c.
22305 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22307 * version.h (RELEASE): Set to "development".
22308 (VERSION): Set to "2.27.9000".
22309 * NEWS (2.28): New section.
22311 * version.h (RELEASE): Set to "stable".
22312 (VERSION): Set to "2.27".
22313 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22315 * NEWS: Add the list of bugs fixed in 2.27.
22317 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22319 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22320 against PTHREAD_STACK_MIN.
22322 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22324 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22326 (Rafał Lużyński, Andreas Schwab): Update.
22328 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22331 * NEWS: List the languages which actually use the alternative
22332 months feature in this release. Also explain that "alt_mon" and
22333 "ab_alt_mon" are optional.
22335 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22338 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22340 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22342 * manual/install.texi (Tools for Compilation): Update the newest
22343 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22344 * INSTALL: Regenerated.
22346 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22348 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22349 instead of __builtin_expect.
22351 2018-01-30 Florian Weimer <fweimer@redhat.com>
22353 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22355 * nss/tst-nss-getpwent.c (do_test): Likewise.
22357 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22360 * localedata/locales/hr_HR (mon): Rename to...
22362 (mon): Import from CLDR (genitive case).
22363 (d_t_fmt): Update the comment.
22365 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22367 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22368 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22369 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22371 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22373 * mach/Versions: Fix version when __mach_host_self_ was added.
22374 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22375 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22376 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22377 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22378 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22379 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22380 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22381 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22382 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22383 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22384 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22385 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22386 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22387 || to respect codestyle.
22388 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22389 (do_test_bz20181): Rename accordingly.
22390 * malloc/malloc.c: Include <assert.h>.
22391 (assert): Do not define.
22392 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22393 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22394 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22395 * sysdeps/mach/hurd/hp-timing.h: New file.
22396 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22398 2018-01-29 Darius Rad <darius@bluespec.com>
22400 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22402 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22404 * sysdeps/init_array/crti.S (.section .init_array): Add
22405 PREINIT_FUNCTION when defined.
22406 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22407 * config.h.in: Regenerate.
22408 * manual/platform.texi: Add RISC-V documenation for
22409 __riscv_flush_icache.
22410 * sysdeps/riscv/__longjmp.S: New file.
22411 * sysdeps/riscv/backtrace.c: Likewise.
22412 * sysdeps/riscv/bits/endian.h: Likewise.
22413 * sysdeps/riscv/bits/setjmp.h: Likewise.
22414 * sysdeps/riscv/bits/wordsize.h: Likewise.
22415 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22416 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22417 * sysdeps/riscv/dl-trampoline.S: Likewise.
22418 * sysdeps/riscv/gccframe.h: Likewise.
22419 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22420 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22421 * sysdeps/riscv/machine-gmon.h: Likewise.
22422 * sysdeps/riscv/memusage.h: Likewise.
22423 * sysdeps/riscv/setjmp.S: Likewise.
22424 * sysdeps/riscv/sys/asm.h: Likewise.
22425 * sysdeps/riscv/tls-macros.h: Likewise.
22426 * sysdeps/riscv/dl-tls.h: New file.
22427 * sysdeps/riscv/libc-tls.c: Likewise.
22428 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22429 * sysdeps/riscv/nptl/tls.h: Likewise.
22430 * sysdeps/riscv/stackinfo.h: Likewise.
22431 * sysdeps/riscv/bits/fenv.h: New file.
22432 * sysdeps/riscv/e_sqrtl.c: Likewise.
22433 * sysdeps/riscv/fpu_control.h: Likewise.
22434 * sysdeps/riscv/math-tests.h: Likewise.
22435 * sysdeps/riscv/nofpu/Implies: Likewise.
22436 * sysdeps/riscv/sfp-machine.h: Likewise.
22437 * sysdeps/riscv/tininess.h: Likewise.
22438 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22439 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22440 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22441 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22442 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22443 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22444 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22445 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22446 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22447 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22448 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22449 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22450 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22451 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22452 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22453 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22454 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22455 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22456 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22457 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22458 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22459 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22460 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22461 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22462 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22463 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22464 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22465 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22466 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22467 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22468 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22469 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22470 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22471 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22472 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22473 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22474 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22475 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22476 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22477 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22478 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22479 * sysdeps/riscv/rvf/math_private.h: Likewise.
22480 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22481 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22482 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22483 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22484 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22485 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22486 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22487 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22488 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22489 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22490 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22491 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22492 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22493 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22494 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22495 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22496 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22497 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22498 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22499 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22500 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22501 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22502 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22503 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22504 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22505 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22506 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22507 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22508 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22509 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22510 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22511 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22512 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22513 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22514 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22515 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22516 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22517 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22518 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22519 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22520 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22521 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22522 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22524 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22525 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22527 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22528 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22529 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22531 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22532 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22533 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22534 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22535 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22536 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22537 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22538 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22539 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22540 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22541 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22542 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22543 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22544 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22545 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22546 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22547 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22548 * sysdeps/riscv/Implies: New file.
22549 * sysdeps/riscv/Makefile: Likewise.
22550 * sysdeps/riscv/configure: Likewise.
22551 * sysdeps/riscv/configure.ac: Likewise.
22552 * sysdeps/riscv/nptl/Makefile: Likewise.
22553 * sysdeps/riscv/preconfigure: Likewise.
22554 * sysdeps/riscv/rv64/Implies-after: Likewise.
22555 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22556 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22557 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22558 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22559 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22560 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22561 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22562 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22563 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22564 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22565 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22566 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22567 (Config): Likewise.
22569 2018-01-29 Florian Weimer <fweimer@redhat.com>
22572 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22573 libnsl_hidden_proto.
22574 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22575 libnsl_hidden_proto.
22576 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22577 * nis/Makefile (libnsl-routines): Add nss-default only for
22578 build-obsolete-nsl.
22579 * nis/nis_defaults.c (__nis_default_ttl): Add
22580 libnsl_hidden_nolink_def.
22581 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22583 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22584 * nis/ypclnt.c (yp_maplist): Likewise.
22586 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22589 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22591 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22593 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22594 clean -dxfq for git updates when replacing sources.
22596 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22597 --disable-libcilkrts unconditionally, not just for the final GCC
22600 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22603 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22606 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22609 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22612 * localedata/locales/be_BY (mon): Rename to...
22613 (alt_mon): This, then synchronize with CLDR (nominative case).
22614 (abmon): Rename to...
22615 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22616 (mon): Import from CLDR (genitive case).
22618 * localedata/locales/be_BY@latin (mon): Rename to...
22620 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22622 * localedata/locales/be_BY@latin (lang_name): Reworded to
22623 "biełaruskaja mova".
22625 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22628 * localedata/locales/el_CY (mon): Renamed to...
22630 (mon): Import from CLDR (genitive case).
22631 * localedata/locales/el_GR: Likewise.
22633 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22636 * localedata/locales/ru_RU (mon): Rename to...
22638 (abmon): Rename to...
22639 (ab_alt_mon): This.
22640 (mon): Import from CLDR (genitive case).
22641 (abmon): Copy from the old content except the 5th month which is
22642 now in the genitive case, even when abbreviated.
22643 * localedata/locales/ru_UA: Likewise.
22644 * time/tst-strptime.c (day_tests): Add an actual example of
22645 a difference between %b and %Ob in Russian.
22647 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22649 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22650 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22652 * resolv/res-close.c: Include <stdlib.h>.
22653 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22654 <sys/wait.h>, <time.h>, <sys/uio.h>.
22655 (NOT_CANCEL_H): Add inclusion guard.
22656 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22657 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22658 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22660 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22661 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22662 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22664 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22665 timer_ptr2id to cast struct timer_node * to void *.
22666 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22667 --disable-libcilkrts to gcc configure.
22668 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22669 and make them the default for now.
22670 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22671 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22672 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22673 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22674 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22676 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22677 __task_terminate would ever return successfully.
22678 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22680 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22681 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22682 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22683 critical section to make code simpler and avoid warning.
22684 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22685 critical section to make code simpler and avoid warning.
22686 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22687 const char * instead of char *.
22688 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22689 __hurd_file_name_split, hurd_file_name_split,
22690 __hurd_directory_name_split, hurd_directory_name_split,
22691 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22692 hurd_file_name_path_lookup): Make lookup function parameter take a
22693 const char *name instead of char *name.
22694 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22695 __hurd_directory_name_split): Likewise.
22696 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22697 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22698 * sysdeps/mach/hurd/check_native.c: New file.
22699 * sysdeps/mach/hurd/check_pf.c: New file.
22700 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22701 (__freeifaddrs): Define macro to freeifaddrs.
22702 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22703 * sysdeps/mach/libmachuser.abilist: New file.
22704 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22705 (do_test_bz20181): Rename accordingly.
22706 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22707 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22709 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22710 version only if __USE_EXTERN_INLINES is defined.
22711 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22712 __hurd_sockfail): Likewise.
22713 (_hurd_fd_get): Always declare functions, and provide inline versions
22714 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22715 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22716 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22717 _hurd_port_set): Always declare functions, and provide inline versions
22718 only if __USE_EXTERN_INLINES and _LIBC are defined and
22720 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22721 _hurd_critical_section_unlock): Likewise.
22722 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22723 * __hurd_threadvar_location): Likewise.
22724 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22725 _hurd_userlink_clear): Likewise.
22726 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22727 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22728 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22729 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22730 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22731 __spin_lock_locked): Likewise.
22732 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22733 __spin_lock_locked): Likewise.
22734 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22735 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22736 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22737 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22738 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22739 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22740 _POSIX_NO_TRUNC): Define to 0.
22741 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22742 check size against PTHREAD_STACK_MIN.
22743 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22744 IS_IN(libpthread)]: Include <sigsetops.h>.
22745 * mach/Makefile (user-interfaces): Add mach/gnumach.
22746 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22747 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22748 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22749 instead of invalid -1.
22750 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22751 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22752 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22755 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22757 * hurd/fcntl-internal.h: New file.
22759 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22761 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22763 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22765 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22768 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22769 Build only shared objects.
22771 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22773 * README: Update for hppa.
22775 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22777 * sysdeps/sparc/fpu/libm-test-ulps: Update
22778 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22780 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22784 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22787 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22788 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22789 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22790 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22793 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22796 * bits/types/__cancel_jmp_buf_tag.h: New file.
22797 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22798 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22799 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22800 * nptl/Makefile (headers): Add
22801 bits/types/__cancel_jmp_buf_tag.h.
22802 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22803 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22804 * sysdeps/nptl/pthread.h: Include
22805 <bits/types/__cancel_jmp_buf_tag.h>.
22806 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22808 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22810 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22813 * localedata/locales/uk_UA (mon): Renamed to...
22815 (alt_digits): "0" removed and then renamed to...
22817 (date_fmt): Definition changed not to use the alternative
22820 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22822 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22823 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22824 * elf/elf.h (EF_RISCV_RVC): New define.
22825 (EF_RISCV_FLOAT_ABI): Likewise.
22826 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22827 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22828 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22829 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22830 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22832 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22834 2018-01-25 Andreas Schwab <schwab@suse.de>
22836 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22838 * sysdeps/gnu/configure: Regenerate.
22839 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22840 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22842 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22843 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22844 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22845 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22848 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22850 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22851 URL, and run autoconf, make it the default for now.
22853 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22855 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22856 soft-float ColdFire configuration.
22858 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22859 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22860 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22862 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22865 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22867 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22869 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22872 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22873 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22874 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22877 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22880 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22881 Rename to __reserved and add comment.
22882 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22883 Rename to __reserved.
22885 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22887 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22888 i686-gnu configurations.
22889 (Context.run_builds): Include mig, gnumach and hurd in components
22891 (Context.checkout): Add mig, gnumach and hurd to components.
22892 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22894 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22895 (Config.build): Install gnumach headers, build mig and install
22896 hurd headers for 'gnu' OS.
22897 (Config.install_gnumach_headers): New function.
22898 (Config.install_hurd_headers): Likewise.
22899 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22900 when building for 'gnu' OS.
22902 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22904 * manual/tunables.texi (Hardware Capability Tunables): Fix
22907 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22909 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22910 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22911 (ALTMON_11, ALTMON_12): Improve documentation.
22912 * manual/time.texi (strftime): Likewise.
22914 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22917 * localedata/locales/pl_PL: Alternative month names added,
22918 primary month names are genitive now.
22919 * time/tst-strptime.c (day_tests): Actually use a genitive case
22920 of a month name in Polish language.
22922 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22925 * manual/locale.texi: Document ALTMON_1..12 constants for
22926 nl_langinfo. Specify when to use ALTMON instead of MON.
22927 * manual/time.texi (strftime, strptime): Document GNU extension
22928 permitting O modifier with %B and %b. Specify when to use
22931 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22934 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22935 names, define them as the same as abbreviated month names explicitly.
22936 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22937 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22938 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22939 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22940 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22941 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22942 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22943 _NL_WABALTMON_12): New enum constants.
22944 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22945 wab_alt_mon, and ab_alt_mon_defined members.
22946 (time_output): Output ab_alt_mon and wab_alt_mon members.
22947 (time_read): Read them, initialize them as copies of abmon and wabmon
22948 respectively if they are missing, initialize ab_alt_mon_defined.
22949 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22950 * locale/programs/locfile-kw.h: Regenerate.
22951 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22952 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22954 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22955 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22956 (__strftime_internal): Handle %Ob and %Oh formats.
22957 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22958 (__strptime_internal): Handle %Ob and %Oh formats.
22959 * time/tst-strptime.c (day_tests): Add more tests to parse different
22960 forms of month names including the new %Ob format specifier.
22962 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22965 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22966 define them as the same as primary full month names explicitly.
22967 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22968 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22969 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22970 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22971 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22972 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22973 _NL_WALTMON_12): New enum constants.
22974 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22975 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22977 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22978 walt_mon, and alt_mon_defined members.
22979 (time_output): Output alt_mon and walt_mon members.
22980 (time_read): Read them, initialize them as copies of mon and wmon
22981 respectively if they are missing, initialize alt_mon_defined.
22982 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22983 * locale/programs/locfile-kw.h: Regenerate.
22984 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22985 * localedata/tst-langinfo.c (map): Add tests for the new constants
22986 ALTMON_1 .. ALTMON_12.
22987 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22989 * time/strftime_l.c (f_altmonth): New macro.
22990 (__strftime_internal): Handle %OB format.
22991 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22992 (__strptime_internal): Handle %OB format.
22993 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22994 of month names including the new %OB format specifier.
22996 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22999 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23000 from ABORT_TRANSACTION.
23001 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23002 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23003 ABORT_TRANSACTION_IMPL): Likewise.
23004 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23005 Linux code, but remove the code that aborts transactions.
23007 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23009 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23011 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23013 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23014 in date: "2004-14-09" should be "2004-09-14".
23015 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23016 "2003-15-09" should be "2003-09-15".
23018 2018-01-18 Arjun Shankar <arjun@redhat.com>
23024 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23026 (_int_memalign): check for integer overflow before calling
23028 * malloc/tst-malloc-too-large.c: New test.
23029 * malloc/Makefile: Add tst-malloc-too-large.
23031 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23033 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23034 in date: "2017-24-07" should be "2017-07-24".
23035 * localedata/locales/mai_IN: Likewise.
23036 * localedata/locales/mai_NP: Likewise.
23038 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23040 * po/ru.po: Update translations.
23042 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23045 * sysdeps/hppa/backtrace.c: New file.
23047 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23050 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23051 align La_x86_64_retval to VEC_SIZE.
23053 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23055 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23056 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23058 2018-01-16 Florian Weimer <fweimer@redhat.com>
23060 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23061 Move tst-thread-exit-clobber ...
23062 [$(CXX)] (tests-unsupported): ... to here.
23064 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23066 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23067 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23068 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23069 (_dl_aarch64_cap_flags): Update.
23070 (_DL_HWCAP_COUNT): Update.
23072 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23074 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23075 (_DL_HWCAP_LAST): Remove.
23076 (_DL_HWCAP_COUNT): Move to ...
23077 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23078 (_DL_HWCAP_COUNT): ... here.
23080 2018-01-16 Florian Weimer <fweimer@redhat.com>
23082 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23083 mode with GNU extensions.
23085 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23087 * elf/elf.h (NT_ARM_SVE): Define.
23089 2018-01-15 Florian Weimer <fweimer@redhat.com>
23092 * nptl/tst-minstack-throw.cc: New file.
23093 * nptl/Makefile (tests): Add tst-minstack-throw.
23094 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23095 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23097 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23099 * scripts/build-many-glibcs.py (Context.checkout): Default
23100 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23103 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23106 * elf/elf.h (DF_1_STUB): Define.
23107 (DF_1_PIE): Define.
23109 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23113 Do not add 0.5 to integer or out-of-range arguments.
23115 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23117 * po/bg.po: Update translations.
23118 * po/cs.po: Likewise.
23119 * po/de.po: Likewise.
23120 * po/ko.po: Likewise.
23121 * po/pl.po: Likewise.
23122 * po/sv.po: Likewise.
23123 * po/uk.po: Likewise.
23124 * po/vi.po: Likewise.
23126 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23128 * aarch64/start.S (_start): Use __wrap_main.
23129 (__wrap_main): New local symbol.
23131 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23135 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23136 generic_getcwd if the path returned by getcwd syscall is not absolute.
23137 * io/tst-getcwd-abspath.c: New test.
23138 * io/Makefile (tests): Add tst-getcwd-abspath.
23140 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23142 * malloc/malloc.c (malloc_consolidate): Add size check.
23144 2018-01-12 Florian Weimer <fweimer@redhat.com>
23146 * support/write_message.c (write_message): Preserve errno.
23147 * support/check.c (print_failure): Likewise.
23148 * support/support_test_verify_impl.c (support_test_verify_impl):
23150 * support/support_test_compare_failure.c
23151 (support_test_compare_failure): Likewise.
23153 2018-01-12 Florian Weimer <fweimer@redhat.com>
23156 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23157 Prevent installation of libnsl.so.
23158 (libnsl-inhibit-o): Do not build (or install) static libraries.
23160 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23163 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23164 before the day number which may produce a double space.
23165 (date_fmt): Likewise.
23167 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23170 instead of fegetenv.
23172 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23175 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23176 comment to say exceptions are discarded.
23177 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23179 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23182 2018-01-11 Florian Weimer <fweimer@redhat.com>
23184 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23187 2018-01-11 Florian Weimer <fweimer@redhat.com>
23190 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23191 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23193 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23197 negative arguments in test for NaN or infinity argument.
23199 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23201 * po/libc.pot: Regenerate.
23203 2018-01-10 Florian Weimer <fweimer@redhat.com>
23206 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23207 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23209 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23211 * hurd/hurd/fd.h: Include <fcntl.h>
23212 (__hurd_at_flags): New function.
23213 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23214 with call to __hurd_at_flags.
23215 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23216 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23218 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23219 (__access_noerrno): Use __faccessat_common instead of access_common.
23220 (__access): Likewise.
23221 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23222 with a call to __faccessat.
23223 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23224 (__faccessat_common): ... this. Move implementation of __access into it when
23225 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23226 reauthenticate_cwdir_at helper to implement AT mechanism.
23227 (__faccessat_noerrno): New function, just calls __faccessat_common.
23228 (__faccessat): New function, just calls __faccessat_common.
23229 (faccessat): Define weak alias.
23231 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23234 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23235 (CFLAGS-s_fmaxmagl.c): New variable.
23236 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23240 long int for arguments of possibly overflowing addition or
23242 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23244 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23247 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23248 (CFLAGS-e_remainderl.c): New variable.
23251 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23253 (CFLAGS-s_cacoshl.c): Likewise.
23254 (CFLAGS-s_casinhl.c): Likewise.
23255 (CFLAGS-s_catanl.c): Likewise.
23256 (CFLAGS-s_catanhl.c): Likewise.
23257 (CFLAGS-s_cexpl.c): Likewise.
23258 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23259 (CFLAGS-s_csinhl.c): Likewise.
23260 (CFLAGS-s_clogl.c): Likewise.
23261 (CFLAGS-s_clog10l.c): Likewise.
23262 (CFLAGS-s_csinl.c): Likewise.
23263 (CFLAGS-s_csqrtl.c): Likewise.
23265 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23266 2017-01-09 Svante Signell <svante.signell@gmail.com>
23268 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23269 (_hurd_exec_paths): New function.
23270 * hurd/hurd.h (_hurd_exec): Deprecate function.
23271 (_hurd_exec_paths): Declare function.
23272 * hurd/Versions: Export _hurd_exec_paths.
23273 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23274 (__execve): Use __getcwd to build absolute path, and use
23275 _hurd_exec_paths instead of _hurd_exec.
23276 * sysdeps/mach/hurd/spawni.c: Likewise.
23277 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23280 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23282 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23283 test instead of failing in case of ENOENT returned by posix_openpt.
23285 2018-01-08 Florian Weimer <fweimer@redhat.com>
23287 resolv: Support binary labels in test framework.
23288 * support/resolv_test.c (struct to_be_freed): Remove.
23289 (struct compressed_name): New.
23290 (allocate_compressed_name, ascii_tolower)
23291 (compare_compressed_name): New functions.
23292 (struct resolv_response_builder): Update type of
23293 compression_offsets for use with tsearch. Rempve to_be_freed.
23294 (response_push_pointer_to_free): Remove function.
23295 (resolv_response_add_name): Rewrite using struct compressed_name
23296 and tsearch instead of hsearch_r.
23297 (response_builder_allocate): Remove initialization of
23298 compression_offsets.
23299 (response_builder_free): Update for removal of to_be_freed. Use
23300 tdestroy instead of hdestroy_r.
23301 * resolv/Makefile (tests): Add tst-resolv-binary.
23302 (tst-resolv-binary): Link with -lresolv -lpthread.
23304 2018-01-08 Florian Weimer <fweimer@redhat.com>
23306 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23307 time. Pass positive flag instead of negative flag to
23308 support_test_compare_failure.
23309 (support_test_compare_failure): Change negative parameter to
23311 * support/support_test_compare_failure.c (report)
23312 (support_test_compare_failure): Likewise.
23313 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23314 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23316 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23319 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23320 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23321 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23323 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23325 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23328 Add s_sincosf-sse2 and s_sincosf-fma.
23329 (CFLAGS-s_sincosf-fma.c): New.
23330 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23331 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23332 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23333 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23334 __sincosf is defined.
23336 2018-01-08 Florian Weimer <fweimer@redhat.com>
23338 * nptl/tst-thread-exit-clobber.cc: New file.
23339 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23341 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23342 (tests): Add tst-thread-exit-clobber.
23343 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23345 2018-01-08 Florian Weimer <fweimer@redhat.com>
23347 * support/check.h (support_static_assert): Define.
23348 (TEST_COMPARE): Use it.
23350 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23352 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23353 [!__RLIM_T_MATCHES_RLIM64_T]
23354 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23355 __getrlimit64. Add libc_hidden_weak.
23357 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23359 * elf/elf.h (R_RISCV_NONE): New define.
23360 (R_RISCV_32): Likewise.
23361 (R_RISCV_64): Likewise.
23362 (R_RISCV_RELATIVE): Likewise.
23363 (R_RISCV_COPY): Likewise.
23364 (R_RISCV_JUMP_SLOT): Likewise.
23365 (R_RISCV_TLS_DTPMOD32): Likewise.
23366 (R_RISCV_TLS_DTPMOD64): Likewise.
23367 (R_RISCV_TLS_DTPREL32): Likewise.
23368 (R_RISCV_TLS_DTPREL64): Likewise.
23369 (R_RISCV_TLS_TPREL32): Likewise.
23370 (R_RISCV_TLS_TPREL64): Likewise.
23371 * Makerules (make-link-multidir): Make directories before linking into
23373 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23375 (VDSO_HASH_LINUX_4_15): Likewise.
23376 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23377 in subdirectories of lib.
23378 * nptl/Makefile (/librt.so): Always depend on
23379 "$(shared-thread-library)".
23381 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23383 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23384 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23385 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23387 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23388 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23390 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23391 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23392 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23393 * sysdeps/gnu/glob-lstat-compat.c: New file.
23394 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23395 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23397 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23399 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23400 Reserve 16 chars to reloc_addr before calling _itoa_word.
23402 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23405 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23406 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23408 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23409 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23411 * resource/tst-getrlimit.c: Add copyright header.
23413 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23414 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23416 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23417 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23418 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23419 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23421 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23422 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23423 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23424 RLIM64_INFINITY): Fix values to match the kernel ones.
23425 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23426 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23427 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23428 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23429 getrlimit64@@GLIBC_2_27.
23430 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23432 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23433 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23434 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23435 setrlimit, getrlimit64 and setrlimit64.
23437 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23440 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23441 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23443 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23445 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23446 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23447 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23449 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23453 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23454 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23458 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23459 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23460 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23461 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23463 2018-01-04 Florian Weimer <fweimer@redhat.com>
23466 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23467 Align the stack before calling exit.
23468 * stdlib/tst-makecontext-align.c: New file.
23469 * stdlib/Makefile (tests): Add tst-makecontext-align.
23471 2018-01-04 Florian Weimer <fweimer@redhat.com>
23473 Add support for calling dlvsym from libc.so.
23474 * include/dlfcn.h (__libc_dlvsym): Declare.
23475 * elf/Makefile (tests-static-internal): Add
23476 tst-libc_dlvsym-static.
23477 (tests-internal): Add tst-libc_dlvsym.
23478 (modules-names): Add tst-libc_dlvsym-dso.
23479 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23480 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23481 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23482 object tst-libc_dlvsym-dso.so needs to be built before running
23484 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23485 * elf/Versions: Export __libc_dlvsym.
23486 * elf/dl-libc.c (struct do_dlvsym_args): New.
23487 (do_dlvsym, __libc_dlvsym): New functions.
23488 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23489 (_dl_open_hook2): New variable.
23490 (__libc_register_dl_open_hook): Set it.
23491 * elf/tst-libc_dlvsym-dso.c: New file.
23492 * elf/tst-libc_dlvsym-static.c: Likewise.
23493 * elf/tst-libc_dlvsym.c: Likewise.
23494 * elf/tst-libc_dlvsym.h: Likewise.
23496 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23498 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23499 include <sys/mount.h>.
23501 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23503 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23504 Add __NO_MATH_ERRNO__ check.
23506 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23508 * sysdeps/mips/mips32/libm-test-ulps: Update.
23509 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23511 2018-01-02 Florian Weimer <fweimer@redhat.com>
23513 * misc/tst-pselect.c: Add copyright header.
23515 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23517 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23519 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23521 (settrlimit): Rename into setrlimit.
23522 (__sttrlimit): Rename into __setrlimit.
23524 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23525 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23526 never defined in that case.
23528 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23530 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23532 * sysdeps/arm/libm-test-ulps: Update.
23534 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23535 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23537 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23539 * NEWS: Add cosf and sincosf to list of optimized functions.
23541 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23544 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23545 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23546 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23547 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23549 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23552 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23554 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23555 making a copy of it.
23557 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23559 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23560 trailing whitespace removed.
23561 * scripts/config.guess: Update to version 2018-01-01.
23562 * scripts/config.sub: Update to version 2018-01-01.
23563 * scripts/move-if-change: Update from gnulib.
23565 * NEWS: Update copyright dates.
23566 * catgets/gencat.c (print_version): Likewise.
23567 * csu/version.c (banner): Likewise.
23568 * debug/catchsegv.sh: Likewise.
23569 * debug/pcprofiledump.c (print_version): Likewise.
23570 * debug/xtrace.sh (do_version): Likewise.
23571 * elf/ldconfig.c (print_version): Likewise.
23572 * elf/ldd.bash.in: Likewise.
23573 * elf/pldd.c (print_version): Likewise.
23574 * elf/sotruss.sh: Likewise.
23575 * elf/sprof.c (print_version): Likewise.
23576 * iconv/iconv_prog.c (print_version): Likewise.
23577 * iconv/iconvconfig.c (print_version): Likewise.
23578 * locale/programs/locale.c (print_version): Likewise.
23579 * locale/programs/localedef.c (print_version): Likewise.
23580 * login/programs/pt_chown.c (print_version): Likewise.
23581 * malloc/memusage.sh (do_version): Likewise.
23582 * malloc/memusagestat.c (print_version): Likewise.
23583 * malloc/mtrace.pl: Likewise.
23584 * manual/libc.texinfo: Likewise.
23585 * nptl/version.c (banner): Likewise.
23586 * nscd/nscd.c (print_version): Likewise.
23587 * nss/getent.c (print_version): Likewise.
23588 * nss/makedb.c (print_version): Likewise.
23589 * posix/getconf.c (main): Likewise.
23590 * scripts/test-installation.pl: Likewise.
23591 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23593 * All files with FSF copyright notices: Update copyright dates
23594 using scripts/update-copyrights.
23595 * locale/programs/charmap-kw.h: Regenerated.
23596 * locale/programs/locfile-kw.h: Likewise.
23598 2017-12-31 Zack Weinberg <zackw@panix.com>
23600 * libio/bits/libio-ldbl.h: Correct check for improper
23601 inclusion. Add own multiple include guard.
23603 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23604 Dmitry V. Levin <ldv@altlinux.org>
23608 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23609 string token expansion. Check for NULL pointer or empty string possibly
23610 returned by expand_dynamic_string_token.
23611 (decompose_rpath): Check for empty path after dynamic string
23614 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23617 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23619 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23620 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23621 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23622 and PTRACE_SYSCALL.
23623 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23624 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23628 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23630 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23631 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23632 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23633 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23635 bits/ptrace-shared.h.
23636 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23637 <bits/ptrace-shared.h>.
23638 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23639 __ptrace_peeksiginfo_flags, ptrace): Remove.
23640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23644 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23646 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23649 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23650 end of the loop. Improve comments.
23652 2017-12-29 Zack Weinberg <zackw@panix.com>
23655 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23656 might be set on success.
23658 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23661 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23662 is unchanged on success.
23664 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23666 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23668 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23669 expand_dynamic_string_token): Likewise.
23670 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23673 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23676 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23677 is set and name contains ':', and all code depending on these checks.
23679 2017-12-24 Zack Weinberg <zackw@panix.com>
23681 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23682 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23684 * libio/libio.h: Rename the original version of this file to
23685 libio/bits/libio.h. Error out if not included by stdio.h or the
23687 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23688 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23689 if not included by bits/libio.h or the stub _G_config.h.
23690 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23691 sysdeps/unix/sysv/linux/bits. Error out if not included by
23692 bits/libio.h or the stub _G_config.h.
23693 * libio/stdio.h: Include bits/libio.h, not libio.h.
23694 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23695 well as libio.h and _G_config.h.
23697 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23698 * libio/strfile.h, stdio-common/vfscanf.c
23699 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23700 Include stdio.h, not _G_config.h nor libio.h.
23701 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23702 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23704 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23706 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23709 * stdlib/getrandom.c (getrandom): Fix comment.
23710 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23712 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23715 * manual/arith.texi (strtoul): Fix a typo.
23718 * manual/arith.texi (finite): Fix the description of the return
23721 2017-12-22 Eric Blake <ebb9@byu.net>
23723 Avoid gcc warnings on cygwin
23724 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23725 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23726 Avoid unused variable.
23728 2017-12-22 Florian Weimer <fweimer@redhat.com>
23730 * io/Makefile (routines): Add copy_file_range.
23731 (tests): Add tst-copy_file_range.
23732 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23733 * io/Versions (GLIBC_2.27): Export copy_file_range.
23734 * io/copy_file_range-compat.c: New file.
23735 * io/copy_file_range.c: Likewise.
23736 * io/tst-copy_file_range-compat.c: Likewise.
23737 * io/tst-copy_file_range.c: Likewise.
23738 * manual/llio.texi (Copying File Data): New section.
23739 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23740 * support/Makefile (libsupport-routines): Add support-xfstat,
23741 xftruncate, xlseek.
23742 * support/support-xfstat.c: New file.
23743 * support/xftruncate.c: Likewise.
23744 * support/xlseek.c: Likewise.
23745 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23746 * sysdeps/unix/sysv/linux/**.abilist: Update.
23747 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23749 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23751 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23752 disable-multi-arch variant to aarch64-linux-gnu.
23754 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23756 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23757 trailing whitespace removed.
23758 * scripts/config.guess: Update to version 2017-12-17.
23759 * scripts/config.sub: Update to version 2017-11-23.
23760 * scripts/install-sh: Update to version 2017-09-23.17.
23761 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23763 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23765 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23766 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23767 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23768 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23769 * sysdeps/tile/crtn.S: Likewise.
23770 * sysdeps/tile/dl-start.S (_start): Likewise.
23771 * sysdeps/tile/dl-trampoline.S: Likewise.
23772 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23773 * sysdeps/tile/start.S (_start): Likewise.
23774 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23775 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23776 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23777 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23778 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23779 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23780 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23782 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23784 * sysdeps/tile/preconfigure: Remove tilegx folder.
23785 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23786 * sysdeps/tile/Implies: ... here.
23787 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23788 * sysdeps/tile/Makefile: ... here.
23789 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23790 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23791 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23792 * sysdeps/tile/bits/wordsize.h: ... here.
23793 * sysdeps/tile/tilegx/*: Move to ...
23794 * sysdeps/tile/*: ... here.
23795 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23796 * sysdeps/tile/tilegx32/Implies: ... here.
23797 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23798 * sysdeps/tile/tilegx64/Implies: ... here.
23799 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23801 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23802 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23803 * sysdeps/unix/sysv/linux/tile/*: ... here.
23804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23805 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23807 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23809 * README: Remove tilepro-*-linux-gnu from supported architecture.
23810 * scripts/build-many-glibcs.py: Likewise.
23811 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23812 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23813 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23814 elf_machine_matches_host, elf_machine_dynamic,
23815 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23816 howto, elf_machine_rela): Likewise.
23817 * sysdeps/tile/dl-start.S (_start): Likewise.
23818 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23819 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23820 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23821 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23822 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23823 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23825 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23826 * sysdeps/tile/preconfigure: Likewise.
23827 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23828 POINTER_CHK_GUARD): Likewise.
23829 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23830 * sysdeps/tile/start.S (_start): Likewise.
23831 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23833 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23834 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23836 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23837 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23838 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23840 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23841 * sysdeps/tile/tilepro/Implies: Remove file.
23842 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23843 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23844 * sysdeps/tile/tilepro/memchr.c: Likewise.
23845 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23846 * sysdeps/tile/tilepro/memset.c: Likewise.
23847 * sysdeps/tile/tilepro/memusage.h: Likewise.
23848 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23849 * sysdeps/tile/tilepro/strchr.c: Likewise.
23850 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23851 * sysdeps/tile/tilepro/strlen.c: Likewise.
23852 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23853 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23854 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23855 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23856 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23857 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23858 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23860 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23861 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23862 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23863 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23864 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23865 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23866 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23867 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23868 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23869 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23870 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23871 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23872 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23873 tilepro mention in comment.
23875 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23876 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23877 * nptl/pthread_join_common.c: New file: common function used on
23878 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23879 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23880 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23881 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23882 (cleanup): Move definition to pthread_join_common.c.
23883 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23884 Remove superflous checks.
23885 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23888 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23890 * sysdeps/aarch64/libm-test-ulps: Update.
23892 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23894 * sysdeps/aarch64/memset.S (MEMSET): Define.
23896 2017-12-20 Florian Weimer <fweimer@redhat.com>
23899 nptl: Provide full implementation of pthread_self in libc.so.
23900 * nptl/Makefile (routines): Add pthread_self.
23901 (libpthread-routines): Replace pthread_self with
23902 compat-pthread_self.
23903 * nptl/forward.c (pthread_self): Remove.
23904 * nptl/nptl-init.c (pthread_functions): Do not initialize
23906 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23907 * nptl/compat-pthread_self.c: New file.
23908 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23909 Remove ptr_pthread_self.
23911 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23913 * posix/regcomp.c: Fix spelling in comments.
23914 * posix/regex.h: Likewise.
23915 * posix/regex_internal.c: Likewise.
23916 * posix/regexec.c: Likewise.
23918 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23921 * math/Makefile [C++] (tests): Add test for iseqsig.
23922 * math/math.h [C++] (iseqsig): New implementation, which does
23923 not rely on __MATH_TG/__builtin_types_compatible_p.
23924 * math/test-math-iseqsig.cc: New file.
23925 * sysdeps/powerpc/powerpc64le/Makefile
23926 (CFLAGS-test-math-iseqsig.cc): New variable.
23928 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23930 * elf/dl-load.c (is_trusted_path): Remove.
23931 (fillin_rpath): Remove check_trusted argument and its use,
23932 all callers changed.
23934 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23937 * Makeconfig (link-pie-before-libc): Replace -pie with
23938 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23939 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23940 (tst-dlopen-aout-no-pie): New.
23941 (LDFLAGS-tst-prelink): Removed.
23942 (tst-prelink-no-pie): New.
23943 (LDFLAGS-tst-main1): Removed.
23944 (tst-main1-no-pie): New.
23945 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23946 (tst-gmon-no-pie): New.
23948 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23950 * manual/install.texi: Document that --enable-static-pie
23952 * INSTALL: Regenerated.
23954 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23957 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23960 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23964 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23968 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23970 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23971 <errno.h>. Include "eexp.tbl".
23972 (half): New constant.
23974 (__ieee754_exp): Rewrite.
23975 (__slowexp): Remove prototype.
23976 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23977 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23978 * sysdeps/i386/fpu/slowexp.c: Likewise.
23979 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23980 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23981 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23982 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23983 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23984 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23985 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23987 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23988 (CPPFLAGS-slowexp.c): Remove variable.
23989 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23990 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23991 (CFLAGS-slowexp-fma.c): Remove variable.
23992 (CFLAGS-slowexp-fma4.c): Likewise.
23993 (CFLAGS-slowexp-avx.c): Likewise.
23994 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23997 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23998 * math/Makefile (type-double-routines): Remove slowexp.
23999 * manual/probes.texi (slowexp_p6): Remove.
24000 (slowexp_p32): Likewise.
24002 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24004 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24007 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24009 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24013 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24015 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24016 <errno.h>. Include "eexp.tbl".
24017 (half): New constant.
24019 (__ieee754_exp): Rewrite.
24020 (__slowexp): Remove prototype.
24021 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24022 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24023 * sysdeps/i386/fpu/slowexp.c: Likewise.
24024 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24025 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24027 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24029 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24030 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24032 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24033 (CPPFLAGS-slowexp.c): Remove variable.
24034 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24035 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24036 (CFLAGS-slowexp-fma.c): Remove variable.
24037 (CFLAGS-slowexp-fma4.c): Likewise.
24038 (CFLAGS-slowexp-avx.c): Likewise.
24039 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24041 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24042 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24043 * math/Makefile (type-double-routines): Remove slowexp.
24044 * manual/probes.texi (slowexp_p6): Remove.
24045 (slowexp_p32): Likewise.
24047 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24048 James Clarke <jrtc27@jrtc27.com>
24051 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24054 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24057 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24060 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24063 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24064 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24065 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24066 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24069 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24072 * bits/types/__cancel_jmp_buf_tag.h: New file.
24073 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24074 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24075 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24076 * nptl/Makefile (headers): Add
24077 bits/types/__cancel_jmp_buf_tag.h.
24078 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24079 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24080 * sysdeps/nptl/pthread.h: Include
24081 <bits/types/__cancel_jmp_buf_tag.h>.
24082 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24084 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24086 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24088 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24089 --enable-static-pie variants to x86_64, x32 and i686.
24091 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24094 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24095 argument for attrubutes. All callers changed.
24096 (__inline_mathop1): Likewise. All callers changed.
24097 (__inline_mathop): Likewise. All callers changed.
24098 [__USE_MISC] (scalbn): Use __inline_forward instead of
24099 __inline_forward_c.
24100 [__USE_ISOC99] (scalbln): Likewise.
24101 [__USE_ISOC99] (nearbyint): Likewise.
24102 [__USE_ISOC99] (lrint): Likewise.
24103 [__USE_MISC] (scalbnf): Likewise.
24104 [__USE_ISOC99] (scalblnf): Likewise.
24105 [__USE_ISOC99] (nearbyintf): Likewise.
24106 [__USE_ISOC99] (lrintf): Likewise.
24107 [__USE_MISC] (scalbnl): Likewise.
24108 [__USE_ISOC99] (scalblnl): Likewise.
24109 [__USE_ISOC99] (nearbyintl): Likewise.
24110 [__USE_ISOC99] (lrintl): Likewise.
24111 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24112 __inline_mathop and __m81_defun changed.
24114 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24115 CPU or FPU for ARM hard-float configurations.
24117 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24119 * nptl/tst-attr3.c: Include <libc-diag.h>.
24120 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24122 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24124 * string/tester.c (test_strncat): Also disable -Warray-bounds
24125 warnings for two tests.
24127 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24130 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24131 $(cc-pie-default) == yes.
24132 * config.make.in (cc-pie-default): New.
24133 * configure.ac (libc_cv_pie_default): Renamed to ...
24134 (libc_cv_cc_pie_default): This.
24135 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24136 * configure: Regenerated.
24138 2017-12-18 Florian Weimer <fweimer@redhat.com>
24141 ld.so: Harden dl-libc/libdl hooks.
24142 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24143 (rtld_active): New function.
24144 * dlfcn/dladdr.c (__dladdr): Call it.
24145 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24146 * dlfcn/dlclose.c (__dlcose): Likewise.
24147 * dlfcn/dlerror.c (__dlerror): Likewise.
24148 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24149 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24150 * dlfcn/dlopen.c (__dlopen): Likewise.
24151 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24152 * dlfcn/dlsym.c (__dlsym): Likewise.
24153 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24154 * libio/vtables.c (_IO_vtable_check): Likewise.
24155 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24156 (__libc_dlclose): Likewise.
24157 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24160 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24163 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24164 buffers for readlink input and output.
24166 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24169 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24170 inhibit_stack_protector.
24173 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24174 inhibit_stack_protector.
24176 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24179 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24180 code and invocation.
24182 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24184 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24186 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24189 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24191 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24193 * sysdeps/s390/fpu/libm-test-ulps: Update.
24195 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24199 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24201 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24202 constants to s_sincosf.h file.
24203 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24204 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24206 * sysdeps/ieee754/flt-32/s_sincosf.h:
24209 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24212 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24215 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24218 * INSTALL: Regenerated.
24219 * Makeconfig (real-static-start-installed-name): New.
24220 (pic-default): Updated for --enable-static-pie.
24221 (pie-default): New for --enable-static-pie.
24222 (default-pie-ldflag): Likewise.
24223 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24224 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24225 Replace $(static-start-installed-name) with
24226 $(real-static-start-installed-name).
24227 (+prectorT): Updated for --enable-static-pie.
24228 (+postctorT): Likewise.
24229 (CFLAGS-.o): Add $(pie-default).
24230 (CFLAGS-.op): Likewise.
24231 * NEWS: Mention --enable-static-pie.
24232 * config.h.in (ENABLE_STATIC_PIE): New.
24233 * configure.ac (--enable-static-pie): New configure option.
24234 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24235 (have-static-pie): Likewise.
24236 Enable static PIE if linker supports --no-dynamic-linker.
24237 (ENABLE_STATIC_PIE): New AC_DEFINE.
24238 (enable-static-pie): New LIBC_CONFIG_VAR.
24239 * configure: Regenerated.
24240 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24241 gr$(start-installed-name) for --enable-static-pie.
24242 (extra-objs): Likewise.
24243 (install-lib): Likewise.
24244 (extra-objs): Add static-reloc.o and static-reloc.os
24245 ($(objpfx)$(start-installed-name)): Also depend on
24246 $(objpfx)static-reloc.o.
24247 ($(objpfx)r$(start-installed-name)): New.
24248 ($(objpfx)g$(start-installed-name)): Also depend on
24249 $(objpfx)static-reloc.os.
24250 ($(objpfx)gr$(start-installed-name)): New.
24251 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24253 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24255 * csu/static-reloc.c: New file.
24256 * elf/Makefile (routines): Add dl-reloc-static-pie.
24257 (elide-routines.os): Likewise.
24258 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24259 (tst-tls1-static-non-pie-no-pie): New.
24260 * elf/dl-reloc-static-pie.c: New file.
24261 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24262 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24263 STATIC_PIE_BOOTSTRAP.
24264 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24265 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24266 (tests-static): Likewise.
24267 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24268 (tst-gmon-static-no-pie): New.
24269 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24270 (CRT-tst-gmon-static-pie): Likewise.
24271 (tst-gmon-static-pie-ENV): Likewise.
24272 (tests-special): Likewise.
24273 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24274 (clean-tst-gmon-static-pie-data): Likewise.
24275 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24276 * gmon/tst-gmon-static-pie.c: New file.
24277 * manual/install.texi: Document --enable-static-pie.
24278 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24279 (_dl_get_dl_main_map): Likewise.
24280 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24281 * sysdeps/x86_64/configure.ac: Likewise.
24282 * sysdeps/i386/configure: Regenerated.
24283 * sysdeps/x86_64/configure: Likewise.
24284 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24285 (ASFLAGS-.op): Likewise.
24287 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24289 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24290 * posix/tst-mmap-offset.c (fname): Use /tmp.
24291 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24293 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24295 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24297 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24299 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24302 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24304 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24305 --with-float=hard for arm-linux-gnueabihf configurations.
24308 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24309 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24310 ($(mo-installed)): Use $(objpfx)%.mo.
24311 (realclean): Remove rule.
24313 * po/Makefile (linguas): Remove rule and dependencies.
24314 (linguas.mo): Likewise.
24315 (.PHONY): Do not depend on linguas and linguas.mo.
24316 (podir): Remove variable.
24317 (pofiles): Likewise.
24318 [$(pofiles)] (%.po): Remove rule.
24320 * sysdeps/sparc/sparc32/Makefile
24321 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24322 start-of-line whitespace in argument of echo.
24323 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24324 with whitespace. Generate __wrap_.udiv alias.
24325 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24326 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24327 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24328 * sysdeps/sparc/sparc32/urem.S: Likewise.
24330 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24332 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24333 for aligned inputs.
24335 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24337 * benchtests/bench-strcmp.c: Print output in JSON format.
24339 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24341 2017-12-14 Florian Weimer <fweimer@redhat.com>
24345 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24346 the expanded path string.
24348 2017-12-14 Florian Weimer <fweimer@redhat.com>
24352 * elf/dl-load.c (system_dirs): Update comment.
24353 (nsystem_dirs_len): Use array_length.
24354 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24356 2017-12-14 Florian Weimer <fweimer@redhat.com>
24358 Simplify compiling most of support/ outside of glibc.
24359 * support/check_addrinfo.c: Include <string.h>.
24360 * support/check_dns_packet.c: Likewise.
24361 * support/check_hostent.c: Likewise.
24362 * support/support_can_chroot.c: Include <support/xunistd.h>.
24363 * support/support_format_addrinfo.c: Include <stdlib.h>
24364 * support/support_format_dns_packet.c: Include <stdbool.h>.
24365 * support/support_format_hostent.c: Include <stdlib.h>.
24366 * support/support_format_netent.c: Likewise.
24367 * support/support_write_string.c: Include <support/xunistd.h>.
24368 * support/xdlfcn.c: Include <stddef.h>.
24370 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24372 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24374 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24375 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24377 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24378 (sysdeps_routines): Add memset-niagara7.
24379 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24383 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24384 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24385 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24386 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24387 Add niagara7 option.
24388 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24392 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24393 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24395 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24398 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24399 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24400 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24401 and __memmove_niagara7.
24402 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24403 Add niagara7 option.
24404 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24405 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24406 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24407 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24408 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24410 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24412 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24413 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24414 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24415 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24417 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24418 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24419 _dl_sparc_cap_flags array.
24420 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24422 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24424 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24425 time whenever possible.
24427 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24429 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24430 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24432 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24434 * soft-fp/fmadf4.c: Move to ....
24435 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24436 * soft-fp/fmasf4.c: Move to ....
24437 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24438 * soft-fp/fmatf4.c: Move to ....
24439 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24440 * sysdeps/ieee754/soft-fp/Makefile: New file.
24441 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24442 * sysdeps/arm/preconfigure: Regenerated.
24443 * sysdeps/arm/nofpu/Implies: New file.
24444 * sysdeps/arm/s_fma.c: Remove file.
24445 * sysdeps/arm/s_fmaf.c: Likewise.
24446 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24447 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24448 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24449 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24450 * sysdeps/microblaze/s_fma.c: Remove file.
24451 * sysdeps/microblaze/s_fmaf.c: Likewise.
24452 * sysdeps/mips/mips32/nofpu/Implies: New file.
24453 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24454 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24455 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24456 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24457 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24458 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24459 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24461 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24462 * sysdeps/nios2/s_fma.c: Remove file.
24463 * sysdeps/nios2/s_fmaf.c: Likewise.
24464 * sysdeps/sh/nofpu/Implies: New file.
24465 * sysdeps/sh/s_fma.c: Remove file.
24466 * sysdeps/sh/s_fmaf.c: Likewise.
24467 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24468 * sysdeps/tile/s_fma.c: Remove file.
24469 * sysdeps/tile/s_fmaf.c: Likewise.
24471 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24473 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24474 Add s_cosf-sse2 and s_cosf-fma.
24475 (CFLAGS-s_cosf-fma.c): New.
24476 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24477 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24478 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24480 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24482 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24484 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24486 * libio/Makefile (tests): Add tst-bz22415.
24487 (tst-bz22415-ENV): New rule.
24488 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24489 (tests-special): Add tst-bz22415-mem.out.
24490 ($(objpfx)tst-bz22415-mem.out): New rule.
24491 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24492 in case of a successful seek operation.
24493 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24494 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24495 buffer is required.
24496 * libio/tst-bz22415.c: New test.
24498 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24500 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24502 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24503 __IPC_64 to 0 to avoid IPC_64 being set.
24505 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24508 * math/bits/mathcalls.h (nextafter): Remove const.
24509 (nexttoward): Likewise.
24511 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24513 * configure.ac (--with-fp): Remove configure option.
24514 (with_fp_cond): New variable.
24515 (libc_cv_with_fp): New configure test. Use this variable instead
24517 * configure: Regenerated.
24518 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24519 * manual/install.texi (Configuring and compiling): Remove
24521 * INSTALL: Regenerated.
24522 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24523 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24524 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24525 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24526 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24527 use --without-fp to configure glibc.
24529 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24531 * manual/locale.texi (nl_langinfo): Fix a typo.
24533 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24536 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24538 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24540 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24541 (CFLAGS-argp-parse.c): Likewise.
24542 (CFLAGS-argp-fmtstream.c): Likewise.
24543 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24544 (CPPFLAGS-sha512-crypt.c): Likewise.
24545 (CPPFLAGS-md5-crypt.c): Likewise.
24546 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24547 (CFLAGS-stack_chk_fail_local.c): Likewise.
24548 (CFLAGS-backtrace.c): Likewise.
24549 (CFLAGS-sprintf_chk.c): Likewise.
24550 (CFLAGS-snprintf_chk.c): Likewise.
24551 (CFLAGS-vsprintf_chk.c): Likewise.
24552 (CFLAGS-vsnprintf_chk.c): Likewise.
24553 (CFLAGS-asprintf_chk.c): Likewise.
24554 (CFLAGS-vasprintf_chk.c): Likewise.
24555 (CFLAGS-obprintf_chk.c): Likewise.
24556 (CFLAGS-dprintf_chk.c): Likewise.
24557 (CFLAGS-vdprintf_chk.c): Likewise.
24558 (CFLAGS-printf_chk.c): Likewise.
24559 (CFLAGS-fprintf_chk.c): Likewise.
24560 (CFLAGS-vprintf_chk.c): Likewise.
24561 (CFLAGS-vfprintf_chk.c): Likewise.
24562 (CFLAGS-gets_chk.c): Likewise.
24563 (CFLAGS-fgets_chk.c): Likewise.
24564 (CFLAGS-fgets_u_chk.c): Likewise.
24565 (CFLAGS-fread_chk.c): Likewise.
24566 (CFLAGS-fread_u_chk.c): Likewise.
24567 (CFLAGS-swprintf_chk.c): Likewise.
24568 (CFLAGS-vswprintf_chk.c): Likewise.
24569 (CFLAGS-wprintf_chk.c): Likewise.
24570 (CFLAGS-fwprintf_chk.c): Likewise.
24571 (CFLAGS-vwprintf_chk.c): Likewise.
24572 (CFLAGS-vfwprintf_chk.c): Likewise.
24573 (CFLAGS-fgetws_chk.c): Likewise.
24574 (CFLAGS-fgetws_u_chk.c): Likewise.
24575 (CFLAGS-read_chk.c): Likewise.
24576 (CFLAGS-pread_chk.c): Likewise.
24577 (CFLAGS-pread64_chk.c): Likewise.
24578 (CFLAGS-recv_chk.c): Likewise.
24579 (CFLAGS-recvfrom_chk.c): Likewise.
24580 (CFLAGS-tst-longjmp_chk.c): Likewise.
24581 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24582 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24583 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24584 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24585 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24586 (CFLAGS-tst-chk1.c): Likewise.
24587 (CFLAGS-tst-chk2.c): Likewise.
24588 (CFLAGS-tst-chk3.c): Likewise.
24589 (CFLAGS-tst-chk4.cc): Likewise.
24590 (CFLAGS-tst-chk5.cc): Likewise.
24591 (CFLAGS-tst-chk6.cc): Likewise.
24592 (CFLAGS-tst-lfschk1.c): Likewise.
24593 (CFLAGS-tst-lfschk2.c): Likewise.
24594 (CFLAGS-tst-lfschk3.c): Likewise.
24595 (CFLAGS-tst-lfschk4.cc): Likewise.
24596 (CFLAGS-tst-lfschk5.cc): Likewise.
24597 (CFLAGS-tst-lfschk6.cc): Likewise.
24598 (CFLAGS-tst-ssp-1.c): Likewise.
24599 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24600 (CFLAGS-scandir64.c): Likewise.
24601 (CFLAGS-scandir-tail.c): Likewise.
24602 (CFLAGS-scandir64-tail.c): Likewise.
24603 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24604 (CFLAGS-dl-tunables.c): Likewise.
24605 (CFLAGS-dl-runtime.c): Likewise.
24606 (CFLAGS-dl-lookup.c): Likewise.
24607 (CFLAGS-dl-iterate-phdr.c): Likewise.
24608 (CFLAGS-vismain.c): Likewise.
24609 (CFLAGS-tst-linkall-static.c): Likewise.
24610 (CFLAGS-tst-linkall-static.c): Likewise.
24611 (CPPFLAGS-dl-load.c): Likewise.
24612 (CFLAGS-ldconfig.c): Likewise.
24613 (CFLAGS-dl-cache.c): Likewise.
24614 (CFLAGS-cache.c): Likewise.
24615 (CFLAGS-rtld.c): Likewise.
24616 (CFLAGS-multiload.c): Likewise.
24617 (CFLAGS-filtmod1.c): Likewise.
24618 (CFLAGS-tst-align.c): Likewise.
24619 (CFLAGS-tst-align2.c): Likewise.
24620 (CFLAGS-tst-alignmod.c): Likewise.
24621 (CFLAGS-tst-alignmod2.c): Likewise.
24622 (CPPFLAGS-tst-execstack.c): Likewise.
24623 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24624 (CFLAGS-tst-latepthreadmod.c): Likewise.
24625 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24626 (CFLAGS-getgrnam_r.c): Likewise.
24627 (CFLAGS-getgrent_r.c): Likewise.
24628 (CFLAGS-getgrent.c): Likewise.
24629 (CFLAGS-fgetgrent.c): Likewise.
24630 (CFLAGS-fgetgrent_r.c): Likewise.
24631 (CFLAGS-putgrent.c): Likewise.
24632 (CFLAGS-initgroups.c): Likewise.
24633 (CFLAGS-getgrgid.c): Likewise.
24634 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24635 (CFLAGS-getsgent.c): Likewise.
24636 (CFLAGS-fgetsgent.c): Likewise.
24637 (CFLAGS-fgetsgent_r.c): Likewise.
24638 (CFLAGS-putsgent.c): Likewise.
24639 (CFLAGS-getsgnam.c): Likewise.
24640 (CFLAGS-getsgnam_r.c): Likewise.
24641 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24642 (CFLAGS-iconv_charmap.c): Likewise.
24643 (CFLAGS-dummy-repertoire.c): Likewise.
24644 (CFLAGS-charmap.c): Likewise.
24645 (CFLAGS-linereader.c): Likewise.
24646 (CFLAGS-simple-hash.c): Likewise.
24647 (CFLAGS-gconv_conf.c): Likewise.
24648 (CFLAGS-iconvconfig.c): Likewise.
24649 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24650 (CFLAGS-gethstbyad.c): Likewise.
24651 (CFLAGS-gethstbynm_r.c): Likewise.
24652 (CFLAGS-gethstbynm.c): Likewise.
24653 (CFLAGS-gethstbynm2_r.c): Likewise.
24654 (CFLAGS-gethstbynm2.c): Likewise.
24655 (CFLAGS-gethstent_r.c): Likewise.
24656 (CFLAGS-gethstent.c): Likewise.
24657 (CFLAGS-rcmd.c): Likewise.
24658 (CFLAGS-getnetbynm_r.c): Likewise.
24659 (CFLAGS-getnetbynm.c): Likewise.
24660 (CFLAGS-getnetbyad_r.c): Likewise.
24661 (CFLAGS-getnetbyad.c): Likewise.
24662 (CFLAGS-getnetent_r.c): Likewise.
24663 (CFLAGS-getnetent.c): Likewise.
24664 (CFLAGS-getaliasent_r.c): Likewise.
24665 (CFLAGS-getaliasent.c): Likewise.
24666 (CFLAGS-getrpcent_r.c): Likewise.
24667 (CFLAGS-getrpcent.c): Likewise.
24668 (CFLAGS-getservent_r.c): Likewise.
24669 (CFLAGS-getservent.c): Likewise.
24670 (CFLAGS-getprtent_r.c): Likewise.
24671 (CFLAGS-getprtent.c): Likewise.
24672 (CFLAGS-either_ntoh.c): Likewise.
24673 (CFLAGS-either_hton.c): Likewise.
24674 (CFLAGS-getnetgrent.c): Likewise.
24675 (CFLAGS-getnetgrent_r.c): Likewise.
24676 (CFLAGS-tst-checks-posix.c): Likewise.
24677 (CFLAGS-tst-sockaddr.c): Likewise.
24678 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24679 (CFLAGS-tst-translit.c): Likewise.
24680 (CFLAGS-tst-gettext2.c): Likewise.
24681 (CFLAGS-tst-codeset.c): Likewise.
24682 (CFLAGS-tst-gettext3.c): Likewise.
24683 (CFLAGS-tst-gettext4.c): Likewise.
24684 (CFLAGS-tst-gettext5.c): Likewise.
24685 (CFLAGS-tst-gettext6.c): Likewise.
24686 * io/Makefile (CFLAGS-open.c): Likewise.
24687 (CFLAGS-open64.c): Likewise.
24688 (CFLAGS-creat.c): Likewise.
24689 (CFLAGS-creat64.c): Likewise.
24690 (CFLAGS-fcntl.c): Likewise.
24691 (CFLAGS-poll.c): Likewise.
24692 (CFLAGS-ppoll.c): Likewise.
24693 (CFLAGS-lockf.c): Likewise.
24694 (CFLAGS-statfs.c): Likewise.
24695 (CFLAGS-fstatfs.c): Likewise.
24696 (CFLAGS-statvfs.c): Likewise.
24697 (CFLAGS-fstatvfs.c): Likewise.
24698 (CFLAGS-fts.c): Likewise.
24699 (CFLAGS-fts64.c): Likewise.
24700 (CFLAGS-ftw.c): Likewise.
24701 (CFLAGS-ftw64.c): Likewise.
24702 (CFLAGS-lockf.c): Likewise.
24703 (CFLAGS-posix_fallocate.c): Likewise.
24704 (CFLAGS-posix_fallocate64.c): Likewise.
24705 (CFLAGS-fallocate.c): Likewise.
24706 (CFLAGS-fallocate64.c): Likewise.
24707 (CFLAGS-read.c): Likewise.
24708 (CFLAGS-write.c): Likewise.
24709 (CFLAGS-test-stat.c): Likewise.
24710 (CFLAGS-test-lfs.c): Likewise.
24711 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24712 (CFLAGS-fputc.c): Likewise.
24713 (CFLAGS-fputwc.c): Likewise.
24714 (CFLAGS-freopen64.c): Likewise.
24715 (CFLAGS-freopen.c): Likewise.
24716 (CFLAGS-fseek.c): Likewise.
24717 (CFLAGS-fseeko64.c): Likewise.
24718 (CFLAGS-fseeko.c): Likewise.
24719 (CFLAGS-ftello64.c): Likewise.
24720 (CFLAGS-ftello.c): Likewise.
24721 (CFLAGS-fwide.c): Likewise.
24722 (CFLAGS-genops.c): Likewise.
24723 (CFLAGS-getc.c): Likewise.
24724 (CFLAGS-getchar.c): Likewise.
24725 (CFLAGS-getwc.c): Likewise.
24726 (CFLAGS-getwchar.c): Likewise.
24727 (CFLAGS-iofclose.c): Likewise.
24728 (CFLAGS-iofflush.c): Likewise.
24729 (CFLAGS-iofgetpos64.c): Likewise.
24730 (CFLAGS-iofgetpos.c): Likewise.
24731 (CFLAGS-iofgets.c): Likewise.
24732 (CFLAGS-iofgetws.c): Likewise.
24733 (CFLAGS-iofputs.c): Likewise.
24734 (CFLAGS-iofputws.c): Likewise.
24735 (CFLAGS-iofread.c): Likewise.
24736 (CFLAGS-iofsetpos64.c): Likewise.
24737 (CFLAGS-iofsetpos.c): Likewise.
24738 (CFLAGS-ioftell.c): Likewise.
24739 (CFLAGS-iofwrite.c): Likewise.
24740 (CFLAGS-iogetdelim.c): Likewise.
24741 (CFLAGS-iogetline.c): Likewise.
24742 (CFLAGS-iogets.c): Likewise.
24743 (CFLAGS-iogetwline.c): Likewise.
24744 (CFLAGS-ioputs.c): Likewise.
24745 (CFLAGS-ioseekoff.c): Likewise.
24746 (CFLAGS-ioseekpos.c): Likewise.
24747 (CFLAGS-iosetbuffer.c): Likewise.
24748 (CFLAGS-iosetvbuf.c): Likewise.
24749 (CFLAGS-ioungetc.c): Likewise.
24750 (CFLAGS-ioungetwc.c): Likewise.
24751 (CFLAGS-oldfileops.c): Likewise.
24752 (CFLAGS-oldiofclose.c): Likewise.
24753 (CFLAGS-oldiofgetpos64.c): Likewise.
24754 (CFLAGS-oldiofgetpos.c): Likewise.
24755 (CFLAGS-oldiofsetpos64.c): Likewise.
24756 (CFLAGS-oldiofsetpos.c): Likewise.
24757 (CFLAGS-peekc.c): Likewise.
24758 (CFLAGS-putc.c): Likewise.
24759 (CFLAGS-putchar.c): Likewise.
24760 (CFLAGS-putwc.c): Likewise.
24761 (CFLAGS-putwchar.c): Likewise.
24762 (CFLAGS-rewind.c): Likewise.
24763 (CFLAGS-wfileops.c): Likewise.
24764 (CFLAGS-wgenops.c): Likewise.
24765 (CFLAGS-oldiofopen.c): Likewise.
24766 (CFLAGS-iofopen.c): Likewise.
24767 (CFLAGS-iofopen64.c): Likewise.
24768 (CFLAGS-oldtmpfile.c): Likewise.
24769 (CFLAGS-tst_putwc.c): Likewise.
24770 * locale/Makefile (CFLAGS-md5.c): Likewise.
24771 (CFLAGS-charmap.c): Likewise.
24772 (CFLAGS-locfile.c): Likewise.
24773 (CFLAGS-charmap-dir.c): Likewise.
24774 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24775 (CFLAGS-getpt.c): Likewise.
24776 (CFLAGS-pt_chown.c): Likewise.
24777 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24778 (CFLAGS-obstack.c): Likewise.
24779 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24780 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24781 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24782 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24783 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24784 (CFLAGS-test-tgmath.c): Likewise.
24785 (CFLAGS-test-tgmath2.c): Likewise.
24786 (CFLAGS-test-tgmath-ret.c): Likewise.
24787 (CFLAGS-test-powl.c): Likewise.
24788 (CFLAGS-test-snan.c): Likewise.
24789 (CFLAGS-test-signgam-finite.c): Likewise.
24790 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24791 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24792 (CFLAGS-test-signgam-uchar.c): Likewise.
24793 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24794 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24795 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24796 (CFLAGS-test-signgam-uint.c): Likewise.
24797 (CFLAGS-test-signgam-uint-init.c): Likewise.
24798 (CFLAGS-test-signgam-uint-static.c): Likewise.
24799 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24800 (CFLAGS-test-signgam-ullong.c): Likewise.
24801 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24802 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24803 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24804 (CFLAGS-test-math-cxx11.cc): Likewise.
24805 (CFLAGS-test-math-isinff.cc): Likewise.
24806 (CFLAGS-test-math-iszero.cc): Likewise.
24807 (CFLAGS-test-math-issignaling.cc): Likewise.
24808 (CFLAGS-test-math-iscanonical.cc): Likewise.
24809 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24810 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24811 (CFLAGS-test-flt-eval-method.c): Likewise.
24812 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24813 (CFLAGS-test-finite-macros.c): Likewise.
24814 * misc/Makefile (CFLAGS-select.c): Likewise.
24815 (CFLAGS-tsearch.c): Likewise.
24816 (CFLAGS-lsearch.c): Likewise.
24817 (CFLAGS-pselect.c): Likewise.
24818 (CFLAGS-readv.c): Likewise.
24819 (CFLAGS-writev.c): Likewise.
24820 (CFLAGS-preadv.c): Likewise.
24821 (CFLAGS-preadv64.c): Likewise.
24822 (CFLAGS-pwritev.c): Likewise.
24823 (CFLAGS-pwritev64.c): Likewise.
24824 (CFLAGS-preadv2.c): Likewise.
24825 (CFLAGS-preadv64v2.c): Likewise.
24826 (CFLAGS-pwritev2.c): Likewise.
24827 (CFLAGS-pwritev64v2.c): Likewise.
24828 (CFLAGS-usleep.c): Likewise.
24829 (CFLAGS-syslog.c): Likewise.
24830 (CFLAGS-error.c): Likewise.
24831 (CFLAGS-getpass.c): Likewise.
24832 (CFLAGS-mkstemp.c): Likewise.
24833 (CFLAGS-mkstemp64.c): Likewise.
24834 (CFLAGS-getsysstats.c): Likewise.
24835 (CFLAGS-getusershell.c): Likewise.
24836 (CFLAGS-err.c): Likewise.
24837 (CFLAGS-tst-tsearch.c): Likewise.
24838 (CFLAGS-msync.c): Likewise.
24839 (CFLAGS-fdatasync.c): Likewise.
24840 (CFLAGS-fsync.c): Likewise.
24841 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24842 (CFLAGS-unwind.c): Likewise.
24843 (CFLAGS-unwind-forcedunwind.c): Likewise.
24844 (CFLAGS-pthread_cancel.c): Likewise.
24845 (CFLAGS-pthread_setcancelstate.c): Likewise.
24846 (CFLAGS-pthread_setcanceltype.c): Likewise.
24847 (CFLAGS-cancellation.c): Likewise.
24848 (CFLAGS-libc-cancellation.c): Likewise.
24849 (CFLAGS-pthread_exit.c): Likewise.
24850 (CFLAGS-forward.c): Likewise.
24851 (CFLAGS-pthread_testcancel.c): Likewise.
24852 (CFLAGS-pthread_join.c): Likewise.
24853 (CFLAGS-pthread_timedjoin.c): Likewise.
24854 (CFLAGS-pthread_once.c): Likewise.
24855 (CFLAGS-pthread_cond_wait.c): Likewise.
24856 (CFLAGS-sem_wait.c): Likewise.
24857 (CFLAGS-sem_timedwait.c): Likewise.
24858 (CFLAGS-fcntl.c): Likewise.
24859 (CFLAGS-lockf.c): Likewise.
24860 (CFLAGS-pread.c): Likewise.
24861 (CFLAGS-pread64.c): Likewise.
24862 (CFLAGS-pwrite.c): Likewise.
24863 (CFLAGS-pwrite64.c): Likewise.
24864 (CFLAGS-wait.c): Likewise.
24865 (CFLAGS-waitpid.c): Likewise.
24866 (CFLAGS-sigwait.c): Likewise.
24867 (CFLAGS-msgrcv.c): Likewise.
24868 (CFLAGS-msgsnd.c): Likewise.
24869 (CFLAGS-tcdrain.c): Likewise.
24870 (CFLAGS-open.c): Likewise.
24871 (CFLAGS-open64.c): Likewise.
24872 (CFLAGS-pause.c): Likewise.
24873 (CFLAGS-recv.c): Likewise.
24874 (CFLAGS-send.c): Likewise.
24875 (CFLAGS-accept.c): Likewise.
24876 (CFLAGS-sendto.c): Likewise.
24877 (CFLAGS-connect.c): Likewise.
24878 (CFLAGS-recvfrom.c): Likewise.
24879 (CFLAGS-recvmsg.c): Likewise.
24880 (CFLAGS-sendmsg.c): Likewise.
24881 (CFLAGS-close.c): Likewise.
24882 (CFLAGS-read.c): Likewise.
24883 (CFLAGS-write.c): Likewise.
24884 (CFLAGS-nanosleep.c): Likewise.
24885 (CFLAGS-sigsuspend.c): Likewise.
24886 (CFLAGS-msync.c): Likewise.
24887 (CFLAGS-fdatasync.c): Likewise.
24888 (CFLAGS-fsync.c): Likewise.
24889 (CFLAGS-pt-system.c): Likewise.
24890 (CFLAGS-tst-cleanup2.c): Likewise.
24891 (CFLAGS-tst-cleanupx2.c): Likewise.
24892 (CFLAGS-flockfile.c): Likewise.
24893 (CFLAGS-ftrylockfile.c): Likewise.
24894 (CFLAGS-funlockfile.c): Likewise.
24895 (CFLAGS-tst-initializers1.c): Likewise.
24896 (CFLAGS-tst-initializers1-c89.c): Likewise.
24897 (CFLAGS-tst-initializers1-c99.c): Likewise.
24898 (CFLAGS-tst-initializers1-c11.c): Likewise.
24899 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24900 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24901 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24902 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24903 (CFLAGS-nscd_getgr_r.c): Likewise.
24904 (CFLAGS-nscd_gethst_r.c): Likewise.
24905 (CFLAGS-nscd_getai.c): Likewise.
24906 (CFLAGS-nscd_initgroups.c): Likewise.
24907 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24908 (CFLAGS-pause.c): Likewise.
24909 (CFLAGS-pread.c): Likewise.
24910 (CFLAGS-pread64.c): Likewise.
24911 (CFLAGS-pwrite.c): Likewise.
24912 (CFLAGS-pwrite64.c): Likewise.
24913 (CFLAGS-sleep.c): Likewise.
24914 (CFLAGS-wait.c): Likewise.
24915 (CFLAGS-waitid.c): Likewise.
24916 (CFLAGS-waitpid.c): Likewise.
24917 (CFLAGS-getopt.c): Likewise.
24918 (CFLAGS-wordexp.c): Likewise.
24919 (CFLAGS-sysconf.c): Likewise.
24920 (CFLAGS-pathconf.c): Likewise.
24921 (CFLAGS-fpathconf.c): Likewise.
24922 (CFLAGS-spawn.c): Likewise.
24923 (CFLAGS-spawnp.c): Likewise.
24924 (CFLAGS-spawni.c): Likewise.
24925 (CFLAGS-glob.c): Likewise.
24926 (CFLAGS-glob64.c): Likewise.
24927 (CFLAGS-getconf.c): Likewise.
24928 (CFLAGS-nanosleep.c): Likewise.
24929 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24930 (CFLAGS-getpwent.c): Likewise.
24931 (CFLAGS-getpw.c): Likewise.
24932 (CFLAGS-fgetpwent_r.c): Likewise.
24933 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24934 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24935 (CFLAGS-mq_timedreceive.c): Likewise.
24936 (CFLAGS-mq_timedsend.c): Likewise.
24937 (CFLAGS-clock_nanosleep.c): Likewise.
24938 (CFLAGS-librt-cancellation.c): Likewise.
24939 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24940 (CFLAGS-getspent.c): Likewise.
24941 (CFLAGS-fgetspent.c): Likewise.
24942 (CFLAGS-fgetspent_r.c): Likewise.
24943 (CFLAGS-putspent.c): Likewise.
24944 (CFLAGS-getspnam.c): Likewise.
24945 (CFLAGS-getspnam_r.c): Likewise.
24946 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24947 (CFLAGS-sigsuspend.c): Likewise.
24948 (CFLAGS-sigtimedwait.c): Likewise.
24949 (CFLAGS-sigwait.c): Likewise.
24950 (CFLAGS-sigwaitinfo.c): Likewise.
24951 (CFLAGS-sigreturn.c): Likewise.
24952 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24953 (CFLAGS-vfwprintf.c): Likewise.
24954 (CFLAGS-tmpfile.c): Likewise.
24955 (CFLAGS-tmpfile64.c): Likewise.
24956 (CFLAGS-tempname.c): Likewise.
24957 (CFLAGS-psignal.c): Likewise.
24958 (CFLAGS-vprintf.c): Likewise.
24959 (CFLAGS-cuserid.c): Likewise.
24960 (CFLAGS-errlist.c): Likewise.
24961 (CFLAGS-siglist.c): Likewise.
24962 (CFLAGS-scanf15.c): Likewise.
24963 (CFLAGS-scanf17.c): Likewise.
24964 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24965 (CFLAGS-msort.c): Likewise.
24966 (CFLAGS-qsort.c): Likewise.
24967 (CFLAGS-system.c): Likewise.
24968 (CFLAGS-fmtmsg.c): Likewise.
24969 (CFLAGS-strfmon.c): Likewise.
24970 (CFLAGS-strfmon_l.c): Likewise.
24971 (CFLAGS-strfromd.c): Likewise.
24972 (CFLAGS-strfromf.c): Likewise.
24973 (CFLAGS-strfroml.c): Likewise.
24974 (CFLAGS-tst-bsearch.c): Likewise.
24975 (CFLAGS-tst-qsort.c): Likewise.
24976 (CFLAGS-tst-makecontext2.c): Likewise.
24977 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24978 (CFLAGS-xnlm_prot.c): Likewise.
24979 (CFLAGS-xrstat.c): Likewise.
24980 (CFLAGS-xyppasswd.c): Likewise.
24981 (CFLAGS-xklm_prot.c): Likewise.
24982 (CFLAGS-xrex.c): Likewise.
24983 (CFLAGS-xsm_inter.c): Likewise.
24984 (CFLAGS-xmount.c): Likewise.
24985 (CFLAGS-xrusers.c): Likewise.
24986 (CFLAGS-xspray.c): Likewise.
24987 (CFLAGS-xnfs_prot.c): Likewise.
24988 (CFLAGS-xrquota.c): Likewise.
24989 (CFLAGS-xkey_prot.c): Likewise.
24990 (CFLAGS-auth_unix.c): Likewise.
24991 (CFLAGS-key_call.c): Likewise.
24992 (CFLAGS-pmap_rmt.c): Likewise.
24993 (CFLAGS-clnt_perr.c): Likewise.
24994 (CFLAGS-openchild.c): Likewise.
24995 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24996 (CFLAGS-msgsnd.c): Likewise.
24997 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24998 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24999 (CFLAGS-tzset.c): Likewise.
25000 (CFLAGS-getdate.c): Likewise.
25001 (CFLAGS-test_time.c): Likewise.
25002 (CPPFLAGS-tst-tzname.c): Likewise.
25003 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25004 (CFLAGS-zic.c): Likewise.
25005 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25006 (CFLAGS-wcswidth.c): Likewise.
25007 (CFLAGS-wcstol.c): Likewise.
25008 (CFLAGS-wcstoul.c): Likewise.
25009 (CFLAGS-wcstoll.c): Likewise.
25010 (CFLAGS-wcstoull.c): Likewise.
25011 (CFLAGS-wcstod.c): Likewise.
25012 (CFLAGS-wcstold.c): Likewise.
25013 (CFLAGS-wcstof128.c): Likewise.
25014 (CFLAGS-wcstof.c): Likewise.
25015 (CFLAGS-wcstol_l.c): Likewise.
25016 (CFLAGS-wcstoul_l.c): Likewise.
25017 (CFLAGS-wcstoll_l.c): Likewise.
25018 (CFLAGS-wcstoull_l.c): Likewise.
25019 (CFLAGS-wcstod_l.c): Likewise.
25020 (CFLAGS-wcstold_l.c): Likewise.
25021 (CFLAGS-wcstof128_l.c): Likewise.
25022 (CFLAGS-wcstof_l.c): Likewise.
25023 (CPPFLAGS-tst-wchar-h.c): Likewise.
25024 (CPPFLAGS-wcstold_l.c): Likewise.
25026 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25028 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25030 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25031 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25033 * manual/tunables.texi (Hardware Capability Tunables): Document
25034 glibc.tune.cached_memopt.
25035 * sysdeps/powerpc/cpu-features.c: New file.
25036 * sysdeps/powerpc/cpu-features.h: New file.
25037 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25038 _dl_powerpc_cpu_features.
25039 * sysdeps/powerpc/dl-tunables.list: New file.
25040 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25041 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25042 (INIT_ARCH): Initialize use_aligned_memopt.
25043 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25044 IS_IN(rtld))]: Restrict dl_platform_init availability and
25045 initialize CPU features used by tunables.
25046 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25047 Add memcpy-power8-cached.
25048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25049 __memcpy_power8_cached.
25050 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25054 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25056 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25057 (CFLAGS-noinl-tester.c): Likewise.
25058 (CFLAGS-tst-strlen.c): Likewise.
25059 (CFLAGS-stratcliff.c): Likewise.
25060 (CFLAGS-test-ffs.c): Likewise.
25061 (CFLAGS-tst-inlcall.c): Likewise.
25062 (CFLAGS-tst-xbzero-opt.c): Likewise.
25063 (CFLAGS-memcpy.c): Likewise.
25064 (CFLAGS-wordcopy.c): Likewise.
25066 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25068 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25069 Store r15 on stack and add cfi rule.
25070 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25073 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25076 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25079 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25082 Add s_sinf-sse2 and s_sinf-fma.
25083 (CFLAGS-s_sinf-fma.c): New.
25084 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25085 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25086 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25088 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25090 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25092 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25095 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25096 part of result to imaginary part of argument if it is zero and the
25097 real part of the argument is not finite.
25098 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25099 of result to real part of argument if it is zero and the imaginary
25100 part of the argument is not finite.
25102 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25105 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25106 and to the list of locales to be built for testing.
25107 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25108 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25109 and build the collation rules upon that.
25111 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25113 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25114 * manual/math.texi (Mathematics): Document support for _Float32.
25115 * math/Makefile (test-types): Add float32.
25116 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25117 * stdlib/Versions (GLIBC_2.27): Likewise.
25118 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25119 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25120 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25121 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25122 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25123 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25124 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25125 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25126 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25127 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25128 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25135 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25136 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25138 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25139 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25141 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25163 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25164 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25166 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25167 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25168 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25169 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25170 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25171 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25172 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25181 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25182 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25184 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25187 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25188 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25190 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25192 * stdlib/strtof.c: Include <bits/floatn.h>
25193 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25194 and later undefine as macro. Define as weak alias if
25196 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25197 and later undefine as macro. Define as weak alias if
25199 * stdlib/strtof_l.c: Include <bits/floatn.h>
25200 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25201 and later undefine as macro. Define as weak alias if
25203 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25204 and later undefine as macro. Define as weak alias if
25207 * stdlib/strfromf.c: Include <bits/floatn.h>.
25208 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25209 and later undefine as macro and define as weak alias.
25211 * math/test-float32.h: New file.
25213 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25214 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25215 (libm_alias_float_other_r): Create f32 alias.
25216 (libm_alias_float_r): Use semicolon before call to
25217 libm_alias_float_other_r.
25219 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25220 second argument to libm_alias_float_other.
25221 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25222 second argument to libm_alias_float_other.
25223 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25224 argument to libm_alias_float_other.
25227 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25228 real part of result for argument 0 + i * NaN.
25229 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25230 results for tests of 0 + i * NaN.
25232 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25234 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25236 2017-12-06 David S. Miller <davem@davemloft.net>
25238 * sysdeps/sparc/fpu/libm-test-ulps: Update
25239 exp_{downward,towardzero,upward} ulps.
25241 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25243 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25246 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25248 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25250 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25252 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25255 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25258 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25259 and to the list of locales to be built for testing.
25260 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25261 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25262 and build the collation rules upon that.
25264 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25266 * NEWS: Add sinf to list of optimized functions.
25268 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25270 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25271 (__HAVE_FLOAT32X): Likewise.
25272 * manual/math.texi (Mathematics): Document support for _Float64
25274 * math/Makefile (test-types): Add float64 and float32x.
25275 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25277 * stdlib/Versions (GLIBC_2.27): Likewise.
25278 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25279 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25281 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25282 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25283 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25285 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25287 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25288 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25328 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25330 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25331 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25340 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25346 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25347 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25349 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25351 * bits/floatn-common.h: Include <bits/long-double.h>.
25352 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25353 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25354 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25355 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25356 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25357 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25358 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25359 (__builtin_huge_valf64): Use __builtin_huge_vall.
25360 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25361 (__builtin_inff64): Use __builtin_infl.
25362 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25363 (__builtin_nanf64): Use __builtin_nanl.
25364 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25365 (__builtin_nansf64): Use __builtin_nansl.
25367 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25368 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25369 Carlos O'Donell <carlos@redhat.com>
25371 * elf/dl-tunables.list: Add elision parameters.
25372 * manual/tunables.texi: Add entries about elision tunable.
25373 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25374 Add callback functions to dynamically enable/disable elision.
25375 Add multiple callbacks functions to set elision parameters.
25376 Deleted __libc_enable_secure check.
25377 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25378 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25379 * configure: Regenerated.
25380 * configure.ac: Option enable_lock_elision was deleted.
25381 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25382 * config.make.in: Remove references to enable_lock_elision.
25383 * manual/install.texi: Elision configure option was removed.
25384 * INSTALL: Regenerated to remove enable_lock_elision.
25386 Disable elision so it can verify error case for destroying a mutex.
25387 * sysdeps/powerpc/nptl/elide.h:
25388 Cleanup ENABLE_LOCK_ELISION check.
25389 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25390 * sysdeps/s390/configure: Regenerated.
25391 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25392 * nptl/tst-mutex8.c:
25393 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25394 * sysdeps/powerpc/powerpc32/sysdep.h:
25395 Deleted all ENABLE_LOCK_ELISION checks.
25396 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25397 * sysdeps/powerpc/sysdep.h: Likewise.
25398 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25399 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25400 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25401 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25402 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25404 enable-lock-elision.
25406 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25408 * stdlib/strtod.c: Include <bits/floatn.h>.
25409 (BUILD_DOUBLE): New macro.
25410 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25411 (strtof64): Define and later undefine as macro. Define as weak
25412 alias if [!USE_WIDE_CHAR].
25413 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25414 (wcstof64): Define and later undefine as macro. Define as weak
25415 alias if [USE_WIDE_CHAR].
25416 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25417 (strtof32x): Define and later undefine as macro. Define as weak
25418 alias if [!USE_WIDE_CHAR].
25419 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25420 (wcstof32x): Define and later undefine as macro. Define as weak
25421 alias if [USE_WIDE_CHAR].
25422 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25423 (BUILD_DOUBLE): New macro.
25424 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25425 (strtof64_l): Define and later undefine as macro. Define as weak
25426 alias if [!USE_WIDE_CHAR].
25427 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25428 (wcstof64_l): Define and later undefine as macro. Define as weak
25429 alias if [USE_WIDE_CHAR].
25430 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25431 (strtof32x_l): Define and later undefine as macro. Define as weak
25432 alias if [!USE_WIDE_CHAR].
25433 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25434 (wcstof32x_l): Define and later undefine as macro. Define as weak
25435 alias if [USE_WIDE_CHAR].
25437 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25439 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25440 (reduced): Use ones as double instead of integer.
25442 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25444 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25446 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25448 * stdlib/strfromd.c: Include <bits/floatn.h>.
25449 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25450 and later undefine as macro and define as weak alias.
25451 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25454 * math/test-float32x.h: New file.
25455 * math/test-float64.h: Likewise.
25457 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25458 (libm_alias_double_other_r_f64): New macro.
25459 (libm_alias_double_other_r_f32x): Likewise.
25460 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25461 libm_alias_double_other_r_f32x.
25462 (libm_alias_double_r): Use semicolon before call to
25463 libm_alias_double_other_r.
25464 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25466 (libm_alias_double_other_r_f64): New macro.
25467 (libm_alias_double_other_r_f32x): Likewise.
25468 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25469 libm_alias_double_other_r_f32x.
25471 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25473 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25475 (SINF_FUNC): Likewise. Replace floor with simple casts.
25477 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25480 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25481 and to the list of locales to be built for testing.
25482 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25483 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25484 and build the collation rules upon that.
25486 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25488 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25489 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25490 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25491 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25492 instead of __insn__xxx.
25493 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25494 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25495 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25496 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25497 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25498 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25500 2017-12-05 Florian Weimer <fweimer@redhat.com>
25502 Linux: Implement interfaces for memory protection keys
25503 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25505 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25506 * support/xunistd.h (xsysconf): Declare.
25507 * support/xraise.c: New file.
25508 * support/xsigaction.c: Likewise.
25509 * support/xsignal.c: Likewise.
25510 * support/xsysconf.c: Likewise.
25511 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25512 pkey_set, pkey_get, pkey_mprotect.
25513 [misc] (tests): Add tst-pkey.
25514 (tst-pkey): Link with -lpthread.
25515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25516 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25517 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25518 (PKEY_DISABLE_WRITE): Define.
25519 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25521 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25522 (SEGV_PKUERR): Add.
25523 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25524 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25525 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25526 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25528 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25529 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25530 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25531 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25532 * sysdeps/unix/sysv/linux/**.abilist: Update.
25534 2017-12-05 Florian Weimer <fweimer@redhat.com>
25536 * support/tst-test_compare.c (subprocess): Use long long instead
25537 of long argument for consistent type width across 32-bit and
25538 64-bit architectures.
25539 (do_test): Adjust expected output.
25541 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25543 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25544 (cosf): Define using libm_alias_float.
25545 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25546 (fabsf): Define using libm_alias_float.
25547 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25548 (fmaf): Define using libm_alias_float.
25549 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25550 (rintf): Define using libm_alias_float.
25551 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25552 (sinf): Define using libm_alias_float.
25553 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25554 <libm-alias-float.h>.
25555 (modff): Define using libm_alias_float.
25556 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25557 <libm-alias-float.h>.
25558 (logbf): Define using libm_alias_float.
25559 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25560 <libm-alias-float.h>.
25561 (ceilf): Define using libm_alias_float.
25562 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25563 <libm-alias-float.h>.
25564 (copysignf): Define using libm_alias_float.
25565 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25566 <libm-alias-float.h>.
25567 (floorf): Define using libm_alias_float.
25568 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25569 <libm-alias-float.h>.
25570 (llrintf): Define using libm_alias_float.
25571 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25572 <libm-alias-float.h>.
25573 (llroundf): Define using libm_alias_float.
25574 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25575 <libm-alias-float.h>.
25576 (lrintf): Define using libm_alias_float.
25577 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25578 <libm-alias-float.h>.
25579 (lroundf): Define using libm_alias_float.
25580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25581 <libm-alias-float.h>.
25582 (nearbyintf): Define using libm_alias_float.
25583 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25584 <libm-alias-float.h>.
25585 (rintf): Define using libm_alias_float.
25586 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25587 <libm-alias-float.h>.
25588 (roundf): Define using libm_alias_float.
25589 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25590 <libm-alias-float.h>.
25591 (truncf): Define using libm_alias_float.
25592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25593 Include <libm-alias-float.h>.
25594 (ceilf): Define using libm_alias_float.
25595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25596 Include <libm-alias-float.h>.
25597 (copysignf): Define using libm_alias_float.
25598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25599 Include <libm-alias-float.h>.
25600 (floorf): Define using libm_alias_float.
25601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25602 Include <libm-alias-float.h>.
25603 (llrintf): Define using libm_alias_float.
25604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25605 Include <libm-alias-float.h>.
25606 (llroundf): Define using libm_alias_float.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25608 Include <libm-alias-float.h>.
25609 (logbf): Define using libm_alias_float.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25611 Include <libm-alias-float.h>.
25612 (lrintf): Define using libm_alias_float.
25613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25614 Include <libm-alias-float.h>.
25615 (lroundf): Define using libm_alias_float.
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25617 Include <libm-alias-float.h>.
25618 (modff): Define using libm_alias_float.
25619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25620 Include <libm-alias-float.h>.
25621 (roundf): Define using libm_alias_float.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25623 Include <libm-alias-float.h>.
25624 (truncf): Define using libm_alias_float.
25625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25626 <libm-alias-float.h>.
25627 (llrintf): Define using libm_alias_float.
25628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25629 <libm-alias-float.h>.
25630 (llroundf): Define using libm_alias_float.
25631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25632 <libm-alias-float.h>.
25633 (ceilf): Define using libm_alias_float.
25634 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25635 <libm-alias-float.h>.
25636 (floorf): Define using libm_alias_float.
25637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25638 <libm-alias-float.h>.
25639 (llroundf): Define using libm_alias_float.
25640 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25641 <libm-alias-float.h>.
25642 (lroundf): Define using libm_alias_float.
25643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25644 <libm-alias-float.h>.
25645 (roundf): Define using libm_alias_float.
25646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25647 <libm-alias-float.h>.
25648 (truncf): Define using libm_alias_float.
25649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25650 <libm-alias-float.h>.
25651 (copysignf): Define using libm_alias_float.
25652 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25653 <libm-alias-float.h>.
25654 (llrintf): Define using libm_alias_float.
25655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25656 <libm-alias-float.h>.
25657 (llroundf): Define using libm_alias_float.
25658 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25659 <libm-alias-float.h>.
25660 (lrintf): Define using libm_alias_float.
25661 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25662 <libm-alias-float.h>.
25663 (lroundf): Define using libm_alias_float.
25664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25665 <libm-alias-float.h>.
25666 (ceilf): Define using libm_alias_float.
25667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25668 <libm-alias-float.h>.
25669 (copysignf): Define using libm_alias_float.
25670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25671 <libm-alias-float.h>.
25672 (cosf): Define using libm_alias_float.
25673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25674 <libm-alias-float.h>.
25675 (floorf): Define using libm_alias_float.
25676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25677 <libm-alias-float.h>.
25678 (llrintf): Define using libm_alias_float.
25679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25680 <libm-alias-float.h>.
25681 (llroundf): Define using libm_alias_float.
25682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25683 <libm-alias-float.h>.
25684 (logbf): Define using libm_alias_float.
25685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25686 <libm-alias-float.h>.
25687 (modff): Define using libm_alias_float.
25688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25689 <libm-alias-float.h>.
25690 (roundf): Define using libm_alias_float.
25691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25692 <libm-alias-float.h>.
25693 (sinf): Define using libm_alias_float.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25695 <libm-alias-float.h>.
25696 (truncf): Define using libm_alias_float.
25697 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25698 <libm-alias-float.h>.
25699 (ceilf): Define using libm_alias_float.
25700 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25701 <libm-alias-float.h>.
25702 (copysignf): Define using libm_alias_float.
25703 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25704 <libm-alias-float.h>.
25705 (floorf): Define using libm_alias_float.
25706 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25707 <libm-alias-float.h>.
25708 (llrintf): Define using libm_alias_float.
25709 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25710 <libm-alias-float.h>.
25711 (llroundf): Define using libm_alias_float.
25712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25713 <libm-alias-float.h>.
25714 (nearbyintf): Define using libm_alias_float.
25715 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25716 <libm-alias-float.h>.
25717 (rintf): Define using libm_alias_float.
25718 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25719 <libm-alias-float.h>.
25720 (roundf): Define using libm_alias_float.
25721 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25722 <libm-alias-float.h>.
25723 (truncf): Define using libm_alias_float.
25724 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25725 <libm-alias-float.h>.
25726 (ceilf): Define using libm_alias_float.
25727 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25728 <libm-alias-float.h>.
25729 (floorf): Define using libm_alias_float.
25730 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25731 <libm-alias-float.h>.
25732 (llroundf): Define using libm_alias_float.
25733 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25734 <libm-alias-float.h>.
25735 (roundf): Define using libm_alias_float.
25736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25737 <libm-alias-float.h>.
25738 (truncf): Define using libm_alias_float.
25739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25740 <libm-alias-float.h>.
25741 (copysignf): Define using libm_alias_float.
25742 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25743 <libm-alias-float.h>.
25744 (llrintf): Define using libm_alias_float.
25745 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25746 <libm-alias-float.h>.
25747 (llroundf): Define using libm_alias_float.
25748 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25749 <libm-alias-float.h>.
25750 (cosf): Define using libm_alias_float.
25751 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25752 <libm-alias-float.h>.
25753 (llrintf): Define using libm_alias_float.
25754 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25755 <libm-alias-float.h>.
25756 (llroundf): Define using libm_alias_float.
25757 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25758 <libm-alias-float.h>.
25759 (sinf): Define using libm_alias_float.
25761 2017-12-04 Florian Weimer <fweimer@redhat.com>
25763 * support/check.h (TEST_COMPARE): Define.
25764 (support_test_compare_failure): Declare.
25765 * support/Makefile (libsupport-routines): Add
25766 support_test_compare_failure.
25767 (tests): Add tst-test_compare.
25768 * support /support_test_compare_failure.c: New file.
25769 * support/tst-test_compare.c: Likewise.
25771 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25774 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25775 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25776 available, this rewrite of the collation rules does reproduce
25777 the test file in the same order.
25779 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25782 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25783 digraphs in the month and day names. Using single code points for
25784 digraphs is deprecated. While there are dedicated Unicode
25785 codepoints, for the digraphs, these are included for backwards
25786 compatibility and modern texts use a sequence of Basic Latin
25787 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25788 This makes the month and day names agree exactly with CLDR now,
25789 CLDR does not use the single code points for the digraphs either.
25791 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25793 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25795 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25797 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25800 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25802 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25803 Define only for libc.so.
25805 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25808 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25809 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25810 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25813 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25816 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25818 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25821 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25822 PREINIT_FUNCTION_WEAK is nonzero.
25823 (gmon_initializer): New function. Put procedure label for it in
25824 .init_array section.
25825 (_init): Don't call PREINIT_FUNCTION.
25826 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25827 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25828 value when map argument is null.
25830 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25831 depi instruction from PIC pc-relative sequence.
25832 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25833 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25834 (elf_machine_load_address): Likewise.
25835 (elf_machine_runtime_setup): Likewise.
25837 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25839 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25840 <libm-alias-double.h>.
25841 (logb): Define using libm_alias_double.
25842 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25843 <libm-alias-double.h>.
25844 (copysign): Define using libm_alias_double.
25845 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25846 <libm-alias-double.h>.
25847 (llrint): Define using libm_alias_double.
25848 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25849 <libm-alias-double.h>.
25850 (llround): Define using libm_alias_double.
25851 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25852 <libm-alias-double.h>.
25853 (lrint): Define using libm_alias_double.
25854 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25855 <libm-alias-double.h>.
25856 (lround): Define using libm_alias_double.
25857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25858 Include <libm-alias-double.h>.
25859 (copysign): Define using libm_alias_double.
25860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25861 Include <libm-alias-double.h>.
25862 (llrint): Define using libm_alias_double.
25863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25864 Include <libm-alias-double.h>.
25865 (llround): Define using libm_alias_double.
25866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25867 <libm-alias-double.h>.
25868 (logb): Define using libm_alias_double.
25869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25870 Include <libm-alias-double.h>.
25871 (lrint): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25873 Include <libm-alias-double.h>.
25874 (lround): Define using libm_alias_double.
25875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25876 <libm-alias-double.h>.
25877 (llrint): Define using libm_alias_double.
25878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25879 <libm-alias-double.h>.
25880 (llround): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25882 <libm-alias-double.h>.
25883 (llround): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25885 <libm-alias-double.h>.
25886 (lround): Define using libm_alias_double.
25887 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25888 <libm-alias-double.h>.
25889 (copysign): Define using libm_alias_double.
25890 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25891 <libm-alias-double.h>.
25892 (llrint): Define using libm_alias_double.
25893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25894 <libm-alias-double.h>.
25895 (llround): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25897 <libm-alias-double.h>.
25898 (lrint): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25900 <libm-alias-double.h>.
25901 (lround): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25903 <libm-alias-double.h>.
25904 (copysign): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25906 <libm-alias-double.h>.
25907 (llrint): Define using libm_alias_double.
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25910 <libm-alias-double.h>.
25911 (llround): Define using libm_alias_double.
25912 (lround): Likewise.
25913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25914 <libm-alias-double.h>.
25915 (logb): Define using libm_alias_double.
25916 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25917 <libm-alias-double.h>.
25918 (copysign): Define using libm_alias_double.
25919 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25920 <libm-alias-double.h>.
25921 (llrint): Define using libm_alias_double.
25923 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25924 <libm-alias-double.h>.
25925 (llround): Define using libm_alias_double.
25926 (lround): Likewise.
25927 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25928 <libm-alias-double.h>.
25929 (llround): Define using libm_alias_double.
25930 (lround): Likewise.
25931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25932 <libm-alias-double.h>.
25933 (copysign): Define using libm_alias_double.
25934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25935 <libm-alias-double.h>.
25936 (llrint): Define using libm_alias_double.
25938 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25939 <libm-alias-double.h>.
25940 (llround): Define using libm_alias_double.
25941 (lround): Likewise.
25942 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25943 <libm-alias-double.h>.
25944 (llrint): Define using libm_alias_double.
25946 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25947 <libm-alias-double.h>.
25948 (llround): Define using libm_alias_double.
25949 (lround): Likewise.
25951 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25954 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25955 compat symbol based on llround.
25957 * sysdeps/powerpc/power7/fpu/s_logb.c
25958 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25959 symbol based on __logb, not on logb.
25960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25961 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25963 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25965 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25966 (rint): Define using libm_alias_double.
25967 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25968 <libm-alias-double.h>.
25969 (modf): Define using libm_alias_double.
25970 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25971 <libm-alias-double.h>.
25972 (ceil): Define using libm_alias_double.
25973 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25974 <libm-alias-double.h>.
25975 (floor): Define using libm_alias_double.
25976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25977 <libm-alias-double.h>.
25978 (nearbyint): Define using libm_alias_double.
25979 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25980 <libm-alias-double.h>.
25981 (rint): Define using libm_alias_double.
25982 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25983 <libm-alias-double.h>.
25984 (round): Define using libm_alias_double.
25985 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25986 <libm-alias-double.h>.
25987 (trunc): Define using libm_alias_double.
25988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25989 <libm-alias-double.h>.
25990 (ceil): Define using libm_alias_double.
25991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25992 Include <libm-alias-double.h>.
25993 (floor): Define using libm_alias_double.
25994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25995 <libm-alias-double.h>.
25996 (modf): Define using libm_alias_double.
25997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25998 Include <libm-alias-double.h>.
25999 (round): Define using libm_alias_double.
26000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26001 Include <libm-alias-double.h>.
26002 (trunc): Define using libm_alias_double.
26003 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26004 <libm-alias-double.h>.
26005 (ceil): Define using libm_alias_double.
26006 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26007 <libm-alias-double.h>.
26008 (floor): Define using libm_alias_double.
26009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26010 <libm-alias-double.h>.
26011 (round): Define using libm_alias_double.
26012 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26013 <libm-alias-double.h>.
26014 (trunc): Define using libm_alias_double.
26015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26016 <libm-alias-double.h>.
26017 (ceil): Define using libm_alias_double.
26018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26019 <libm-alias-double.h>.
26020 (floor): Define using libm_alias_double.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26022 <libm-alias-double.h>.
26023 (modf): Define using libm_alias_double.
26024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26025 <libm-alias-double.h>.
26026 (round): Define using libm_alias_double.
26027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26028 <libm-alias-double.h>.
26029 (trunc): Define using libm_alias_double.
26030 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26031 <libm-alias-double.h>.
26032 (ceil): Define using libm_alias_double.
26033 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26034 <libm-alias-double.h>.
26035 (floor): Define using libm_alias_double.
26036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26037 <libm-alias-double.h>.
26038 (nearbyint): Define using libm_alias_double.
26039 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26040 <libm-alias-double.h>.
26041 (rint): Define using libm_alias_double.
26042 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26043 <libm-alias-double.h>.
26044 (round): Define using libm_alias_double.
26045 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26046 <libm-alias-double.h>.
26047 (trunc): Define using libm_alias_double.
26048 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26049 <libm-alias-double.h>.
26050 (ceil): Define using libm_alias_double.
26051 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26052 <libm-alias-double.h>.
26053 (floor): Define using libm_alias_double.
26054 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26055 <libm-alias-double.h>.
26056 (round): Define using libm_alias_double.
26057 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26058 <libm-alias-double.h>.
26059 (trunc): Define using libm_alias_double.
26061 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26062 (fabs): Define using libm_alias_double.
26063 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26064 (fma): Define using libm_alias_double.
26065 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26066 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26067 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26068 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26070 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26072 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26074 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26075 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26076 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26079 due redirect macro.
26081 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26083 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26085 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26087 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26088 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26089 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26090 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26093 (libm-sysdep_routines): Add s_nearbyintf-generic and
26094 s_nearbyint-generic.
26095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26108 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26119 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26130 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26141 (sysdep_calls): New rule.
26142 (sysdep_routines): Use sysdep_calls as base.
26143 (libm-sysdep_routines): Add generic rule for symbols shared with
26144 libc. Add s_copysign-generic and s_copysign-generic objects.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26154 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26157 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26158 the list of locales to be built for testing.
26159 * localedata/is_IS.UTF-8.in: New file.
26160 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26163 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26165 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26166 <libm-alias-float.h>.
26167 (fabsf): Define using libm_alias_float.
26169 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26171 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26173 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26175 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26176 <libm-alias-float.h>.
26177 (fabsf): Define using libm_alias_float.
26178 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26179 <libm-alias-float.h>.
26180 (lrintf): Define using libm_alias_float.
26181 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26182 <libm-alias-float.h>.
26183 (rintf): Define using libm_alias_float.
26185 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26186 <libm-alias-double.h>.
26187 (fabs): Define using libm_alias_double.
26188 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26189 <libm-alias-double.h>.
26190 (lrint): Define using libm_alias_double.
26191 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26192 <libm-alias-double.h>.
26193 (rint): Define using libm_alias_double.
26195 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26196 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26197 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26198 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26199 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26200 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26201 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26202 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26203 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26204 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26205 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26206 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26207 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26208 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26209 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26210 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26211 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26212 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26214 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26215 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26216 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26218 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26219 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26220 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26222 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26223 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26224 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26225 s_expm1_template.c.
26226 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26228 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26230 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26231 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26232 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26233 s_floor_template.c.
26234 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26235 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26236 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26237 s_frexp_template.c.
26238 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26239 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26240 s_lrint_template.c.
26241 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26242 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26243 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26245 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26246 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26247 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26248 s_nearbyint_template.c.
26249 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26250 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26251 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26252 s_remquo_template.c.
26253 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26254 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26255 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26257 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26258 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26259 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26261 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26262 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26263 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26264 s_sincos_template.c.
26265 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26266 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26267 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26269 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26270 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26271 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26273 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26274 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26275 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26276 s_trunc_template.c.
26277 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26278 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26279 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26280 s_atan.c instead of including s_atan.c.
26281 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26282 s_atanf.c instead of including s_atanf.c.
26283 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26284 s_atanl.c instead of including s_atanl.c.
26285 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26286 instead of s_atan.c.
26287 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26288 instead of s_atanf.c.
26289 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26290 instead of s_atanl.c.
26292 * scripts/update-copyrights: Do not handle intl/plural.c
26295 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26298 * configure.ac (BISON): Require to be present.
26299 * configure: Regenerated.
26300 * intl/Makefile (generated): Add plural.c.
26301 [$(BISON) != no]: Make code unconditional.
26302 (plural.c): Change rule to $(objpfx)plural.c.
26303 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26304 * intl/plural.c: Remove.
26305 * manual/install.texi (Tools for Compilation): Document bison as
26307 * INSTALL: Regenerated.
26309 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26311 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26312 <libm-alias-double.h>.
26313 (llrint): Define using libm_alias_double.
26314 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26315 <libm-alias-float.h>.
26316 (llrintf): Define using libm_alias_float.
26317 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26318 <libm-alias-ldouble.h>.
26319 (llrintl): Define using libm_alias_ldouble.
26321 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26322 declare_mgen_alias instead of weak_alias.
26323 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26324 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26325 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26327 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26329 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26331 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26332 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26333 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26335 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26336 Add submul_1-generic.
26337 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26338 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26339 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26341 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26342 Add addmul_1-generic.
26343 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26344 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26345 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26347 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26349 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26350 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26351 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26353 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26355 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26356 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26357 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26359 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26361 According to CLDR, collation rules for Serbian and Bosnian
26362 should be the same as for Croatian.
26365 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26366 and to the list of locales to be built for testing.
26367 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26368 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26369 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26370 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26372 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26374 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26375 to make test case pass.
26376 * localedata/hr_HR.UTF-8.in: Add more test strings.
26378 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26380 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26382 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26384 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26385 the list of locales to built for testing.
26386 * localedata/hr_HR.UTF-8.in: New file.
26388 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26391 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26393 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26394 CLDR (except use ligatures for the digraphs, CLDR does not use
26395 the ligatures), add first_workday, some fixes in the date and time
26397 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26399 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26400 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26401 Add int_p_cs_precedes and int_n_cs_precedes.
26402 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26403 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26405 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26406 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26408 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26409 and lang_lib. Change postal_fmt.
26411 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26413 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26415 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26416 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26417 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26418 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26419 * sysdeps/generic/setjmpP.h: New file.
26420 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26421 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26422 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26423 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26424 Add jmp_buf-ssp.sym.
26425 (tests): Add tst-saved_mask-1.
26427 2017-11-30 Arjun Shankar <arjun@redhat.com>
26431 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26432 instead of request2size.
26434 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26437 (__lllrint): Remove alias.
26438 (lllrint): Likewise.
26439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26440 (__lllrintf): Likewise.
26441 (lllrintf): Likewise.
26443 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26444 <libm-alias-float.h>.
26445 (copysignf): Define using libm_alias_float.
26446 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26447 <libm-alias-float.h>.
26448 (fabsf): Define using libm_alias_float.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26450 Include <libm-alias-float.h>.
26451 (copysignf): Define using libm_alias_float.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26453 <libm-alias-float.h>.
26454 (fabsf): Define using libm_alias_float.
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26456 <libm-alias-float.h>.
26457 (fdimf): Define using libm_alias_float.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26459 <libm-alias-float.h>.
26460 (fmaf): Define using libm_alias_float.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26462 <libm-alias-float.h>.
26463 (llrintf): Define using libm_alias_float.
26464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26465 Include <libm-alias-float.h>.
26466 (nearbyintf): Define using libm_alias_float.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26468 <libm-alias-float.h>.
26469 (rintf): Define using libm_alias_float.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26471 <libm-alias-float.h>.
26472 (llrintf): Define using libm_alias_float.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26474 <libm-alias-float.h>.
26475 (lrintf): Define using libm_alias_float.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26477 <libm-alias-float.h>.
26478 (nearbyintf): Define using libm_alias_float.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26480 <libm-alias-float.h>.
26481 (rintf): Define using libm_alias_float.
26482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26483 <libm-alias-float.h>.
26484 (ceilf): Define using libm_alias_float.
26485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26486 <libm-alias-float.h>.
26487 (floorf): Define using libm_alias_float.
26488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26489 <libm-alias-float.h>.
26490 (fmaf): Define using libm_alias_float.
26491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26492 <libm-alias-float.h>.
26493 (lrintf): Define using libm_alias_float.
26494 (llrintf): Likewise.
26495 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26496 <libm-alias-float.h>.
26497 (nearbyintf): Define using libm_alias_float.
26498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26499 <libm-alias-float.h>.
26500 (rintf): Define using libm_alias_float.
26501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26502 <libm-alias-float.h>.
26503 (truncf): Define using libm_alias_float.
26504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26505 <libm-alias-float.h>.
26506 (copysignf): Define using libm_alias_float.
26507 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26508 <libm-alias-float.h>.
26509 (fabsf): Define using libm_alias_float.
26510 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26511 <libm-alias-float.h>.
26512 (lrintf): Define using libm_alias_float.
26513 (llrintf): Likewise.
26514 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26515 <libm-alias-float.h>.
26516 (nearbyintf): Define using libm_alias_float.
26517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26518 <libm-alias-float.h>.
26519 (rintf): Define using libm_alias_float.
26521 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26523 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26524 <libm-alias-double.h>.
26525 (copysign): Define using libm_alias_double.
26526 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26527 <libm-alias-double.h>.
26528 (fabs): Define using libm_alias_double.
26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26530 Include <libm-alias-double.h>.
26531 (copysign): Define using libm_alias_double.
26532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26533 <libm-alias-double.h>.
26534 (fabs): Define using libm_alias_double.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26536 <libm-alias-double.h>.
26537 (fdim): Define using libm_alias_double.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26539 <libm-alias-double.h>.
26540 (fma): Define using libm_alias_double.
26541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26542 <libm-alias-double.h>.
26543 (llrint): Define using libm_alias_double.
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26545 Include <libm-alias-double.h>.
26546 (nearbyint): Define using libm_alias_double.
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26548 <libm-alias-double.h>.
26549 (rint): Define using libm_alias_double.
26550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26551 <libm-alias-double.h>.
26552 (fabs): Define using libm_alias_double.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26554 <libm-alias-double.h>.
26555 (llrint): Define using libm_alias_double.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26557 <libm-alias-double.h>.
26558 (nearbyint): Define using libm_alias_double.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26560 <libm-alias-double.h>.
26561 (rint): Define using libm_alias_double.
26562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26563 <libm-alias-double.h>.
26564 (ceil): Define using libm_alias_double.
26565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26566 <libm-alias-double.h>.
26567 (floor): Define using libm_alias_double.
26568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26569 <libm-alias-double.h>.
26570 (fma): Define using libm_alias_double.
26571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26572 <libm-alias-double.h>.
26573 (lrint): Define using libm_alias_double.
26574 (llrint): Likewise.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26576 <libm-alias-double.h>.
26577 (nearbyint): Define using libm_alias_double.
26578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26579 <libm-alias-double.h>.
26580 (rint): Define using libm_alias_double.
26581 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26582 <libm-alias-double.h>.
26583 (trunc): Define using libm_alias_double.
26584 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26585 <libm-alias-double.h>.
26586 (copysign): Define using libm_alias_double.
26587 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26588 <libm-alias-double.h>.
26589 (fabs): Define using libm_alias_double.
26590 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26591 <libm-alias-double.h>.
26592 (lrint): Define using libm_alias_double.
26593 (llrint): Likewise.
26594 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26595 <libm-alias-double.h>.
26596 (nearbyint): Define using libm_alias_double.
26597 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26598 <libm-alias-double.h>.
26599 (rint): Define using libm_alias_double.
26602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26604 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26606 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26607 SPARC --disable-multi-arch glibc variants.
26609 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26610 <libm-alias-float.h>.
26611 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26613 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26614 <libm-alias-float.h>.
26615 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26617 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26618 <libm-alias-float.h>.
26619 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26621 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26622 <libm-alias-float.h>.
26623 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26625 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26626 <libm-alias-float.h>.
26627 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26629 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26630 <libm-alias-float.h>.
26631 (ceilf): Define using libm_alias_float.
26632 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26633 <libm-alias-float.h>.
26634 (floorf): Define using libm_alias_float.
26635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26636 <libm-alias-float.h>.
26637 (fmaf): Define using libm_alias_float.
26638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26639 <libm-alias-float.h>.
26640 (nearbyintf): Define using libm_alias_float.
26641 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26642 <libm-alias-float.h>.
26643 (rintf): Define using libm_alias_float.
26644 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26645 <libm-alias-float.h>.
26646 (truncf): Define using libm_alias_float.
26647 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26648 (copysignf): Define using libm_alias_float.
26649 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26650 (cosf): Define using libm_alias_float.
26651 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26652 (fabsf): Define using libm_alias_float.
26653 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26654 (fmaxf): Define using libm_alias_float.
26655 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26656 (fminf): Define using libm_alias_float.
26657 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26658 (llrintf): Define using libm_alias_float.
26659 [!__ILP32__] (lrintf): Likewise.
26660 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26661 (sincosf): Define using libm_alias_float.
26662 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26663 (sinf): Define using libm_alias_float.
26664 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26665 (lrintf): Define using libm_alias_float.
26667 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26668 <libm-alias-double.h>.
26669 (atan): Define using libm_alias_double.
26670 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26671 <libm-alias-double.h>.
26672 (ceil): Define using libm_alias_double.
26673 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26674 <libm-alias-double.h>.
26675 (floor): Define using libm_alias_double.
26676 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26677 <libm-alias-double.h>.
26678 (fma): Define using libm_alias_double.
26679 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26680 <libm-alias-double.h>.
26681 (nearbyint): Define using libm_alias_double.
26682 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26683 <libm-alias-double.h>.
26684 (rint): Define using libm_alias_double.
26685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26686 <libm-alias-double.h>.
26687 (sin): Define using libm_alias_double.
26689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26690 <libm-alias-double.h>.
26691 (tan): Define using libm_alias_double.
26692 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26693 <libm-alias-double.h>.
26694 (trunc): Define using libm_alias_double.
26695 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26696 (copysign): Define using libm_alias_double.
26697 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26698 (fabs): Define using libm_alias_double.
26699 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26700 (fmax): Define using libm_alias_double.
26701 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26702 (fmin): Define using libm_alias_double.
26703 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26704 (llrint): Define using libm_alias_double.
26705 [!__ILP32__] (lrint): Likewise.
26706 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26707 (lrint): Define using libm_alias_double.
26709 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26712 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26722 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26732 (libm-sysdep_routines): Add s_nearbyint-generic and
26733 s_nearbyintf-generic objects.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26737 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26739 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26742 Add s_finitef-generic and s_finite-generic objects.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26751 Add s_isinff-generic and s_isinf-generic objects.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26760 Add s_isnanf-generic and s_isnan-generic objects.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26768 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26772 (sysdep_routines): Use sysdep_calls as base.
26773 (libm-sysdep_routines): Add generic rule for symbols shared with
26774 libc. Add s_signbit-generic and s_signbitf-generic objects.
26775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26782 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26785 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26786 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26787 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26788 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26789 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26790 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26791 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26792 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26793 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26794 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26795 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26796 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26797 libm_alias_float_r.
26798 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26799 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26801 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26802 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26803 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26804 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26805 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26806 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26807 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26808 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26809 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26810 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26812 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26814 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26815 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26816 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26817 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26818 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26819 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26820 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26821 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26822 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26823 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26824 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26825 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26826 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26827 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26828 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26829 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26830 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26831 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26832 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26834 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26835 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26836 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26837 * sysdeps/ia64/fpu/w_lgammaf_main.c
26838 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26839 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26841 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26842 Alexandre Oliva <aoliva@redhat.com>
26845 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26846 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26848 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26850 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26851 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26852 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26853 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26854 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26855 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26856 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26857 instead of “ifdef DIACRIT_BACKWARD”.
26859 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26861 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26862 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26863 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26864 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26865 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26866 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26873 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26874 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26875 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26876 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26877 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26878 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26880 ($(have-as-vis3) == yes): Remove conditional.
26881 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26897 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26900 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26902 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26903 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26904 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26905 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26906 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26907 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26908 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26909 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26910 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26911 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26912 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26913 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26914 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26915 libm_alias_double_r.
26916 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26918 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26919 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26920 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26921 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26922 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26923 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26924 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26925 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26926 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26927 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26928 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26930 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26932 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26933 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26934 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26935 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26936 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26937 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26938 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26939 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26940 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26941 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26942 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26943 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26944 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26945 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26946 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26947 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26948 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26949 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26951 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26952 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26953 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26954 * sysdeps/ia64/fpu/w_lgamma_main.c
26955 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26956 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26958 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26960 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26961 address of $global$ into %dp register earlier. Use pc-relative
26962 instruction sequence for PIC case.
26964 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26966 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26967 (asinhf): Define using libm_alias_float.
26968 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26969 (atanf): Define using libm_alias_float.
26970 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26971 (cbrtf): Define using libm_alias_float.
26972 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26973 (ceilf): Define using libm_alias_float.
26974 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26975 (copysignf): Define using libm_alias_float.
26976 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26977 (expm1f): Define using libm_alias_float.
26978 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26979 (fabsf): Define using libm_alias_float.
26980 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26981 (floorf): Define using libm_alias_float.
26982 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26983 (fmaxf): Define using libm_alias_float.
26984 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26985 (fminf): Define using libm_alias_float.
26986 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26987 (frexpf): Define using libm_alias_float.
26988 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26989 (llrintf): Define using libm_alias_float.
26990 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26991 (logbf): Define using libm_alias_float.
26992 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26993 (lrintf): Define using libm_alias_float.
26994 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26995 (nearbyintf): Define using libm_alias_float.
26996 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26997 (remquof): Define using libm_alias_float.
26998 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26999 (rintf): Define using libm_alias_float.
27000 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27001 (truncf): Define using libm_alias_float.
27002 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27003 <libm-alias-float.h>.
27004 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27006 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27007 <libm-alias-float.h>.
27008 (expf): Define using libm_alias_float, or libm_alias_float_other
27010 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27011 <libm-alias-float.h>.
27012 (log2f): Define using libm_alias_float, or libm_alias_float_other
27014 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27015 <libm-alias-float.h>.
27016 (logf): Define using libm_alias_float, or libm_alias_float_other
27018 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27019 <libm-alias-float.h>.
27020 (powf): Define using libm_alias_float, or libm_alias_float_other
27022 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27023 <libm-alias-float.h>.
27024 (cosf): Define using libm_alias_float.
27025 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27026 <libm-alias-float.h>.
27027 (sincosf): Define using libm_alias_float.
27028 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27029 <libm-alias-float.h>.
27030 (sinf): Define using libm_alias_float.
27031 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27032 (fmaxf): Define using libm_alias_float.
27033 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27034 (fminf): Define using libm_alias_float.
27035 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27036 <libm-alias-float.h>.
27037 (fmaf): Define using libm_alias_float.
27039 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27040 (asinh): Define using libm_alias_double.
27041 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27042 (atan): Define using libm_alias_double.
27043 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27044 (cbrt): Define using libm_alias_double.
27045 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27046 (ceil): Define using libm_alias_double.
27047 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27048 (copysign): Define using libm_alias_double.
27049 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27050 (expm1): Define using libm_alias_double.
27051 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27052 (fabs): Define using libm_alias_double.
27053 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27054 (fdim): Define using libm_alias_double.
27055 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27056 (floor): Define using libm_alias_double.
27057 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27058 (fmax): Define using libm_alias_double.
27059 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27060 (fmin): Define using libm_alias_double.
27061 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27062 (frexp): Define using libm_alias_double.
27063 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27064 (llrint): Define using libm_alias_double.
27065 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27066 (logb): Define using libm_alias_double.
27067 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27068 (lrint): Define using libm_alias_double.
27069 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27070 (nearbyint): Define using libm_alias_double.
27071 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27072 (remquo): Define using libm_alias_double.
27073 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27074 (rint): Define using libm_alias_double.
27075 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27076 (trunc): Define using libm_alias_double.
27077 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27078 (fmax): Define using libm_alias_double.
27079 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27080 (fmin): Define using libm_alias_double.
27081 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27082 (fma): Define using libm_alias_double.
27084 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27087 * elf/dl-hwcaps.c (ROUND): Removed.
27088 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27089 and ELF_NOTE_NEXT_OFFSET.
27090 * elf/dl-load.c (ROUND): Removed.
27091 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27092 * elf/readelflib.c (ROUND): Removed.
27093 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27094 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27095 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27096 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27098 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27100 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27101 [!__fmaf] (fmaf): Define using libm_alias_float.
27103 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27104 [!__fma] (fma): Define using libm_alias_double.
27105 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27107 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27110 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27111 and implement the collation rules for cs from CLDR on top of that.
27112 * Makefile: Add cs_CZ.UTF-8 to test-input.
27113 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27115 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27117 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27119 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27120 Icarus Sparry <icarus.w.sparry@intel.com>
27122 * benchtests/Makefile:Add BENCHSET to allow subsets of
27123 benchmarks to be run.
27124 * benchtests/README: Add documentation for: Running subsets of
27127 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27129 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27130 range of tests names.
27132 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27133 result from property and remove "max", min" and "mean" from
27134 required properties based on benchtests/bench-skeleton.c.
27136 2017-11-28 Florian Weimer <fweimer@redhat.com>
27139 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27140 due to Internet requirement.
27141 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27143 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27145 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27148 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27149 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27150 (sysdep_routines): Add memset-ultra1.
27151 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27153 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27154 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27155 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27156 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27157 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27158 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27159 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27164 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27165 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27166 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27167 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27168 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27169 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27170 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27172 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27173 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27174 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27175 (sysdep_routines): Add memcpy-ultra1.
27176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27179 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27181 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27182 (cfloat_versions): Take function argument without trailing 'f'.
27183 Call libm_alias_float_other.
27184 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27185 * sysdeps/alpha/fpu/cargf.c: Likewise.
27186 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27187 * sysdeps/alpha/fpu/conjf.c: Likewise.
27188 * sysdeps/alpha/fpu/crealf.c: Likewise.
27189 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27190 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27191 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27192 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27193 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27194 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27195 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27196 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27197 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27198 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27199 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27200 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27201 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27202 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27203 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27204 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27205 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27206 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27207 (clog10f): Use libm_alias_float_other.
27208 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27209 (ceilf): Define using libm_alias_float.
27210 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27211 (copysignf): Define using libm_alias_float.
27212 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27213 (fabsf): Define using libm_alias_float.
27214 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27215 (floorf): Define using libm_alias_float.
27216 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27217 (fmaxf): Define using libm_alias_float.
27218 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27219 (fminf): Define using libm_alias_float.
27220 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27221 (lrintf): Define using libm_alias_float.
27222 (llrintf): Likewise.
27223 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27224 (lroundf): Define using libm_alias_float.
27225 (llroundf): Likewise.
27226 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27227 (rintf): Define using libm_alias_float.
27228 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27229 (truncf): Define using libm_alias_float.
27231 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27232 (ceilf): Define using libm_alias_float.
27233 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27234 (floorf): Define using libm_alias_float.
27235 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27236 (fmaf): Define using libm_alias_float.
27237 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27238 (fmaxf): Define using libm_alias_float.
27239 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27240 (fminf): Define using libm_alias_float.
27241 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27242 (llrintf): Define using libm_alias_float.
27243 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27244 (llroundf): Define using libm_alias_float.
27245 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27246 (lrintf): Define using libm_alias_float.
27247 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27248 (lroundf): Define using libm_alias_float.
27249 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27250 <libm-alias-float.h>.
27251 (nearbyintf): Define using libm_alias_float.
27252 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27253 (rintf): Define using libm_alias_float.
27254 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27255 (roundf): Define using libm_alias_float.
27256 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27257 (truncf): Define using libm_alias_float.
27259 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27260 (ceil): Define using libm_alias_double.
27261 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27262 (copysign): Define using libm_alias_double.
27263 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27264 (fabs): Define using libm_alias_double.
27265 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27266 (floor): Define using libm_alias_double.
27267 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27268 (fmax): Define using libm_alias_double.
27269 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27270 (fmin): Define using libm_alias_double.
27271 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27272 (lrint): Define using libm_alias_double.
27273 (llrint): Likewise.
27274 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27275 (lround): Define using libm_alias_double.
27276 (llround): Likewise.
27277 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27278 (rint): Define using libm_alias_double.
27279 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27280 (trunc): Define using libm_alias_double.
27282 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27283 (libm_alias_double_r): Add semicolon after weak_alias call.
27285 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27287 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27288 (ceil): Define using libm_alias_double.
27289 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27290 (floor): Define using libm_alias_double.
27291 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27292 (fma): Define using libm_alias_double.
27293 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27294 (fmax): Define using libm_alias_double.
27295 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27296 (fmin): Define using libm_alias_double.
27297 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27298 (llrint): Define using libm_alias_double.
27299 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27300 (llround): Define using libm_alias_double.
27301 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27302 (lrint): Define using libm_alias_double.
27303 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27304 (lround): Define using libm_alias_double.
27305 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27306 (nearbyint): Define using libm_alias_double.
27307 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27308 (rint): Define using libm_alias_double.
27309 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27310 (round): Define using libm_alias_double.
27311 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27312 (trunc): Define using libm_alias_double.
27314 2017-11-27 Florian Weimer <fweimer@redhat.com>
27316 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27317 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27318 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27319 (tests): Add tst-mlock2.
27320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27322 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27323 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27324 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27325 for mlock. Document mlock2.
27327 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27329 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27330 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27332 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27334 * sysdeps/x86/Makeconfig: New file.
27335 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27336 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27337 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27338 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27339 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27340 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27341 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27343 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27344 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27345 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27346 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27347 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27348 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27349 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27350 * manual/math.texi (Mathematics): Document support for _Float64x.
27351 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27352 * stdlib/Versions (GLIBC_2.27): Likewise.
27353 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27354 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27355 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27356 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27357 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27358 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27359 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27360 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27361 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27373 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27377 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27381 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27382 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27384 2017-11-27 Andreas Schwab <schwab@suse.de>
27386 * elf/Makefile (dl-routines): Add dl-sort-maps.
27387 * elf/dl-sort-maps.c: New file.
27388 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27389 (_dl_sort_maps): Declare.
27390 * elf/dl-fini.c (_dl_sort_fini): Remove.
27391 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27392 * elf/dl-close.c (_dl_close_worker): Likewise.
27393 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27395 * elf/dl-open.c (dl_open_worker): Likewise.
27397 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27399 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27400 using libm_alias_float128.
27401 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27403 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27405 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27406 (setpayloadsigf128): Likewise.
27407 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27409 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27412 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27413 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27414 -mfloat128 to CFLAGS.
27416 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27418 (CFLAGS-libm-test-support-float64x.c): New variable.
27419 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27420 $(f128-loader-link) to gnulib-tests.
27422 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27423 (libm_alias_float128_other_r): If
27424 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27426 (libm_alias_float128_r): Add semicolon after weak_alias call.
27427 * sysdeps/generic/libm-alias-ldouble.h
27428 (libm_alias_ldouble_other_r_f128): New macro.
27429 (libm_alias_ldouble_other_r_f64x): Likewise.
27430 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27431 and libm_alias_ldouble_other_r_f64x.
27432 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27433 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27434 (libm_alias_ldouble_other_r_f128): New macro.
27435 (libm_alias_ldouble_other_r_f64x): Likewise.
27436 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27437 and libm_alias_ldouble_other_r_f64x.
27439 * stdlib/strfroml.c: Always include <stdlib.h>.
27440 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27441 undefine as macro and define as weak alias.
27442 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27443 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27445 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27446 Define and later undefine as macro and define as weak alias.
27448 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27449 Define and later undefine as macro. Define as weak alias if
27451 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27452 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27453 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27454 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27455 Define and later undefine as macro. Define as weak alias if
27457 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27458 Define and later undefine as macro. Define as weak alias if
27460 * sysdeps/ieee754/float128/strtof128_l.c
27461 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27462 Define and later undefine as macro. Define as weak alias if
27464 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27465 Define and later undefine as macro. Define as weak alias if
27467 * sysdeps/ieee754/ldbl-128/strtold_l.c
27468 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27469 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27470 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27471 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27472 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27473 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27474 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27475 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27476 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27477 * sysdeps/ieee754/ldbl-96/strtold_l.c
27478 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27479 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27480 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27481 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27483 * math/test-float64x.h: New file.
27484 * math/Makefile (type-float64x-yes): New variable.
27485 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27487 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27488 function-like macro.
27489 (min_of_type_): Likewise.
27490 (min_of_type_l): Likewise.
27491 (min_of_type_f128): Likewise.
27492 (min_of_type): Pass () as last argument of __MATH_TG.
27494 * stdlib/tst-strtod-round-skeleton.c
27495 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27498 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27499 for combinations of long double with _Float64 and _Float64x.
27501 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27502 (__DECL_SIMD_cosf32): Likewise.
27503 (__DECL_SIMD_cosf64): Likewise.
27504 (__DECL_SIMD_cosf32x): Likewise.
27505 (__DECL_SIMD_cosf64x): Likewise.
27506 (__DECL_SIMD_cosf128x): Likewise.
27507 (__DECL_SIMD_sinf16): Likewise.
27508 (__DECL_SIMD_sinf32): Likewise.
27509 (__DECL_SIMD_sinf64): Likewise.
27510 (__DECL_SIMD_sinf32x): Likewise.
27511 (__DECL_SIMD_sinf64x): Likewise.
27512 (__DECL_SIMD_sinf128x): Likewise.
27513 (__DECL_SIMD_sincosf16): Likewise.
27514 (__DECL_SIMD_sincosf32): Likewise.
27515 (__DECL_SIMD_sincosf64): Likewise.
27516 (__DECL_SIMD_sincosf32x): Likewise.
27517 (__DECL_SIMD_sincosf64x): Likewise.
27518 (__DECL_SIMD_sincosf128x): Likewise.
27519 (__DECL_SIMD_logf16): Likewise.
27520 (__DECL_SIMD_logf32): Likewise.
27521 (__DECL_SIMD_logf64): Likewise.
27522 (__DECL_SIMD_logf32x): Likewise.
27523 (__DECL_SIMD_logf64x): Likewise.
27524 (__DECL_SIMD_logf128x): Likewise.
27525 (__DECL_SIMD_expf16): Likewise.
27526 (__DECL_SIMD_expf32): Likewise.
27527 (__DECL_SIMD_expf64): Likewise.
27528 (__DECL_SIMD_expf32x): Likewise.
27529 (__DECL_SIMD_expf64x): Likewise.
27530 (__DECL_SIMD_expf128x): Likewise.
27531 (__DECL_SIMD_powf16): Likewise.
27532 (__DECL_SIMD_powf32): Likewise.
27533 (__DECL_SIMD_powf64): Likewise.
27534 (__DECL_SIMD_powf32x): Likewise.
27535 (__DECL_SIMD_powf64x): Likewise.
27536 (__DECL_SIMD_powf128x): Likewise.
27538 * stdlib/Versions (libc): Move entries for wcstof128 and
27539 wcstof128_l to ....
27540 * wcsmbs/Versions (libc): ... here.
27541 Include <float128-abi.h>.
27543 2017-11-24 Florian Weimer <fweimer@redhat.com>
27545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27546 bits/mman-shared.h.
27547 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27548 <bits/mman-shared.h>.
27549 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27551 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27552 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27553 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27554 <bits/mman-shared.h>.
27556 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27559 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27560 posix_memalign/free.
27561 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27563 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27566 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27567 and implement the collation rules for pl from CLDR on top of that.
27568 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27569 of locales to be built for testing.
27570 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27572 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27574 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27575 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27576 libm_alias_ldouble_other.
27577 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27578 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27579 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27580 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27581 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27582 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27583 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27584 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27585 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27586 libm_alias_ldouble_r.
27587 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27588 libm_alias_ldouble_other.
27589 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27590 (log10l): Likewise.
27591 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27592 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27593 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27594 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27595 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27596 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27597 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27598 (atan2l): Likewise.
27599 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27600 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27601 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27602 libm_alias_ldouble.
27603 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27605 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27606 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27607 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27609 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27610 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27611 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27612 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27613 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27614 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27615 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27616 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27617 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27618 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27619 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27620 libm_alias_ldouble.
27621 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27622 libm_alias_ldouble_other.
27623 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27624 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27625 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27626 libm_alias_ldouble.
27627 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27628 libm_alias_ldouble_other.
27629 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27630 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27631 * sysdeps/ia64/fpu/w_lgammal_main.c
27632 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27633 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27635 2017-11-23 Florian Weimer <fweimer@redhat.com>
27637 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27638 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27639 alike. Remove freeres marker.
27640 * malloc/arena.c (arena_thread_freeres): Call
27641 tcache_thread_shutdown.
27643 2017-11-23 Florian Weimer <fweimer@redhat.com>
27646 Export nscd hash function as __nss_hash.
27647 * include/nss.h (__nss_hash): Declare.
27648 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27650 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27651 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27653 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27654 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27655 * nss/Makefiles (routines): Add nss_hash.
27656 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27657 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27658 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27659 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27661 2017-11-23 Florian Weimer <fweimer@redhat.com>
27664 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27665 Return error code, not -1.
27666 * signal/tst-sigwait-eintr.c: New file.
27667 * signal/Makefile (tests): Add tst-sigwait-eintr.
27669 2017-11-23 Florian Weimer <fweimer@redhat.com>
27671 Linux: Add memfd_create system call wrapper
27672 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27674 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27675 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27676 [__USE_GNU] (memfd_create): Declare.
27677 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27678 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27679 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27680 * sysdeps/unix/sysv/linux/**.abilist: Update.
27681 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27683 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27685 * localedata/gen-locale.sh: Fix typo in variable name.
27687 * resolv/res_debug.c (p_secstodate): Condition definition on
27688 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27689 directly as __p_secstodate, and as a compat symbol. Do not use
27690 libresolv_hidden_def.
27691 * resolv/resolv.h (p_secstodate): Remove macro and function
27693 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27694 using p_secstodate.
27695 * include/resolv.h (__p_secstodate): Do not use
27696 libresolv_hidden_proto.
27697 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27698 (tests-internal): ... here.
27699 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27700 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27701 and declare and use __p_secstodate and use compat_symbol_reference
27703 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27704 implementation returning 77.
27707 * resolv/res_debug.c: Include <libc-diag.h>.
27708 (p_secstodate): Assert time_t at least as wide as u_long. On
27709 overflow, use integer seconds since the epoch as output, or use
27710 "<overflow>" as output and set errno to EOVERFLOW if integer
27711 seconds since the epoch would be 14 or more characters.
27712 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27714 * resolv/tst-p_secstodate.c: New file.
27715 * resolv/Makefile (tests): Add tst-p_secstodate.
27716 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27718 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27719 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27720 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27722 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27724 * posix/regcomp.c (init_word_char): Add comments.
27726 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27729 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27730 strlen to compute length of ut_user and set trailing NUL byte of
27733 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27736 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27737 using “copy "iso14651_t1"” and then implementing the
27738 collation rules for lv from CLDR on top of that.
27739 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27740 of locales to be built for testing.
27741 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27744 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27746 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27747 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27748 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27749 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27750 [__USE_MISC] (MADV_HWPOISON): New macro.
27751 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27753 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27755 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27756 -Wmissing-braces on GCC 4.9.
27758 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27760 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27761 * sysdeps/s390/s390-32/start.S (_start): Likewise
27762 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27763 (thread_start): Likewise.
27764 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27765 (thread_start): Likewise.
27766 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27767 (__makecontext_ret): Likewise.
27768 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27769 (__makecontext_ret): Likewise.
27771 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27773 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27774 __wcschrnul): Remove attribute_hidden.
27776 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27778 regex: don't assume uint64_t or uint32_t
27779 This avoids -Werror=overflow errors for 32-bit systems in
27780 the 64-bit case. Problem reported by Joseph Myers in:
27781 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27782 Also, when this code is used in Gnulib it ports to platforms
27783 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27784 them, and on some 32-bit compilers there is no uint64_t.
27785 Problem reported by Gianluigi Tiesi in:
27786 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27787 * posix/regcomp.c (init_word_char): Don't assume that the types
27788 uint64_t and uint32_t exist. Adapted from Gnulib patch
27789 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27790 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27792 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27794 * sysdeps/aarch64/memset-reg.h: New file.
27795 * sysdeps/aarch64/memset.S: Use it.
27796 (__memset): Rename to MEMSET macro.
27797 [ZVA_MACRO]: Use zva_macro.
27798 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27799 Add memset_generic and memset_falkor.
27800 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27801 (__libc_ifunc_impl_list): Add memset ifuncs.
27802 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27803 local variable zva_size.
27804 * sysdeps/aarch64/multiarch/memset.c: New file.
27805 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27806 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27807 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27808 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27809 (DCZID_DZP_MASK): New macro.
27810 (DCZID_BS_MASK): Likewise.
27811 (init_cpu_features): Read and set zva_size.
27812 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27813 (struct cpu_features): New member zva_size.
27815 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27816 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27817 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27819 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27820 backwards. Fix timing computation.
27821 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27822 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27823 on memset by N at a time. Fix timing computation.
27825 2017-11-20 Florian Weimer <fweimer@redhat.com>
27827 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27828 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27830 2017-11-19 Florian Weimer <fweimer@redhat.com>
27832 manual: Document mprotect
27833 * manual/memory.texi (Memory Protection): New section.
27834 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27835 documentation of PROT_* flags and reference the Memory Protection
27838 2017-11-19 Florian Weimer <fweimer@redhat.com>
27840 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27841 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27842 (Scatter-Gather): ... to here. Remove misleading comment.
27844 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27846 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27849 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27850 when /proc/<pid>/setgroups does not exist.
27852 2017-11-18 Florian Weimer <fweimer@redhat.com>
27854 * sysdeps/unix/sysv/linux/tst-ttyname.c
27855 (become_root_in_mount_ns): Remove.
27856 (do_in_chroot_1): Call support_enter_mount_namespace.
27857 (do_in_chroot_2): Likewise.
27858 (do_test): Call support_become_root early.
27860 2017-11-18 Florian Weimer <fweimer@redhat.com>
27862 * support/namespace.h (support_enter_mount_namespace): Declare.
27863 * support/support_enter_mount_namespace.c: New file.
27864 * support/Makefile (libsupport-routines): Add
27865 support_enter_mount_namespace.
27867 2017-11-18 Florian Weimer <fweimer@redhat.com>
27869 * support/temp_file.c (support_create_temp_directory): Use
27870 test_dir and do not rely on the presence of the XXXXXX suffix.
27871 * support/temp_file.h (support_create_temp_directory): Update
27873 * support/tst-xreadlink.c (do_test): Adjust.
27874 * support/support_chroot.c (support_chroot_create): Likewise.
27876 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27878 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27880 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27883 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27885 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27886 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27887 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27888 (ceill): Define using libm_alias_ldouble.
27889 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27890 <libm-alias-ldouble.h>.
27891 (copysignl): Define using libm_alias_ldouble.
27892 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27893 (fabsl): Define using libm_alias_ldouble.
27894 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27895 (floorl): Define using libm_alias_ldouble.
27896 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27897 (fmaxl): Define using libm_alias_ldouble.
27898 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27899 (fminl): Define using libm_alias_ldouble.
27900 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27901 (llrintl): Define using libm_alias_ldouble.
27902 (lrintl): Likewise.
27903 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27904 <libm-alias-ldouble.h>.
27905 (nearbyintl): Define using libm_alias_ldouble.
27906 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27907 (truncl): Define using libm_alias_ldouble.
27908 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27909 <libm-alias-ldouble.h>.
27910 (lrintl): Define using libm_alias_ldouble.
27912 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27913 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27914 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27915 (asinhl): Define using libm_alias_ldouble.
27916 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27917 (atanl): Define using libm_alias_ldouble.
27918 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27919 (cbrtl): Define using libm_alias_ldouble.
27920 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27921 (ceill): Define using libm_alias_ldouble.
27922 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27923 (copysignl): Define using libm_alias_ldouble.
27924 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27925 (fabsl): Define using libm_alias_ldouble.
27926 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27927 (floorl): Define using libm_alias_ldouble.
27928 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27929 (fmaxl): Define using libm_alias_ldouble.
27930 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27931 (fminl): Define using libm_alias_ldouble.
27932 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27933 (frexpl): Define using libm_alias_ldouble.
27934 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27935 (llrintl): Define using libm_alias_ldouble.
27936 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27937 (logbl): Define using libm_alias_ldouble.
27938 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27939 (lrintl): Define using libm_alias_ldouble.
27940 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27941 (nearbyintl): Define using libm_alias_ldouble.
27942 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27943 (nextafterl): Define using libm_alias_ldouble.
27944 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27945 (remquol): Define using libm_alias_ldouble.
27946 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27947 (rintl): Define using libm_alias_ldouble.
27948 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27949 (truncl): Define using libm_alias_ldouble.
27950 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27951 (fmaxl): Define using libm_alias_ldouble.
27952 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27953 (fminl): Define using libm_alias_ldouble.
27955 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27956 to C syntax instead of availability and properties of types.
27957 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27958 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27959 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27960 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27961 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27962 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27964 2017-11-17 Florian Weimer <fweimer@redhat.com>
27966 support_become_root: Enable file creation in namespaces.
27967 * support/support_become_root.c (setup_mapping): New function.
27968 (support_become_root): Call it.
27970 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27972 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27975 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27977 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27978 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27980 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27982 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27984 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27987 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27989 * INSTALL: Fix botched up regeneration.
27991 * NEWS: Update sourceare link to https.
27992 * configure.ac: Likewise.
27993 * crypt/md5test-giant.c: Likewise.
27994 * dlfcn/bug-atexit1.c: Likewise.
27995 * dlfcn/bug-atexit2.c: Likewise.
27996 * localedata/README: Likewise.
27997 * malloc/tst-mallocfork.c: Likewise.
27998 * manual/install.texi: Likewise.
27999 * nptl/tst-pthread-getattr.c: Likewise.
28000 * stdio-common/tst-fgets.c: Likewise.
28001 * stdio-common/tst-fwrite.c: Likewise.
28002 * sunrpc/Makefile: Likewise.
28003 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28004 * wcsmbs/tst-mbrtowc2.c: Likewise.
28005 * configure: Regenerate.
28006 * INSTALL: Regenerate.
28008 2017-11-15 Martin Sebor <msebor@redhat.com>
28010 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28011 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28012 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28014 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28017 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28018 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28021 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28022 Defer is_pty check until end of the function.
28023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28026 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28027 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28028 (ttyname): Likewise.
28029 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28030 (__ttyname_r): Likewise.
28032 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28035 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28037 * manual/terminal.texi (Is It a Terminal):
28038 Mention ENODEV for ttyname and ttyname_r.
28040 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28042 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28043 constant and macro.
28045 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28046 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28047 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28048 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28049 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28050 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28052 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28054 * signal/sigrelse.c (sigrelse): Optimize implementation.
28056 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28057 (__sigpause): Rely on __sigsuspend to implement single thread
28058 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28060 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28062 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28063 kernel version to 4.14.
28065 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28068 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28069 Check if ifname is too long.
28071 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28073 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28075 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28077 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28078 was accidentally lost.
28080 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28082 * localedata/locales/az_IR: Add standard copyright header.
28084 2017-11-15 Florian Weimer <fweimer@redhat.com>
28087 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28088 not just the top one. Output a new "subheaps" statistic.
28090 2017-11-15 Florian Weimer <fweimer@redhat.com>
28093 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28094 under the per-arena lock.
28095 * malloc/Makefile (tests): Add tst-malloc_info.
28096 (tst-malloc_info): Link with libpthread.
28097 * malloc/tst-malloc_info.c: New file.
28099 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28102 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28103 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28104 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28105 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28106 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28107 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28108 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28109 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28111 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28114 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28116 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28118 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28119 (__floating_type): Likewise.
28120 (__real_integer_type): Likewise.
28121 (__complex_integer_type): Likewise.
28122 (__expr_is_real): Likewise.
28123 (__tgmath_real_type_sub): Likewise.
28124 (__tgmath_real_type): Likewise.
28125 (__tgmath_complex_type_sub): Likewise.
28126 (__tgmath_complex_type): Likewise.
28127 (__TGMATH_F128): Likewise.
28128 (__TGMATH_CF128): Likewise.
28129 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28131 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28132 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28149 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28150 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28154 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28156 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28157 for stpncpy calls for GCC 8.
28158 (test_strncat): Disable -Wstringop-truncation warning for strncat
28159 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28160 strncat call for GCC 7.
28161 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28163 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28166 * string/bug-strncat1.c: Include <libc-diag.h>.
28167 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28169 2017-11-13 Claude Paroz <claude@2xlibre.net>
28172 * localedata/locales/aa_DJ: Improved readibility by replacing
28173 <Uxxxx> sequences in the ASCII printable range by their ASCII
28174 character equivalents.
28175 * localedata/locales/aa_ER: Likewise.
28176 * localedata/locales/aa_ER@saaho: Likewise.
28177 * localedata/locales/aa_ET: Likewise.
28178 * localedata/locales/af_ZA: Likewise.
28179 * localedata/locales/agr_PE: Likewise.
28180 * localedata/locales/ak_GH: Likewise.
28181 * localedata/locales/am_ET: Likewise.
28182 * localedata/locales/anp_IN: Likewise.
28183 * localedata/locales/ar_AE: Likewise.
28184 * localedata/locales/ar_BH: Likewise.
28185 * localedata/locales/ar_DZ: Likewise.
28186 * localedata/locales/ar_EG: Likewise.
28187 * localedata/locales/ar_IN: Likewise.
28188 * localedata/locales/ar_IQ: Likewise.
28189 * localedata/locales/ar_JO: Likewise.
28190 * localedata/locales/ar_KW: Likewise.
28191 * localedata/locales/ar_LB: Likewise.
28192 * localedata/locales/ar_LY: Likewise.
28193 * localedata/locales/ar_MA: Likewise.
28194 * localedata/locales/ar_OM: Likewise.
28195 * localedata/locales/ar_QA: Likewise.
28196 * localedata/locales/ar_SA: Likewise.
28197 * localedata/locales/ar_SD: Likewise.
28198 * localedata/locales/ar_SS: Likewise.
28199 * localedata/locales/ar_SY: Likewise.
28200 * localedata/locales/ar_TN: Likewise.
28201 * localedata/locales/ar_YE: Likewise.
28202 * localedata/locales/as_IN: Likewise.
28203 * localedata/locales/ast_ES: Likewise.
28204 * localedata/locales/ayc_PE: Likewise.
28205 * localedata/locales/az_AZ: Likewise.
28206 * localedata/locales/az_IR: Likewise.
28207 * localedata/locales/be_BY: Likewise.
28208 * localedata/locales/be_BY@latin: Likewise.
28209 * localedata/locales/bem_ZM: Likewise.
28210 * localedata/locales/ber_DZ: Likewise.
28211 * localedata/locales/ber_MA: Likewise.
28212 * localedata/locales/bg_BG: Likewise.
28213 * localedata/locales/bhb_IN: Likewise.
28214 * localedata/locales/bho_IN: Likewise.
28215 * localedata/locales/bi_VU: Likewise.
28216 * localedata/locales/bn_BD: Likewise.
28217 * localedata/locales/bn_IN: Likewise.
28218 * localedata/locales/bo_CN: Likewise.
28219 * localedata/locales/bo_IN: Likewise.
28220 * localedata/locales/br_FR: Likewise.
28221 * localedata/locales/brx_IN: Likewise.
28222 * localedata/locales/bs_BA: Likewise.
28223 * localedata/locales/byn_ER: Likewise.
28224 * localedata/locales/ca_AD: Likewise.
28225 * localedata/locales/ca_ES: Likewise.
28226 * localedata/locales/ca_FR: Likewise.
28227 * localedata/locales/ca_IT: Likewise.
28228 * localedata/locales/ce_RU: Likewise.
28229 * localedata/locales/chr_US: Likewise.
28230 * localedata/locales/cmn_TW: Likewise.
28231 * localedata/locales/crh_UA: Likewise.
28232 * localedata/locales/cs_CZ: Likewise.
28233 * localedata/locales/csb_PL: Likewise.
28234 * localedata/locales/cv_RU: Likewise.
28235 * localedata/locales/cy_GB: Likewise.
28236 * localedata/locales/da_DK: Likewise.
28237 * localedata/locales/de_AT: Likewise.
28238 * localedata/locales/de_BE: Likewise.
28239 * localedata/locales/de_CH: Likewise.
28240 * localedata/locales/de_DE: Likewise.
28241 * localedata/locales/de_IT: Likewise.
28242 * localedata/locales/de_LI: Likewise.
28243 * localedata/locales/de_LU: Likewise.
28244 * localedata/locales/doi_IN: Likewise.
28245 * localedata/locales/dv_MV: Likewise.
28246 * localedata/locales/dz_BT: Likewise.
28247 * localedata/locales/el_CY: Likewise.
28248 * localedata/locales/el_GR: Likewise.
28249 * localedata/locales/en_AG: Likewise.
28250 * localedata/locales/en_AU: Likewise.
28251 * localedata/locales/en_BW: Likewise.
28252 * localedata/locales/en_CA: Likewise.
28253 * localedata/locales/en_DK: Likewise.
28254 * localedata/locales/en_GB: Likewise.
28255 * localedata/locales/en_HK: Likewise.
28256 * localedata/locales/en_IE: Likewise.
28257 * localedata/locales/en_IL: Likewise.
28258 * localedata/locales/en_IN: Likewise.
28259 * localedata/locales/en_NG: Likewise.
28260 * localedata/locales/en_NZ: Likewise.
28261 * localedata/locales/en_PH: Likewise.
28262 * localedata/locales/en_SG: Likewise.
28263 * localedata/locales/en_US: Likewise.
28264 * localedata/locales/en_ZA: Likewise.
28265 * localedata/locales/en_ZM: Likewise.
28266 * localedata/locales/en_ZW: Likewise.
28267 * localedata/locales/eo: Likewise.
28268 * localedata/locales/es_AR: Likewise.
28269 * localedata/locales/es_BO: Likewise.
28270 * localedata/locales/es_CL: Likewise.
28271 * localedata/locales/es_CO: Likewise.
28272 * localedata/locales/es_CR: Likewise.
28273 * localedata/locales/es_CU: Likewise.
28274 * localedata/locales/es_DO: Likewise.
28275 * localedata/locales/es_EC: Likewise.
28276 * localedata/locales/es_ES: Likewise.
28277 * localedata/locales/es_GT: Likewise.
28278 * localedata/locales/es_HN: Likewise.
28279 * localedata/locales/es_MX: Likewise.
28280 * localedata/locales/es_NI: Likewise.
28281 * localedata/locales/es_PA: Likewise.
28282 * localedata/locales/es_PE: Likewise.
28283 * localedata/locales/es_PR: Likewise.
28284 * localedata/locales/es_PY: Likewise.
28285 * localedata/locales/es_SV: Likewise.
28286 * localedata/locales/es_US: Likewise.
28287 * localedata/locales/es_UY: Likewise.
28288 * localedata/locales/es_VE: Likewise.
28289 * localedata/locales/et_EE: Likewise.
28290 * localedata/locales/eu_ES: Likewise.
28291 * localedata/locales/eu_ES@euro: Likewise.
28292 * localedata/locales/fa_IR: Likewise.
28293 * localedata/locales/ff_SN: Likewise.
28294 * localedata/locales/fi_FI: Likewise.
28295 * localedata/locales/fil_PH: Likewise.
28296 * localedata/locales/fo_FO: Likewise.
28297 * localedata/locales/fr_BE: Likewise.
28298 * localedata/locales/fr_CA: Likewise.
28299 * localedata/locales/fr_CH: Likewise.
28300 * localedata/locales/fr_FR: Likewise.
28301 * localedata/locales/fr_LU: Likewise.
28302 * localedata/locales/fur_IT: Likewise.
28303 * localedata/locales/fy_DE: Likewise.
28304 * localedata/locales/fy_NL: Likewise.
28305 * localedata/locales/ga_IE: Likewise.
28306 * localedata/locales/gd_GB: Likewise.
28307 * localedata/locales/gez_ER: Likewise.
28308 * localedata/locales/gez_ET: Likewise.
28309 * localedata/locales/gl_ES: Likewise.
28310 * localedata/locales/gu_IN: Likewise.
28311 * localedata/locales/gv_GB: Likewise.
28312 * localedata/locales/ha_NG: Likewise.
28313 * localedata/locales/hak_TW: Likewise.
28314 * localedata/locales/he_IL: Likewise.
28315 * localedata/locales/hi_IN: Likewise.
28316 * localedata/locales/hif_FJ: Likewise.
28317 * localedata/locales/hne_IN: Likewise.
28318 * localedata/locales/hr_HR: Likewise.
28319 * localedata/locales/hsb_DE: Likewise.
28320 * localedata/locales/ht_HT: Likewise.
28321 * localedata/locales/hu_HU: Likewise.
28322 * localedata/locales/hy_AM: Likewise.
28323 * localedata/locales/i18n: Likewise.
28324 * localedata/locales/ia_FR: Likewise.
28325 * localedata/locales/id_ID: Likewise.
28326 * localedata/locales/ig_NG: Likewise.
28327 * localedata/locales/ik_CA: Likewise.
28328 * localedata/locales/is_IS: Likewise.
28329 * localedata/locales/it_CH: Likewise.
28330 * localedata/locales/it_IT: Likewise.
28331 * localedata/locales/iu_CA: Likewise.
28332 * localedata/locales/ja_JP: Likewise.
28333 * localedata/locales/ka_GE: Likewise.
28334 * localedata/locales/kk_KZ: Likewise.
28335 * localedata/locales/kl_GL: Likewise.
28336 * localedata/locales/kn_IN: Likewise.
28337 * localedata/locales/ko_KR: Likewise.
28338 * localedata/locales/kok_IN: Likewise.
28339 * localedata/locales/ks_IN: Likewise.
28340 * localedata/locales/ks_IN@devanagari: Likewise.
28341 * localedata/locales/ku_TR: Likewise.
28342 * localedata/locales/kw_GB: Likewise.
28343 * localedata/locales/ky_KG: Likewise.
28344 * localedata/locales/lb_LU: Likewise.
28345 * localedata/locales/lg_UG: Likewise.
28346 * localedata/locales/li_BE: Likewise.
28347 * localedata/locales/li_NL: Likewise.
28348 * localedata/locales/lij_IT: Likewise.
28349 * localedata/locales/ln_CD: Likewise.
28350 * localedata/locales/lo_LA: Likewise.
28351 * localedata/locales/lt_LT: Likewise.
28352 * localedata/locales/lv_LV: Likewise.
28353 * localedata/locales/lzh_TW: Likewise.
28354 * localedata/locales/mag_IN: Likewise.
28355 * localedata/locales/mai_IN: Likewise.
28356 * localedata/locales/mg_MG: Likewise.
28357 * localedata/locales/mhr_RU: Likewise.
28358 * localedata/locales/mi_NZ: Likewise.
28359 * localedata/locales/mk_MK: Likewise.
28360 * localedata/locales/ml_IN: Likewise.
28361 * localedata/locales/mn_MN: Likewise.
28362 * localedata/locales/mni_IN: Likewise.
28363 * localedata/locales/mr_IN: Likewise.
28364 * localedata/locales/ms_MY: Likewise.
28365 * localedata/locales/mt_MT: Likewise.
28366 * localedata/locales/my_MM: Likewise.
28367 * localedata/locales/nan_TW: Likewise.
28368 * localedata/locales/nan_TW@latin: Likewise.
28369 * localedata/locales/nb_NO: Likewise.
28370 * localedata/locales/nds_DE: Likewise.
28371 * localedata/locales/nds_NL: Likewise.
28372 * localedata/locales/ne_NP: Likewise.
28373 * localedata/locales/nhn_MX: Likewise.
28374 * localedata/locales/niu_NU: Likewise.
28375 * localedata/locales/niu_NZ: Likewise.
28376 * localedata/locales/nl_AW: Likewise.
28377 * localedata/locales/nl_BE: Likewise.
28378 * localedata/locales/nl_NL: Likewise.
28379 * localedata/locales/nn_NO: Likewise.
28380 * localedata/locales/nr_ZA: Likewise.
28381 * localedata/locales/nso_ZA: Likewise.
28382 * localedata/locales/oc_FR: Likewise.
28383 * localedata/locales/om_ET: Likewise.
28384 * localedata/locales/om_KE: Likewise.
28385 * localedata/locales/or_IN: Likewise.
28386 * localedata/locales/os_RU: Likewise.
28387 * localedata/locales/pa_IN: Likewise.
28388 * localedata/locales/pa_PK: Likewise.
28389 * localedata/locales/pap_AW: Likewise.
28390 * localedata/locales/pap_CW: Likewise.
28391 * localedata/locales/pl_PL: Likewise.
28392 * localedata/locales/ps_AF: Likewise.
28393 * localedata/locales/pt_BR: Likewise.
28394 * localedata/locales/pt_PT: Likewise.
28395 * localedata/locales/quz_PE: Likewise.
28396 * localedata/locales/raj_IN: Likewise.
28397 * localedata/locales/ro_RO: Likewise.
28398 * localedata/locales/ru_RU: Likewise.
28399 * localedata/locales/ru_UA: Likewise.
28400 * localedata/locales/rw_RW: Likewise.
28401 * localedata/locales/sa_IN: Likewise.
28402 * localedata/locales/sat_IN: Likewise.
28403 * localedata/locales/sc_IT: Likewise.
28404 * localedata/locales/sd_IN: Likewise.
28405 * localedata/locales/sd_IN@devanagari: Likewise.
28406 * localedata/locales/se_NO: Likewise.
28407 * localedata/locales/sgs_LT: Likewise.
28408 * localedata/locales/shs_CA: Likewise.
28409 * localedata/locales/si_LK: Likewise.
28410 * localedata/locales/sid_ET: Likewise.
28411 * localedata/locales/sk_SK: Likewise.
28412 * localedata/locales/sl_SI: Likewise.
28413 * localedata/locales/sm_WS: Likewise.
28414 * localedata/locales/so_DJ: Likewise.
28415 * localedata/locales/so_ET: Likewise.
28416 * localedata/locales/so_KE: Likewise.
28417 * localedata/locales/so_SO: Likewise.
28418 * localedata/locales/sq_AL: Likewise.
28419 * localedata/locales/sq_MK: Likewise.
28420 * localedata/locales/sr_ME: Likewise.
28421 * localedata/locales/sr_RS: Likewise.
28422 * localedata/locales/sr_RS@latin: Likewise.
28423 * localedata/locales/ss_ZA: Likewise.
28424 * localedata/locales/st_ZA: Likewise.
28425 * localedata/locales/sv_FI: Likewise.
28426 * localedata/locales/sv_SE: Likewise.
28427 * localedata/locales/sw_KE: Likewise.
28428 * localedata/locales/sw_TZ: Likewise.
28429 * localedata/locales/szl_PL: Likewise.
28430 * localedata/locales/ta_IN: Likewise.
28431 * localedata/locales/ta_LK: Likewise.
28432 * localedata/locales/tcy_IN: Likewise.
28433 * localedata/locales/te_IN: Likewise.
28434 * localedata/locales/tg_TJ: Likewise.
28435 * localedata/locales/th_TH: Likewise.
28436 * localedata/locales/the_NP: Likewise.
28437 * localedata/locales/ti_ER: Likewise.
28438 * localedata/locales/ti_ET: Likewise.
28439 * localedata/locales/tig_ER: Likewise.
28440 * localedata/locales/tk_TM: Likewise.
28441 * localedata/locales/tl_PH: Likewise.
28442 * localedata/locales/tn_ZA: Likewise.
28443 * localedata/locales/to_TO: Likewise.
28444 * localedata/locales/tpi_PG: Likewise.
28445 * localedata/locales/tr_CY: Likewise.
28446 * localedata/locales/tr_TR: Likewise.
28447 * localedata/locales/ts_ZA: Likewise.
28448 * localedata/locales/tt_RU: Likewise.
28449 * localedata/locales/tt_RU@iqtelif: Likewise.
28450 * localedata/locales/ug_CN: Likewise.
28451 * localedata/locales/uk_UA: Likewise.
28452 * localedata/locales/unm_US: Likewise.
28453 * localedata/locales/ur_IN: Likewise.
28454 * localedata/locales/ur_PK: Likewise.
28455 * localedata/locales/uz_UZ: Likewise.
28456 * localedata/locales/uz_UZ@cyrillic: Likewise.
28457 * localedata/locales/ve_ZA: Likewise.
28458 * localedata/locales/vi_VN: Likewise.
28459 * localedata/locales/wa_BE: Likewise.
28460 * localedata/locales/wae_CH: Likewise.
28461 * localedata/locales/wal_ET: Likewise.
28462 * localedata/locales/wo_SN: Likewise.
28463 * localedata/locales/xh_ZA: Likewise.
28464 * localedata/locales/yi_US: Likewise.
28465 * localedata/locales/yo_NG: Likewise.
28466 * localedata/locales/yue_HK: Likewise.
28467 * localedata/locales/yuw_PG: Likewise.
28468 * localedata/locales/zh_CN: Likewise.
28469 * localedata/locales/zh_HK: Likewise.
28470 * localedata/locales/zh_SG: Likewise.
28471 * localedata/locales/zh_TW: Likewise.
28472 * localedata/locales/zu_ZA: Likewise.
28474 2017-11-13 Florian Weimer <fweimer@redhat.com>
28476 * support/next_to_fault.h, support/next_to_fault.c: New files.
28477 * support/Makefile (libsupport-routines): Add next_to_fault.
28478 * resolv/tst-inet_pton.c (struct next_to_fault)
28479 (next_to_fault_allocate, next_to_fault_free): Remove.
28480 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28482 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28484 * elf/dl-support.c: Include <dl-procruntime.c>.
28485 * include/link.h: Include <link_map.h>.
28486 * sysdeps/generic/dl-procruntime.c: New file.
28487 * sysdeps/generic/link_map.h: Likewise.
28488 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28489 the writable ld.so namespace.
28491 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28493 timezone: pacify GCC -Wstringop-truncation
28494 Problem reported by Martin Sebor in:
28495 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28496 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28498 2017-11-12 Florian Weimer <fweimer@redhat.com>
28500 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28502 (tests): Add tst-xreadlink.
28503 * support/support.h (xstrndup): Declare.
28504 * support/xunistd.h (xunlink, xreadlink): Declare.
28505 * support/temp_file.h (support_create_temp_directory): Declare.
28506 * support/temp_file.c (support_create_temp_directory): New function.
28507 * support/support_chroot.c (support_chroot_create): Use it.
28508 * support/xreadlink.c: New file.
28509 * support/xstrndup.c: Likewise.
28510 * support/xunlink.c: Likewise.
28511 * support/tst-xreadlink.c: Likewise.
28513 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28515 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28517 2017-11-11 Florian Weimer <fweimer@redhat.com>
28521 * resolv/res_comp.c (printable_string, binary_hnok)
28522 (binary_leading_dash): New functions.
28523 (res_hnok): Reimplement using these functions and ns_name_pton.
28524 (res_ownok): Likewise.
28525 (res_mailok): Reimplement using printable_string, ns_name_pton and
28527 (res_dnok): Reimplement using printable_string and ns_name_pton.
28528 * resolv/tst-res_hnok.c (tests): Add additional tests.
28529 (LETTERDIGITS, PRINTABLE): Define.
28530 (do_test): Adjust one_char results.
28532 2017-11-11 Florian Weimer <fweimer@redhat.com>
28535 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28536 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28538 2017-11-11 Florian Weimer <fweimer@redhat.com>
28540 * resolv/tst-ns_name_pton.c: New file.
28541 * resolv/Makefile (tests): Add tst-ns_name_pton.
28542 (tst-ns_name_pton): Link against libresolv.
28544 2017-11-11 Florian Weimer <fweimer@redhat.com>
28546 * resolv/tst-res_hnok.c: New file.
28547 * resolv/Makefile (tests): Add tst-res_hnok.
28548 (tst-res_hnok): Link against libresolv.
28550 2017-11-11 Florian Weimer <fweimer@redhat.com>
28552 * resolv/tst-resolv-network.c: Use test framework instead explicit
28555 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28557 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28558 <jmp_buf-macros.h>.
28559 [!_ISOMAC] (STR_HELPER): New.
28560 [!_ISOMAC] (STR): Likewise.
28561 [!_ISOMAC] (TEST_SIZE): Likewise.
28562 [!_ISOMAC] (TEST_ALIGN): Likewise.
28563 [!_ISOMAC] (TEST_OFFSET): Likewise.
28564 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28565 field offsets of jmp_buf as well as sigjmp_buf.
28566 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28567 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28568 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28569 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28570 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28571 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28572 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28573 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28574 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28575 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28577 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28579 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28584 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28585 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28586 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28587 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28588 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28593 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28594 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28595 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28597 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28601 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28603 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28605 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28607 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28609 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28611 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28613 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28615 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28617 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28619 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28621 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28623 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28625 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28627 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28629 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28631 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28633 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28635 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28637 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28639 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28641 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28643 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28645 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28647 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28649 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28651 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28653 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28655 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28657 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28659 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28661 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28663 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28665 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28667 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28669 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28671 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28673 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28675 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28677 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28679 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28681 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28683 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28685 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28687 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28689 * stdlib/tst-strtod.h (F16): New macro.
28695 (IF_FLOAT16): Likewise.
28696 (IF_FLOAT32): Likewise.
28697 (IF_FLOAT64): Likewise.
28698 (IF_FLOAT32X): Likewise.
28699 (IF_FLOAT64X): Likewise.
28700 (IF_FLOAT128X): Likewise.
28701 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28702 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28703 (STRTOD_TEST_FOREACH): Likewise.
28704 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28705 (CHOOSE_f64): Likewise.
28706 (CHOOSE_f32x): Likewise.
28707 (CHOOSE_f64x): Likewise.
28709 2017-11-07 Andreas Schwab <schwab@suse.de>
28711 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28713 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28716 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28718 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28721 2017-11-07 Claude Paroz <claude@2xlibre.net>
28724 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28726 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28728 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28731 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28734 * nptl/allocatestack.c (allocate_stack): Check if
28735 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28736 __PTHREAD_MUTEX_HAVE_PREV is defined.
28737 * nptl/descr.h (pthread): Likewise.
28738 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28740 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28741 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28742 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28743 * sysdeps/nptl/bits/thread-shared-types.h
28744 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28746 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28747 of __WORDSIZE for internal layout.
28748 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28749 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28750 instead of __WORDSIZE whether to use an union for __spins and __list
28752 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28754 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28757 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28760 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28763 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28764 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28766 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28767 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28769 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28770 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28772 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28773 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28775 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28776 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28778 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28781 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28784 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28787 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28790 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28793 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28796 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28800 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28802 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28803 checks for expected input type size.
28804 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28805 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28807 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28808 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28809 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28810 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28811 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28812 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28813 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28814 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28815 superflous runtime assert check.
28816 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28818 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28820 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28822 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28824 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28826 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28828 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28829 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28830 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28832 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28834 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28836 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28838 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28840 * nptl/pthread_attr_setinheritsched.c
28841 (__pthread_attr_setinheritsched): Likewise.
28842 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28844 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28846 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28847 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28848 __old_pthread_attr_setstack): Likewise.
28849 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28851 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28853 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28855 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28856 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28858 * nptl/tst-typesizes.c: Remove file.
28860 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28861 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28862 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28863 checks for internal pthread_mutex_t offsets.
28864 * sysdeps/aarch64/nptl/pthread-offsets.h
28865 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28866 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28867 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28868 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28869 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28870 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28871 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28872 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28873 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28874 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28875 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28876 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28877 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28878 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28879 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28880 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28881 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28882 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28884 2017-11-07 Florian Weimer <fweimer@redhat.com>
28886 * bits/mman-linux.h: Move ...
28887 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28889 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28892 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28894 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28895 Redefine STRNLEN as __strnlen_power8.
28897 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28899 * signal/sighold.c (sighold): Optimize implementation.
28901 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28902 __NR_rt_sigqueueinfo.
28904 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28906 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28907 assume __NR_rt_sigtimedwait.
28908 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28909 and add LIBC_CANCEL_HANDLED for cancellation marking.
28910 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28912 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28913 (sysdeps_routines): Add memchr_noneon.
28914 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28915 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28916 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28917 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28918 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28919 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28920 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28922 * sysdeps/arm/arm-ifunc.h: New file.
28923 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28924 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28925 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28926 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28927 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28928 (__memcpy_neon): Avoid create hidden alias.
28929 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28930 (__memcpy_vfp): Likewise.
28931 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28932 (sysdep_routines): Add memcpy_arm.
28933 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28935 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28938 * Makerules (make-link-multidir): New.
28939 * config.make.in (multidir): New.
28940 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28941 * configure: Regenerated.
28942 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28943 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28944 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28947 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28950 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28951 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28953 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28955 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28958 2017-11-04 Florian Weimer <fweimer@redhat.com>
28960 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28962 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28964 * math/math.h [__HAVE_DISTINCT_FLOAT16
28965 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28966 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28967 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28968 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28969 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28970 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28971 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28972 (__MATH_TG_F32): New macro.
28973 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28974 (__MATH_TG_F64X): Likewise.
28975 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28976 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28978 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28980 * po/de.po: Update translations.
28981 * po/ru.po: Likewise.
28983 2017-11-03 Florian Weimer <fweimer@redhat.com>
28985 * manual/filesys.texi (Hard Links): Document linkat.
28987 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28989 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28990 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28991 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28992 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28993 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28994 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28995 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28996 the same as _Float128.
28997 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28998 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28999 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29002 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29004 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29006 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29008 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29009 (strtof32x): Likewise.
29010 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29011 (strtof64x): Likewise.
29012 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29013 (strtof128x): Likewise.
29014 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29015 (strfromf16): Likewise.
29016 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29017 (strfromf32): Likewise.
29018 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29019 (strfromf64): Likewise.
29020 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29021 (strfromf32x): Likewise.
29022 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29023 (strfromf64x): Likewise.
29024 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29025 (strfromf128x): Likewise.
29026 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29027 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29028 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29029 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29030 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29031 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29033 2017-11-03 Richard Henderson <rth@twiddle.net>
29035 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29037 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29039 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29041 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29043 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29044 DT_TLSDESC_GOT initialization.
29045 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29046 (_dl_tlsdesc_resolve_hold): Likewise.
29047 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29048 (_dl_tlsdesc_resolve_hold): Likewise.
29049 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29050 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29052 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29054 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29056 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29059 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29060 non-lazily for R_ARM_TLS_DESC.
29062 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29065 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29066 R_ARM_TLS_DESC case.
29067 (elf_machine_lazy_rel): Remove the prelink check.
29069 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29071 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29072 DT_TLSDESC_GOT initialization.
29073 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29074 (_dl_tlsdesc_resolve_rela): Likewise.
29075 (_dl_tlsdesc_resolve_hold): Likewise.
29076 (_dl_tlsdesc_undefweak): Remove ldar.
29077 (_dl_tlsdesc_dynamic): Likewise.
29078 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29079 (_dl_tlsdesc_resolve_rela): Likewise.
29080 (_dl_tlsdesc_resolve_hold): Likewise.
29081 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29082 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29083 (_dl_tlsdesc_resolve_rela): Likewise.
29084 (_dl_tlsdesc_resolve_hold): Likewise.
29086 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29088 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29089 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29091 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29093 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29094 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29096 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29098 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29100 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29101 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29102 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29103 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29104 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29105 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29106 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29107 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29108 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29109 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29110 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29112 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29115 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29116 * localedata/locales/tpi_PG: Add standard header.
29118 2017-11-02 Florian Weimer <fweimer@redhat.com>
29120 test-errno-linux: quotactl can fail with EPERM in containers.
29121 * sysdeps/unix/sysv/linux/test-errno-linux.c
29122 (LIST, LIST_FORWARD): New macros.
29123 (check_error_in_list): New function.
29124 (test_wrp_rv): Accept list of permitted error codes.
29125 (test_wrp_rv2): Remove.
29126 (test_wrp): Call test_wrp_rv with list of error codes.
29127 (test_wrp2): Accept list of error codes.
29128 (do_test): Adjust. Allow EPERM for quotactl.
29130 2017-11-02 Florian Weimer <fweimer@redhat.com>
29132 * stdio-common/bug16.c (do_test): Use array_length.
29133 * stdio-common/errlist.c (_sys_nerr): Likewise.
29134 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29135 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29136 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29137 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29138 (do_test): Use array_length.
29139 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29140 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29141 * stdio-common/tst-printf-round.c (do_test): Likewise.
29142 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29143 (CHECK): Use array_length.
29144 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29145 * stdio-common/tstscanf.c (main): Likewise.
29146 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29148 2017-11-02 Florian Weimer <fweimer@redhat.com>
29150 Add array_length and array_end macros.
29151 * include/array_length.h: New file.
29153 2017-11-02 Florian Weimer <fweimer@redhat.com>
29156 * posix/tst-glob-tilde.c (do_noescape): New variable.
29157 (one_test): Process it.
29158 (do_test): Set do_noescape. Add unescaping test case.
29160 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29163 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29164 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29165 with appropriate macros defined and undefined.
29166 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29167 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29168 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29169 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29170 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29171 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29172 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29173 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29174 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29175 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29178 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29179 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29180 that for long double. Do not condition define and undefine of
29181 _Mdouble_complex_ on [__CFLOAT128].
29183 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29185 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29186 of <sysdeps/generic/sysdep.h>.
29187 (ALIGNARG): Removed.
29188 (ASM_SIZE_DIRECTIVE): Likewise.
29191 (ENTRY_CHK): Likewise.
29192 (END_CHK): Likewise.
29193 (syscall_error): Likewise.
29194 (mcount): Likewise.
29195 (PSEUDO_END): Likewise.
29197 (atom_text_section): Likewise.
29198 * sysdeps/x86/sysdep.h: New file.
29199 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29200 of <sysdeps/generic/sysdep.h>.
29201 (ALIGNARG): Removed.
29202 (ASM_SIZE_DIRECTIVE): Likewise.
29205 (ENTRY_CHK): Likewise.
29206 (END_CHK): Likewise.
29207 (syscall_error): Likewise.
29208 (mcount): Likewise.
29209 (PSEUDO_END): Likewise.
29211 (atom_text_section): Likewise.
29213 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29215 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29216 category of LC_CTYPE set to "i18n:2012".
29217 * localedata/locales/i18n_ctype: Regenerate.
29219 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29221 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29222 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29223 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29224 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29226 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29227 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29229 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29231 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29234 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29236 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29238 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29240 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29241 (CMPLXF32X): Likewise.
29242 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29243 (CMPLXF64X): Likewise.
29244 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29245 (CMPLXF128X): Likewise.
29248 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29249 (__MATH_EVAL_FMT2): Define to add 0.0f.
29251 2017-10-31 Alan Modra <amodra@gmail.com>
29253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29285 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29286 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29287 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29323 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29326 include sysdep.h and math_ldbl_opt.h.
29328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29329 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29355 2017-10-31 Alan Modra <amodra@gmail.com>
29357 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29358 string/strncase_l.c, not string/strncase.c.
29359 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29360 (libc_hidden_def): Redefine.
29362 2017-10-31 Alan Modra <amodra@gmail.com>
29364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29365 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29366 (__strcasecmp): Don't define.
29368 2017-10-31 Alan Modra <amodra@gmail.com>
29370 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29372 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29376 2017-10-31 Alan Modra <amodra@gmail.com>
29378 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29381 2017-10-31 Alan Modra <amodra@gmail.com>
29383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29384 Redefine only when SHARED.
29386 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29388 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29389 Include <bits/math-finite.h> with appropriate macros defined and
29391 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29392 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29393 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29394 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29395 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29397 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29398 [!_Mlong_double_] (_Mlong_double_): Likewise.
29399 [!_Mfloat16_] (_Mfloat16_): Likewise.
29400 [!_Mfloat32_] (_Mfloat32_): Likewise.
29401 [!_Mfloat64_] (_Mfloat64_): Likewise.
29402 [!_Mfloat128_] (_Mfloat128_): Likewise.
29403 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29404 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29405 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29406 (_Mdouble_): Define without indirection through those macros.
29407 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29408 [!_Mfloat128_] (_Mfloat128_): Likewise.
29409 [_Mlong_double_] (_Mlong_double_): Likewise.
29410 (_Mdouble_): Define without indirection through those macros.
29411 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29412 not add -D_Mlong_double_=double.
29413 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29414 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29416 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29418 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29420 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29422 * sysdeps/x86/libc-start.c: Reformat.
29424 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29427 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29428 (1): Renamed to ...
29431 (L(Src2)): Likewise.
29432 (L(1)): Renamed to ...
29435 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29437 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29438 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29439 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29440 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29441 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29442 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29443 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29444 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29445 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29446 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29447 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29448 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29449 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29450 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29451 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29452 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29453 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29454 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29455 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29456 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29457 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29458 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29459 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29460 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29461 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29462 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29463 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29464 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29465 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29466 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29467 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29468 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29469 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29470 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29471 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29472 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29473 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29474 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29475 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29476 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29477 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29478 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29479 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29480 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29481 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29482 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29483 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29484 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29485 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29486 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29487 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29488 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29489 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29490 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29491 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29492 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29493 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29494 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29495 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29496 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29497 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29498 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29499 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29500 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29501 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29502 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29504 2017-10-30 Florian Weimer <fweimer@redhat.com>
29506 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29508 * io/tst-mkdirat.c (do_test): Likewise.
29509 * io/tst-mkfifoat.c (do_test): Likewise.
29510 * io/tst-mknodat.c (do_test): Likewise.
29511 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29512 * locale/programs/locale.c (select_dirs): Likewise.
29513 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29514 * posix/bug-glob2.c (my_readdir): Likewise.
29515 * posix/tst-dir.c (main): Likewise.
29516 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29517 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29519 2017-10-30 Florian Weimer <fweimer@redhat.com>
29521 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29524 2017-10-30 Florian Weimer <fweimer@redhat.com>
29526 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29527 Convert to support/test-driver.c.
29528 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29529 New macro parameters.
29530 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29531 * posix/tst-gnuglob.c: New file.
29532 * posix/tst-gnuglob64.c: Likewise.
29533 * posix/Makefile (tests): Add tst-gnuglob64.
29535 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29538 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29539 and use a better translation for March in “mon”.
29540 * localedata/locales/csb_PL: Use more ASCII to improve the
29541 readability of the source.
29543 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29546 * localedata/locales/km_KH: Use ASCII as much
29547 as possible for better readability of the source and
29548 remove useless comments.
29549 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29550 was commented out and apparently wrong anyway because it was
29551 using Lao characters. If Buddhist era should be used
29552 for km_KH, a native speaker should write the correct formaat
29554 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29555 (According to CLDR, the first weekday for Cambodia is Sunday).
29556 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29557 (These were using Lao characters which must be wrong. If we get
29558 the correct data from a native speaker, we could add it back, until
29559 then it is better not to have name_mr and name_mrs at all than
29562 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29564 * locale/loadlocale.c: Correct size of
29565 _nl_value_type_LC_<category> arrays.
29567 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29569 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29570 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29571 with appropriate macros defined and undefined.
29572 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29573 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29574 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29575 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29576 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29578 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29580 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29583 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29585 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29586 with lowercase letters to make it agree with CLDR.
29588 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29591 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29592 first letters of yesstr and nostr in yesexpr and noexpr,
29593 not for the full words.
29594 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29595 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29596 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29597 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29598 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29599 first letters of yesstr and nostr in yesexpr and noexpr,
29600 until now only English was matched in yesexpr and noexpr.
29601 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29602 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29603 fil but not for tl. As tl and fil are very similar, using fil
29604 is probably better than using English.
29606 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29609 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29610 in yesstr and nostr.
29612 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29614 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29615 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29616 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29618 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29620 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29622 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29624 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29625 (SNANF128X): Likewise.
29627 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29628 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29629 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29630 (HUGE_VAL_F32): Likewise.
29631 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29632 (HUGE_VAL_F64): Likewise.
29633 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29634 (HUGE_VAL_F32X): Likewise.
29635 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29636 (HUGE_VAL_F64X): Likewise.
29637 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29638 (HUGE_VAL_F128X): Likewise.
29640 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29642 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29643 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29644 for the br_FR locale.
29646 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29649 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29651 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29653 * locale/programs/record-status.h: Define globals, and function
29654 prototypes. Move function bodies...
29655 * locale/programs/record-status.c: ... to here. New file.
29656 * iconv/Makefile (iconv_prog-modules): Add record-status.
29657 * locale/Makefile (lib-modules): Likewise.
29658 * iconv/iconv_prog.c: Remove verbose.
29659 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29660 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29661 record a warning about ASCII compatibility.
29662 * locale/programs/ld-monetary.c (monetary_finish): If
29663 warn_int_curr_symbol is true then record a warning about the symbol
29664 not being in our ISO 4217 list.
29665 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29666 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29667 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29668 (OPT_NO_WARN): Define.
29669 (OPT_WARN): Define.
29670 (options): Add entry for --no-warnings, and --warnings.
29671 (set_warnings): New function to enable/disable warnings.
29672 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29673 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29674 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29675 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29676 Pass flags to generate_locale.
29677 (generate_locale): Accept new flag argument and pass it to localedef
29679 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29680 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29682 * localedata/Makefile (test-input-data): Use full file name.
29683 * localedata/da_DK.in: Rename to...
29684 * localedata/da_DK.ISO-8859-1.in: ...this.
29685 * localedata/de_DE.in: Rename to...
29686 * localedata/de_DE.ISO-8859-1.in: ...this.
29687 * localedata/en_US.in: Rename to...
29688 * localedata/en_US.ISO-8859-1.in: ...this.
29689 * localedata/fr_FR.in: Rename to...
29690 * localedata/fr_FR.UTF-8.in: ... this.
29691 * localedata/hr_HR.in: Rename to...
29692 * localedata/hr_HR.ISO-8859-2.in: ...this.
29693 * localedata/hu_HU.in: Rename to...
29694 * localedata/hu_HU.UTF-8.in: ...this.
29695 * localedata/si_LK.in: Rename to...
29696 * localedata/si_LK.UTF-8.in: ...this.
29697 * localedata/sv_SE.in: Rename to...
29698 * localedata/sv_SE.ISO-8859-1.in: ...this.
29699 * localedata/tr_TR.in: Rename to...
29700 * localedata/tr_TR.UTF-8.in: ...this.
29701 * localedata/uk_UA.in: Rename to...
29702 * localedata/uk_UA.UTF-8.in: ...this.
29703 * localedata/sort-test.sh: Test file is locale name with the
29706 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29707 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29709 * localedata/locales/i18n_ctype: Regenerate.
29710 * localedata/locales/tr_TR: Likewise.
29711 * localedata/locales/translit_circle: Likewise.
29712 * localedata/locales/translit_cjk_compat: Likewise.
29713 * localedata/locales/translit_combining: Likewise.
29714 * localedata/locales/translit_compat: Likewise.
29715 * localedata/locales/translit_font: Likewise.
29716 * localedata/locales/translit_fraction: Likewise.
29718 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29720 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29721 lxvd2x/stxvd2x with lvx/stvx.
29722 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29724 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29726 * include/alloc_buffer.h: Replace "if if " with "if " in
29728 * sysdeps/mips/memcpy.S: Likkewise.
29729 * sysdeps/mips/memset.S: Likewise.
29730 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29732 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29734 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29737 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29740 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29741 yesexpr and noexpr.
29742 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29743 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29744 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29745 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29746 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29747 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29748 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29750 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29752 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29753 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29754 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29755 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29756 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29757 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29758 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29759 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29760 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29761 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29762 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29763 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29765 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29767 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29768 as possible for better readability of the source.
29769 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29770 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29771 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29772 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29773 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29774 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29775 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29776 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29777 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29778 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29779 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29780 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29781 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29782 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29783 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29784 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29785 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29786 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29787 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29788 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29789 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29790 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29791 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29792 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29793 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29794 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29795 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29796 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29797 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29798 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29799 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29800 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29801 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29802 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29803 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29804 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29805 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29806 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29807 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29808 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29809 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29810 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29811 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29812 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29813 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29814 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29815 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29816 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29817 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29818 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29819 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29820 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29821 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29822 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29823 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29824 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29825 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29826 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29827 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29828 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29829 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29830 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29831 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29832 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29833 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29834 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29835 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29836 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29837 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29838 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29839 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29840 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29841 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29842 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29843 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29844 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29845 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29846 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29847 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29848 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29849 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29850 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29851 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29852 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29853 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29854 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29855 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29856 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29857 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29858 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29859 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29860 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29861 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29862 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29863 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29864 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29865 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29866 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29867 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29868 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29869 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29870 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29871 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29872 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29873 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29874 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29875 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29876 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29877 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29878 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29879 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29880 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29881 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29882 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29883 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29884 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29885 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29886 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29887 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29888 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29889 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29890 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29891 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29892 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29893 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29894 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29895 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29896 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29897 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29898 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29899 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29900 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29901 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29902 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29903 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29904 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29905 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29906 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29907 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29908 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29909 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29910 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29911 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29912 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29913 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29914 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29915 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29916 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29917 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29918 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29919 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29920 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29921 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29922 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29923 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29924 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29925 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29926 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29927 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29928 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29929 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29930 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29931 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29932 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29933 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29934 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29935 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29936 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29937 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29938 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29939 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29940 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29941 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29942 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29944 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29946 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29947 (Use first letters of yesstr and nostr correctly instead of using
29950 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29952 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29953 (Use first letters of yesstr and nostr correctly).
29955 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29957 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29958 also check for the first characters of yesstr and nostr.
29959 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29960 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29962 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29964 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29965 also check for Chinese characters.
29967 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29969 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29970 match also for the contents of yesstr and nostr. As the first letter
29971 of yesstr and nostr is equal, checking only for the first letter
29974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29976 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29977 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29979 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29981 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29982 of main contributor.
29984 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29986 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29987 instead of using English.
29989 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29991 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29992 by including the first letters of nostr and yesexpr in the regexp.
29993 Also make it more readable by using ASCII where possible.
29995 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29997 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29998 the first letter of nostr in the regexp. It agrees with CLDR now.
29999 Also make it more readable by using ASCII where possible.
30001 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30003 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30004 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30005 these strings contain a U+17D6 (which somewhat looks like a colon)
30006 instead of a real colon to separate the full words for “yes”
30007 and “no” from the single letter responses.
30009 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30011 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30012 it agree with CLDR (include the first letter of yesstr).
30013 Also make it more readable by using ASCII where possible.
30015 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30017 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30018 and improve yesexpr and noexpr. The yesstr and nostr apparently
30019 came from CLDR. And CLDR has a bug there: these strings contain
30020 a U+0903 (which looks like a colon) instead of a real colon
30021 to separate the full words for “yes” and “no” from the single
30024 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30026 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30027 letters of the full yesstr and nostr in yesexpr and noexpr.
30029 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30031 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30032 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30033 * localedata/locales/an_ES: Make source more readable by using ASCII
30036 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30039 * localedata/locales/yuw_PG: New file.
30040 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30041 * locale/iso-639.def: Add Yau (Uruwa).
30043 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30045 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30047 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30049 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30050 (__libc_realloc): Likewise.
30051 (_mid_memalign): Likewise.
30052 (__libc_calloc): Likewise.
30054 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30056 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30057 by adding the generic +1 and -0 as in all other locales.
30058 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30059 day names and make it more readable by using ASCII where possible.
30061 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30063 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30064 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30066 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30068 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30069 WNOHANG in waitpid call.
30071 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30073 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30074 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30076 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30077 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30078 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30079 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30080 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30081 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30082 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30083 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30086 2017-10-23 Michael Collison <michael.collison@arm.com>
30088 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30089 with __builtin_sqrt.
30090 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30091 with __builtin_sqrtf.
30092 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30093 with __builtin_ceil.
30094 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30095 with __builtin_ceilf.
30096 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30097 with __builtin_floor.
30098 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30099 with __builtin_floorf.
30100 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30101 with __builtin_fma.
30102 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30103 with __builtin_fmaf.
30104 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30105 with __builtin_fmax.
30106 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30107 with __builtin_fmaxf.
30108 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30109 with __builtin_fmin.
30110 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30111 with __builtin_fminf.
30112 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30113 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30114 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30115 with builtin_rint and conversion to int.
30116 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30117 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30118 with builtin_llround.
30119 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30120 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30121 with builtin_rint and conversion to long int.
30122 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30123 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30124 with builtin_lround.
30125 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30126 with builtin_lroundf.
30127 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30128 statements with __builtin_nearbyint.
30129 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30130 statements with __builtin_nearbyintf.
30131 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30132 with __builtin_rint.
30133 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30134 with __builtin_rintf.
30135 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30136 with __builtin_round.
30137 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30138 with __builtin_roundf.
30139 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30140 with __builtin_trunc.
30141 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30142 with __builtin_truncf.
30143 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30144 and s_l[l]round[f].c too.
30146 2017-10-23 Alan Modra <amodra@gmail.com>
30148 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30149 Adjust stack after restoring regs. Add missing LR cfi_restore.
30151 2017-10-23 Alan Modra <amodra@gmail.com>
30153 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30154 Move LR save and frame setup/teardown and LR restore to
30155 immediately around memset call. Provide cfi.
30157 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30159 * sysdeps/i386/fpu/e_powf.S: Removed.
30160 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30161 * sysdeps/i386/fpu/w_powf.c: Likewise.
30162 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30163 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30164 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30166 (CFLAGS-e_powf-sse2.c): New.
30167 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30168 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30170 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30172 * sysdeps/i386/fpu/e_log2f.S: Removed.
30173 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30174 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30175 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30176 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30177 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30179 (CFLAGS-e_log2f-sse2.c): New.
30180 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30181 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30183 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30187 (CFLAGS-e_powf-fma.c): New.
30188 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30189 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30191 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30193 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30195 (CFLAGS-e_log2f-fma.c): New.
30196 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30197 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30199 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30201 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30203 (CFLAGS-e_logf-fma.c): New.
30204 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30205 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30207 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30209 * sysdeps/i386/fpu/e_logf.S: Removed.
30210 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30211 * sysdeps/i386/fpu/w_logf.c: Likewise.
30212 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30213 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30215 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30217 (CFLAGS-e_logf-sse2.c): New.
30218 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30219 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30221 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30223 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30224 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30225 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30226 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30227 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30229 (CFLAGS-e_exp2f-sse2.c): New.
30230 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30231 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30233 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30235 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30237 (CFLAGS-e_exp2f-fma.c): New.
30238 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30239 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30241 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30243 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30244 * sysdeps/i386/fpu/e_expf.S: Likewise.
30245 * sysdeps/i386/fpu/math_errf.c: Likewise.
30246 * sysdeps/i386/fpu/w_expf.c: Likewise.
30247 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30249 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30250 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30251 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30252 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30253 Remove e_expf-ia32.
30254 (CFLAGS-e_expf-sse2.c): New.
30255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30256 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30258 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30260 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30261 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30262 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30263 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30265 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30267 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30268 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30270 (__redirect_expf): This.
30271 (SYMBOL_NAME): Changed to expf.
30272 (__ieee754_expf): Renamed to ...
30274 (__GI___expf): This.
30275 (__ieee754_expf): Add strong_alias.
30276 (__expf_finite): Likewise.
30278 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30280 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30283 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30286 2017-10-21 Florian Weimer <fweimer@redhat.com>
30288 * posix/Makefile (tests): Add tst-glob-tilde.
30289 (tests-special): Add tst-glob-tilde-mem.out
30290 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30291 (tst-glob-tilde-mem.out): Add mtrace check.
30292 * posix/tst-glob-tilde.c: New file.
30294 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30296 * bits/floatn-common.h: New file.
30297 * math/Makefile (headers): Add bits/floatn-common.h.
30298 * bits/floatn.h: Include <bits/floatn-common.h>.
30299 * sysdeps/ia64/bits/floatn.h: Likewise.
30300 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30301 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30302 * sysdeps/powerpc/bits/floatn.h: Likewise.
30303 * sysdeps/x86/bits/floatn.h: Likewise.
30305 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30307 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30308 indicates whether compiler emits an warning for alias for
30309 functions with incompatible types.
30312 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30313 the auxiliary process is terminated by a signal before calling _exit
30316 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30319 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30321 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30322 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30323 and bit_arch_XSAVEC_Usable if needed.
30324 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30325 and bit_arch_Use_dl_runtime_resolve_opt.
30326 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30328 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30329 (bit_arch_Prefer_No_AVX512): Updated.
30330 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30331 (bit_arch_XSAVEC_Usable): New.
30332 (STATE_SAVE_OFFSET): Likewise.
30333 (STATE_SAVE_MASK): Likewise.
30334 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30335 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30336 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30337 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30338 (index_arch_XSAVEC_Usable): New.
30339 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30340 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30341 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30343 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30344 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30345 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30346 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30347 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30348 _dl_runtime_resolve_xsavec.
30349 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30351 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30352 instead of VEC_SIZE.
30353 (REGISTER_SAVE_BND0): Removed.
30354 (REGISTER_SAVE_BND1): Likewise.
30355 (REGISTER_SAVE_BND3): Likewise.
30356 (REGISTER_SAVE_RAX): Always defined to 0.
30358 (_dl_runtime_resolve_avx): Likewise.
30359 (_dl_runtime_resolve_avx_slow): Likewise.
30360 (_dl_runtime_resolve_avx_opt): Likewise.
30361 (_dl_runtime_resolve_avx512): Likewise.
30362 (_dl_runtime_resolve_avx512_opt): Likewise.
30363 (_dl_runtime_resolve_sse): Likewise.
30364 (_dl_runtime_resolve_sse_vex): Likewise.
30366 (_dl_runtime_resolve_fxsave): Likewise.
30367 (USE_XSAVE): Likewise.
30368 (_dl_runtime_resolve_xsave): Likewise.
30369 (USE_XSAVEC): Likewise.
30370 (_dl_runtime_resolve_xsavec): Likewise.
30371 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30373 (_dl_runtime_resolve_avx512_opt): Likewise.
30374 (_dl_runtime_resolve_avx): Likewise.
30375 (_dl_runtime_resolve_avx_opt): Likewise.
30376 (_dl_runtime_resolve_sse): Likewise.
30377 (_dl_runtime_resolve_sse_vex): Likewise.
30378 (_dl_runtime_resolve_fxsave): New.
30379 (_dl_runtime_resolve_xsave): Likewise.
30380 (_dl_runtime_resolve_xsavec): Likewise.
30382 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30386 * posix/glob.c (__glob): Fix one-byte overflow.
30388 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30390 * malloc/malloc.c (sysdep-cancel.h): Add include.
30392 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30394 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30396 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30398 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30399 (tests): Remove $(objpfx)ga_test depdendency.
30400 * resolv/ga_test.c: Remove file.
30402 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30405 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30406 * localedata/locales/kab_DZ: New file.
30408 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30410 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30411 _dl_relocate_static_pie instead of _dl_start to compute load
30412 address in static PIE.
30414 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30416 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30418 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30421 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30422 * localedata/locales/shn_MM: New file.
30424 2017-10-20 Florian Weimer <fweimer@redhat.com>
30427 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30428 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30429 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30430 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30431 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30432 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30434 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30436 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30438 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30440 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30443 * sysdeps/mips/bits/long-double.h: Move to ....
30444 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30446 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30448 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30450 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30451 H.J. Lu <hongjiu.lu@intel.com>
30454 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30455 GLRO(dl_platform) to NULL.
30456 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30457 (modules-names): Add tst-platformmod-1 and
30458 x86_64/tst-platformmod-2.
30459 (CFLAGS-tst-platform-1.c): New.
30460 (CFLAGS-tst-platformmod-1.c): Likewise.
30461 (CFLAGS-tst-platformmod-2.c): Likewise.
30462 (LDFLAGS-tst-platformmod-2.so): Likewise.
30463 ($(objpfx)tst-platform-1): Likewise.
30464 ($(objpfx)tst-platform-1.out): Likewise.
30465 (tst-platform-1-ENV): Likewise.
30466 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30467 * sysdeps/x86_64/tst-platform-1.c: New file.
30468 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30469 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30471 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30474 * locale/iso-639.def: Add Karbi.
30475 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30476 * localedata/locales/mjw_IN: New file.
30478 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30480 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30481 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30482 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30483 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30484 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30485 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30486 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30488 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30489 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30490 * manual/math.texi (Mathematics): Document additional architecture
30491 support for _Float128.
30492 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30493 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30494 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30495 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30496 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30498 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30499 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30501 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30502 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30504 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30506 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30508 2017-10-18 Renlin Li <renlin.li@arm.com>
30510 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30511 _DYNAMIC symbol to calculate load address.
30513 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30515 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30516 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30518 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30519 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30521 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30524 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30525 and improve readability by using more ASCII.
30526 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30527 and improve readability by using more ASCII.
30529 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30531 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30532 not all targets support atomics on bool.
30534 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30536 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30537 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30539 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30540 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30541 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30542 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30543 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30544 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30546 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30548 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30551 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30554 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30555 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30556 (do_check_remalloced_chunk): Fix build bug.
30557 (do_check_malloc_state): Add assert that checks arena->top.
30558 (malloc_consolidate): Remove initialization.
30559 (int_mallinfo): Remove call to malloc_consolidate.
30560 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30562 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30564 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30565 (have_fastchunks): Remove.
30566 (clear_fastchunks): Remove.
30567 (set_fastchunks): Remove.
30568 (malloc_state): Add have_fastchunks.
30569 (malloc_init_state): Use have_fastchunks.
30570 (do_check_malloc_state): Remove incorrect invariant checks.
30571 (_int_malloc): Use have_fastchunks.
30572 (_int_free): Likewise.
30573 (malloc_consolidate): Likewise.
30575 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30577 * malloc/malloc.c (tcache_put): Inline.
30578 (tcache_get): Inline.
30580 2017-10-17 Jordi Mallach <jordi@gnu.org>
30582 Aurelien Jarno <aurelien@aurel32.net>
30584 * localedata/locales/ca_ES@valencia: New file.
30585 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30587 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30590 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30593 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30595 * scripts/build-many-glibcs.py (Context.add_all_configs):
30596 Add arm-linux-gnueabihf multiarch extra_glibcs.
30598 * sysdeps/generic/ifunc-init.h: New file.
30599 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30601 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30604 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30605 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30606 * stdlib/tst-strfmon_l.c: adapt test case.
30608 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30610 * sysdeps/generic/float128-abi.h: New file.
30611 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30612 non-__prefixed symbols to ....
30613 * math/Versions: ... here. Include <float128-abi.h>.
30614 * stdlib/Versions ... and here. Include <float128-abi.h>
30616 2017-10-16 Florian Weimer <fweimer@redhat.com>
30618 * version.h (VERSION): Switch to ".9000" as the development
30621 2017-10-16 Florian Weimer <fweimer@redhat.com>
30624 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30625 compat_symbol_reference to access non-default version.
30627 2017-10-16 Florian Weimer <fweimer@redhat.com>
30629 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30631 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30633 * include/shlib-compat.h (compat_symbol_reference): Update
30636 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30638 * math/Makefile (test-types): Add
30639 $(type-float128-$(float128-alias-fcts)).
30640 * math/test-float128.h (TYPE_STR): Define conditional on
30641 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30642 (ULP_IDX): Likewise.
30643 (ULP_I_IDX): Likewise.
30645 * stdlib/strtold.c: Include <bits/floatn.h>
30646 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30647 and later undefine as macro. Define as weak alias if
30649 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30650 and later undefine as macro. Define as weak alias if
30652 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30653 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30654 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30655 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30656 Define and later undefine as macro. Define as weak alias if
30658 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30660 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30661 Define and later undefine as macro. Define as weak alias if
30663 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30664 Define and later undefine as macro. Define as weak alias if
30667 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30669 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30670 record_verbose messages.
30672 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30675 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30676 to silence -O3 -Wall warning with GCC 7.
30678 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30680 * Makeconfig (+link-static-before-libc): Use the first of
30681 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30682 * gmon/Makefile (tests): Add tst-gmon-static.
30683 (tests-static): Likewise.
30684 (CFLAGS-tst-gmon-static.c): New.
30685 (CRT-tst-gmon-static): Likewise.
30686 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30687 (tst-gmon-static-ENV): Likewise.
30688 (tests-special): Likewise.
30689 ($(objpfx)tst-gmon-static.out): Likewise.
30690 (clean-tst-gmon-static-data): Likewise.
30691 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30692 * gmon/tst-gmon-static-gprof.sh: New file.
30693 * gmon/tst-gmon-static.c: Likewise.
30695 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30698 * locale/programs/linereader.c (get_string): Don't warn on
30699 non-symbolic character.
30702 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30706 * locale/programs/record-status.h: New file
30707 * locale/programs/locale.c: Add comment.
30708 * locale/programs/charmap-dir.c: Don't include error.h.
30709 (charmap_opendir): Use record_error.
30710 * locale/programs/charmap.c: Don't include error.h.
30711 (charmap_read): Use record_error, and record_warning.
30712 (parse_charmap): Likewise.
30713 * locale/programs/ld-address.c: Don't include error.h.
30714 (address_finish): Use record_error, and record_warning.
30715 * locale/programs/ld-collate.c: Don't include error.h.
30716 (collate_finish): Use record_error, and record_error_at_line.
30717 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30718 (ctype_class_new): Likewise.
30719 (ctype_map_new): Likewise.
30720 (set_one_default): Likewise.
30721 (set_class_defaults): Likewise.
30722 (translit_flatten): Likewise.
30723 (allocate_arrays): Use record_error, and record_verbose.
30724 * locale/programs/ld-identification.c: Don't include error.h.
30725 (indentation_finish): Use record_error and record_warning.
30726 * locale/programs/ld-measurement.c: Don't include error.h.
30727 (measurement_finish): Use record_error.
30728 * locale/programs/ld-messages.c
30729 (message_finish): Likewise.
30730 * locale/programs/ld-monetary.c
30731 (monetary_finish): Likewise.
30732 * locale/programs/ld-name.c (name_finish): Use record_error
30733 and record_warning.
30734 * locale/programs/ld-numeric.c
30735 (numeric_finish): Use record_error.
30736 * locale/programs/ld-paper.c: Don't include error.h.
30737 (paper_finish): Use record_error.
30738 * locale/programs/ld-telephone.c: Don't include error.h.
30739 (telephone_finish): Use record_error.
30740 * locale/programs/ld-time.c (time_finish): Likewise.
30741 * locale/programs/linereader.h (lr_error): Make inline func.
30742 * locale/programs/localedef.c: Define recorded_warning_count,
30743 and recorded_error_count.
30744 (main): Use record_error. Use recorded_error_count and
30745 recorded_warning_count to issue correct error returns.
30746 (add_to_readlist): Use record_error.
30747 (find_locale): Likewise.
30748 (load_locale): Likewise.
30749 * locale/programs/localedef.h: Remove be_quiet
30750 and WITH_CUR_LOCALE.
30751 * locale/programs/locarchive.c (compare_from_file): Use
30753 * locale/programs/locfile.c (write_locale_data): Use
30755 * locale/programs/repertoire.c: Dont include error.h.
30756 (repertoire_complain): Use record_error.
30757 * localedata/tst-fmon.sh: Expect failures from localedef.
30758 * localedata/tst-locale.sh: Likewise.
30759 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30761 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30762 (REPORTS): Likewise.
30764 (i18n): Rename to...
30765 (i18n_ctype): ...this.
30766 (i18n-report): Rename to...
30767 (i18n_ctype-report): ...this.
30768 * localedata/locales/i18n_ctype: Regenerate.
30769 * localedata/locales/i18n: copy i18n_ctype.
30771 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30773 * stdlib/strfroml.c: Include <bits/floatn.h>.
30774 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30775 Define before include of <stdlib.h> and undefine afterwards, then
30776 define as weak alias.
30778 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30779 Undefine and restore default definition. Use
30780 libm_alias_ldouble_other.
30782 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30785 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30788 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30790 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30791 Assign sym_map to be map for local symbols, as TLS relocations
30792 use sym_map to determine whether the symbol is defined and to
30793 extract the TLS information.
30794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30797 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30800 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30801 (math_force_eval): Add powerpc version.
30804 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30806 (do_test): Likewise.
30807 * stdio-common/tst-printf.sh: Likewise.
30808 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30809 ifdef clause in order to set the carry bit right. Replace r0 by
30810 0 without changing the behavior.
30812 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30814 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30815 <libm-alias-ldouble.h>.
30816 (fabsl): Define using libm_alias_ldouble.
30817 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30818 <libm-alias-ldouble.h>.
30819 (fabsl): Define using libm_alias_ldouble.
30821 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30822 Remove conditional code.
30824 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30825 Rename to __clog10_internal_l.
30826 (__clog10_internal_l): Define aliases using
30827 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30830 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30832 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30833 * benchtests/sincosf-inputs: New file.
30834 * benchtests/cosf-inputs: New file.
30835 * benchtests/sinf-inputs: New file.
30837 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30839 * posix/tst-spawn.c (do_test): Wait for both children.
30841 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30844 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30845 tests-pie): Add tst-gmon-pie.
30846 (CFLAGS-tst-gmon-pie.c): New.
30847 (CRT-tst-gmon-pie): Likewise.
30848 (tst-gmon-pie-ENV): Likewise.
30849 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30850 ($(objpfx)tst-gmon-pie.out): Likewise.
30851 (clean-tst-gmon-pie-data): Likewise.
30852 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30853 * gmon/gmon.c [PIC]: Include <link.h>.
30854 [PIC] (callback): New function.
30855 (write_hist): Add an argument for load address. Subtract load
30857 (write_call_graph): Likewise.
30858 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30859 it to write_hist and write_call_graph.
30860 * gmon/tst-gmon-pie.c: New file.
30862 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30864 * math/Makefile (test-types-basic): New variable.
30865 (test-types): Likewise.
30866 (libm-test-support): Use $(test-types) instead of $(types).
30867 (libm-tests-base-normal): Likewise.
30868 (libm-tests-base-finite): Likewise.
30869 (libm-tests-base-inline): Likewise.
30870 (generated): Likewise.
30871 ($(objpfx)libm-test-support-$(t).c): Likewise.
30872 (libm-tests-for-type iterator): Likewise.
30873 (libm-test-support iterator): Likewise.
30874 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30875 (ulp_idx): Use ULP_IDX.
30876 * math/test-ldouble.h: Include <float.h>.
30877 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30878 (ULP_IDX): New macro.
30879 (ULP_I_IDX): Likewise.
30880 * math/test-double.h (ULP_IDX): Likewise.
30881 (ULP_I_IDX): Likewise.
30882 * math/test-float.h (ULP_IDX): Likewise.
30883 (ULP_I_IDX): Likewise.
30884 * math/test-float128.h (ULP_IDX): Likewise.
30885 (ULP_I_IDX): Likewise.
30887 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30889 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30890 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30891 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30892 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30893 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30894 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30895 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30898 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30899 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30900 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30901 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30903 (SINGLE_THREAD_BY_GLOBAL): Define.
30904 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30906 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30908 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30910 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30912 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30913 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30917 2017-10-11 Andreas Schwab <schwab@suse.de>
30919 * nis/Makefile (aux): Remove.
30920 * nscd/Makefile (aux): Add nscd_hash.
30921 (nscd-modules): Likewise.
30922 ($(objpfx)nscd): Don't depend on libnsl.
30923 * nscd/nscd_hash.c: New file.
30924 * nscd/nscd_hash.h: Likewise.
30925 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30926 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30927 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30928 instead of <nis/rpcsvc/nis.h>.
30929 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30931 2017-10-11 Florian Weimer <fweimer@redhat.com>
30934 Avoid large NSS buffers with many addresses, aliases.
30935 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30936 using dynarrays and struct alloc_buffer.
30937 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30938 (tst-nss-files-hosts-multi): Link with -ldl.
30939 * nss/tst-nss-files-hosts-multi.c: New file.
30941 2017-10-11 Florian Weimer <fweimer@redhat.com>
30944 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30945 scratch_buffer. Eliminate gotos.
30947 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30950 libm_alias_ldouble_other.
30951 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30952 undefine and redefine.
30953 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30954 (exp10l): Do not define here.
30955 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30956 (weak_alias): Undefine and redefine.
30957 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30958 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30959 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30960 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30962 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30963 [!__fma] (fma): Define using libm_alias_double.
30964 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30965 [!__fmaf] (fmaf): Define using libm_alias_float.
30966 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30967 (fmal): Define using libm_alias_ldouble.
30969 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30971 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30973 (libm_alias_double_other): Likewise.
30974 (libm_alias_double_r): Use libm_alias_double_other_r.
30975 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30977 (libm_alias_float_other): Likewise.
30978 (libm_alias_float_r): Use libm_alias_float_other_r.
30979 * sysdeps/generic/libm-alias-float128.h
30980 (libm_alias_float128_other_r): New macro.
30981 (libm_alias_float128_other): Likewise.
30982 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30983 * sysdeps/generic/libm-alias-ldouble.h
30984 (libm_alias_ldouble_other_r): New macro.
30985 (libm_alias_ldouble_other): Likewise.
30986 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30987 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30988 (libm_alias_double_other_r): New macro.
30989 (libm_alias_double_other): Likewise.
30990 (libm_alias_double_r): Use libm_alias_double_other_r.
30991 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30992 (libm_alias_ldouble_other_r): New macro.
30993 (libm_alias_ldouble_other): Likewise.
30994 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30995 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30996 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30997 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30998 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30999 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31000 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31001 * math/w_exp2f.c: Use libm_alias_float_other.
31002 * math/w_expf.c: Likewise.
31003 * math/w_log2f.c: Likewise.
31004 * math/w_logf.c: Likewise.
31005 * math/w_powf.c: Likewise.
31006 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31007 [!__exp2f]: Use libm_alias_float_other.
31008 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31009 [!__expf]: Use libm_alias_float_other.
31010 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31011 [!__log2f]: Use libm_alias_float_other.
31012 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31013 [!__logf]: Use libm_alias_float_other.
31014 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31015 [!__powf]: Use libm_alias_float_other.
31017 2017-10-10 Florian Weimer <fweimer@redhat.com>
31019 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31021 (_nss_files_gethostbyname3_r): Call it.
31023 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31025 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31026 error. Remove default definition of declare_mgen_alias.
31027 [!declare_mgen_alias_r]: Likewise.
31028 * sysdeps/generic/math-type-macros-double.h
31029 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31030 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31031 (declare_mgen_alias_r): Likewise.
31032 * sysdeps/generic/math-type-macros-float128.h
31033 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31034 * sysdeps/generic/math-type-macros-ldouble.h
31035 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31036 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31038 (declare_mgen_alias_r_s): Likewise.
31039 (declare_mgen_alias_r): Likewise.
31040 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31041 (lgamma_r): Define using libm_alias_double_r.
31042 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31043 (lgammaf_r): Define using libm_alias_float_r.
31044 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31045 (lgammal_r): Define using libm_alias_ldouble_r.
31046 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31047 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31049 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31051 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31052 extern declaration.
31054 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31056 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31058 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31061 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31062 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31063 * math/Makefile (test-math-cxx11): New test.
31064 * math/test-math-cxx11.cc: New file.
31066 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31068 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31070 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31071 call to allocate the slave pty file descriptor.
31073 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31075 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31076 [!__fma] (fma): Define using libm_alias_double.
31077 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31078 [!__fma] (fma): Define using libm_alias_double.
31080 * sysdeps/ieee754/float128/float128_private.h: Include
31081 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31082 (libm_alias_ldouble_r): Undefine and redefine.
31083 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31084 <libm-alias-ldouble.h>.
31085 (asinhl): Define using libm_alias_ldouble.
31086 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31087 <libm-alias-ldouble.h>.
31088 (atanl): Define using libm_alias_ldouble.
31089 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31090 <libm-alias-ldouble.h>.
31091 (cbrtl): Define using libm_alias_ldouble.
31092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31093 <libm-alias-ldouble.h>.
31094 (ceill): Define using libm_alias_ldouble.
31095 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31096 <libm-alias-ldouble.h>.
31097 (copysignl): Define using libm_alias_ldouble.
31098 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31099 <libm-alias-ldouble.h>.
31100 (cosl): Define using libm_alias_ldouble.
31101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31102 <libm-alias-ldouble.h>.
31103 (erfl): Define using libm_alias_ldouble.
31105 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31106 <libm-alias-ldouble.h>.
31107 (expm1l): Define using libm_alias_ldouble.
31108 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31109 <libm-alias-ldouble.h>.
31110 (fabsl): Define using libm_alias_ldouble.
31111 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31112 <libm-alias-ldouble.h>.
31113 (floorl): Define using libm_alias_ldouble.
31114 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31115 <libm-alias-ldouble.h>.
31116 (fmal): Define using libm_alias_ldouble.
31117 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31118 <libm-alias-ldouble.h>.
31119 (frexpl): Define using libm_alias_ldouble.
31120 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31121 libm_alias_ldouble.
31122 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31123 <libm-alias-ldouble.h>.
31124 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31125 libm_alias_ldouble.
31126 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31127 <libm-alias-ldouble.h>.
31128 (getpayloadl): Define using libm_alias_ldouble.
31129 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31130 <libm-alias-ldouble.h>.
31131 (llrintl): Define using libm_alias_ldouble.
31132 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31133 <libm-alias-ldouble.h>.
31134 (llroundl): Define using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31136 <libm-alias-ldouble.h>.
31137 (logbl): Define using libm_alias_ldouble.
31138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31139 <libm-alias-ldouble.h>.
31140 (lrintl): Define using libm_alias_ldouble.
31141 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31142 <libm-alias-ldouble.h>.
31143 (lroundl): Define using libm_alias_ldouble.
31144 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31145 <libm-alias-ldouble.h>.
31146 (modfl): Define using libm_alias_ldouble.
31147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31148 <libm-alias-ldouble.h>.
31149 (nearbyintl): Define using libm_alias_ldouble.
31150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31151 <libm-alias-ldouble.h>.
31152 (nextafterl): Define using libm_alias_ldouble.
31153 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31154 <libm-alias-ldouble.h>.
31155 (nextupl): Define using libm_alias_ldouble.
31156 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31157 <libm-alias-ldouble.h>.
31158 (remquol): Define using libm_alias_ldouble.
31159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31160 <libm-alias-ldouble.h>.
31161 (rintl): Define using libm_alias_ldouble.
31162 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31163 <libm-alias-ldouble.h>.
31164 (roundevenl): Define using libm_alias_ldouble.
31165 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31166 <libm-alias-ldouble.h>.
31167 (roundl): Define using libm_alias_ldouble.
31168 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31169 using libm_alias_ldouble.
31170 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31171 <libm-alias-ldouble.h>.
31172 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31173 Define using libm_alias_ldouble.
31174 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31175 <libm-alias-ldouble.h>.
31176 (sincosl): Define using libm_alias_ldouble.
31177 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31178 <libm-alias-ldouble.h>.
31179 (sinl): Define using libm_alias_ldouble.
31180 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31181 <libm-alias-ldouble.h>.
31182 (tanhl): Define using libm_alias_ldouble.
31183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31184 <libm-alias-ldouble.h>.
31185 (tanl): Define using libm_alias_ldouble.
31186 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31187 <libm-alias-ldouble.h>.
31188 (totalorderl): Define using libm_alias_ldouble.
31189 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31190 <libm-alias-ldouble.h>.
31191 (totalordermagl): Define using libm_alias_ldouble.
31192 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31193 <libm-alias-ldouble.h>.
31194 (truncl): Define using libm_alias_ldouble.
31195 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31196 libm_alias_ldouble.
31197 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31198 libm_alias_ldouble.
31199 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31200 <libm-alias-ldouble.h>.
31201 (weak_alias): Do not undefine and redefine.
31202 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31203 (copysignl): Define with long_double_symbol only if [IS_IN
31205 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31206 <libm-alias-ldouble.h>.
31207 (weak_alias): Do not undefine and redefine.
31208 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31209 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31210 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31211 <libm-alias-ldouble.h>.
31212 (weak_alias): Do not undefine and redefine.
31213 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31214 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31215 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31216 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31219 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31222 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31225 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31232 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31240 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31243 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31244 (tcache_thread_freeres): Set tcache_shutting_down before
31245 freeing the tcache.
31246 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31247 * malloc/tst-malloc-tcache-leak.c: New file.
31249 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31251 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31252 back to powerpc32 file.
31253 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31254 (memrchr): Add __memrchr_power8 to ifunc list.
31255 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31256 extra bytes for unaligned inputs.
31258 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31260 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31261 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31266 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31268 * sysdeps/arm/libm-test-ulps: Update.
31270 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31271 <libm-alias-ldouble.h>.
31272 (asinhl): Define using libm_alias_ldouble.
31273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31274 <libm-alias-ldouble.h>.
31275 (cbrtl): Define using libm_alias_ldouble.
31276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31277 <libm-alias-ldouble.h>.
31278 (copysignl): Define using libm_alias_ldouble.
31279 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31280 <libm-alias-ldouble.h>.
31281 (cosl): Define using libm_alias_ldouble.
31282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31283 <libm-alias-ldouble.h>.
31284 (erfl): Define using libm_alias_ldouble.
31286 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31287 <libm-alias-ldouble.h>.
31288 (fmal): Define using libm_alias_ldouble.
31289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31290 <libm-alias-ldouble.h>.
31291 (frexpl): Define using libm_alias_ldouble.
31292 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31293 libm_alias_ldouble.
31294 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31295 <libm-alias-ldouble.h>.
31296 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31297 libm_alias_ldouble.
31298 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31299 <libm-alias-ldouble.h>.
31300 (getpayloadl): Define using libm_alias_ldouble.
31301 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31302 <libm-alias-ldouble.h>.
31303 (llrintl): Define using libm_alias_ldouble.
31304 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31305 <libm-alias-ldouble.h>.
31306 (llroundl): Define using libm_alias_ldouble.
31307 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31308 <libm-alias-ldouble.h>.
31309 (lrintl): Define using libm_alias_ldouble.
31310 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31311 <libm-alias-ldouble.h>.
31312 (lroundl): Define using libm_alias_ldouble.
31313 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31314 <libm-alias-ldouble.h>.
31315 (modfl): Define using libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31317 <libm-alias-ldouble.h>.
31318 (nextupl): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31320 <libm-alias-ldouble.h>.
31321 (remquol): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31323 <libm-alias-ldouble.h>.
31324 (roundevenl): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31326 <libm-alias-ldouble.h>.
31327 (roundl): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31329 using libm_alias_ldouble.
31330 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31331 <libm-alias-ldouble.h>.
31332 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31333 <libm-alias-ldouble.h>.
31334 (setpayloadsigl): Define using libm_alias_ldouble.
31335 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31336 <libm-alias-ldouble.h>.
31337 (sincosl): Define using libm_alias_ldouble.
31338 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31339 <libm-alias-ldouble.h>.
31340 (sinl): Define using libm_alias_ldouble.
31341 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31342 <libm-alias-ldouble.h>.
31343 (tanhl): Define using libm_alias_ldouble.
31344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31345 <libm-alias-ldouble.h>.
31346 (tanl): Define using libm_alias_ldouble.
31347 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31348 <libm-alias-ldouble.h>.
31349 (totalorderl): Define using libm_alias_ldouble.
31350 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31351 <libm-alias-ldouble.h>.
31352 (totalordermagl): Define using libm_alias_ldouble.
31353 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31354 libm_alias_ldouble.
31355 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31356 libm_alias_ldouble.
31358 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31360 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31362 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31363 (__libc_ifunc_impl_list): Likewise.
31364 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31365 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31367 * benchtests/bench-memmove-walk.c: New file.
31368 * benchtests/Makefile (string-benchset): Add it.
31370 * benchtests/bench-memset-walk.c: New file.
31371 * benchtests/Makefile (string-benchset): Add it.
31373 * benchtests/bench-memcpy-walk.c: New file.
31374 * benchtests/Makefile (string-benchset): Add it.
31376 2017-10-05 Florian Weimer <fweimer@redhat.com>
31378 nscd: Eliminate compilation time dependency in the build output.
31379 * nscd/nscd_stat.c (STATDATA_VERSION)
31380 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31381 (STATDATA_VERSION_FULL): New macro definitions.
31382 (compilation): Remove.
31383 (struct statdata): Adjust version member.
31384 (send_stats): Set version from STATDATA_VERSION_FULL.
31385 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31387 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31389 * configure.ac (--enable-add-ons): Remove option.
31390 (machine): Do not mention add-ons in comment.
31391 (LIBC_PRECONFIGURE): Likewise.
31392 (add_ons): Remove variable and sanity checks and logic to locate
31394 (add_ons_automatic): Remove variable.
31395 (configured_add_ons): Likewise.
31396 (add_ons_sfx): Likewise.
31397 (add_ons_pfx): Likewise.
31398 (add_on_subdirs): Likewise.
31399 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31400 consideration of add-ons in Implies handling.
31401 (sysdeps_add_ons): Likewise.
31402 * configure: Regenerated.
31403 * libidn/configure.ac: Remove.
31404 * libidn/configure: Likewise.
31405 * sysdeps/unix/inet/configure.ac: New file.
31406 * sysdeps/unix/inet/configure: New generated file.
31407 * sysdeps/unix/inet/Subdirs: Add libidn.
31408 * Makeconfig (sysdeps-srcdirs): Remove variable.
31409 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31410 ($(common-objpfx)config.status): Do not depend on add-on files.
31411 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31413 (all-subdirs): Do not include $(add-on-subdirs).
31414 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31415 * config.make.in (add-ons): Remove variable.
31416 (add-on-subdirs): Likewise.
31417 (sysdeps-add-ons): Likewise.
31418 * manual/Makefile (add-chapters): Remove.
31419 ($(objpfx)texis): Do not depend on $(add-chapters).
31420 (nonexamples): Do not handle $(add-chapters).
31421 (examples): Do not handle $(add-ons).
31422 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31424 * manual/install.texi (Installation): Do not mention add-ons.
31425 (--enable-add-ons): Do not document configure option.
31426 * INSTALL: Regenerated.
31427 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31428 * manual/maint.texi (Hierarchy Conventions): Do not mention
31430 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31432 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31434 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31435 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31437 2017-10-05 Andreas Schwab <schwab@suse.de>
31440 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31441 (_IO_flush_all_lockp): Always lock list_all_lock.
31442 (_IO_flush_all_linebuffered): Likewise.
31443 (_IO_unbuffer_all): Likewise.
31445 2017-10-05 Florian Weimer <fweimer@redhat.com>
31448 Do not flush stdio streams on abort.
31449 * stdlib/abort.c (fflush): Remove macro definition.
31450 (abort): Remove stages related to stdio flushing.
31452 2017-10-05 Florian Weimer <fweimer@redhat.com>
31454 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31456 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31458 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31460 2017-10-05 Florian Weimer <fweimer@redhat.com>
31462 * support/support_format_hostent.c (support_format_hostent): Add
31463 more error information for NETDB_INTERNAL.
31465 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31467 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31468 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31469 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31470 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31471 AC_DEFINE if multi-arch is enabled.
31472 * sysdeps/i386/configure: Regenerated.
31474 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31476 * Makeconfig (+link-static-before-libc): Use
31477 $(DEFAULT-LDFLAGS-$(@F)).
31478 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31479 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31480 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31482 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31484 * elf/Makefile (tests): Add tst-main1.
31485 (modules-names): Add tst-main1mod.
31486 ($(objpfx)tst-main1): New.
31487 (CRT-tst-main1): Likewise.
31488 (LDFLAGS-tst-main1): Likewise.
31489 (LDLIBS-tst-main1): Likewise.
31490 (tst-main1mod.so-no-z-defs): Likewise.
31491 * elf/tst-main1.c: New file.
31492 * elf/tst-main1mod.c: Likewise.
31494 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31496 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31498 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31500 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31501 (fma): Define using libm_alias_double.
31502 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31503 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31505 (fmal): Do not define as compat symbol here.
31506 * sysdeps/alpha/fpu/s_fma.c: New file.
31508 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31510 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31512 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31515 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31517 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31520 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31521 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31522 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31524 Include <math_ldbl_opt.h>
31525 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31527 (compat_symbol): Undefine and redefine.
31528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31530 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31531 (compat_symbol): Undefine and redefine.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31533 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31534 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31535 GLIBC_2_1 for libm.
31536 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31537 GLIBC_2.0 copysignl symbol.
31538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31539 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31541 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31543 2017-10-04 Florian Weimer <fweimer@redhat.com>
31545 * scripts/check-local-headers.sh: Ignore nspr4 header file
31546 directory in addition to nspr.
31548 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31551 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31552 * configure: Regenerate.
31553 * crypt/Makefile (nss-cpp-flags): New variable.
31554 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31555 (CPPFLAGS-md5-crypt.c): Use it.
31556 * scripts/check-local-headers.sh: Ignore nspr header file
31559 2017-10-04 Andreas Schwab <schwab@suse.de>
31561 * nis/Makefile (services): Remove compat.
31562 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31563 ($(objpfx)libnss_compat.so): Remove rule.
31564 * nis/Versions (libnss_compat): Remove.
31565 * nss/Makefile (services): Add compat.
31566 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31567 * nss/Versions (libnss_compat): Define.
31568 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31569 Don't include <rpc/types.h>. Replace bool_t by bool.
31570 * nss/nss_compat/compat-initgroups.c: Likewise.
31571 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31572 instead of <rpcsrv/ypclnt.h>.
31573 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31574 yp_get_default_domain.
31575 * nss/nss_compat/compat-pwd.c: Likewise.
31576 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31577 yp_get_default_domain.
31578 * nss/nss_compat/nisdomain.c: New file.
31579 * nss/nss_compat/nisdomain.h: Likewise.
31581 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31584 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31585 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31587 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31590 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31593 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31595 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31596 "movl main@GOTOFF(%ebx), %eax".
31598 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31600 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31601 allow undefined _DYNAMIC in PIE libc.a.
31602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31605 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31610 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31612 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31615 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31617 * math/test-math-iscanonical.cc (error): Replace bool with int.
31619 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31621 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31622 (modf): Define using libm_alias_double, only if [!__modf].
31623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31624 <libm-alias-double.h>.
31625 (modf): Define using libm_alias_double, only if [!__modf].
31626 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31627 compat symbol here.
31628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31629 (weak_alias): Do not undefine and redefine.
31630 (strong_alias): Likewise.
31631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31632 (weak_alias): Likewise.
31633 (strong_alias): Likewise.
31635 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31636 (logb): Define using libm_alias_double, only if [!__logb].
31637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31638 <libm-alias-double.h>.
31639 (logb): Define using libm_alias_double, only if [!__logb].
31640 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31642 (weak_alias): Do not undefine and redefine.
31643 (strong_alias): Likewise.
31644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31645 (weak_alias): Likewise.
31646 (strong_alias): Likewise.
31648 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31650 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31651 Check SHARED instead PIC.
31653 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31656 [!__fmaf] (fmaf): Define using libm_alias_float.
31658 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31659 (frexp): Define using libm_alias_double.
31660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31661 <libm-alias-double.h>.
31662 (frexp): Define using libm_alias_double.
31663 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31664 compat symbol here.
31666 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31669 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31670 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31671 (CFLAGS-test-math-iscanonical.cc): New variable.
31672 * math/test-math-iscanonical.cc: New file.
31673 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31674 Provide a C++ implementation based on function overloading,
31675 rather than using __MATH_TG, which uses C-only builtins.
31676 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31678 * sysdeps/powerpc/powerpc64le/Makefile
31679 (CFLAGS-test-math-iscanonical.cc): New variable.
31681 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31683 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31684 (ceil): Define using libm_alias_double.
31685 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31686 (floor): Define using libm_alias_double.
31687 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31688 <libm-alias-double.h>.
31689 (llround): Define using libm_alias_double.
31690 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31691 <libm-alias-double.h>.
31692 (lround): Define using libm_alias_double.
31693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31694 <libm-alias-double.h>.
31695 (nearbyint): Define using libm_alias_double.
31696 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31697 <libm-alias-double.h>.
31698 (remquo): Define using libm_alias_double.
31699 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31700 (rint): Define using libm_alias_double.
31701 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31702 (round): Define using libm_alias_double.
31703 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31704 (trunc): Define using libm_alias_double.
31705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31706 <libm-alias-double.h>.
31707 (ceil): Define using libm_alias_double.
31708 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31709 <libm-alias-double.h>.
31710 (floor): Define using libm_alias_double.
31711 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31712 <libm-alias-double.h>.
31713 (llround): Define using libm_alias_double.
31714 [_LP64] (lround): Likewise.
31715 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31716 <libm-alias-double.h>.
31717 [!_LP64] (lround): Define using libm_alias_double.
31718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31719 <libm-alias-double.h>.
31720 (nearbyint): Define using libm_alias_double.
31721 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31722 <libm-alias-double.h>.
31723 (remquo): Define using libm_alias_double.
31724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31725 <libm-alias-double.h>.
31726 (rint): Define using libm_alias_double.
31727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31728 <libm-alias-double.h>.
31729 (round): Define using libm_alias_double.
31730 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31731 <libm-alias-double.h>.
31732 (trunc): Define using libm_alias_double.
31733 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31734 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31735 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31736 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31737 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31738 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31739 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31740 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31741 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31743 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31745 * math/w_remainder.c: New file.
31746 * math/w_remainderf.c: New file.
31747 * math/w_remainderl.c: New file.
31749 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31751 * elf/rtld.c (BOOTSTRAP_MAP): New.
31752 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31753 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31755 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31757 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31760 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31762 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31763 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31764 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31765 rtld_hidden_data_ver): Define to empty.
31766 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31767 __assert_perror_fail): Likewise.
31768 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31769 (__rewinddir): Likewise.
31770 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31771 (__profile_frequency): Likewise.
31772 * include/setjmp.h (__sigsetjmp): Likewise.
31773 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31774 __libc_sigaction): Likewise.
31775 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31776 not set hidden attribute.
31777 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31778 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31779 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31780 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31781 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31782 __fxstatat64): Likewise.
31783 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31784 (__uname): Likewise.
31785 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31786 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31787 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31788 (NO_RTLD_HIDDEN): Set.
31789 * sysdeps/mach/hurd/configure: Refresh.
31790 * config.h.in: Refresh.
31792 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31794 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31795 (atan): Define using libm_alias_double.
31796 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31797 (tan): Define using libm_alias_double.
31798 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31799 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31802 define as weak alias of __atan. Do not define any aliases if
31804 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31805 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31806 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31807 as weak alias of __tan. Do not define any aliases if [__tan].
31808 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31809 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31812 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31814 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31815 and define as weak alias of __atan.
31816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31818 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31820 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31821 define as weak alias of __tan.
31823 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31825 * math/w_lgamma.c: New file.
31826 * math/w_lgammaf.c: New file.
31827 * math/w_lgammal.c: New file.
31829 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31831 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31832 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31833 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31834 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31835 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31836 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31837 * sysdeps/i386/fpu/w_log2f.c: New file.
31838 * sysdeps/i386/fpu/w_logf.c: New file.
31839 * sysdeps/i386/fpu/w_powf.c: New file.
31840 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31841 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31842 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31844 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31845 H.J. Lu <hongjiu.lu@intel.com>
31847 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31848 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31849 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31850 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31853 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31854 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31855 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31856 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31857 * sysdeps/i386/fpu/w_exp2f.c: New file.
31858 * sysdeps/i386/fpu/w_expf.c: New file.
31859 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31860 * sysdeps/x86_64/fpu/w_expf.c: New file.
31862 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31864 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31867 * math/w_log2f.c: New file.
31868 * math/w_logf.c: New file.
31869 * math/w_powf.c: New file.
31870 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31871 * math/w_logf_compat.c (__logf_compat): Likewise.
31872 * math/w_powf_compat.c (__powf_compat): Likewise.
31873 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31874 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31875 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31876 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31877 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31878 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31879 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31880 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31881 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31882 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31883 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31884 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31885 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31886 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31887 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31896 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31897 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31898 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31899 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31900 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31905 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31906 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31907 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31909 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31911 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31912 (sysdep_routines): Add memrchr_power8.
31913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31914 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31915 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31917 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31918 (memrchr): Add __memrchr_power8 to ifunc list.
31919 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31924 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31925 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31927 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31928 (__posix_fallocate64_l64): Likewise.
31930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31933 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31934 (__sched_setaffinity_new): Add libc_hidden_proto and
31937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31940 * include/glob.h (__glob64): Add libc_hidden_proto.
31941 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31947 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31953 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31958 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31964 * csu/version.c (__libc_print_version): Add attribute_hidden.
31966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31969 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31971 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31974 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31979 * nscd/nscd_helper.c (__nis_hash): New prototype.
31981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31984 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31985 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31987 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31988 * termios/tcgetattr.c (__tcgetattr): Likewise.
31990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31993 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31994 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31995 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31996 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31997 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32002 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32007 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32008 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32013 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32018 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32019 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32024 * include/ifreq.h: New file.
32025 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32026 (__ifreq): Likewise.
32027 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32028 (__ifreq): Likewise.
32030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32033 * include/idna.h: New file.
32034 * inet/getnameinfo.c: Include <idna.h> instead of
32036 (__idna_to_unicode_lzlz): Removed.
32037 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32039 (__idna_to_ascii_lz): Removed.
32040 (__idna_to_unicode_lzlz): Likewise.
32042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32045 * include/plural-exp.h: New file.
32046 * intl/plural-exp.c: Include <plural-exp.h> instead of
32049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32053 "getsourcefilter.h".
32054 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32055 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32056 "getsourcefilter.h".
32057 (__get_sol): Removed.
32059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32062 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32064 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32069 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32075 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32080 * include/search.h (__tdestroy): Add libc_hidden_proto.
32081 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32086 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32091 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32097 * include/signal.h (__kill): Add libc_hidden_proto.
32098 (__sigblock): Likewise.
32099 (__sigprocmask): Likewise.
32100 (__sigaltstack): Likewise.
32101 * signal/kill.c (__kill): Add libc_hidden_def.
32102 * signal/sigblock.c (__sigblock): Likewise.
32103 * signal/sigprocmask.c (__sigprocmask): Likewise.
32104 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32105 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32106 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32107 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32108 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32110 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32112 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32113 (__sigprocmask): Likewise.
32114 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32116 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32117 (__sigprocmask): Likewise.
32118 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32124 * include/string.h (__strsep): Add libc_hidden_proto.
32125 * string/strsep.c (__strsep): Add libc_hidden_def.
32127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32130 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32132 (__spawni): Likewise.
32134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32137 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32138 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32144 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32149 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32150 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32151 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32152 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32153 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32155 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32156 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32161 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32162 (__dcigettext): Likewise.
32164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32167 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32169 (__get_nprocs): Likewise.
32170 (__get_phys_pages): Likewise.
32171 (__get_avphys_pages): Likewise.
32172 (__get_child_max): Add attribute_hidden.
32173 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32174 (__get_nprocs): Likewise.
32175 (__get_phys_pages): Likewise.
32176 (__get_avphys_pages): Likewise.
32177 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32179 (__get_nprocs): Likewise.
32180 (__get_phys_pages): Likewise.
32181 (__get_avphys_pages): Likewise.
32182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32184 (__get_nprocs_conf): Likewise.
32185 (__get_phys_pages): Likewise.
32186 (__get_avphys_pages): Likewise.
32188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32191 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32193 (__netlink_close): Likewise.
32194 (__netlink_free_handle): Likewise.
32195 (__netlink_request): Likewise.
32197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32200 * include/rpc/rpc.h (__rpc_thread_variables): Add
32202 (__rpc_thread_svc_cleanup): Likewise.
32203 (__rpc_thread_clnt_cleanup): Likewise.
32204 (__rpc_thread_key_cleanup): Likewise.
32206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32209 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32210 (__writev): Likewise.
32211 * misc/readv.c (__readv): Add libc_hidden_def.
32212 * misc/writev.c (__writev): Likewise.
32213 * sysdeps/posix/readv.c (__readv): Likewise.
32214 * sysdeps/posix/writev.c (__writev): Likewise.
32215 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32216 (__readv): Likewise.
32217 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32218 (__writev): Likewise.
32220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32223 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32224 (__regcomp): Add libc_hidden_proto.
32225 (__regexec): Likewise.
32226 (__regfree): Likewise.
32227 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32228 (__regfree): Likewise.
32229 * posix/regexec.c (__regexec): Likewise.
32231 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32234 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32235 (__getutent): Likewise.
32236 (__getutid): Likewise.
32237 (__getutline): Likewise.
32238 (__pututline): Likewise.
32239 (__getutent_r): Likewise.
32240 (__getutid_r): Likewise.
32241 (__getutline_r): Likewise.
32242 (__utmpname): Add attribute_hidden.
32243 (__setutent): Likewise.
32244 (__endutent): Likewise.
32245 * login/getutent.c (__getutent): Add libc_hidden_def.
32246 * login/getutent_r.c (__getutent_r): Likewise.
32247 (__pututline): Likewise.
32248 * login/getutid.c (__getutid): Likewise.
32249 * login/getutid_r.c (__getutid_r): Likewise.
32250 * login/getutline.c (__getutline): Likewise.
32251 * login/getutline_r.c (__getutline_r): Likewise.
32252 * login/updwtmp.c (__updwtmp): Likewise.
32254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32257 * include/dirent.h (__opendir): Always add attribute_hidden.
32258 (__fdopendir): Likewise.
32259 (__closedir): Likewise.
32260 (__readdir): Likewise.
32261 (__readdir64): Add libc_hidden_proto.
32262 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32263 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32264 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32265 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32271 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32272 * include/netdb.h (__gethostbyaddr_r): Likewise.
32273 (__gethostbyname_r): Likewise.
32274 (__gethostbyname2_r): Likewise.
32275 (__getnetbyaddr_r): Likewise.
32276 (__getnetbyname_r): Likewise.
32277 (__getservbyname_r): Likewise.
32278 (__getservbyport_r): Likewise.
32279 (__getprotobyname_r): Likewise.
32280 (__getprotobynumber_r): Likewise.
32281 (__getnetgrent_r): Likewise.
32282 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32283 (__getrpcbynumber_r): Likewise.
32284 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32289 * include/stdio.h (__fcloseall): Add attribute_hidden.
32290 (__getline): Likewise.
32291 (__path_search): Likewise.
32292 (__gen_tempname): Likewise.
32293 (__libc_message): Likewise.
32294 (__flockfile): Likewise.
32295 (__funlockfile): Likewise.
32296 (__fxprintf): Likewise.
32297 (__fxprintf_nocancel): Likewise.
32299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32302 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32303 (__sgetsgent_r): Likewise.
32305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32308 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32309 (__statfs64): Likewise.
32310 (__fstatfs64): Likewise.
32311 * include/sys/statvfs.h (__statvfs64): Likewise.
32312 (__fstatvfs64): Likewise.
32313 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32314 (__statfs_filesize_max): Likewise.
32315 (__statfs_symlinks): Likewise.
32316 (__statfs_chown_restricted): Likewise.
32318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32321 * include/time.h (__tzstring): Add attribute_hidden.
32322 (__tzfile_read): Likewise.
32323 (__tzfile_compute): Likewise.
32324 (__tzfile_default): Likewise.
32325 (__tzset_parse_tz): Likewise.
32326 (__offtime): Likewise.
32327 (__asctime_r): Likewise.
32328 (__tzset): Likewise.
32329 (__tz_convert): Likewise.
32330 (__getdate_r): Likewise.
32331 (__getclktck): Likewise.
32333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32336 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32337 (__nscd_unmap): Likewise.
32338 (__nscd_cache_search): Likewise.
32339 (__nscd_get_nl_timestamp): Likewise.
32340 (__nscd_getpwnam_r): Likewise.
32341 (__nscd_getpwuid_r): Likewise.
32342 (__nscd_getgrnam_r): Likewise.
32343 (__nscd_getgrgid_r): Likewise.
32344 (__nscd_gethostbyname_r): Likewise.
32345 (__nscd_gethostbyname2_r): Likewise.
32346 (__nscd_gethostbyaddr_r): Likewise.
32347 (__nscd_getai): Likewise.
32348 (__nscd_getgrouplist): Likewise.
32349 (__nscd_getservbyname_r): Likewise.
32350 (__nscd_getservbyport_r): Likewise.
32351 (__nscd_innetgr): Likewise.
32352 (__nscd_setnetgrent): Likewise.
32354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32357 * include/gmp.h: Declare internal functions only if _ISOMAC is
32359 (__mpn_extract_double): Add attribute_hidden.
32360 (__mpn_extract_long_double): Likewise.
32361 (__mpn_extract_float128): Likewise.
32362 (__mpn_construct_float): Likewise.
32363 (__mpn_construct_double): Likewise.
32364 (__mpn_construct_long_double): Likewise.
32365 (__mpn_construct_float128): Likewise.
32366 (mpn_add_1): Likewise.
32367 (mpn_addmul_1): Likewise.
32368 (mpn_add_n): Likewise.
32369 (mpn_cmp): Likewise.
32370 (mpn_divrem): Likewise.
32371 (mpn_lshift): Likewise.
32372 (mpn_mul): Likewise.
32373 (mpn_mul_1): Likewise.
32374 (mpn_rshift): Likewise.
32375 (mpn_sub_1): Likewise.
32376 (mpn_submul_1): Likewise.
32377 (mpn_sub_n): Likewise.
32379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32382 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32383 (__wcscat): Likewise.
32384 (__btowc): Likewise.
32385 (__wcrtomb): Likewise.
32386 (__mbsrtowcs): Likewise.
32387 (__wcsrtombs): Likewise.
32388 (__mbsnrtowcs): Likewise.
32389 (__wcsnrtombs): Likewise.
32390 (__wcsncpy): Likewise.
32391 (__wcpncpy): Likewise.
32392 (__wmemcpy): Likewise.
32393 (__wmempcpy): Likewise.
32394 (__wmemmove): Likewise.
32395 (__wcschrnul): Likewise.
32396 (__vfwscanf): Likewise.
32397 (__vswprintf): Likewise.
32398 (__fwprintf): Likewise.
32399 (__vfwprintf): Likewise.
32401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32404 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32405 (__getgrgid_r): Likewise.
32406 (__getgrnam_r): Likewise.
32407 * include/pwd.h (__getpwuid_r): Likewise.
32408 (__getpwnam_r): Likewise.
32409 (__fgetpwent_r): Likewise.
32410 * include/shadow.h (__getspnam_r): Likewise.
32411 (__sgetspent_r): Likewise.
32412 (__fgetspent_r): Likewise.
32414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32417 * include/unistd.h (__access): Add attribute_hidden.
32418 (__lseek64): Likewise.
32419 (__libc_pread64): Likewise.
32420 (__pipe2): Likewise.
32421 (__sleep): Likewise.
32422 (__chdir): Likewise.
32423 (__fchdir): Likewise.
32424 (__getcwd): Likewise.
32425 (__rmdir): Likewise.
32426 (__execvpe): Likewise.
32427 (__execve): Likewise.
32428 (__setsid): Likewise.
32429 (__getuid): Likewise.
32430 (__geteuid): Likewise.
32431 (__getgid): Likewise.
32432 (__getegid): Likewise.
32433 (__getgroups): Likewise.
32434 (__group_member): Likewise.
32435 (__ttyname_r): Likewise.
32436 (__isatty): Likewise.
32437 (__readlink): Likewise.
32438 (__unlink): Likewise.
32439 (__gethostname): Likewise.
32440 (__profil): Likewise.
32441 (__getdtablesize): Likewise.
32443 (__ftruncate): Likewise.
32444 (__ftruncate64): Likewise.
32446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32449 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32450 * argp/argp-fs-xinl.c: Likewise.
32451 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32452 * argp/argp-parse.c: Include <argp.h>.
32453 * argp/argp-xinl.c: Likewise.
32454 * include/argp-fmtstream.h: New file.
32455 * include/argp.h (__argp_error): Add attribute_hidden.
32456 (__argp_failure): Likewise.
32457 (__argp_input): Likewise.
32458 (__argp_state_help): Likewise.
32460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32463 * include/wchar.h (____wcstof_l_internal): New prototype.
32464 (____wcstod_l_internal): Likewise.
32465 (____wcstold_l_internal): Likewise.
32466 (____wcstol_l_internal): Likewise.
32467 (____wcstoul_l_internal): Likewise.
32468 (____wcstoll_l_internal): Likewise.
32469 (____wcstoull_l_internal): Likewise.
32470 (____wcstof128_l_internal): Likewise.
32471 * sysdeps/ieee754/float128/wcstof128.c
32472 (____wcstof128_l_internal): Removed.
32473 * sysdeps/ieee754/float128/wcstof128_l.c
32474 (____wcstof128_l_internal): Likewise.
32475 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32476 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32477 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32478 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32479 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32480 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32481 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32482 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32483 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32484 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32489 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32490 instead of <sys/statvfs.h>.
32491 (__internal_statvfs): Removed.
32492 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32493 instead of <sys/statvfs.h>.
32494 (__internal_statvfs64): Removed.
32495 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32496 "internal_statvfs.h" instead of <sys/statvfs.h>.
32497 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32498 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32499 instead of <sys/statvfs.h>.
32500 (__internal_statvfs): Removed.
32501 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32502 instead of <sys/statvfs.h>.
32503 (__internal_statvfs64): Removed.
32505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32508 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32509 (__gconv_close): Likewise.
32510 (__gconv): Likewise.
32511 (__gconv_find_transform): Likewise.
32512 (__gconv_lookup_cache): Likewise.
32513 (__gconv_compare_alias_cache): Likewise.
32514 (__gconv_load_cache): Likewise.
32515 (__gconv_get_path): Likewise.
32516 (__gconv_close_transform): Likewise.
32517 (__gconv_release_cache): Likewise.
32518 (__gconv_find_shlib): Likewise.
32519 (__gconv_release_shlib): Likewise.
32520 (__gconv_get_builtin_trans): Likewise.
32521 (__gconv_compare_alias): Likewise.
32522 * include/dlfcn.h (_dlerror_run): Likewise.
32523 * include/stdio.h (__fortify_fail_abort): Likewise.
32524 * include/time.h (__tz_compute): Likewise.
32525 (__strptime_internal): Likewise.
32526 * intl/gettextP.h (_nl_find_domain): Likewise.
32527 (_nl_load_domain): Likewise.
32528 (_nl_find_msg): Likewise.
32529 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32530 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32531 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32532 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32533 (__gai_find_request): Likewise.
32534 (__gai_remove_request): Likewise.
32535 (__gai_notify): Likewise.
32536 (__gai_notify_only): Likewise.
32537 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32538 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32539 (_dl_non_dynamic_init): Likewise.
32540 (_dl_aux_init): Likewise.
32541 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32542 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32544 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32545 (__wcsmbs_clone_conv): Likewise.
32546 (__wcsmbs_named_conv): Likewise.
32548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32551 * include/stdlib.h (__random): Add attribute_hidden.
32552 (__random_r): Likewise.
32553 (__srandom_r): Likewise.
32554 (__initstate_r): Likewise.
32555 (__setstate_r): Likewise.
32556 (__erand48_r): Likewise.
32557 (__nrand48_r): Likewise.
32558 (__jrand48_r): Likewise.
32559 (__srand48_r): Likewise.
32560 (__seed48_r): Likewise.
32561 (__lcong48_r): Likewise.
32562 (__drand48_iterate): Likewise.
32563 (__setenv): Likewise.
32564 (__unsetenv): Likewise.
32565 (__clearenv): Likewise.
32566 (__ptsname_r): Likewise.
32567 (__posix_openpt): Likewise.
32568 (__add_to_environ): Likewise.
32569 (__realpath): Add libc_hidden_proto.
32570 (__ecvt_r): Likewise.
32571 (__fcvt_r): Likewise.
32572 (__qecvt_r): Likewise.
32573 (__qfcvt_r): Likewise.
32574 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32575 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32580 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32581 * include/time.h (__mktime_internal): Likewise.
32582 * libio/iolibio.h (__fopen_internal): Likewise.
32584 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32586 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32588 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32589 Correct offset used to restore PIC register.
32591 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32594 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32595 code to load address of __getcontext_ret when generating PIC code.
32597 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32599 * elf/Makefile (tests-static-internal): Add
32600 tst-tls1-static-non-pie.
32601 (LDFLAGS-tst-tls1-static-non-pie): New.
32602 * elf/tst-tls1-static-non-pie.c: New file.
32604 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32606 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32607 (asinh): Define using libm_alias_double.
32608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32609 (cbrt): Define using libm_alias_double.
32610 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32611 <libm-alias-double.h>.
32612 (copysign): Define using libm_alias_double.
32613 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32614 (erf): Define using libm_alias_double.
32616 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32617 (expm1): Define using libm_alias_double.
32618 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32619 (fabs): Define using libm_alias_double.
32620 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32622 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32623 <libm-alias-double.h>.
32624 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32626 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32627 <libm-alias-double.h>.
32628 (getpayload): Define using libm_alias_double.
32629 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32630 <libm-alias-double.h>.
32631 (llrint): Define using libm_alias_double.
32632 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32633 (lrint): Define using libm_alias_double.
32634 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32635 <libm-alias-double.h>.
32636 (nextup): Define using libm_alias_double.
32637 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32638 <libm-alias-double.h>.
32639 (roundeven): Define using libm_alias_double.
32640 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32642 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32643 <libm-alias-double.h>.
32644 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32645 using libm_alias_double.
32646 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32647 (cos): Define using libm_alias_double.
32649 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32650 <libm-alias-double.h>.
32651 (sincos): Define using libm_alias_double.
32652 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32653 (tanh): Define using libm_alias_double.
32654 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32655 <libm-alias-double.h>.
32656 (totalorder): Define using libm_alias_double.
32657 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32658 <libm-alias-double.h>.
32659 (totalordermag): Define using libm_alias_double.
32660 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32662 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32664 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32665 <libm-alias-double.h>.
32666 (getpayload): Define using libm_alias_double.
32667 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32668 <libm-alias-double.h>.
32669 (roundeven): Define using libm_alias_double.
32670 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32671 <libm-alias-double.h>.
32672 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32673 <libm-alias-double.h>.
32674 (totalorder): Define using libm_alias_double.
32675 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32676 <libm-alias-double.h>.
32677 (totalordermag): Define using libm_alias_double.
32678 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32679 libc compat symbol here.
32680 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32681 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32682 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32683 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32684 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32685 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32686 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32687 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32688 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32689 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32691 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32693 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32694 _dl_relocate_static_pie instead of _dl_start to compute load
32695 address in static PIE. Return 0 if _DYNAMIC is undefined for
32698 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32700 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32701 _DYNAMIC is undefined for static executable.
32703 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32705 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32707 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32711 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32713 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32714 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32715 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32716 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32718 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32719 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32720 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32721 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32722 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32723 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32724 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32725 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32726 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32729 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32731 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32733 * math/bits/cmathcalls.h (cimag): Remove inline.
32734 (creal): Remove inline.
32735 (conj): Remove inline.
32737 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32739 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32740 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32741 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32742 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32743 (issignalingf_inline): Likewise.
32744 (POWF_LOG2_TABLE_BITS): Likewise.
32745 (POWF_LOG2_POLY_ORDER): Likewise.
32746 (POWF_SCALE_BITS): Likewise.
32747 (POWF_SCALE): Likewise.
32748 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32749 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32750 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32752 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32754 * math/Makefile (type-float-routines): Add e_log2f_data.
32755 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32756 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32757 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32758 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32759 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32760 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32761 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32763 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32765 * math/Makefile (type-float-routines): Add e_logf_data.
32766 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32767 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32768 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32769 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32770 * sysdeps/i386/fpu/e_logf_data.c: New file.
32771 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32772 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32774 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32776 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32777 undefined _DYNAMIC in PIE libc.a.
32778 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32781 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32783 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32784 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32785 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32786 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32787 (__signbit): Remove.
32788 (__signbitl): Remove.
32789 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32790 (__signbit): Remove.
32791 (__signbitl): Remove.
32792 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32793 (__signbit): Remove.
32794 (__signbitl): Remove.
32795 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32796 (__signbit): Remove.
32797 (__signbitl): Remove.
32798 * sysdeps/tile/bits/mathinline.h: Delete file.
32799 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32800 (__signbit): Remove.
32801 (__signbitl): Remove.
32803 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32805 * math/math.h: Improve handling of C99 isgreater macros.
32806 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32807 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32808 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32809 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32810 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32812 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32814 * sysdeps/aarch64/libm-test-ulps: Update.
32816 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32819 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32820 math_opt_barrier on argument when doing arithmetic on it.
32821 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32822 Likewise. Use math_force_eval not math_opt_barrier after
32824 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32825 math_opt_barrier on argument when doing arithmetic on it.
32826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32829 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32831 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32833 (__freeifaddrs): Likewise.
32835 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32837 * include/dirent.h (__dirfd): New declaration.
32838 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32840 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32841 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32842 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32843 * include/unistd.h (__revoke): New declaration.
32844 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32846 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32847 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32849 * include/dirent.h (__seekdir): New declaration.
32850 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32851 redefine as weak alias.
32852 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32854 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32855 and use libc_hidden_def on them.
32856 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32858 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32859 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32860 instead of getifaddrs and freeifaddrs.
32862 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32865 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32866 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32867 (__dso_handle): Remove declaration.
32868 * dlfcn/tstatexit.c (__dso_handle): Removed.
32869 (main): Don't check __dso_handle.
32870 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32871 (main): Don't check __dso_handle.
32872 * include/dso_handle.h: New file.
32873 * malloc/mtrace.c: Include <dso_handle.h>.
32874 (mtrace): Pass __dso_handle directly.
32875 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32876 (__dso_handle): Remove declaration.
32877 (__pthread_atfork): Pass __dso_handle directly.
32878 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32879 (__dso_handle): Removed.
32880 * posix/wordexp-test.c: Include <dso_handle.h>.
32881 (__dso_handle): Remove declaration.
32882 (__app_register_atfork): Pass __dso_handle directly.
32883 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32884 (__dso_handle): Remove declaration.
32885 (at_quick_exit): Pass __dso_handle directly.
32886 * stdlib/atexit.c: Include <dso_handle.h>.
32887 (__dso_handle): Remove declaration.
32888 (atexit): Pass __dso_handle directly.
32889 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32890 (__dso_handle): Removed.
32892 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32894 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32897 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32899 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32900 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32901 values to correct default value for given type.
32903 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32906 * elf/Makefile (tests): Add tst-debug1.
32907 ($(objpfx)tst-debug1): New.
32908 ($(objpfx)tst-debug1.out): Likewise.
32909 ($(objpfx)tst-debug1mod1.so): Likewise.
32910 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32911 with p_filesz == 0.
32912 * elf/tst-debug1.c: New file.
32914 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32916 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32917 Define using __ifunc.
32919 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32921 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32924 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32927 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32929 2017-09-26 Florian Weimer <fweimer@redhat.com>
32931 * resolv/Makefile (tests-internal): Fix typo in comment.
32933 2017-09-26 Florian Weimer <fweimer@redhat.com>
32935 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32937 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32939 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32940 Use an union instead of a max_align_t array for __space,
32941 so that __space is the same size on all platforms.
32942 * malloc/scratch_buffer_grow_preserve.c
32943 (__libc_scratch_buffer_grow_preserve): Likewise.
32946 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32948 * posix/Makefile (routines): Add glob-lstat-compat and
32949 glob64-lstat-compat.
32950 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32951 * posix/glob-lstat-compat.c: New file.
32952 * posix/glob64-lstat-compat.c: Likewise.
32953 * posix/tst-glob_lstat_compat.c: Likewise.
32954 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32955 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32956 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32957 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32959 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32960 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32961 * posix/glob.c (glob_lstat): New function.
32962 (glob): Rename to __glob and add versioned symbol to 2.27.
32963 (glob_in_dir): Use glob_lstat.
32964 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32965 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32966 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32968 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32969 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32970 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32971 gl_lstat on glob call.
32972 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32973 and glob64 symbols.
32974 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32975 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32977 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32978 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32979 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32980 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32981 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32982 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32983 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32984 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32985 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32988 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32992 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32993 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32994 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32997 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32998 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33001 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33003 * configure.ac (AS): Require binutils 2.25 or later.
33004 * configure: Regenerated.
33006 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33009 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33012 2017-09-25 DJ Delorie <dj@redhat.com>
33015 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33018 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33020 * sysdeps/ieee754/dbl-64/sincos32.h
33021 [SINCCOS32_H]: Remove define.
33022 [SINCOS32_H]: Define.
33024 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33026 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33028 * math/w_exp2f.c: New file.
33029 * math/w_expf.c: New file.
33030 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33031 * math/w_expf_compat.c (__expf_compat): Likewise.
33032 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33033 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33034 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33035 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33036 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33037 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33038 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33039 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33040 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33041 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33042 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33043 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33044 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33045 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33054 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33055 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33056 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33057 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33058 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33063 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33064 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33067 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33069 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33070 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33071 (roundtoint, converttoint): Likewise.
33072 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33073 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33074 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33075 * sysdeps/ieee754/flt-32/math_config.h: New file.
33076 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33077 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33078 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33079 * sysdeps/i386/fpu/math_errf.c: New file.
33080 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33081 * sysdeps/ia64/fpu/math_errf.c: New file.
33082 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33083 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33085 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33087 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33088 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33089 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33090 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33091 to make sure that these symbols are defined.
33092 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33094 (__need_NULL): Do not define.
33095 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33097 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33098 CMGROUP_MAX, cmsgcred): Do not define.
33099 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33101 * bits/socket.h: Likewise.
33102 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33103 __gettimeofday instead of gettimeofday.
33104 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33105 instead of settimeofday.
33107 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33109 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33110 (asinhf): Define using libm_alias_float.
33111 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33112 (atanf): Define using libm_alias_float.
33113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33114 (cbrtf): Define using libm_alias_float.
33115 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33116 (ceilf): Define using libm_alias_float.
33117 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33118 <libm-alias-float.h>.
33119 (copysignf): Define using libm_alias_float.
33120 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33121 (cosf): Define using libm_alias_float.
33122 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33123 (erff): Define using libm_alias_float.
33125 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33126 (expm1f): Define using libm_alias_float.
33127 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33128 (fabsf): Define using libm_alias_float.
33129 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33130 (floorf): Define using libm_alias_float.
33131 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33132 (frexpf): Define using libm_alias_float.
33133 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33135 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33136 <libm-alias-float.h>.
33137 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33139 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33140 <libm-alias-float.h>.
33141 (getpayloadf): Define using libm_alias_float.
33142 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33143 <libm-alias-float.h>.
33144 (llrintf): Define using libm_alias_float.
33145 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33146 <libm-alias-float.h>.
33147 (llroundf): Define using libm_alias_float.
33148 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33149 (logbf): Define using libm_alias_float.
33150 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33151 (lrintf): Define using libm_alias_float.
33152 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33153 (lroundf): Define using libm_alias_float.
33154 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33155 (modff): Define using libm_alias_float.
33156 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33157 <libm-alias-float.h>.
33158 (nearbyintf): Define using libm_alias_float.
33159 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33160 <libm-alias-float.h>.
33161 (nextafterf): Define using libm_alias_float.
33162 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33163 <libm-alias-float.h>.
33164 (nextupf): Define using libm_alias_float.
33165 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33166 <libm-alias-float.h>.
33167 (remquof): Define using libm_alias_float.
33168 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33169 (rintf): Define using libm_alias_float.
33170 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33171 <libm-alias-float.h>.
33172 (roundevenf): Define using libm_alias_float.
33173 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33174 (roundf): Define using libm_alias_float.
33175 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33176 using libm_alias_float.
33177 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33178 <libm-alias-float.h>.
33179 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33180 Define using libm_alias_float.
33181 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33182 <libm-alias-float.h>.
33183 (sincosf): Define using libm_alias_float.
33184 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33185 (sinf): Define using libm_alias_float.
33186 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33187 (tanf): Define using libm_alias_float.
33188 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33189 (tanhf): Define using libm_alias_float.
33190 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33191 <libm-alias-float.h>.
33192 (totalorderf): Define using libm_alias_float.
33193 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33194 <libm-alias-float.h>.
33195 (totalordermagf): Define using libm_alias_float.
33196 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33197 (truncf): Define using libm_alias_float.
33198 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33200 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33203 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33206 math/math.h: Let fpclassify use the builtin in C++ mode, even
33207 when optimazing for size.
33209 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33211 * csu/Makefile (generated): Do not add version-info.h.
33212 (before-compile): Likewise.
33213 (all-Banner-files): Remove variable.
33214 ($(objpfx)version-info.h): Remove rule.
33215 * csu/version.c (banner): Do not include "version-info.h".
33216 * libidn/Banner: Remove.
33217 * manual/contrib.texi (Simon Josefsson): New entry.
33219 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33222 Remove conditionals on LDBL_MANT_DIG.
33223 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33224 (__ieee754_lgammal_r): Likewise.
33226 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33230 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33231 _Float128 and L(). Replace _Float128 with long double and L(x)
33232 with xL, throughout the file.
33233 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33238 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33241 sysdeps/ieee754/ldbl-128ibm.
33242 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33243 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33244 of including it. Keep _Float128 and L() intact. These will be
33245 reviewed by a separate patch.
33246 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33251 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33254 (__finitef128): Define to __redirect___finitef128.
33255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33256 (__isinff128): Define to __redirect___isinff128.
33257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33258 (__isnanf128): Define to __redirect___isnanf128.
33260 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33262 * sysdeps/powerpc/powerpc64le/Makefile
33263 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33264 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33266 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33267 Carlos O'Donell <carlos@redhat.com>
33270 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33271 * stdlib/test-dlclose-exit-race.c: New file.
33272 * stdlib/test-dlclose-exit-race-helper.c: New file.
33273 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33275 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33277 * crypt/Banner: Remove file.
33278 * nptl/Banner: Likewise.
33279 * resolv/Banner: Likewise.
33280 * soft-fp/Banner: Likewise.
33281 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33282 ($(objpfx)version.d): Remove dependency on banner.h.
33283 ($(objpfx)version.os): Likewise.
33284 * nptl/version.c (banner): Do not include banner.h.
33285 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33286 Jelinek and BIND code.
33288 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33289 Carlos O'Donell <carlos@redhat.com>
33291 * support/xdlfcn.h: New file.
33292 * support/xdlfcn.c: New file.
33293 * support/Makefile (libsupport-routines): Add xdlfcn.
33294 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33296 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33300 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33301 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33302 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33308 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33309 Ricky Zhou <rickyz@google.com>
33310 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33313 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33315 (__new_exitfn): Fail registration when we finished at_exit processing.
33316 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33317 * stdlib/on_exit.c (__on_exit): Likewise.
33318 * stdlib/exit.c (__exit_funcs_done): New variable.
33319 (__run_exit_handlers): Use __exit_funcs_lock.
33320 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33322 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33323 (test-cxa_atexit-race, test-on_exit-race): New tests.
33324 * stdlib/test-atexit-race-common.c: New file.
33325 * stdlib/test-atexit-race.c: New file.
33326 * stdlib/test-at_quick_exit-race.c: New file.
33327 * stdlib/test-cxa_atexit-race.c: New file.
33328 * stdlib/test-on_exit-race.c: New file.
33330 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33332 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33333 * benchtests/exp2f-inputs: Copy of expf-inputs.
33334 * benchtests/log2f-inputs: Copy of logf-inputs.
33336 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33338 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33339 Explicitly take address of first element of array arguments in
33340 call to INLINE_SYSCALL.
33342 2017-09-19 Andreas Schwab <schwab@suse.de>
33345 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33347 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33349 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33350 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33351 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33352 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33353 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33354 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33356 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33357 * posix/Makefile (tests): Add tst-fexecve.
33358 * posix/tst-fexecve.c: New file.
33360 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33362 * benchtests/Makefile: Add logf benchmark.
33363 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33365 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33367 * benchtests/Makefile: Add expf benchmark.
33368 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33370 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33372 * csu/Makefile: Add -funwind-tables to libc-start.c.
33373 * debug/Makefile: Add -funwind-tables to backtrace.c.
33374 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33375 * sysdeps/arm/Makefile: Likewise.
33376 * sysdeps/i386/Makefile: Likewise.
33377 * sysdeps/m68k/Makefile: Likewise.
33378 * sysdeps/mips/Makefile: Likewise.
33379 * sysdeps/nios2/Makefile: Likewise.
33380 * sysdeps/sh/Makefile: Likewise.
33381 * sysdeps/sparc/Makefile: Likewise.
33383 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33385 * benchtests/Makefile (bench-math): Add trunc and truncf.
33386 (CFLAGS-bench-trunc.c): New variable.
33387 (CFLAGS-bench-truncf.c): Likewise.
33388 * benchtests/trunc-inputs: New file.
33389 * benchtests/truncf-inputs: Likewise.
33391 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33393 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33395 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33397 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33398 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33400 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33401 (exp10l): Define as weak alias.
33402 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33403 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33405 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33406 (remainderl): Define as weak alias.
33408 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33409 (fmal): Define using libm_alias_ldouble.
33410 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33411 (acoshl): Define using libm_alias_ldouble.
33412 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33413 (acosl): Define using libm_alias_ldouble.
33414 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33415 (asinl): Define using libm_alias_ldouble.
33416 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33417 (atan2l): Define using libm_alias_ldouble.
33418 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33419 (atanhl): Define using libm_alias_ldouble.
33420 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33421 (coshl): Define using libm_alias_ldouble.
33422 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33423 (exp10l): Define using libm_alias_ldouble.
33424 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33425 (exp2l): Define using libm_alias_ldouble.
33426 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33427 (expl): Define using libm_alias_ldouble.
33428 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33429 (fmodl): Define using libm_alias_ldouble.
33430 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33431 (hypotl): Define using libm_alias_ldouble.
33432 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33433 (j0l): Define using libm_alias_ldouble.
33435 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33436 (j1l): Define using libm_alias_ldouble.
33438 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33439 (jnl): Define using libm_alias_ldouble.
33441 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33442 (log10l): Define using libm_alias_ldouble.
33443 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33444 (log2l): Define using libm_alias_ldouble.
33445 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33446 (logl): Define using libm_alias_ldouble.
33447 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33448 (powl): Define using libm_alias_ldouble.
33449 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33450 (remainderl): Define using libm_alias_ldouble.
33451 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33452 (sinhl): Define using libm_alias_ldouble.
33453 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33454 (sqrtl): Define using libm_alias_ldouble.
33455 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33456 (tgammal): Define using libm_alias_ldouble.
33457 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33458 (exp10l): Do not use long_double_symbol here.
33459 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33460 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33461 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33462 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33463 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33464 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33465 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33466 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33467 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33468 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33469 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33470 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33471 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33472 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33473 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33474 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33475 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33477 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33478 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33479 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33480 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33482 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33484 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33485 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33487 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33489 * io/read.c (read): Add libc_hidden_weak.
33490 * sysdeps/mach/hurd/read.c (read): Likewise.
33491 * io/write.c (write): Likewise.
33492 * sysdeps/mach/hurd/write.c (write): Likewise.
33493 * io/pread64.c (__pread64): Likewise.
33494 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33495 * posix/pread64.c (__pread64): Add libc_hidden_def.
33497 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33499 * benchtests/scripts/compare_strings.py: New option -g.
33500 (draw_graph): Print a message that a graph is being generated.
33501 (process_results): Generate graph only if -g is passed.
33502 (main): Process option -g.
33504 * benchtests/scripts/compare_strings.py (process_results):
33505 Better spacing for output.
33507 * benchtests/scripts/compare_strings.py: Use argparse.
33508 * benchtests/README: Document existence of compare_strings.py.
33510 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33512 * math/s_fma.c: Include <libm-alias-double.h>.
33513 (fma): Define using libm_alias_double.
33514 * math/s_nextafter.c: Include <libm-alias-double.h>.
33515 (nextafter): Define using libm_alias_double.
33516 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33517 (acos): Define using libm_alias_double.
33518 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33519 (aocsh): Define using libm_alias_double.
33520 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33521 (asin): Define using libm_alias_double.
33522 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33523 (atan2): Define using libm_alias_double.
33524 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33525 (atanh): Define using libm_alias_double.
33526 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33527 (cosh): Define using libm_alias_double.
33528 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33529 (exp10): Define using libm_alias_double.
33530 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33531 (exp2): Define using libm_alias_double.
33532 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33533 (exp): Define using libm_alias_double.
33534 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33535 (fmod): Define using libm_alias_double.
33536 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33537 (hypot): Define using libm_alias_double.
33538 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33539 (j0): Define using libm_alias_double.
33541 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33542 (j1): Define using libm_alias_double.
33544 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33545 (jn): Define using libm_alias_double.
33547 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33548 (log10): Define using libm_alias_double.
33549 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33550 (log2): Define using libm_alias_double.
33551 * math/w_log_compat.c: Include <libm-alias-double.h>.
33552 (log): Define using libm_alias_double.
33553 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33554 (pow): Define using libm_alias_double.
33555 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33556 (remainder): Define using libm_alias_double.
33557 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33558 (sinh): Define using libm_alias_double.
33559 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33560 (sqrt): Define using libm_alias_double.
33561 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33562 (tgamma): Define using libm_alias_double.
33563 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33564 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33565 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33566 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33567 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33568 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33569 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33570 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33571 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33572 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33573 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33574 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33575 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33576 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33577 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33578 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33579 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33580 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33581 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33582 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33583 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33584 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33585 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33586 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33587 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33589 * math/e_acoshl.c: Remove.
33590 * math/e_acosl.c: Likewise.
33591 * math/e_asinl.c: Likewise.
33592 * math/e_atan2l.c: Likewise.
33593 * math/e_atanhl.c: Likewise.
33594 * math/e_coshl.c: Likewise.
33595 * math/e_expl.c: Likewise.
33596 * math/e_fmodl.c: Likewise.
33597 * math/e_gammal_r.c: Likewise.
33598 * math/e_hypotl.c: Likewise.
33599 * math/e_j0l.c: Likewise.
33600 * math/e_j1l.c: Likewise.
33601 * math/e_jnl.c: Likewise.
33602 * math/e_lgammal_r.c: Likewise.
33603 * math/e_log10l.c: Likewise.
33604 * math/e_log2l.c: Likewise.
33605 * math/e_logl.c: Likewise.
33606 * math/e_powl.c: Likewise.
33607 * math/e_rem_pio2l.c: Likewise.
33608 * math/e_sinhl.c: Likewise.
33609 * math/e_sqrtf128.c: Likewise.
33610 * math/e_sqrtl.c: Likewise.
33611 * math/k_cosl.c: Likewise.
33612 * math/k_sinl.c: Likewise.
33613 * math/k_tanl.c: Likewise.
33614 * math/s_asinhl.c: Likewise.
33615 * math/s_atanl.c: Likewise.
33616 * math/s_cbrtl.c: Likewise.
33617 * math/s_erfl.c: Likewise.
33618 * math/s_expm1l.c: Likewise.
33619 * math/s_log1pl.c: Likewise.
33620 * math/s_tanhl.c: Likewise.
33622 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33626 [$(subdir) = math] (sysdep_calls): New variable. Has the
33627 previous contents of sysdep_routines, but re-sorted..
33628 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33630 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33631 defined in sysdep_calls and replace by the respective m_* names.
33632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33633 (compat_symbol): Undefine to avoid duplicated compat symbols in
33636 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33638 * math/s_fmaf.c: Include <libm-alias-float.h>.
33639 (fmaf): Define using libm_alias_float.
33640 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33641 (acosf): Define using libm_alias_float.
33642 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33643 (acoshf): Define using libm_alias_float.
33644 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33645 (asinf): Define using libm_alias_float.
33646 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33647 (atan2f): Define using libm_alias_float.
33648 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33649 (atanhf): Define using libm_alias_float.
33650 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33651 (coshf): Define using libm_alias_float.
33652 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33653 (exp10f): Define using libm_alias_float.
33654 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33655 (fmodf): Define using libm_alias_float.
33656 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33657 (hypotf): Define using libm_alias_float.
33658 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33659 (j0f): Define using libm_alias_float.
33661 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33662 (j1f): Define using libm_alias_float.
33664 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33665 (jnf): Define using libm_alias_float.
33667 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33668 (log10f): Define using libm_alias_float.
33669 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33670 (log2f): Define using libm_alias_float.
33671 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33672 (logf): Define using libm_alias_float.
33673 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33674 (powf): Define using libm_alias_float.
33675 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33676 (remainderf): Define using libm_alias_float.
33677 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33678 (sinhf): Define using libm_alias_float.
33679 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33680 (sqrtf): Define using libm_alias_float.
33681 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33682 (tgammaf): Define using libm_alias_float.
33684 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33686 * include/math.h (roundeven): Change hidden_proto call to
33688 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33690 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33691 (y0): Rename to __y0 and define as weak alias.
33692 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33693 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33695 (y0f): Rename to __y0f and define as weak alias.
33696 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33698 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33699 (y1): Rename to __y1 and define as weak alias.
33700 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33701 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33703 (y1f): Rename to __y1f and define as weak alias.
33704 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33706 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33707 (yn): Rename to __yn and define as weak alias.
33708 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33709 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33711 (ynf): Rename to __ynf and define as weak alias.
33712 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33713 (fromfp): Define as weak alias.
33714 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33715 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33716 (fromfpx): Define as weak alias.
33717 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33718 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33719 __getpayload and define as weak alias.
33720 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33721 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33722 __roundeven and define as weak alias.
33723 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33724 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33726 (setpayload): Define as weak alias.
33727 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33728 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33730 (setpayloadsig): Define as weak alias.
33731 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33732 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33733 __totalorder and define as weak alias.
33734 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33735 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33736 to __totalordermag and define as weak alias.
33737 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33738 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33739 (ufromfp): Define as weak alias.
33740 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33741 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33743 (ufromfpx): Define as weak alias.
33744 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33746 Rename to __getpayload and define as weak alias.
33747 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33748 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33749 Rename to __roundeven and define as weak alias.
33750 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33752 Rename to __totalorder and define as weak alias.
33753 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33755 (totalordermag): Rename to __totalordermag and define as weak
33757 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33758 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33760 (__roundevenl): Likewise.
33761 (__totalorderl): Likewise.
33762 (__totalordermagl): Likewise
33763 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33765 (fromfpf128): Define as weak alias.
33766 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33768 (fromfpxf128): Define as weak alias.
33769 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33771 (setpayloadf128): Define as weak alias.
33772 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33773 __setpayloadsigf128.
33774 (setpayloadsigf128): Define as weak alias.
33775 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33777 (ufromfpf128): Define as weak alias.
33778 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33780 (ufromfpxf128): Define as weak alias.
33781 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33782 (fromfpf): Define as weak alias.
33783 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33785 (fromfpxf): Define as weak alias.
33786 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33787 __getpayloadf and define as weak alias.
33788 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33789 __roundevenf and define as weak alias.
33790 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33792 (setpayloadf): Define as weak alias.
33793 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33795 (setpayloadsigf): Define as weak alias.
33796 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33797 __totalorderf and define as weak alias.
33798 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33799 Rename to __totalordermagf and define as weak alias.
33800 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33802 (ufromfpf): Define as weak alias.
33803 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33805 (ufromfpxf): Define as weak alias.
33806 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33808 (fromfpl): Define as weak alias.
33809 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33811 (fromfpxl): Define as weak alias.
33812 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33813 to __getpayloadl and define as weak alias.
33814 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33815 __roundevenl and define as weak alias.
33816 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33818 (setpayloadl): Define as weak alias.
33819 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33821 (setpayloadsigl): Define as weak alias.
33822 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33823 to __totalorderl and define as weak alias.
33824 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33825 Rename to __totalordermagl and define as weak alias.
33826 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33828 (ufromfpl): Define as weak alias.
33829 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33831 (ufromfpxl): Define as weak alias.
33832 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33834 (fromfpl): Define as weak alias.
33835 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33837 (fromfpxl): Define as weak alias.
33838 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33839 Rename to __getpayloadl and define as weak alias.
33840 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33841 to __roundevenl and define as weak alias. Call __roundeven
33842 instead of roundeven.
33843 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33845 (setpayloadl): Define as weak alias.
33846 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33848 (setpayloadsigl): Define as weak alias.
33849 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33850 Rename to __totalorderl and define as weak alias.
33851 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33852 Rename to __totalordermagl and define as weak alias.
33853 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33855 (ufromfpl): Define as weak alias.
33856 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33858 (ufromfpxl): Define as weak alias.
33859 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33861 (fromfpl): Define as weak alias.
33862 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33864 (fromfpxl): Define as weak alias.
33865 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33866 __getpayloadl and define as weak alias.
33867 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33868 __roundevenl and define as weak alias.
33869 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33871 (setpayloadl): Define as weak alias.
33872 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33874 (setpayloadsigl): Define as weak alias.
33875 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33876 __totalorderl and define as weak alias.
33877 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33878 Rename to __totalordermagl and define as weak alias.
33879 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33881 (ufromfpl): Define as weak alias.
33882 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33884 (ufromfpxl): Define as weak alias.
33886 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33888 * benchtests/bench-string.h (realloc_bufs): New function.
33889 (test_init): Call it.
33890 * benchtests/bench-memset-large.c (do_test): Likewise.
33891 * benchtests/bench-memset.c (do_test): Likewise.
33893 * benchtests/bench-memset-large.c: Print output in JSON
33895 * benchtests/bench-memset.c: Likewise.
33897 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33900 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33901 * iconvdata/Makefile: Add IBM858.
33902 * iconvdata/gconv-modules: Likewise.
33903 * iconvdata/tst-tables.sh: Likewise.
33904 * iconvdata/ibm858.c: New file.
33905 * localedata/charmaps/IBM858: Likewise.
33907 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33910 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33911 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33913 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33916 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33917 and add tel_int_fmt.
33919 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33921 * sysdeps/generic/libm-alias-float128.h: New file.
33922 * sysdeps/generic/math-type-macros-float128.h: Include
33923 <libm-alias-float128.h>.
33924 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33926 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33928 * sysdeps/generic/libm-alias-ldouble.h: New file.
33929 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33930 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33931 * sysdeps/generic/math-type-macros-ldouble.h: Include
33932 <libm-alias-ldouble.h>.
33933 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33934 libm_alias_ldouble.
33936 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33938 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33939 * math/w_exp_compat.c: ... here.
33940 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33941 * math/w_expf_compat.c: ... here.
33942 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33943 * math/w_expl_compat.c: ... here.
33944 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33945 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33946 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33947 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33949 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33951 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33953 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33955 (ldexpl): Only define as compat symbol for libc, not libm.
33956 (scalbnl): Define as compat symbol for libc here.
33957 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33958 define for [IS_IN (libc)].
33959 (__ldexpl_2): Remove alias.
33960 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33961 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33962 name in long_double_symbol call.
33963 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33964 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33965 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33966 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33967 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33969 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33970 Define as compat symbol.
33972 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33974 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33975 * sysdeps/unix/sysv/linux/alpha/Makefile
33976 [$(subdir) = csu] (sysdep_routines): Remove rule.
33978 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33980 * sysdeps/generic/libm-alias-double.h: New file.
33981 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33982 * sysdeps/generic/math-type-macros-double.h: Include
33983 <libm-alias-double.h>.
33984 [declare_mgen_alias] (declare_mgen_alias): Define to use
33986 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33987 (M_LIBM_NEED_COMPAT): Remove macro.
33988 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33989 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33990 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33992 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33993 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33994 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33995 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33996 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33997 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33998 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33999 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34000 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34001 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34002 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34003 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34004 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34005 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34006 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34007 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34008 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34009 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34010 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34011 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34012 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34013 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34014 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34015 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34016 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34017 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34018 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34019 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34020 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34022 (declare_mgen_alias): New macro.
34023 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34024 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34026 (M_LIBM_NEED_COMPAT): Remove macro.
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34028 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34029 <first-versions.h>.
34030 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34031 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34033 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34035 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34036 (declare_mgen_alias_2): Remove.
34037 * sysdeps/generic/math-type-macros-double.h
34038 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34040 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34042 (ldexp): Define with declare_mgen_alias.
34043 (scalbn): Likewise.
34045 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34047 * grp/initgroups.c: Include config.h.
34048 (DEFAULT_CONFIG): New macro.
34049 (internal_getgrouplist): Use DEFAULT_CONFIG.
34050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34051 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34052 (DEFAULT_DEFCONFIG): New macro.
34053 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34054 * nss/grp-lookup.c: Include config.h
34055 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34056 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34057 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34058 * manual/nss.texi: Update default values section.
34060 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34063 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34065 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34066 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34067 Handle MathVec_Prefer_No_AVX512.
34068 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34069 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34072 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34074 * posix/sched_primax.c (__sched_get_priority_max): Add
34076 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34077 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34078 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34079 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34080 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34081 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34082 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34083 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34086 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34088 * sysdeps/generic/libm-alias-float.h: New file.
34089 * sysdeps/generic/math-type-macros-float.h: Include
34090 <libm-alias-float.h>.
34091 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34093 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34097 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34098 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34099 (HWCAP_IMPORTANT): Likewise.
34100 (HWCAP_X86_64): New enum.
34101 (HWCAP_X86_AVX512_1): Updated.
34102 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34103 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34104 (modules-names): Add x86_64/tst-x86_64mod-1.
34105 (LDFLAGS-tst-x86_64mod-1.so): New.
34106 ($(objpfx)tst-x86_64-1): Likewise.
34107 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34108 (tst-x86_64-1-clean): Likewise.
34109 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34110 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34112 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34114 * po/sv.po: Update translations.
34115 * po/fr.po: Likewise.
34117 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34119 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34121 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34123 * elf/rtld-Rules: Fix $(error) use.
34125 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34128 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34129 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34130 * localedata/locales/bn_BD: “Bengali” was still used in some
34131 comments. Change it to “Bangla”.
34133 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34135 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34137 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34139 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34140 thunderx2t99p1 to list of cpu names.
34141 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34142 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34144 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34146 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34147 Use strcmp instead of tunable_is_name.
34149 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34152 (F_GET_RW_HINT): New macro.
34153 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34154 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34155 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34156 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34157 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34158 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34159 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34160 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34161 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34164 (F_ADD_SEALS): New macro.
34165 [__USE_GNU] (F_GET_SEALS): Likewise.
34166 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34167 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34168 [__USE_GNU] (F_SEAL_GROW): Likewise.
34169 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34171 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34173 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34174 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34175 * posix/glob_internal.h (__glob_pattern_type):
34176 * posix/glob.c (glob):
34177 * posix/glob_pattern_p.c (__glob_pattern_p):
34180 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34181 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34182 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34183 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34184 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34186 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34187 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34188 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34189 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34190 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34191 * sysdeps/wordsize-64/glob.c: Likewise.
34192 * sysdeps/wordsize-64/glob64.c: Likewise.
34193 * sysdeps/wordsize-64/globfree.c: Likewise.
34194 * sysdeps/wordsize-64/globfree64.c: Likewise.
34195 * sysdeps/unix/sysv/linux/glob.c: New file.
34196 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34197 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34198 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34199 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34200 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34201 adds !GLOB_NO_OLD_VERSION as an extra condition.
34202 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34203 using relative path instead of absolute one.
34204 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34205 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34206 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34207 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34208 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34209 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34212 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34213 (glob): Use the same scratch buffer for both getlogin_r and
34214 getpwnam_r. Don’t require preallocation of the login name. This
34215 simplifies storage allocation, and corrects the handling of
34219 * posix/glob.c (glob): Port recent patches to platforms
34220 lacking getpwnam_r.
34221 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34222 returns an error number rather than setting errno.
34224 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34225 instead of GCC extension.
34226 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34227 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34228 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34232 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34233 * posix/bug-glob1.c: Remove file.
34234 * posix/tst-glob_symlinks.c: New file.
34235 * posix/glob.c (__lstat64): New macro.
34236 (is_dir): New function.
34237 (glob, glob_in_dir): Match symlinks even if they are dangling.
34238 (link_stat, link_exists_p): Remove. All uses removed.
34242 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34243 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34248 * posix/Makefile (routines): Add globfree, globfree64, and
34250 * posix/flexmember.h: New file.
34251 * posix/glob_internal.h: Likewise.
34252 * posix/glob_pattern_p.c: Likewise.
34253 * posix/globfree.c: Likewise.
34254 * posix/globfree64.c: Likewise.
34255 * sysdeps/gnu/globfree64.c: Likewise.
34256 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34257 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34258 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34259 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34260 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34261 * sysdeps/wordsize-64/globfree.c: Likewise.
34262 * sysdeps/wordsize-64/globfree64.c: Likewise.
34263 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34264 [NDEBUG): Remove comments.
34265 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34266 (dirent_type): New type. Use uint_fast8_t not
34267 uint8_t, as C99 does not require uint8_t.
34268 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34269 (struct readdir_result): Use dirent_type. Do not define skip_entry
34270 unless it is needed; this saves a byte on platforms lacking d_ino.
34271 (readdir_result_type, readdir_result_skip_entry):
34272 New functions, replacing ...
34273 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34274 these functions, which were removed. This makes the callers
34275 easier to read. All callers changed.
34276 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34277 (size_add_wrapv, glob_use_alloca): New static functions.
34278 (glob, glob_in_dir): Check for size_t overflow in several places,
34279 and fix some size_t checks that were not quite right.
34280 Remove old code using SHELL since Bash no longer
34282 (glob, prefix_array): Separate MS code better.
34283 (glob_in_dir): Remove old Amiga and VMS code.
34284 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34286 (glob_in_dir): Do not rely on undefined behavior in accessing
34287 struct members beyond their bounds. Use a flexible array member
34289 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34290 0/1. Caller changed.
34291 (glob): Fix memory leaks.
34292 * posix/glob64 (globfree64): Move to separate file.
34293 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34294 (globfree64): Remove hidden alias.
34295 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34297 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34299 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34301 Move compat code to separate file.
34302 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34305 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34307 * resolv/tst-resolv-qtypes.c (domain): Changed to
34308 "const char domain[] =".
34310 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34312 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34315 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34316 (TCP_MD5SIG_EXT): Likewise.
34317 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34318 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34319 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34321 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34323 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34325 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34327 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34330 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34332 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34334 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34335 before assuming that the file is empty. Avoid testing buffer content
34338 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34341 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34343 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34345 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34347 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34349 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34351 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34353 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34356 2017-09-06 Florian Weimer <fweimer@redhat.com>
34358 * malloc/dynarray_emplace_enlarge.c
34359 (__libc_dynarray_emplace_enlarge): Add missing else.
34361 2017-09-06 Florian Weimer <fweimer@redhat.com>
34364 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34365 case of failure to obtain the global conf object.
34367 2017-09-06 Florian Weimer <fweimer@redhat.com>
34370 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34371 dynarray allocation failure.
34373 2017-09-06 Florian Weimer <fweimer@redhat.com>
34375 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34376 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34377 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34379 (response): Call them. Add 'p', '6' flag processing.
34380 (test_reverse): New function.
34381 (test_get2_any): Call it.
34382 (test_no_inet6): Add 'p' test.
34383 (test_inet6): Likewise.
34385 2017-09-06 Florian Weimer <fweimer@redhat.com>
34387 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34388 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34390 (test_gai): Adjust query names. Add additional tests.
34391 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34392 test_get2. Adjust query names. Add additional tests.
34393 (test_no_inet6): New function, extracted from threadfunc.
34394 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34395 Add additional tests.
34397 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34400 * localedata/unicode-gen/utf8_gen.py: Set the width for
34401 characters with Prepended_Concatenation_Mark property to 1
34402 * localedata/charmaps/UTF-8: Updated using the improved script.
34404 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34407 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34408 use the range notation for all ranges of neighbouring characters
34409 with the same width.
34411 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34413 * sysdeps/generic/math-type-macros-double.h: Include
34414 <math-svid-compat.h>.
34415 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34416 * sysdeps/generic/math-type-macros-float.h: Include
34417 <math-svid-compat.h>.
34418 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34419 * sysdeps/generic/math-type-macros-ldouble.h: Include
34420 <math-svid-compat.h>.
34421 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34422 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34424 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34425 * math/w_acosf_compat.c: Likewise.
34426 * math/w_acosh_compat.c: Likewise.
34427 * math/w_acoshf_compat.c: Likewise.
34428 * math/w_acoshl_compat.c: Likewise.
34429 * math/w_acosl_compat.c: Likewise.
34430 * math/w_asin_compat.c: Likewise.
34431 * math/w_asinf_compat.c: Likewise.
34432 * math/w_asinl_compat.c: Likewise.
34433 * math/w_atan2_compat.c: Likewise.
34434 * math/w_atan2f_compat.c: Likewise.
34435 * math/w_atan2l_compat.c: Likewise.
34436 * math/w_atanh_compat.c: Likewise.
34437 * math/w_atanhf_compat.c: Likewise.
34438 * math/w_atanhl_compat.c: Likewise.
34439 * math/w_cosh_compat.c: Likewise.
34440 * math/w_coshf_compat.c: Likewise.
34441 * math/w_coshl_compat.c: Likewise.
34442 * math/w_exp10_compat.c: Likewise.
34443 * math/w_exp10f_compat.c: Likewise.
34444 * math/w_exp10l_compat.c: Likewise.
34445 * math/w_exp2_compat.c: Likewise.
34446 * math/w_exp2f_compat.c: Likewise.
34447 * math/w_exp2l_compat.c: Likewise.
34448 * math/w_fmod_compat.c: Likewise.
34449 * math/w_fmodf_compat.c: Likewise.
34450 * math/w_fmodl_compat.c: Likewise.
34451 * math/w_hypot_compat.c: Likewise.
34452 * math/w_hypotf_compat.c: Likewise.
34453 * math/w_hypotl_compat.c: Likewise.
34454 * math/w_j0_compat.c: Likewise.
34455 * math/w_j0f_compat.c: Likewise.
34456 * math/w_j0l_compat.c: Likewise.
34457 * math/w_j1_compat.c: Likewise.
34458 * math/w_j1f_compat.c: Likewise.
34459 * math/w_j1l_compat.c: Likewise.
34460 * math/w_jn_compat.c: Likewise.
34461 * math/w_jnf_compat.c: Likewise.
34462 * math/w_jnl_compat.c: Likewise.
34463 * math/w_lgamma_r_compat.c: Likewise.
34464 * math/w_lgammaf_r_compat.c: Likewise.
34465 * math/w_lgammal_r_compat.c: Likewise.
34466 * math/w_log10_compat.c: Likewise.
34467 * math/w_log10f_compat.c: Likewise.
34468 * math/w_log10l_compat.c: Likewise.
34469 * math/w_log2_compat.c: Likewise.
34470 * math/w_log2f_compat.c: Likewise.
34471 * math/w_log2l_compat.c: Likewise.
34472 * math/w_log_compat.c: Likewise.
34473 * math/w_logf_compat.c: Likewise.
34474 * math/w_logl_compat.c: Likewise.
34475 * math/w_pow_compat.c: Likewise.
34476 * math/w_powf_compat.c: Likewise.
34477 * math/w_powl_compat.c: Likewise.
34478 * math/w_remainder_compat.c: Likewise.
34479 * math/w_remainderf_compat.c: Likewise.
34480 * math/w_remainderl_compat.c: Likewise.
34481 * math/w_sinh_compat.c: Likewise.
34482 * math/w_sinhf_compat.c: Likewise.
34483 * math/w_sinhl_compat.c: Likewise.
34484 * math/w_sqrt_compat.c: Likewise.
34485 * math/w_sqrtf_compat.c: Likewise.
34486 * math/w_sqrtl_compat.c: Likewise.
34487 * math/w_tgamma_compat.c: Likewise.
34488 * math/w_tgammaf_compat.c: Likewise.
34489 * math/w_tgammal_compat.c: Likewise.
34490 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34491 [LIBM_SVID_COMPAT].
34492 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34493 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34494 [LIBM_SVID_COMPAT].
34495 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34496 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34497 [LIBM_SVID_COMPAT].
34498 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34499 * sysdeps/i386/fpu/w_sqrt.c: New file.
34500 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34501 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34502 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34503 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34504 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34505 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34506 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34507 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34508 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34509 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34510 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34511 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34512 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34513 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34514 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34515 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34516 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34517 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34518 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34519 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34520 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34521 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34522 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34523 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34524 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34525 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34526 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34527 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34528 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34529 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34530 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34531 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34532 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34533 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34534 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34535 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34536 * sysdeps/ia64/fpu/w_log.c: Likewise.
34537 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34538 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34539 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34540 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34541 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34542 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34543 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34544 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34545 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34546 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34547 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34548 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34549 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34550 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34551 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34552 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34553 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34554 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34555 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34556 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34557 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34558 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34559 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34560 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34561 [LIBM_SVID_COMPAT].
34562 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34563 * sysdeps/ieee754/k_standard.c: Likewise.
34564 * sysdeps/ieee754/k_standardf.c: Likewise.
34565 * sysdeps/ieee754/k_standardl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34568 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34569 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34570 long_double_symbol call on [LIBM_SVID_COMPAT].
34571 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34572 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34573 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34574 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34575 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34576 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34577 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34578 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34579 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34580 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34581 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34582 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34583 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34584 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34585 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34586 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34587 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34588 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34589 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34590 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34591 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34592 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34594 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34596 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34597 * malloc/tst-mallocstate.c: Convert from test-skeleton
34598 to test-driver. Ifdef code using TEST_COMPAT macro.
34599 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34600 * math/test-matherr.c: Likewise.
34602 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34605 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34606 comparing word with byte-swapped constant.
34608 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34611 * locale/iso-639.def: add Miskito.
34612 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34613 * localedata/locales/miq_NI: New file.
34615 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34618 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34619 (__mkdir): Likewise.
34620 * io/chmod.c (__chmod): Add libc_hidden_def.
34621 * io/mkdir.c (__mkdir): Likewise.
34622 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34623 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34624 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34625 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34627 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34629 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34633 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34634 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34636 2017-09-04 Florian Weimer <fweimer@redhat.com>
34638 * math/math.h: Issue warning if log is defined.
34640 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34642 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34643 kernel version to 4.13.
34645 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34647 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34648 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34650 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34651 just <bits/types.h>.
34652 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34653 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34654 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34655 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34656 * misc/preadv2.c: Include <errno.h>.
34657 * misc/preadv64v2.c: Include <errno.h>.
34658 * misc/pwritev2.c: Include <errno.h>.
34659 * misc/pwritev64v2.c: Include <errno.h>.
34660 * sysdeps/posix/preadv2.c: Include <errno.h>.
34661 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34662 Fix <unistd.h> inclusion.
34663 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34664 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34665 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34666 __strtoul_internal): New functions.
34667 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34668 * sysdeps/posix/system.c: Include <sigsetops.h>.
34669 * sysdeps/mach/hurd/i386/Makefile
34670 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34671 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34672 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34673 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34674 __feraiseexcept_renamed to feraiseexcept instead of
34675 __GI_feraiseexcept.
34676 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34677 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34678 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34679 RWF_NOWAIT): Define to 0 if undefined already.
34680 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34682 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34683 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34685 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34687 * manual/math.texi (pow10): Do not document.
34688 (pow10f): Likewise.
34689 (pow10l): Likewise.
34690 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34691 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34692 * math/libm-test-exp10.inc (pow10_test): Remove.
34693 (do_test): Do not call pow10.
34694 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34695 [NO_LONG_DOUBLE] (pow10l): Likewise.
34696 * math/w_exp10f_compat.c (pow10f): Likewise.
34697 * math/w_exp10l_compat.c (pow10l): Likewise.
34698 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34699 (pow10): Make into compat symbol.
34700 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34701 (pow10f): Make into compat symbol.
34702 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34703 (pow10l): Make into compat symbol.
34704 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34706 (CFLAGS-nldbl-pow10.c): Remove variable..
34707 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34708 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34709 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34710 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34711 Undefine and redefine.
34712 (pow10l): Make into compat symbol.
34713 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34714 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34715 * sysdeps/arm/libm-test-ulps: Likewise.
34716 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34717 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34718 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34719 * sysdeps/microblaze/libm-test-ulps: Likewise.
34720 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34721 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34722 * sysdeps/nios2/libm-test-ulps: Likewise.
34723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34724 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34726 * sysdeps/sh/libm-test-ulps: Likewise.
34727 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34728 * sysdeps/tile/libm-test-ulps: Likewise.
34729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34731 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34733 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34735 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34737 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34738 "../ChangeLog.old/ChangeLog.8".
34739 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34740 "../ChangeLog.old/ChangeLog.14".
34742 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34744 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34747 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34749 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34751 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34753 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34754 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34756 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34758 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34759 32 atexit handlers.
34761 2017-09-01 Zack Weinberg <zackw@panix.com>
34763 * math/math.h (HUGE_VAL): Improve commentary.
34765 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34766 Andreas Schwab <schwab@suse.de>
34769 * include/stdio.h (__gen_tempfd): New function.
34770 * stdio-common/Makefile (routines): Add gentempfd.
34771 * stdio-common/gentempfd.c: New file.
34772 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34773 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34774 unnamed file first.
34776 2017-09-01 Florian Weimer <fweimer@redhat.com>
34780 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34781 result to determine success or failure, not the errno value.
34782 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34783 (tst-nss-files-hosts-erange): Link with -ldl.
34784 * nss/tst-nss-files-hosts-erange.c: New file.
34785 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34786 (do_test): Add NO_DATA tests.
34787 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34788 (do_test): Call it.
34790 2017-09-01 Florian Weimer <fweimer@redhat.com>
34793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34794 coming from gethostbyname2_r.
34796 2017-09-01 Florian Weimer <fweimer@redhat.com>
34798 * support/namespace.h (struct support_chroot_configuration): Add
34800 (struct support_chroot): Add path_hosts, path_host_conf.
34801 * support/support_chroot.c (write_file): New function.
34802 (support_chroot_create): Call it to process /etc/resolv.conf,
34803 /etc/hosts, /etc/host.conf.
34804 (support_chroot_free): Update.
34806 2017-09-01 Florian Weimer <fweimer@redhat.com>
34808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34809 status indicates it is set.
34811 2017-09-01 Florian Weimer <fweimer@redhat.com>
34814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34815 function lookup failures more reliable.
34817 2017-09-01 Florian Weimer <fweimer@redhat.com>
34819 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34820 (getcanonname): Likewise.
34821 (gaih_inet): Likewise.
34823 2017-09-01 Florian Weimer <fweimer@redhat.com>
34825 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34826 (getcanonname): Likewise.
34827 (gaih_inet): Likewise.
34829 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34830 Richard Henderson <rth@twiddle.net>
34832 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34833 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34834 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34835 (IREG_SIZE, OREG_SIZE): New macros.
34836 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34837 (IREG_SIZE, OREG_SIZE): New macros.
34838 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34839 (IREG_SIZE): New macro.
34840 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34841 (IREG_SIZE): New macro.
34842 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34844 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34845 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34846 (__CONCATX): Handle exceptions correctly on large values that may
34848 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34849 Initialize if not already set.
34850 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34852 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34854 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34855 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34857 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34859 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34861 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34863 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34865 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34867 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34869 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34870 (NO_CANCELLATION): Likewise.
34871 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34873 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34875 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34878 (NO_CANCELLATION): Likewise.
34879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34880 (NO_CANCELLATION): Likewise.
34881 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34883 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34885 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34887 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34889 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34891 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34892 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34894 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34896 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34899 2017-08-31 Florian Weimer <fweimer@redhat.com>
34901 * include/libc-symbols.h (internal_function): Remove.
34903 2017-08-31 Florian Weimer <fweimer@redhat.com>
34905 * stdlib/fmtmsg.c (internal_addseverity): Remove
34908 2017-08-31 Florian Weimer <fweimer@redhat.com>
34910 * stdio-common/printf_fp.c (group_number): Remove
34912 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34914 2017-08-31 Florian Weimer <fweimer@redhat.com>
34916 * posix/fnmatch.c (internal_function): Remove definition.
34917 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34918 * posix/regcomp.c (peek_token, init_word_char)
34919 (duplicate_node_closure, fetch_token, peek_token)
34920 (peek_token_bracket, build_range_exp, build_collating_symbol):
34922 * posix/regex_internal.c (re_string_construct_common)
34923 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34924 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34925 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34926 (re_string_translate_buffer, re_string_reconstruct)
34927 (re_string_peek_byte_case, re_string_fetch_byte_case)
34928 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34929 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34930 (re_node_set_add_intersect, re_node_set_init_union)
34931 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34932 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34933 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34934 (re_acquire_state_context): Likewise.
34935 * posix/regex_internal.h (internal_function): Remove definition.
34936 (re_string_realloc_buffers, build_wcs_buffer)
34937 (build_wcs_upper_buffer, build_upper_buffer)
34938 (re_string_translate_buffer, re_string_context_at)
34939 (re_string_char_size_at, re_string_wchar_at)
34940 (re_string_elem_size_at): Likewise.
34941 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34942 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34943 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34944 (re_search_internal, re_search_2_stub, re_search_stub)
34945 (re_copy_regs, prune_impossible_nodes, check_matching)
34946 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34947 (free_fail_stack_return, sift_states_iter_mb)
34948 (sift_states_backward, build_sifted_states)
34949 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34950 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34951 (check_subexp_limits, sift_states_bkref, merge_state_array)
34952 (find_recover_state, transit_state, merge_state_with_log)
34953 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34954 (transit_state_mb, transit_state_bkref, get_subexp)
34955 (get_subexp_sub, find_subexp_node, check_arrival)
34956 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34957 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34958 (check_node_accept_bytes, find_collation_sequence_value)
34959 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34960 (acquire_init_state_context, check_halt_node_context)
34961 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34962 (sub_epsilon_src_nodes): Likewise.
34963 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34964 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34965 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34966 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34967 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34968 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34969 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34970 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34971 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34972 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34973 (PREADV): Likewise.
34974 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34975 (PREADV): Likewise.
34976 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34977 (PWRITEV): Likewise.
34978 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34979 (PWRITEV): Likewise.
34980 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34981 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34983 2017-08-31 Florian Weimer <fweimer@redhat.com>
34985 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34986 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34987 Remove internal_function.
34988 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34989 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34990 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34991 (__deallocate_stack, __libc_pthread_init)
34992 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34993 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34994 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34996 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34997 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34998 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35000 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35001 (__pthread_mutex_unlock_usercnt): Likewise.
35003 2017-08-31 Florian Weimer <fweimer@redhat.com>
35005 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35006 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35007 (fts_safe_changedir): Remove internal_function.
35008 * io/ftw.c (internal_function): Remove definition.
35009 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35011 2017-08-31 Florian Weimer <fweimer@redhat.com>
35013 * inet/deadline.c (__deadline_current_time)
35014 (__deadline_from_timeval, __deadline_to_ms): Remove
35016 * inet/getnameinfo.c (nrl_domainname): Likewise.
35017 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35018 * inet/inet6_option.c (add_pad): Likewise.
35019 * inet/net-internal.h (__deadline_current_time)
35020 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35021 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35022 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35023 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35025 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35027 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35028 include <bits/nan.h>.
35029 * math/Makefile (headers): Remove bits/nan.h.
35030 * bits/nan.h: Remove.
35031 * sysdeps/ieee754/bits/nan.h: Likewise.
35032 * sysdeps/mips/bits/nan.h: Likewise.
35034 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35035 not include <bits/inf.h>.
35036 * math/Makefile (headers): Remove bits/inf.h.
35037 * bits/inf.h: Remove.
35038 * sysdeps/ieee754/bits/inf.h: Likewise.
35040 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35041 bits/huge_vall.h or bits/huge_val_flt128.h.
35042 (HUGE_VAL): Define directly here.
35043 [__USE_ISOC99] (HUGE_VALF): Likewise.
35044 [__USE_ISOC99] (HUGE_VALL): Likewise.
35045 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35046 (HUGE_VAL_F128): Likewise.
35047 * math/Makefile (headers): Remove bits/huge_val.h,
35048 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35049 * bits/huge_val.h: Remove.
35050 * bits/huge_val_flt128.h: Likewise.
35051 * bits/huge_valf.h: Likewise.
35052 * bits/huge_vall.h: Likewise.
35053 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35054 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35055 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35056 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35057 * sysdeps/sh/bits/huge_val.h: Likewise.
35058 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35059 * sysdeps/x86/bits/huge_vall.h: Likewise.
35061 2017-08-31 Florian Weimer <fweimer@redhat.com>
35063 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35065 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35067 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35068 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35069 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35070 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35073 * elf/dl-libc.c (dlerror_run): Likewise.
35074 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35075 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35076 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35077 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35079 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35080 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35081 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35082 * elf/dl-profile.c (_dl_start_profile): Likewise.
35083 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35084 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35086 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35087 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35088 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35089 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35090 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35091 (_dl_allocate_tls_storage): Likewise.
35092 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35093 (_dl_check_all_versions): Likewise.
35094 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35095 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35096 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35097 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35098 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35099 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35100 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35101 internal_function from __dl_start.
35102 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35103 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35104 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35105 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35106 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35107 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35108 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35109 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35110 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35111 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35112 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35113 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35114 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35115 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35116 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35118 (struct rtld_global_ro): Remove internal_function from the
35119 _dl_lookup_symbol_x member.
35120 (_dl_symbol_value): Remove. No longer defined anywhere.
35121 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35123 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35124 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35125 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35126 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35127 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35128 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35129 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35130 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35131 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35132 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35133 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35134 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35136 2017-08-31 Florian Weimer <fweimer@redhat.com>
35138 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35139 Remove internal_function.
35140 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35142 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35145 2017-08-31 Florian Weimer <fweimer@redhat.com>
35147 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35148 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35149 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35151 2017-08-31 Florian Weimer <fweimer@redhat.com>
35153 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35154 (__gai_enqueue_request): Remove internal_function.
35155 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35156 (__gai_remove_request, __gai_notify, __gai_notify_only)
35157 (__gai_sigqueue): Likewise.
35158 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35159 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35160 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35161 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35164 2017-08-31 Florian Weimer <fweimer@redhat.com>
35166 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35167 * include/dirent.h (__opendirat, __getdents, __getdents64)
35168 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35169 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35170 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35171 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35173 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35175 2017-08-31 Florian Weimer <fweimer@redhat.com>
35177 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35179 (GETCWD_RETURN_TYPE): Likewise.
35181 2017-08-31 Florian Weimer <fweimer@redhat.com>
35183 * include/time.h (__tz_compute, __strptime_internal): Remove
35185 * time/strptime_l.c (__strptime_internal): Likewise.
35186 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35188 2017-08-31 Florian Weimer <fweimer@redhat.com>
35190 * iconv/gconv.c (__gconv): Remove internal_function.
35191 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35192 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35193 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35194 (__gconv_release_cache): Likewise.
35195 * iconv/gconv_close.c (__gconv_close): Likewise.
35196 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35197 (read_conf_file, __gconv_get_path): Likewise.
35198 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35199 (__gconv_release_step, gen_steps, increment_counter)
35200 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35201 (__gconv_close_transform, free_modules_db): Likewise.
35202 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35204 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35205 (__gconv_find_transform, __gconv_lookup_cache)
35206 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35207 (__gconv_close_transform, __gconv_release_cache)
35208 (__gconv_loaded_object, __gconv_release_shlib)
35209 (__gconv_compare_alias): Likewise.
35210 * iconv/gconv_open.c (__gconv_open): Likewise.
35211 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35212 * iconv/iconvconfig.c (add_module): Likewise.
35213 * intl/dcigettext.c (plural_lookup, guess_category_value)
35214 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35215 * intl/eval-plural.h (plural_eval): Likewise.
35216 * intl/finddomain.c (_nl_find_domain): Likewise.
35217 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35218 (_nl_load_domain, _nl_find_msg): Likewise.
35219 (internal_function): Remove definition.
35220 * intl/loadinfo.h (internal_function): Likewise.
35221 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35223 * intl/localealias.c (internal_function): Remove definition.
35224 (read_alias_file): Remove internal_function.
35225 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35226 * intl/plural-exp.h (internal_function): Remove definition.
35227 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35229 * intl/plural.c: Regenerate.
35230 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35231 * locale/coll-lookup.c (__collidx_table_lookup)
35232 (__collseq_table_lookup): Likewise.
35233 * locale/coll-lookup.h (__collidx_table_lookup)
35234 (__collseq_table_lookup): Likewise.
35235 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35236 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35237 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35238 (_nl_unload_locale): Likewise.
35239 * locale/localeinfo.h (struct __locale_data): Remove
35240 internal_function from cleanup member.
35241 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35242 (_nl_remove_locale, _nl_load_locale_from_archive)
35243 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35244 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35245 (_nl_cleanup_time): Remove internal_function.
35246 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35247 (_nl_parse_alt_digit): Likewise.
35248 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35249 (_nl_select_era_entry): Likewise.
35250 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35251 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35252 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35253 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35254 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35256 2017-08-31 Florian Weimer <fweimer@redhat.com>
35258 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35259 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35260 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35261 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35263 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35264 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35265 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35266 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35268 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35270 2017-08-31 Florian Weimer <fweimer@redhat.com>
35272 * misc/getttyent.c (skip, value): Remove internal_function.
35273 * misc/syslog.c (openlog_internal): Likewise.
35274 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35276 2017-08-31 Florian Weimer <fweimer@redhat.com>
35278 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35279 (__nss_rewrite_field): Remove internal_function.
35280 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35281 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35282 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35283 * nss/nsswitch.c (nss_parse_file, nss_getline)
35284 (nss_parse_service_list, nss_new_service): Likewise.
35285 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35286 * nss/valid_field.c (__nss_valid_field): Likewise.
35287 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35289 2017-08-31 Florian Weimer <fweimer@redhat.com>
35291 * malloc/arena.c (__malloc_fork_lock_parent)
35292 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35293 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35294 internal_function from defintions.
35295 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35296 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35297 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35298 internal_function from declarations.
35299 * malloc/malloc.c (internal_function): Do not define.
35300 (mem2mem_check): Remove internal_function from declaration.
35301 (munmap_chunk, mremap_chunk): Remove internal_function.
35302 * malloc/mtrace.c (tr_where): Likewise.
35304 2017-08-31 Florian Weimer <fweimer@redhat.com>
35306 * include/rpc/pmap_clnt.h (__get_socket): Remove
35308 * sunrpc/auth_des.c (synchronize): Likewise.
35309 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35310 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35311 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35312 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35313 (key_call): Likewise.
35314 * sunrpc/pm_getport.c (__get_socket): Likewise.
35315 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35316 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35317 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35318 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35319 (invalidate): Likewise.
35320 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35321 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35322 (set_input_fragment, get_input_bytes): Likewise.
35324 2017-08-31 Florian Weimer <fweimer@redhat.com>
35326 * malloc/malloc.c (_int_free): Remove locked variable and related
35329 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35332 * Makerules (build-module-helper-objlist): Filter out
35333 $(elf-objpfx)sofini.os.
35334 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35337 2017-08-31 Florian Weimer <fweimer@redhat.com>
35339 * libio/fcloseall.c: Assume weak_alias is defined.
35340 * libio/feof.c: Likewise.
35341 * libio/fileno.c: Likewise.
35342 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35343 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35345 (_IO_file_open): Call __open directly.
35346 (_IO_new_file_sync): Assume ESPIPE is defined.
35347 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35348 (_IO_new_file_write): Call __write directly.
35349 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35350 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35351 * libio/genops.c: Assume _LIBC is defined.
35352 (save_for_backup): Remove internal_function.
35353 * libio/getc.c: Assume weak_alias is defined.
35354 * libio/getwc.c: Likewise.
35355 * libio/iofclose.c: Assume _LIBC is defined.
35356 * libio/iofdopen.c: Likewise.
35357 (_IO_fcntl): Remove macro definition.
35358 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35359 Call __fcntl directly.
35360 * libio/iofflush.c: Assume weak_alias is defined.
35361 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35363 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35364 * libio/iofgets.c: Likewise.
35365 * libio/iofopen.c: Assume _LIBC is defined.
35366 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35367 * libio/iofputs.c: Assume weak_alias is defined.
35368 * libio/iofread.c: Likewise.
35369 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35370 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35371 * libio/ioftell.c: Assume weak_alias is defined.
35372 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35373 * libio/iofwide.c: Assume _LIBC is defined.
35374 (_IO_fwide): Drop SHARED conditional because it is implied by
35376 * libio/iofwrite.c: Assume weak_alias is defined.
35377 * libio/iogetdelim.c: Likewise.
35378 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35379 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35380 (_IO_getwline): Call __wmemcpy directly.
35381 * libio/iopopen.c: Assume _LIBC is defined.
35382 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35383 (_IO_close): Remove macro definitions.
35384 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35386 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35388 * libio/ioputs.c: Assume weak_alias is defined.
35389 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35390 * libio/iosetbuffer.c: Assume weak_alias is defined.
35391 * libio/iosetvbuf.c: Likewise.
35392 * libio/ioungetc.c: Likewise.
35393 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35394 libc_hidden_def, libc_hidden_weak, NULL are defined.
35395 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35396 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35398 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35400 (_IO_old_file_init_internal): Drop SHARED conditional because it
35401 is implied by SHLIB_COMPAT.
35402 (_IO_old_file_fopen): Call __open directly.
35403 (_IO_old_file_sync): Assume ESPIPE is defined.
35404 (_IO_old_file_write): Call __write directly.
35405 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35406 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35407 Call __fcntl directly.
35408 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35409 (_IO_old_fgetpos): Assume EIO is defined.
35410 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35411 (_IO_old_fgetpos64): Assume EIO is defined.
35412 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35413 (_IO_old_fsetpos): Assume EIO is defined.
35414 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35415 (_IO_old_fsetpos64): Assume EIO is defined.
35416 * libio/oldiopopen.c: Assume _LIBC is defined.
35417 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35418 (_IO_close): Remove macro definitions.
35419 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35421 (_IO_old_proc_close): Call __close, __waitpid directly.
35422 * libio/put.c: Assume weak_alias is defined.
35423 * libio/stdfiles.c: Assume _LIBC is defined.
35424 * libio/stdio.c: Likewise.
35425 * libio/wfileops.c: Likewise.
35426 (_IO_wfile_sync): Assume ESPIPE is defined.
35427 * libio/wgenops.c: Assume _LIBC is defined.
35428 (save_for_wbackup): Remove internal_function.
35430 2017-08-31 Florian Weimer <fweimer@redhat.com>
35432 * malloc/malloc.c (top_check): Change return type to void. Remove
35434 * malloc/hooks.c (top_check): Likewise.
35435 (malloc_check, realloc_check, memalign_check): Adjust.
35437 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35440 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35441 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35442 sigcontext and namespace requirements.
35443 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35444 * sysdeps/m68k/sys/ucontext.h: Likewise.
35445 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35446 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35447 <bits/sigcontext.h>.
35448 (__ctx): Define earlier.
35449 (mcontext_t): Define structure contents rather than using struct
35451 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35452 __glibc_reserved1 instead of __reserved.
35453 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35454 <bits/sigcontext.h>.
35455 (__ctx): Define earlier.
35456 (mcontext_t): Define structure contents rather than using struct
35458 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35459 mcontext_t instead of struct sigcontext.
35460 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35461 <bits/sigcontext.h>.
35462 (__ctx): Define earlier.
35463 (mcontext_t): Define structure contents rather than using struct
35465 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35466 <bits/sigcontext.h>.
35467 (__ctx): Define earlier.
35468 (mcontext_t): Define structure contents rather than using struct
35470 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35471 mcontext_t instead of struct sigcontext.
35472 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35473 mcontext_t instead of struct sigcontext.
35474 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35475 <bits/sigcontext.h>.
35476 (__ctx): New macro.
35477 (struct __ia64_fpreg_mcontext): New type.
35478 (mcontext_t): Define structure contents rather than using struct
35480 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35481 (uc_sigmask): Define using __ctx.
35482 (uc_stack): Likewise.
35483 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35484 <bits/sigcontext.h>.
35485 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35486 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35487 <bits/sigcontext.h>.
35488 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35489 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35490 <bits/sigcontext.h>.
35491 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35492 <bits/sigcontext.h>.
35493 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35494 <bits/sigcontext.h>.
35495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35496 <bits/sigcontext.h>.
35497 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35498 <bits/sigcontext.h>.
35499 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35500 <bits/sigcontext.h>.
35501 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35502 <bits/sigcontext.h>.
35503 (__ctx): Define earlier.
35504 (mcontext_t): Define structure contents rather than using struct
35506 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35507 <bits/sigcontext.h>. Include <bits/types.h>.
35508 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35509 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35510 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35511 (test-xfail-UNIX98/signal.h/conform): Likewise.
35512 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35513 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35514 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35515 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35516 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35517 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35518 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35519 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35520 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35522 2017-08-30 Florian Weimer <fweimer@redhat.com>
35524 * malloc/dynarray_emplace_enlarge.c
35525 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35526 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35527 * malloc/tst-dynarray.c (test_long_overflow): New function.
35528 (do_test): Call it.
35530 2017-08-30 Florian Weimer <fweimer@redhat.com>
35532 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35533 (set_arena_corrupt): Remove definitions.
35534 (mtrim): Do not check for corrupt arena.
35535 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35538 2017-08-30 Florian Weimer <fweimer@redhat.com>
35541 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35543 (ptmalloc_init): Do not set or use check_action.
35544 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35545 call to malloc_printerr. Remove return statement.
35546 (free_check): Likewise. Remove arena unlock.
35547 (top_check): Update comment. Adjust call to malloc_printerr.
35548 Remove heap repair code.
35549 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35550 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35551 (sysmalloc): Adjust call to malloc_printerr.
35552 (munmap_chunk, __libc_realloc): Likewise. Remove return
35554 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35555 Remove errout label and corresponding gotos.
35556 (_int_free): Likewise. Remove arena unlock.
35557 (do_set_mallopt_check): Do not set check_action.
35558 (malloc_printerr): Adjust parameter list. Do not mark arena as
35560 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35562 * manual/probes.texi (Memory Allocation Probes): Remove
35563 memory_mallopt_check_action.
35565 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35567 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35568 Use pointer to uint64_t instead of long int for sp.
35570 2017-08-30 Florian Weimer <fweimer@redhat.com>
35573 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35574 without printing a backtrace. Do not leak any information in the
35576 * manual/memory.texi (Heap Consistency Checking): Update.
35577 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35579 2017-08-30 Florian Weimer <fweimer@redhat.com>
35581 Do not scale NPTL tests with available number of CPUs.
35582 * nptl/tst-cond16.c (count): Set to constant value of 8.
35583 * nptl/tst-cond18.c (count): Likewise.
35585 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35588 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35589 Define to take a second argument that is a macro that
35590 concatentates a suffix, not the suffix itself.
35591 (__CONCAT_d): New macro.
35592 (__CONCAT_f): Likewise.
35593 (__CONCAT_l): Likewise.
35595 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35597 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35600 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35601 Aurelien Jarno <aurelien@aurel32.net>
35602 Maciej W. Rozycki <macro@imgtec.com>
35605 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35606 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35607 `mips16-syscall6' and `mips16-syscall7'.
35608 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35609 (CFLAGS-mips16-syscall7.c): Remove.
35610 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35611 Remove `__mips16_syscall5', `__mips16_syscall6' and
35612 `__mips16_syscall7'.
35613 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35614 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35615 `__mips_syscall_return'.
35616 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35617 (__mips16_syscall1): Likewise.
35618 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35619 (__mips16_syscall2): Likewise.
35620 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35621 (__mips16_syscall3): Likewise.
35622 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35623 (__mips16_syscall4): Likewise.
35624 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35626 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35628 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35630 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35631 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35632 `__mips16_syscall5'. Remove prototype.
35633 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35634 `__mips16_syscall6'. Remove prototype.
35635 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35636 `__mips16_syscall7'. Remove prototype.
35637 (__nomips16, __mips16_syscall_return): Move to...
35638 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35639 (__nomips16, __mips_syscall_return): ... here.
35640 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35641 `__mips16_syscall_return' to `__mips_syscall_return'.
35642 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35643 `internal_syscall##nr'.
35644 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35645 `internal_syscall##nr'.
35646 (FORCE_FRAME_POINTER): Remove.
35647 (__mips_syscall5): New prototype.
35648 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35649 (__mips_syscall6): New prototype.
35650 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35651 (__mips_syscall7): New prototype.
35652 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35653 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35654 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35655 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35656 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35657 (sysdep_routines): Add libc-do-syscall.
35658 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35659 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35661 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35664 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35665 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35666 (advise_stack_range): New function.
35667 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35668 stack non required to advise_stack_range at allocatestack.c
35670 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35672 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35674 2017-08-29 Florian Weimer <fweimer@redhat.com>
35677 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35678 __end_fct. Mangle __end_fct after setting it to NULL.
35679 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35680 (modules-names, modules-names-tests): Add
35681 tst-gconv-init-failure-mod.
35682 (gconv-modules): New target.
35683 (tst-gconv-init-failure-mod.so): Link against libsupport.
35684 (tst-gconv-init-failure): Depend on gconv-modules,
35685 tst-gconv-init-failure-mod.so.
35686 * iconv/tst-gconv-init-failure-mod.c: New file.
35687 * iconv/tst-gconv-init-failure.c: Likewise.
35688 * iconv/test-gconv-modules: Likewise.
35690 2017-08-29 Florian Weimer <fweimer@redhat.com>
35693 * iconv/gconv_db.c (free_derivation): Remove redundant
35695 (gen_steps): Unconditionally mangle __btowc_fct after
35697 (increment_counter): Likewise. Do not call init_fct for internal
35700 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35703 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35704 (_MSUF_): Remove macro.
35705 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35707 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35708 (__REDIRFROM_X): New macro.
35709 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35711 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35712 (__REDIRTO_X): Likewise.
35713 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35715 (__MATH_REDIRCALL_2): Likewise.
35716 (__MATH_REDIRCALL_INTERNAL): Likewise.
35717 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35718 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35719 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35720 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35721 * math/test-finite-macros.c: New file.
35722 * math/Makefile (tests): Add test-finite-macros.
35723 (CFLAGS-test-finite-macros.c): New variable.
35725 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35726 Jeff Law <law@redhat.com>
35729 Mangle NULL pointers in iconv/gconv.
35730 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35731 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35732 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35733 is non-NULL before demangling the end_fct. Check for NULL
35734 end_fct after demangling.
35735 (__gconv_release_step): Demangle the end_fct before checking
35736 it for NULL. Remove assert on __shlibc_handle != NULL.
35737 (gen_steps): Don't check btowc_fct for NULL before mangling.
35738 Demangle init_fct before checking for NULL.
35739 (increment_counter): Likewise.
35740 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35741 end_fct for NULL before mangling.
35742 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35745 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35748 * locale/iso-639.def: add Morisyen.
35750 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35753 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35754 (iszero): New C++ implementation that does not use
35755 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35756 signaling nans are enabled, since __builtin_types_compatible_p
35757 is a C-only feature.
35758 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35759 defined, include ieee754_float128.h for access to the union and
35760 member ieee854_float128.ieee.
35761 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35762 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35763 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35764 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35765 options of test-math-zero on powerpc64le.
35767 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35769 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35770 Change double to float.
35772 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35774 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35776 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35777 conditional code; define contents only for [LIBM_SVID_COMPAT].
35779 2017-08-28 Florian Weimer <fweimer@redhat.com>
35781 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35782 (abi-lp64_be-options): Remove.
35783 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35784 (abi-hard-options): Likewise.
35785 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35786 (abi-o32_hard-options, abi-o32_soft_2008-options)
35787 (abi-o32_hard_2008-options, abi-n32_soft-options)
35788 (abi-n32_hard-options, abi-n32_soft_2008-options)
35789 (abi-n32_hard_2008-options, abi-n64_soft-options)
35790 (abi-n64_hard-options, abi-n64_soft_2008-options)
35791 (abi-n64_hard_2008-options): Likewise.
35792 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35793 (abi-64-v1-options, abi-64-v2-options): Likewise.
35794 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35795 (abi-64-options): Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35797 (abi-64-options): Likewise.
35798 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35799 (abi-64-options): Likewise.
35800 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35801 (abi-64-options, abi-x32-options): Likewise.
35803 2017-08-28 Florian Weimer <fweimer@redhat.com>
35805 Store supported list of SYS_* system calls in the source tree.
35806 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35807 (bits/syscall.h): Generate from list file.
35808 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35809 [$(subdir) = misc] (tests): Add tst-syscall-list.
35810 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35811 [$(subdir) = misc] (tst-syscall-list-macros.list)
35812 [$(subdir) = misc] (tst-syscall-list-nr.list)
35813 (tst-syscall-list-sys.list): Helper targets for new
35814 tst-syscall-list test.
35815 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35816 tst-syscall-list.sh.
35817 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35818 target. Do not include bits/syscall.d.
35819 [$(subdir) = misc] (generated): Do not update.
35820 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35821 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35822 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35823 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35825 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35827 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35828 (tst-cxa_atexit, tst-on_exit): Likewise.
35829 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35830 tst-cxa_atexit, and tst-on_exit.
35831 * stdlib/tst-atexit-common.c: New file.
35832 * stdlib/tst-atexit.c: New file.
35833 * stdlib/tst-at_quick_exit.c: New file.
35834 * stdlib/tst-cxa_atexit.c: New file.
35835 * stdlib/tst-on_exit.c: New file.
35837 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35839 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35840 * mach/stack_chk_fail_local.c: New file.
35841 * hurd/stack_chk_fail_local.c: New file.
35842 * mach/Machrules ($(interface-library)-routines): Add
35843 stack_chk_fail_local.
35844 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35845 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35846 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35847 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35848 * hurd/Makefile (CFLAGS-hurdstartup.o,
35849 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35851 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35853 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35854 (index_cpu_*, index_arch_*): Removed.
35856 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35858 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35859 Use uint64_t instead of unsigned long.
35861 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35863 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35864 [__HAVE_DISTINCT_FLOAT128].
35866 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35867 of <bits/math-finite.h>.
35868 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35869 inclusion of <bits/math-finite.h>.
35870 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35871 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35872 __NO_LONG_DOUBLE_MATH].
35873 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35874 (__MATH_REDIRCALL_2): Likewise.
35875 (__MATH_REDIRCALL_INTERNAL): Likewise.
35876 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35877 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35878 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35892 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35894 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35897 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35898 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35899 w_sqrtf_compat-ppc32.
35901 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35903 * math/math.h [defined __cplusplus] (issignaling): In the long
35904 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35905 is not defined. Call __issignaling, otherwise.
35907 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35909 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35910 syscall definitions and replace __builtin_expect with __glibc_likely.
35911 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35913 (SYSCALL_CANCELLABLE): Removedefinition
35914 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35916 (PSEUDO_END): Likewise.
35917 [IS_IN (libpthread)] (CENABLE): Likewise.
35918 [IS_IN (libpthread)] (CDISABLE): Likewise.
35919 [IS_IN (libc)] (CENABLE): Likewise.
35920 [IS_IN (libc)] (CENABLE): Likewise.
35921 [IS_IN (librt)] (CDISABLE): Likewise.
35922 [IS_IN (librt)] (CDISABLE): Likewise.
35923 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35924 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35926 (PSEUDO_END): Likewise.
35927 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35928 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35929 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35930 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35931 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35932 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35933 (CENABLE): Likewise.
35934 (CDISABLE): Likewise.
35935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35936 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35938 (PSEUDO_END): Likewise.
35939 [IS_IN (libpthread)] (CENABLE): Likewise.
35940 [IS_IN (libpthread)] (CDISABLE): Likewise.
35941 [IS_IN (libc)] (CENABLE): Likewise.
35942 [IS_IN (libc)] (CENABLE): Likewise.
35943 [IS_IN (librt)] (CDISABLE): Likewise.
35944 [IS_IN (librt)] (CDISABLE): Likewise.
35945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35946 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35948 (PSEUDO_END): Likewise.
35949 [IS_IN (libpthread)] (CENABLE): Likewise.
35950 [IS_IN (libpthread)] (CDISABLE): Likewise.
35951 [IS_IN (libc)] (CENABLE): Likewise.
35952 [IS_IN (libc)] (CENABLE): Likewise.
35953 [IS_IN (librt)] (CDISABLE): Likewise.
35954 [IS_IN (librt)] (CDISABLE): Likewise.
35955 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35956 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35958 (PSEUDO_END): Likewise.
35959 [IS_IN (libpthread)] (CENABLE): Likewise.
35960 [IS_IN (libpthread)] (CDISABLE): Likewise.
35961 [IS_IN (libc)] (CENABLE): Likewise.
35962 [IS_IN (libc)] (CENABLE): Likewise.
35963 [IS_IN (librt)] (CDISABLE): Likewise.
35964 [IS_IN (librt)] (CDISABLE): Likewise.
35965 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35966 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35968 (PSEUDO_END): Likewise.
35969 [IS_IN (libpthread)] (CENABLE): Likewise.
35970 [IS_IN (libpthread)] (CDISABLE): Likewise.
35971 [IS_IN (libc)] (CENABLE): Likewise.
35972 [IS_IN (libc)] (CENABLE): Likewise.
35973 [IS_IN (librt)] (CDISABLE): Likewise.
35974 [IS_IN (librt)] (CDISABLE): Likewise.
35975 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35976 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35978 (PSEUDO_END): Likewise.
35979 [IS_IN (libpthread)] (CENABLE): Likewise.
35980 [IS_IN (libpthread)] (CDISABLE): Likewise.
35981 [IS_IN (libc)] (CENABLE): Likewise.
35982 [IS_IN (libc)] (CENABLE): Likewise.
35983 [IS_IN (librt)] (CDISABLE): Likewise.
35984 [IS_IN (librt)] (CDISABLE): Likewise.
35985 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35986 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35988 (PSEUDO_END): Likewise.
35989 [IS_IN (libpthread)] (CENABLE): Likewise.
35990 [IS_IN (libpthread)] (CDISABLE): Likewise.
35991 [IS_IN (libc)] (CENABLE): Likewise.
35992 [IS_IN (libc)] (CENABLE): Likewise.
35993 [IS_IN (librt)] (CDISABLE): Likewise.
35994 [IS_IN (librt)] (CDISABLE): Likewise.
35995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35996 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35998 (PSEUDO_END): Likewise.
35999 [IS_IN (libpthread)] (CENABLE): Likewise.
36000 [IS_IN (libpthread)] (CDISABLE): Likewise.
36001 [IS_IN (libc)] (CENABLE): Likewise.
36002 [IS_IN (libc)] (CENABLE): Likewise.
36003 [IS_IN (librt)] (CDISABLE): Likewise.
36004 [IS_IN (librt)] (CDISABLE): Likewise.
36005 (SINGLE_THREAD_P): Likewise.
36006 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36008 (PSEUDO_END): Likewise.
36009 [IS_IN (libpthread)] (CENABLE): Likewise.
36010 [IS_IN (libpthread)] (CDISABLE): Likewise.
36011 [IS_IN (libc)] (CENABLE): Likewise.
36012 [IS_IN (libc)] (CENABLE): Likewise.
36013 [IS_IN (librt)] (CDISABLE): Likewise.
36014 [IS_IN (librt)] (CDISABLE): Likewise.
36015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36016 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36018 (PSEUDO_END): Likewise.
36019 [IS_IN (libpthread)] (CENABLE): Likewise.
36020 [IS_IN (libpthread)] (CDISABLE): Likewise.
36021 [IS_IN (libc)] (CENABLE): Likewise.
36022 [IS_IN (libc)] (CENABLE): Likewise.
36023 [IS_IN (librt)] (CDISABLE): Likewise.
36024 [IS_IN (librt)] (CDISABLE): Likewise.
36025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36026 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36027 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36028 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36031 (PSEUDO_END): Likewise.
36032 [IS_IN (libpthread)] (CENABLE): Likewise.
36033 [IS_IN (libpthread)] (CDISABLE): Likewise.
36034 [IS_IN (libc)] (CENABLE): Likewise.
36035 [IS_IN (libc)] (CENABLE): Likewise.
36036 [IS_IN (librt)] (CDISABLE): Likewise.
36037 [IS_IN (librt)] (CDISABLE): Likewise.
36038 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36041 (PSEUDO_END): Likewise.
36042 [IS_IN (libpthread)] (CENABLE): Likewise.
36043 [IS_IN (libpthread)] (CDISABLE): Likewise.
36044 [IS_IN (libc)] (CENABLE): Likewise.
36045 [IS_IN (libc)] (CENABLE): Likewise.
36046 [IS_IN (librt)] (CDISABLE): Likewise.
36047 [IS_IN (librt)] (CDISABLE): Likewise.
36048 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36049 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36051 (PSEUDO_END): Likewise.
36052 [IS_IN (libpthread)] (CENABLE): Likewise.
36053 [IS_IN (libpthread)] (CDISABLE): Likewise.
36054 [IS_IN (libc)] (CENABLE): Likewise.
36055 [IS_IN (libc)] (CENABLE): Likewise.
36056 [IS_IN (librt)] (CDISABLE): Likewise.
36057 [IS_IN (librt)] (CDISABLE): Likewise.
36058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36061 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36062 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36064 (PSEUDO_END): Likewise.
36065 [IS_IN (libpthread)] (CENABLE): Likewise.
36066 [IS_IN (libpthread)] (CDISABLE): Likewise.
36067 [IS_IN (libc)] (CENABLE): Likewise.
36068 [IS_IN (libc)] (CENABLE): Likewise.
36069 [IS_IN (librt)] (CDISABLE): Likewise.
36070 [IS_IN (librt)] (CDISABLE): Likewise.
36071 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36072 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36074 (PSEUDO_END): Likewise.
36075 [IS_IN (libpthread)] (CENABLE): Likewise.
36076 [IS_IN (libpthread)] (CDISABLE): Likewise.
36077 [IS_IN (libc)] (CENABLE): Likewise.
36078 [IS_IN (libc)] (CENABLE): Likewise.
36079 [IS_IN (librt)] (CDISABLE): Likewise.
36080 [IS_IN (librt)] (CDISABLE): Likewise.
36081 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36083 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36085 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36087 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36089 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36091 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36094 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36095 middle and outer with size_t instead of int. Repleace %d and
36096 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36097 "MAX (outer, nchars - 64)" to support unsigned outer and
36098 nchars. Also exit loop when outer == 0.
36100 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36102 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36103 * include/signal.h (__sigsuspend_nocancel): Likewise.
36104 * include/time.h (__nanosleep_nocancel): Likewise.
36105 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36106 * login/utmp_file.c: Include non cancellable syscall header.
36107 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36110 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36112 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36113 .byte sequences with AVX512F instructions.
36114 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36115 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36116 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36122 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36123 Steve Ellcey <sellcey@cavium.com>
36125 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36126 Use PTR_REG macro in cmp instruction.
36128 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36130 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36131 Change the return type of the ifunc resolver to match the return
36132 type of the target function.
36134 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36136 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36137 (preadv64): Likewise.
36138 (pwrite64(: Likewise.
36139 (pwritev64): Likewise.
36141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36142 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36143 (LOAD_ARGS_0): Likewise.
36144 (LOAD_ARGS_1): Likewise.
36145 (LOAD_ARGS_2): Likewise.
36146 (LOAD_ARGS_3): Likewise.
36147 (LOAD_ARGS_4): Likewise.
36148 (LOAD_ARGS_5): Likewise.
36149 (LOAD_ARGS_6): Likewise.
36150 (LOAD_REGS_0): Likewise.
36151 (LOAD_REGS_1): Likewise.
36152 (LOAD_REGS_2): Likewise.
36153 (LOAD_REGS_3): Likewise.
36154 (LOAD_REGS_4): Likewise.
36155 (LOAD_REGS_5): Likewise.
36156 (LOAD_REGS_6): Likewise.
36157 (ASM_ARGS_0): Likewise.
36158 (ASM_ARGS_1): Likewise.
36159 (ASM_ARGS_2): Likewise.
36160 (ASM_ARGS_3): Likewise.
36161 (ASM_ARGS_4): Likewise.
36162 (ASM_ARGS_5): Likewise.
36163 (ASM_ARGS_6): Likewise.
36164 (LOAD_ARGS_TYPES_1): Likewise.
36165 (LOAD_ARGS_TYPES_2): Likewise.
36166 (LOAD_ARGS_TYPES_3): Likewise.
36167 (LOAD_ARGS_TYPES_4): Likewise.
36168 (LOAD_ARGS_TYPES_5): Likewise.
36169 (LOAD_ARGS_TYPES_6): Likewise.
36170 (LOAD_REGS_TYPES_1): Likewise.
36171 (LOAD_REGS_TYPES_2): Likewise.
36172 (LOAD_REGS_TYPES_3): Likewise.
36173 (LOAD_REGS_TYPES_4): Likewise.
36174 (LOAD_REGS_TYPES_5): Likewise.
36175 (LOAD_REGS_TYPES_6): Likewise.
36176 (TYPEFY): New define.
36177 (ARGIFY): Likewise.
36178 (internal_syscall0): Likewise.
36179 (internal_syscall1): Likewise.
36180 (internal_syscall2): Likewise.
36181 (internal_syscall3): Likewise.
36182 (internal_syscall4): Likewise.
36183 (internal_syscall5): Likewise.
36184 (internal_syscall6): Likewise.
36185 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36186 (INTERNAL_SYSCALL_NCS): Remove define.
36187 (internal_syscall1): Add define.
36189 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36191 * math/w_remainder_compat.c: Remove duplicate inclusion of
36192 math-svid-compat.h.
36193 * math/w_remainderf_compat.c: Likewise.
36194 * math/w_remainderl_compat.c: Likewise.
36196 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36200 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36203 * math/tgmath.h (__floating_type): Simplify definitions.
36204 (__real_integer_type): New macro.
36205 (__complex_integer_type): Likewise.
36206 (__expr_is_real): Likewise.
36207 (__tgmath_real_type_sub): Update comment to describe handling of
36209 (__tgmath_complex_type_sub): New macro.
36210 (__tgmath_complex_type): Likewise.
36211 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36212 (__TGMATH_CF128): Use __expr_is_real.
36213 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36215 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36216 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36217 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36220 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36222 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36224 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36226 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36229 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36230 nanosleep_not_cancel with __nanosleep_nocancel.
36231 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36232 (__nanosleep_nocancel): New macro.
36233 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36235 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36237 (__nanosleep_nocancel): New prototype.
36239 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36240 pause_not_cancel with __pause_nocancel.
36241 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36242 (__pause_nocancel): New macro.
36243 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36245 (__pause_nocancel): New prototype.
36246 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36248 2017-08-22 Martin Sebor <msebor@redhat.com>
36250 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36251 to return a pointer to the same type as the target function.
36253 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36257 * include/printf.h (__printf_fphex): Add attribute_hidden.
36258 (__guess_grouping): New prototype.
36259 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36260 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36261 libc_hidden_proto and libc_hidden_def.
36262 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36263 (__vstrfmon_l): Remove the third argument passed to
36266 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36268 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36269 definition for issignaling that does not rely on __MATH_TG,
36270 since __MATH_TG uses __builtin_types_compatible_p, which is only
36271 available in C mode.
36272 (CFLAGS-test-math-issignaling.cc): New variable.
36273 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36274 * math/test-math-issignaling.cc: New test for C++ implementation
36275 of type-generic issignaling.
36276 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36277 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36278 options of test-math-issignaling on powerpc64le.
36280 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36282 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36284 (hidden_proto): Likewise.
36285 (hidden_tls_proto): Likewise.
36286 (__hidden_proto): Likewise.
36288 2017-08-22 Florian Weimer <fweimer@redhat.com>
36290 math: Statically link tests of internal functionality.
36291 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36293 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36294 (gmp-objs): Remove assignment.
36295 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36297 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36300 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36302 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36304 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36307 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36308 variable definitions above inclusion of ../Rules.
36310 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36313 case calling __builtin_unreachable.
36315 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36317 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36318 __waitpid_nocancel.
36319 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36320 (__waitpid_nocancel): New macro.
36321 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36323 (__waitpid_nocancel): Replace macro with a function.
36324 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36327 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36329 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36330 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36332 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36333 __writev_nocancel_nostatus.
36334 (write_call_graph): Likewise.
36335 (write_bb_counts): Likewise.
36336 * resolv/herror.c (herror): Likewise.
36337 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36339 (__writev_nocancel_nostatus): New macro.
36340 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36342 (__writev_nocancel_nostatus): New function.
36344 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36347 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36349 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36351 (hidden_proto): Likewise.
36352 (hidden_tls_proto): Likewise.
36353 (__hidden_proto): Likewise.
36356 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36357 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36368 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36369 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36371 GLIBC_2.0 sqrtl symbol.
36373 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36374 [__USE_MISC] (_LIB_VERSION): Likewise.
36375 [__USE_MISC] (struct exception): Likewise.
36376 [__USE_MISC] (matherr): Likewise.
36377 [__USE_MISC] (DOMAIN): Likewise.
36378 [__USE_MISC] (SING): Likewise.
36379 [__USE_MISC] (OVERFLOW): Likewise.
36380 [__USE_MISC] (UNDERFLOW): Likewise.
36381 [__USE_MISC] (TLOSS): Likewise.
36382 [__USE_MISC] (PLOSS): Likewise.
36383 [__USE_MISC] (HUGE): Likewise.
36384 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36385 * math/math-svid-compat.h: New file.
36386 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36388 * include/math.h [!_ISOMAC] (__matherr): Remove.
36389 * manual/arith.texi (FP Exceptions): Do not document matherr.
36390 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36391 (tests-internal): New variable.
36392 (install-lib): Do not add libieee.a.
36393 (non-lib.a): Likewise.
36394 (extra-objs): Do not add libieee.a and ieee-math.o.
36395 (CPPFLAGS-s_lib_version.c): Remove variable.
36396 ($(objpfx)libieee.a): Remove rule.
36397 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36398 * math/ieee-math.c: Remove.
36399 * math/libm-test-support.c (matherr): Remove.
36400 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36401 and license notices. Include <math-svid-compat.h> and
36403 (matherr): Undefine as macro. Use compat_symbol_reference.
36404 (_LIB_VERSION): Likewise.
36405 * math/test-matherr-2.c: New file.
36406 * math/test-matherr-3.c: Likewise.
36407 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36409 (__kernel_standard_f): Likewise.
36410 (__kernel_standard_l): Likewise.
36411 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36412 <math_private.h>. Include <math-svid-compat.h>.
36413 (_LIB_VERSION): Undefine as macro.
36414 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36415 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36416 [LIBM_SVID_COMPAT], use compat_symbol.
36417 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36418 <math_private.h>. Include <math-svid-compat.h>.
36419 (matherr): Undefine as macro.
36420 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36422 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36423 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36424 compat_symbol_reference.
36425 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36426 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36427 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36428 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36429 (MATHERR_D): Remove declaration.
36430 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36431 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36432 [LIBM_BUILD] (pmatherrf): Likewise.
36433 [LIBM_BUILD] (pmatherr): Likewise.
36434 [LIBM_BUILD] (pmatherrl): Likewise.
36435 (DOMAIN): Likewise.
36437 (OVERFLOW): Likewise.
36438 (UNDERFLOW): Likewise.
36441 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36442 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36444 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36445 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36447 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36448 * math/w_acos_compat.c: Likewise.
36449 * math/w_acosf_compat.c: Likewise.
36450 * math/w_acosh_compat.c: Likewise.
36451 * math/w_acoshf_compat.c: Likewise.
36452 * math/w_acoshl_compat.c: Likewise.
36453 * math/w_acosl_compat.c: Likewise.
36454 * math/w_asin_compat.c: Likewise.
36455 * math/w_asinf_compat.c: Likewise.
36456 * math/w_asinl_compat.c: Likewise.
36457 * math/w_atan2_compat.c: Likewise.
36458 * math/w_atan2f_compat.c: Likewise.
36459 * math/w_atan2l_compat.c: Likewise.
36460 * math/w_atanh_compat.c: Likewise.
36461 * math/w_atanhf_compat.c: Likewise.
36462 * math/w_atanhl_compat.c: Likewise.
36463 * math/w_cosh_compat.c: Likewise.
36464 * math/w_coshf_compat.c: Likewise.
36465 * math/w_coshl_compat.c: Likewise.
36466 * math/w_exp10_compat.c: Likewise.
36467 * math/w_exp10f_compat.c: Likewise.
36468 * math/w_exp10l_compat.c: Likewise.
36469 * math/w_exp2_compat.c: Likewise.
36470 * math/w_exp2f_compat.c: Likewise.
36471 * math/w_exp2l_compat.c: Likewise.
36472 * math/w_fmod_compat.c: Likewise.
36473 * math/w_fmodf_compat.c: Likewise.
36474 * math/w_fmodl_compat.c: Likewise.
36475 * math/w_hypot_compat.c: Likewise.
36476 * math/w_hypotf_compat.c: Likewise.
36477 * math/w_hypotl_compat.c: Likewise.
36478 * math/w_j0_compat.c: Likewise.
36479 * math/w_j0f_compat.c: Likewise.
36480 * math/w_j0l_compat.c: Likewise.
36481 * math/w_j1_compat.c: Likewise.
36482 * math/w_j1f_compat.c: Likewise.
36483 * math/w_j1l_compat.c: Likewise.
36484 * math/w_jn_compat.c: Likewise.
36485 * math/w_jnf_compat.c: Likewise.
36486 * math/w_jnl_compat.c: Likewise.
36487 * math/w_lgamma_main.c: Likewise.
36488 * math/w_lgamma_r_compat.c: Likewise.
36489 * math/w_lgammaf_main.c: Likewise.
36490 * math/w_lgammaf_r_compat.c: Likewise.
36491 * math/w_lgammal_main.c: Likewise.
36492 * math/w_lgammal_r_compat.c: Likewise.
36493 * math/w_log10_compat.c: Likewise.
36494 * math/w_log10f_compat.c: Likewise.
36495 * math/w_log10l_compat.c: Likewise.
36496 * math/w_log2_compat.c: Likewise.
36497 * math/w_log2f_compat.c: Likewise.
36498 * math/w_log2l_compat.c: Likewise.
36499 * math/w_log_compat.c: Likewise.
36500 * math/w_logf_compat.c: Likewise.
36501 * math/w_logl_compat.c: Likewise.
36502 * math/w_pow_compat.c: Likewise.
36503 * math/w_powf_compat.c: Likewise.
36504 * math/w_powl_compat.c: Likewise.
36505 * math/w_remainder_compat.c: Likewise.
36506 * math/w_remainderf_compat.c: Likewise.
36507 * math/w_remainderl_compat.c: Likewise.
36508 * math/w_scalb_compat.c: Likewise.
36509 * math/w_scalbf_compat.c: Likewise.
36510 * math/w_scalbl_compat.c: Likewise.
36511 * math/w_sinh_compat.c: Likewise.
36512 * math/w_sinhf_compat.c: Likewise.
36513 * math/w_sinhl_compat.c: Likewise.
36514 * math/w_sqrt_compat.c: Likewise.
36515 * math/w_sqrtf_compat.c: Likewise.
36516 * math/w_sqrtl_compat.c: Likewise.
36517 * math/w_tgamma_compat.c: Likewise.
36518 * math/w_tgammaf_compat.c: Likewise.
36519 * math/w_tgammal_compat.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36521 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36522 * sysdeps/ieee754/k_standard.c: Likewise.
36523 * sysdeps/ieee754/k_standardf.c: Likewise.
36524 * sysdeps/ieee754/k_standardl.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36526 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36527 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36529 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36531 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36532 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36533 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36539 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36540 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36541 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36543 2017-08-21 Florian Weimer <fweimer@redhat.com>
36546 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36547 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36548 Move before inclusion of ../Rules.
36550 2017-08-21 Florian Weimer <fweimer@redhat.com>
36553 * assert/assert.h (assert): Use static_cast (bool) for C++.
36554 Use the ternary operator in the warning branch for GNU C.
36555 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36556 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36557 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36558 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36559 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36561 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36564 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36565 (__syscall_clock_gettime): Add attribute_hidden.
36566 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36567 (__start_context): Likewise.
36569 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36571 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36573 (hidden_proto): Likewise.
36574 (hidden_tls_proto): Likewise.
36575 (__hidden_proto): Likewise.
36577 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36579 * include/libc-symbols.h (attribute_hidden): Enable hidden
36580 visibility in libc.a compiled with PIE.
36582 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36586 Add attribute_hidden.
36588 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36591 * Makerules (all-nonlib): Add $(others-extras).
36592 * catgets/Makefile (others-extras): New.
36593 * elf/Makefile (others-extras): Likewise.
36594 * nss/Makefile (others-extras): Likewise.
36596 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36599 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36600 * elf/dl-open.c: Include <libc-internal.h>.
36601 (__libc_multiple_libcs): Removed.
36602 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36604 * include/libc-internal.h (__libc_multiple_libcs): New.
36605 * misc/sbrk.c: Include <libc-internal.h>.
36606 (__libc_multiple_libcs): Removed.
36608 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36611 * grp/initgroups.c (__nss_group_database): Removed.
36612 (__nss_initgroups_database): Likewise.
36613 * nscd/gai.c (__nss_hosts_database): Likewise.
36614 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36615 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36616 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36617 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36618 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36619 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36621 * nss/nsswitch.c (__nss_database_custom): Define only if
36622 USE_NSCD is defined.
36623 (__nss_configure_lookup): Use __nss_database_custom only if
36624 USE_NSCD is defined.
36625 * nss/nsswitch.h (__nss_database_custom): Declare only if
36626 USE_NSCD is defined. Add attribute_hidden.
36627 (__nss_setent): Add attribute_hidden.
36628 (__nss_endent): Likewise.
36629 (__nss_getent_r): Likewise.
36630 (__nss_getent): Likewise.
36631 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36633 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36636 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36637 libc_hidden_proto and libc_hidden_def.
36639 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36642 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36643 Add libc_hidden_proto.
36644 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36645 Add libc_hidden_def.
36647 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36650 * gmon/Makefile (routines): Remove bb_init_func and
36652 (elide-routines.os): Removed.
36653 * gmon/bb_exit_func.c: Likewise.
36654 * gmon/bb_init_func.c: Likewise.
36655 * include/sys/gmon.h (__bb): Likewise.
36656 (__bb_init_func): Likewise.
36657 (__bb_exit_func): Likewise.
36658 * sysdeps/alpha/bb_init_func.S: Likewise.
36660 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36662 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36663 * include/setjmp.h (____longjmp_chk): Here. Add
36666 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36669 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36671 (__strspn_sse2): Likewise.
36673 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36675 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36676 (close_not_cancel_no_status): Likewise.
36677 (__close_nocancel): New macro.
36678 (__close_nocancel_nostatus): Likewise.
36679 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36681 (close_not_cancel): Likewise.
36682 (close_not_cancel_no_status): Likewise.
36683 (__close_nocancel): New prototype.
36684 (__close_nocancel_nostatus): New function.
36685 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36686 * catgets/open_catalog.c (__open_catalog): Replace
36687 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36688 * gmon/gmon.c (write_gmon): Likewise.
36689 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36690 * intl/loadmsgcat.c (close): Likewise.
36691 * io/ftw.c (open_dir_stream): Likewise.
36692 (ftw_startup): Likewise.
36693 * libio/fileops.c (_IO_file_open): Likewise.
36694 (_IO_file_close_mmap): Likewise.
36695 (_IO_file_close): Likewise.
36696 * libio/iopopen.c (_IO_dup2): Likewise.
36697 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36698 * locale/loadlocale.c (_nl_load_locale): Likewise.
36699 * login/utmp_file.c (pututline_file): Likewise.
36700 (endutent_file): Likewise.
36701 * misc/daemon.c (daemon): Likewise.
36702 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36703 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36704 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36705 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36707 * nscd/nscd_helper.c (open_socket): Likewise.
36708 (__nscd_open_socket): Likewise.
36709 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36710 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36711 (__nscd_innetgr): Likewise.
36712 * nss/nss_db/db-open.c (internal_setent): Likewise.
36713 * resolv/res-close.c (__res_iclose): Likewise.
36714 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36715 * sysdeps/posix/closedir.c (__closedir): Likewise.
36716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36717 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36718 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36719 (opendir_tail): Likewise.
36720 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36721 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36722 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36723 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36724 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36725 (gethostid): Likewise.
36726 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36727 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36730 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36731 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36732 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36734 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36735 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36736 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36738 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36739 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36741 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36743 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36744 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36745 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36748 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36749 (openat_not_cancel_3): Likewise.
36750 (openat64_not_cancel_3): Likewise).
36751 (openat_not_cancel_3): Likewise).
36752 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36754 (openat_not_cancel_3): Likewise.
36755 (openat64_not_cancel): Likewise.
36756 (openat64_not_cancel_3): Likewise.
36757 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36758 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36759 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36760 __open{64}_nocancel.
36761 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36762 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36763 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36765 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36768 * include/argz.h (__argz_create_sep): New function prototype.
36769 (__argz_append): Likewise.
36770 (__argz_add): Likewise.
36771 (__argz_add_sep): Likewise.
36772 (__argz_delete): Likewise.
36773 (__argz_insert): Likewise.
36774 (__argz_replace): Likewise.
36775 * string/argz.h (__argz_create_sep): Removed.
36776 (__argz_append): Likewise.
36777 (__argz_add): Likewise.
36778 (__argz_add_sep): Likewise.
36779 (__argz_delete): Likewise.
36780 (__argz_insert): Likewise.
36781 (__argz_replace): Likewise.
36783 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36785 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36786 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36787 (GNU_PROPERTY_STACK_SIZE): Likewie.
36788 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36789 (GNU_PROPERTY_LOPROC): Likewise.
36790 (GNU_PROPERTY_HIPROC): Likewise.
36791 (GNU_PROPERTY_LOUSER): Likewise.
36792 (GNU_PROPERTY_HIUSER): Likewise.
36793 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36794 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36795 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36796 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36797 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36798 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36799 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36800 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36801 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36802 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36803 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36804 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36805 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36806 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36807 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36808 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36809 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36810 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36811 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36812 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36813 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36814 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36815 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36817 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36819 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36822 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36825 * math/math.h (isinf): Check if in C or C++ mode before using
36826 __builtin_types_compatible_p, since this is a C mode feature.
36828 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36830 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36831 (__write_nocancel): New macro.
36832 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36833 Rewrite as a function prototype.
36834 (write_not_cancel): Remove macro.
36835 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36836 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36837 (write_gmon): Likewise.
36838 * libio/fileops.c (_IO_new_file_write): Likewise.
36839 * login/utmp_file.c (pututline_file): Likewise.
36840 (updwtmp_file): Likewise.
36841 * stdio-common/psiginfo.c (psiginfo): Likewise.
36842 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36843 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36844 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36846 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36849 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36850 (__read_nocancel): New macro.
36851 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36853 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36855 (__read_nocancel): New prototype.
36856 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36857 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36858 with __read_nocancel.
36859 * intl/loadmsgcat.c (read): Likewise.
36860 * libio/fileops.c (_IO_file_read): Likewise.
36861 * locale/loadlocale.c (_nl_load_locale): Likewise.
36862 * login/utmp_file.c (getutent_r_file): Likewise.
36863 (internal_getut_r): Likewise.
36864 (getutline_r_file): Likewise.
36865 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36866 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36867 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36870 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36871 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36872 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36874 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36876 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36878 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36880 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36882 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36885 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36886 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36889 2017-08-17 DJ Delorie <dj@redhat.com>
36891 * bug17079.c: Update to new test harness.
36892 * test-digits-dots.c: Likewise.
36893 * test-netdb.c: Likewise.
36894 * tst-field.c: Likewise.
36895 * tst-nss-getpwent.c: Likewise.
36896 * tst-nss-static.c: Likewise.
36897 * tst-nss-test1.c: Likewise.
36898 * tst-nss-test2.c: Likewise.
36899 * tst-nss-test3.c: Likewise.
36900 * tst-nss-test4.c: Likewise.
36901 * tst-nss-test5.c: Likewise.
36903 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36905 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36906 (open_not_cancel_2): Likewise.
36907 (open_nocancel): New macro.
36908 (open64_nocancel): Likewise.
36909 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36910 (open_not_cancel_2): Likewise.
36911 (__open_nocancel): New prototype.
36912 (__open64_nocancel): Likewise.
36913 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36915 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36916 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36917 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36918 with __open_nocancel.
36919 * csu/check_fds.c (check_one_fd): Likewise.
36920 * gmon/gmon.c (write_gmon): Likewise.
36921 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36922 * intl/loadmsgcat.c (open): Likewise.
36923 * libio/fileops.c (_IO_file_open): Likewise.
36924 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36925 * locale/loadlocale.c (_nl_load_locale): Likewise.
36926 * login/utmp_file.c (setutent_file): Likewise.
36927 * misc/daemon.c (daemon): Likewise.
36928 * nss/nss_db/db-open.c (internal_setent): Likewise.
36929 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36930 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36931 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36932 (__opendir): Likewise.
36933 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36934 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36935 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36936 (gethostid): Likewise.
36937 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36941 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36942 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36943 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36945 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36947 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36949 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36951 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36953 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36955 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36956 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36958 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36960 * benchtests/bench-skeleton.c (main): Add support for
36961 latency benchmarking.
36962 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36964 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36966 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36967 the startup object.
36969 2017-08-17 Florian Weimer <fweimer@redhat.com>
36971 * include/sys/socket.h (__opensock): Remove internal_function.
36972 * socket/opensock.c (__opensock): Likewise.
36973 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36975 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36978 * signal/bits/types/__sigval_t.h: New file.
36979 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36980 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36981 and define sigval_t using __sigval_t.
36982 * include/bits/types/__sigval_t.h: New file.
36983 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36984 instead of <bits/types/__sigval_t.h>.
36985 (struct sigevent): Use __sigval_t instead of sigval_t.
36986 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36987 instead of <bits/types/__sigval_t.h>.
36988 (siginfo_t): Use __sigval_t instead of sigval_t.
36989 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36990 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36991 (struct sigevent): Use __sigval_t instead of sigval_t.
36992 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36993 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36994 (siginfo_t): Use __sigval_t instead of sigval_t.
36995 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36997 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36999 * NEWS: Remove "[Add new features here]" for 2.27.
37001 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37003 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37006 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37008 * NEWS: Mention x86-64 FMA optimization.
37010 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37015 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37016 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37017 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37019 2017-08-16 Andreas Schwab <schwab@suse.de>
37023 * elf/ldd.bash.in: Never run file directly.
37025 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37028 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37029 (L(SP_INF_0)): Likewise.
37031 2017-08-15 Florian Weimer <fweimer@redhat.com>
37033 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37036 2017-08-15 Florian Weimer <fweimer@redhat.com>
37038 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37039 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37040 BROKEN_THREAD_SIGNALS code.
37041 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37042 request_list): Remove caller_pid member used for
37043 BROKEN_THREAD_SIGNALS.
37044 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37045 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37046 Remove BROKEN_THREAD_SIGNALS support.
37047 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37048 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37050 2017-08-15 Florian Weimer <fweimer@redhat.com>
37052 * gmon/Makefile (tests): Add tst-gmon.
37053 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37055 (tests-special): Add tst-gmon-prof.out.
37056 (tst-gmon.out): Depend on clean-tst-gmon-data.
37057 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37058 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37059 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37061 * aclocal.m4 (GPROF): Set and substitute.
37062 * config.amke.in (GPROF): Set.
37063 * configure: Regenerate.
37065 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37067 * elf/elf.h A (NT_PPC_TAR): New macro.
37068 (NT_PPC_PPR): Likewise.
37069 (NT_PPC_DSCR): Likewise.
37070 (NT_PPC_EBB): Likewise.
37071 (NT_PPC_PMU): Likewise.
37072 (NT_PPC_TM_CGPR): Likewise.
37073 (NT_PPC_TM_CFPR): Likewise.
37074 (NT_PPC_TM_CVMX): Likewise.
37075 (NT_PPC_TM_CVSX): Likewise.
37076 (NT_PPC_TM_SPR): Likewise.
37077 (NT_PPC_TM_CTAR): Likewise.
37078 (NT_PPC_TM_CPPR): Likewise.
37079 (NT_PPC_TM_CDSCR): Likewise.
37081 2017-08-15 Florian Weimer <fweimer@redhat.com>
37083 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37084 regparm (2) instead of internal_function.
37085 (_MCOUNT_DECL): Adjust.
37087 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37089 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37090 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37092 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37094 * conform/data/sys/wait.h-data (si_value): Do not expect for
37097 2017-08-14 Florian Weimer <fweimer@redhat.com>
37100 NSS: Create stubs for accidentally exported lookup functions.
37101 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37102 Remove declaration.
37103 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37104 (ether_hostton): Call __nss_ethers_lookup2 instead.
37105 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37106 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37107 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37108 (setup): Call __nss_netgroup_lookup2 instead.
37109 * nss/Makefile (routines): Add compat-lookup.
37110 * nss/Versions (GLIBC_2.27): Add symbol version.
37111 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37112 (DB_COMPAT_FCT): Remove.
37113 * nss/compat-lookup.c: New file.
37114 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37115 from databases.def.
37116 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37117 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37118 (netname2user): Call __nss_publickey_lookup2 instead.
37119 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37120 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37123 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37124 Sergei Trofimovich <slyfox@inbox.ru>
37127 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37128 Rename to MMAP2_PAGE_UNIT.
37129 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37130 __OFF_T_MATCHES_OFF64_T is not defined.
37131 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37133 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37134 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37136 2017-08-14 Florian Weimer <fweimer@redhat.com>
37138 i386: Do not set internal_function.
37139 * config.h.in (USE_REGPARMS, internal_function): Remove.
37140 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37141 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37143 2017-08-14 Florian Weimer <fweimer@redhat.com>
37145 * elf/dl-init.c (_dl_init): Remove internal_function.
37146 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37147 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37149 2017-08-14 Florian Weimer <fweimer@redhat.com>
37151 * elf/rtld.c (_dl_start): Remove internal_function.
37152 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37155 2017-08-14 Florian Weimer <fweimer@redhat.com>
37157 * elf/dl-fini.c (_dl_fini): Remove internal_function
37158 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37160 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37162 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37163 (bit_cpu_SHSTK): Likewise.
37164 (index_cpu_IBT): Likewise.
37165 (index_cpu_SHSTK): Likewise.
37166 (reg_IBT): Likewise.
37167 (reg_SHSTK): Likewise.
37168 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37169 Handle index_cpu_IBT and index_cpu_SHSTK.
37171 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37174 * po/fr.po: Fix spelling mistake.
37176 2017-08-13 Florian Weimer <fweimer@redhat.com>
37178 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37179 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37180 (_dl_catch_error, _dl_receive_error): Likewise.
37181 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37182 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37183 (_dl_deallocate_tls): Likewise.
37184 * include/dlfcn.h (_dl_addr): Likewise.
37185 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37186 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37187 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37190 2017-08-13 Florian Weimer <fweimer@redhat.com>
37192 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37193 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37195 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37197 2017-08-13 Florian Weimer <fweimer@redhat.com>
37199 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37201 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37202 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37203 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37204 internal_function from _dl_make_stack_executable_hook member.
37205 (_dl_make_stack_executable): Remove internal_function.
37206 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37208 * sysdeps/unix/sysv/linux/dl-execstack.c
37209 (_dl_make_stack_executable): Likewise.
37211 2017-08-13 Florian Weimer <fweimer@redhat.com>
37213 * sysdeps/unix/sysv/linux/netlinkaccess.h
37214 (__netlink_assert_response): Remove internal_function.
37215 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37216 (__netlink_assert_response): Likewise.
37218 2017-08-13 Florian Weimer <fweimer@redhat.com>
37220 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37222 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37224 2017-08-13 Florian Weimer <fweimer@redhat.com>
37226 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37228 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37229 * inet/netgroup.h (__internal_setnetgrent)
37230 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37231 * inet/getnetgrent_r.c (__internal_setnetgrent)
37232 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37233 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37234 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37235 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37236 * nss/nsswitch.h (db_lookup_function): Likewise.
37238 2017-08-13 Florian Weimer <fweimer@redhat.com>
37240 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37241 Remove internal_function.
37242 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37243 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37244 message argument on the stack.
37245 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37248 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37250 Adapt test case data to the changes in the thousands
37254 * localedata/tst-langinfo.sh: Adapt test case data.
37255 * stdlib/tst-strfmon_l.c: Likewise.
37256 * stdlib/tst-strtod4.c: Likewise.
37257 * stdlib/tst-strtod5i.c: Likewise.
37259 2017-08-11 Florian Weimer <fweimer@redhat.com>
37262 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37263 Suppress pedantic warning resulting from statement expression.
37264 (__ASSERT_FUNCTION): Add missing __extension__.
37266 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37268 * benchtests/bench-memmove-large.c: Print output in JSON
37270 * benchtests/bench-memmove.c: Likewise.
37272 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37273 * benchtests/bench-memchr.c (do_one_test): Likewise.
37274 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37275 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37276 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37277 * benchtests/bench-memmove.c (do_one_test): Likewise.
37278 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37279 * benchtests/bench-memset.c (do_one_test): Likewise.
37280 * benchtests/bench-string.h (test_init): Remove memsets.
37282 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37285 (Computing the Width of an Integer Data Type): Rename section to
37286 "Width of an Integer Type". Remove inaccurate statement regarding
37287 lack of C language facilities for determining width of integer
37288 types, and reorder content to improve flow and context of
37291 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37293 * lang.texi (va_copy): Change standard from ISO to C99.
37294 (__va_copy): Add standard and header annotation.
37295 Update description for clarity of origins and current use.
37297 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37300 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37301 xssqrtqp requires operands to be in Vector Registers
37302 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37303 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37304 (__ieee754_sqrtf128): Likewise.
37306 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37308 * sysdeps/aarch64/memcmp.S (memcmp):
37309 Rewrite of optimized memcmp.
37311 2017-08-10 Florian Weimer <fweimer@redhat.com>
37313 Introduce ld.so exceptions.
37314 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37315 (_dl_exception_create, _dl_exception_create_format)
37316 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37317 (_dl_catch_exception): Declare.
37318 (_dl_catch_error): Update comment.
37319 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37320 errstring, malloced members with exception member.
37321 (_dl_out_of_memory): Remove.
37322 (fatal_error): New function, extracted from _dl_signal_error.
37323 (_dl_signal_exception, _dl_signal_cexception): New functions.
37324 (_dl_signal_error): Call _dl_exception_create to allocate an
37326 (_dl_catch_exception): New function, based on _dl_catch_error.
37327 (_dl_catch_error): Implement using _dl_catch_exception.
37328 * elf/dl-exception.c: New file.
37329 * elf/Makefile (dl-routines): Add dl-exception.
37330 (elide-routines.os): Likewise.
37331 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37332 _dl_exception_create_format, _dl_exception_free.
37333 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37334 _dl_signal_exception.
37335 * elf/dl-lookup.c (make_string): Remove.
37336 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37337 _dl_signal_cexception, _dl_exception_free.
37338 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37339 _dl_signal_exception.
37340 * elf/dl-sym.c (do_sym): Likewise.
37341 * elf/dl-version.c (make_string): Remove.
37342 (match_symbol): Use _dl_exception_create_format,
37343 _dl_signal_cexception, _dl_exception_free.
37344 (_dl_check_map_versions): Likewise.
37345 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37346 _dl_catch_exception.
37347 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37348 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37349 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37350 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37351 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37352 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37353 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37354 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37356 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37363 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37364 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37365 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37367 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37369 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37371 2017-08-10 Florian Weimer <fweimer@redhat.com>
37373 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37374 attribute_hidden, internal_function.
37375 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37378 2017-08-10 Florian Weimer <fweimer@redhat.com>
37380 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37381 function which calls __builtin_unreachable.
37383 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37385 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37386 Indian monetary formatting
37387 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37390 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37392 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37393 Fix typo in comment.
37396 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37397 PTRACE_SEIZE_DEVEL): Remove.
37398 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37404 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37406 * posix/bits/types.h (__qaddr_t): Remove.
37409 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37410 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37412 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37413 (ucontext_t): Use __ctx with uc_flags.
37414 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37415 (__ctxt): Likewise.
37416 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37418 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37419 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37421 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37422 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37424 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37426 (ucontext_t): Use __ctx with uc_flags.
37427 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37428 (ucontext_t): Use __ctx with uc_flags.
37429 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37430 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37431 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37432 (ucontext_t): Use __ctx with uc_flags.
37433 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37434 undefine further down.
37435 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37437 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37438 undefine further down.
37439 (ucontext_t): Use __ctx with uc_flags.
37440 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37441 undefine further down.
37442 (ucontext_t): Use __ctx with uc_flags.
37443 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37444 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37445 Rename uc_pad to __glibc_reserved1.
37446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37447 undefine further down.
37448 (ucontext_t): Use __ctx with uc_flags.
37449 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37451 (ucontext_t): Use __ctx with uc_flags.
37452 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37453 __ctx with uc_flags.
37454 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37455 (ucontext_t): Use __ctx with uc_flags.
37456 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37457 __ctx with uc_flags.
37459 2017-08-09 Florian Weimer <fweimer@redhat.com>
37462 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37463 before early return.
37465 2017-08-09 Andreas Schwab <schwab@suse.de>
37468 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37472 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37473 tst-compat-forwarder.
37474 (modules-names): Add tst-compat-forwarder-mod.
37475 ($(objpfx)tst-compat-forwarder): Depend on
37476 $(objpfx)tst-compat-forwarder-mod.so.
37477 * nptl/tst-compat-forwarder.c: New file.
37478 * nptl/tst-compat-forwarder-mod.c: New file.
37480 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37482 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37485 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37486 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37488 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37490 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37491 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37492 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37493 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37495 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37498 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37501 * manual/setjmp.texi (getcontex): Document uc_stack value
37502 compatibility differences.
37504 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37506 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37507 (old_malloc_hook): Likewise.
37508 (old_memalign_hook): Likewise.
37509 (old_realloc_hook): Likewise.
37510 (struct hdr): Likewise.
37512 (freehook): Likewise.
37513 (mallochook): Likewise.
37514 (memalignhook): Likewise.
37515 (reallochook): Likewise.
37516 (mprobe): Likewise.
37517 * malloc/mtrace.c (mallwatch): Likewise.
37518 (tr_old_free_hook): Likewise.
37519 (tr_old_malloc_hook): Likewise.
37520 (tr_old_realloc_hook): Likewise.
37521 (tr_old_memalign_hook): Likewise.
37522 (tr_where): Likewise.
37523 (lock_and_info): Likewise.
37524 (tr_freehook): Likewise.
37525 (tr_mallochook): Likewise.
37526 (tr_reallochook): Likewise.
37527 (tr_memalignhook): Likewise.
37528 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37529 * misc/mmap.c (__mmap): Likewise.
37530 * misc/mmap64.c (__mmap64): Likewise.
37531 * misc/mprotect.c (__mprotect): Likewise.
37532 * misc/msync.c (msync): Likewise.
37533 * misc/munmap.c (__munmap): Likewise.
37534 * posix/posix_madvise.c (posix_madvise): Likewise.
37535 * socket/send.c (__send): Likewise.
37536 * socket/sendto.c (__sendto): Likewise.
37537 * socket/setsockopt.c (__setsockopt): Likewise.
37538 * string/memcmp.c (__ptr_t): Remove macro.
37539 (MEMCMP): Use void * instead of ptr_t.
37540 * string/memrchr.c (__ptr_t): Remove macro.
37541 (__memrchr): Use void * instead of ptr_t.
37542 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37543 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37544 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37545 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37546 * sysdeps/mach/msync.c (msync): Likewise.
37547 * sysdeps/mach/munmap.c (__munmap): Likewise.
37548 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37550 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37551 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37552 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37553 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37554 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37555 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37556 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37557 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37559 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37560 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37561 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37562 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37563 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37564 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37565 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37566 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37569 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37570 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37571 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37572 (MEMCMP): Use void * instead of ptr_t.
37573 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37574 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37576 2017-08-08 Florian Weimer <fweimer@redhat.com>
37578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37581 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37584 * csu/libc-tls.c: Include <startup.h> first.
37585 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37586 * elf/dl-tunables.c: Include <startup.h> first.
37587 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37588 * sysdeps/generic/startup.h: New file.
37589 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37591 (I386_USE_SYSENTER): New. Defined to 0.
37593 2017-08-08 Andreas Schwab <schwab@suse.de>
37596 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37597 * nptl/pt-system.c (system): Likewise.
37599 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37602 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37604 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37605 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37606 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37607 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37608 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37609 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37610 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37612 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37615 * bits/sigaction.h (struct sigaction): Define sa_handler and
37616 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37617 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37618 [__USE_XOPEN_EXTENDED].
37619 (SA_RESTART): Likewise.
37620 (SA_NODEFER): Likewise.
37621 (SA_RESETHAND): Likewise.
37622 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37623 (struct sigaction): Define sa_handler and sa_sigaction using union
37624 also for [__USE_XOPEN_EXTENDED].
37625 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37626 [__USE_XOPEN_EXTENDED].
37627 (SA_RESTART): Likewise.
37628 (SA_NODEFER): Likewise.
37629 (SA_RESETHAND): Likewise.
37630 * sysdeps/unix/sysv/linux/bits/sigaction.h
37631 (struct sigaction): Define sa_handler and sa_sigaction using union
37632 also for [__USE_XOPEN_EXTENDED].
37633 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37634 [__USE_XOPEN_EXTENDED].
37635 (SA_RESTART): Likewise.
37636 (SA_NODEFER): Likewise.
37637 (SA_RESETHAND): Likewise.
37638 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37639 (struct sigaction): Define sa_handler and sa_sigaction using union
37640 also for [__USE_XOPEN_EXTENDED].
37641 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37642 [__USE_XOPEN_EXTENDED].
37643 (SA_RESTART): Likewise.
37644 (SA_NODEFER): Likewise.
37645 (SA_RESETHAND): Likewise.
37646 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37647 (struct sigaction): Define sa_handler and sa_sigaction using union
37648 also for [__USE_XOPEN_EXTENDED].
37649 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37650 [__USE_XOPEN_EXTENDED].
37651 (SA_RESTART): Likewise.
37652 (SA_NODEFER): Likewise.
37653 (SA_RESETHAND): Likewise.
37654 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37655 (struct sigaction): Define sa_handler and sa_sigaction using union
37656 also for [__USE_XOPEN_EXTENDED].
37657 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37658 [__USE_XOPEN_EXTENDED].
37659 (SA_RESTART): Likewise.
37660 (SA_NODEFER): Likewise.
37661 (SA_RESETHAND): Likewise.
37662 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37663 (struct sigaction): Define sa_handler and sa_sigaction using union
37664 also for [__USE_XOPEN_EXTENDED].
37665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37666 [__USE_XOPEN_EXTENDED].
37667 (SA_RESTART): Likewise.
37668 (SA_NODEFER): Likewise.
37669 (SA_RESETHAND): Likewise.
37670 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37671 (struct sigaction): Define sa_handler and sa_sigaction using union
37672 also for [__USE_XOPEN_EXTENDED].
37673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37674 [__USE_XOPEN_EXTENDED].
37675 (SA_RESTART): Likewise.
37676 (SA_NODEFER): Likewise. Define directly rather than as alias.
37677 (SA_RESETHAND): Likewise.
37678 (SA_INTERRUPT): Define only for [__USE_MISC].
37679 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37680 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37682 (SA_STACK): Define only for [__USE_MISC].
37683 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37684 (struct sigaction): Define sa_handler and sa_sigaction using union
37685 also for [__USE_XOPEN_EXTENDED].
37686 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37687 [__USE_XOPEN_EXTENDED].
37688 (SA_RESTART): Likewise.
37689 (SA_NODEFER): Likewise.
37690 (SA_RESETHAND): Likewise.
37691 (SA_NOPTRACE): Define only for [__USE_MISC].
37693 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37694 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37695 (struct catalog_info): Likewise.
37696 * inet/htontest.c (lo): Likewise.
37698 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37699 * inet/inet_net.c (inet_network): Likewise.
37700 * inet/inet_netof.c (inet_netof): Likewise.
37701 * inet/rcmd.c (__ivaliduser): Likewise.
37702 (iruserok): Likewise.
37703 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37704 * locale/programs/locale-spec.c (locale_special): Likewise.
37705 * nis/nis_findserv.c (struct findserv_req): Likewise.
37706 (__nis_findfastest_with_timeout): Likewise.
37707 * nss/test-netdb.c (test_network): Likewise.
37708 * resolv/inet_neta.c (inet_neta): Likewise.
37709 * resolv/ns_date.c (ns_datetosecs): Likewise.
37710 (SECS_PER_DAY): Likewise.
37711 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37713 * resolv/res_comp.c (__putlong): Likewise.
37714 (__putshort): Likewise.
37715 (_getlong): Likewise.
37716 (_getshort): Likewise.
37717 * resolv/res_debug.c (p_time): Likewise.
37718 (precsize_ntoa): Likewise.
37719 (precsize_aton): Likewise.
37720 (latlon2ul): Likewise.
37721 (loc_aton): Likewise.
37722 (loc_ntoa): Likewise.
37723 * resolv/res_hconf.c (struct netaddr): Likewise.
37724 (_res_hconf_reorder_addrs): Likewise.
37725 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37726 (clnttcp_control): Likewise.
37727 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37728 (clntudp_control): Likewise.
37729 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37730 (clntunix_control): Likewise.
37731 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37732 * sunrpc/rpc/auth.h (union des_block): Likewise.
37733 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37734 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37735 (xdrrec_create): Likewise.
37736 (xdrrec_endofrecord): Likewise.
37737 (flush_out): Likewise.
37738 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37739 (xdrstdio_putlong): Likewise.
37740 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37743 * misc/sys/cdefs.h (__long_double_t): Remove.
37744 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37745 instead of __long_double_t,
37746 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37748 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37750 * benchtests/scripts/compare_strings.py: Avoid display error when
37751 running on a text terminal.
37753 * benchtests/scripts/compare_strings.py (main): Add an
37754 optional -base option.
37755 (process_results): New argument base_func.
37757 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37759 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37760 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37762 2017-08-07 Andreas Schwab <schwab@suse.de>
37764 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37765 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37766 * intl/Makefile ($(objpfx)tst-gettext.out)
37767 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37768 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37769 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37770 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37771 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37772 * posix/Makefile ($(objpfx)globtest.out)
37773 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37774 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37775 ($(objpfx)tst-printf.out): Likewise.
37776 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37777 ($(objpfx)tst-setcontext3.out): Likewise.
37779 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37781 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37782 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37783 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37784 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37785 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37787 (CFLAGS-doasin-fma.c): New.
37788 (CFLAGS-dosincos-fma.c): Likewise.
37789 (CFLAGS-e_asin-fma.c): Likewise.
37790 (CFLAGS-e_atan2-fma.c): Likewise.
37791 (CFLAGS-e_exp-fma.c): Likewise.
37792 (CFLAGS-e_log-fma.c): Likewise.
37793 (CFLAGS-e_pow-fma.c): Likewise.
37794 (CFLAGS-halfulp-fma.c): Likewise.
37795 (CFLAGS-mpa-fma.c): Likewise.
37796 (CFLAGS-mpatan-fma.c): Likewise.
37797 (CFLAGS-mpatan2-fma.c): Likewise.
37798 (CFLAGS-mpexp-fma.c): Likewise.
37799 (CFLAGS-mplog-fma.c): Likewise.
37800 (CFLAGS-mpsqrt-fma.c): Likewise.
37801 (CFLAGS-mptan-fma.c): Likewise.
37802 (CFLAGS-s_atan-fma.c): Likewise.
37803 (CFLAGS-sincos32-fma.c): Likewise.
37804 (CFLAGS-slowexp-fma.c): Likewise.
37805 (CFLAGS-slowpow-fma.c): Likewise.
37806 (CFLAGS-s_sin-fma.c): Likewise.
37807 (CFLAGS-s_tan-fma.c): Likewise.
37808 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37809 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37815 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37817 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37818 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37822 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37824 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37831 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37832 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37835 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37840 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37842 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37843 (min_of_type_f): New macro.
37844 (min_of_type_): Likewise.
37845 (min_of_type_l): Likewise.
37846 (min_of_type_f128): Likewise.
37847 (min_of_type): Define using __MATH_TG and taking an expression
37849 (math_check_force_underflow): Pass expression instead of type to
37851 (math_check_force_underflow_nonneg): Likewise.
37853 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37855 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37856 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37857 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37859 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37862 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37863 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37864 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37865 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37866 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37867 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37868 memmove_chk-nonshared and memset_chk-nonshared
37869 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37870 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37871 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37873 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37874 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37875 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37876 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37877 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37878 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37879 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37880 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37882 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37884 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37886 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37888 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37890 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37892 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37894 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37896 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37897 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37898 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37899 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37902 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37905 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37907 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37908 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37909 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37911 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37913 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37915 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37917 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37919 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37921 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37922 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37924 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37925 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37926 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37927 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37929 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37931 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37933 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37934 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37935 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37936 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37937 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37938 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37939 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37940 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37950 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37951 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37952 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37978 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37980 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37981 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37982 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37983 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37984 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37985 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37986 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37987 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37988 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37989 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37990 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37991 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37992 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37993 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37994 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37995 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37996 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37997 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37998 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37999 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38000 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38001 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38003 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38008 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38009 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38010 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38011 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38012 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38014 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38015 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38016 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38018 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38019 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38021 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38022 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38023 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38041 Don't include <sysdep.h> nor <init-arch.h>.
38042 (_ZGVbN2v_cos): Removed.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38046 Don't include <sysdep.h> nor <init-arch.h>.
38047 (_ZGVdN4v_cos): Removed.
38048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38051 Don't include <sysdep.h> nor <init-arch.h>.
38052 (_ZGVeN8v_cos): Removed.
38053 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38056 Don't include <sysdep.h> nor <init-arch.h>.
38057 (_ZGVbN2v_exp): Removed.
38058 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38061 Don't include <sysdep.h> nor <init-arch.h>.
38062 (_ZGVdN4v_exp): Removed.
38063 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38066 Don't include <sysdep.h> nor <init-arch.h>.
38067 (_ZGVeN8v_exp): Removed.
38068 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38070 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38071 Don't include <sysdep.h> nor <init-arch.h>.
38072 (_ZGVbN2v_log): Removed.
38073 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38075 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38076 Don't include <sysdep.h> nor <init-arch.h>.
38077 (_ZGVdN4v_log): Removed.
38078 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38080 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38081 Don't include <sysdep.h> nor <init-arch.h>.
38082 (_ZGVeN8v_log): Removed.
38083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38085 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38086 Don't include <sysdep.h> nor <init-arch.h>.
38087 (_ZGVbN2vv_pow): Removed.
38088 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38090 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38091 Don't include <sysdep.h> nor <init-arch.h>.
38092 (_ZGVdN4vv_pow): Removed.
38093 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38096 Don't include <sysdep.h> nor <init-arch.h>.
38097 (_ZGVeN8vv_pow): Removed.
38098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38100 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38101 Don't include <sysdep.h> nor <init-arch.h>.
38102 (_ZGVbN2v_sin): Removed.
38103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38106 Don't include <sysdep.h> nor <init-arch.h>.
38107 (_ZGVbN4v_sin): Removed.
38108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38111 Don't include <sysdep.h> nor <init-arch.h>.
38112 (_ZGVbN8v_sin): Removed.
38113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38116 Don't include <sysdep.h> nor <init-arch.h>.
38117 (_ZGVbN2vvv_sincos): Removed.
38118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38121 Don't include <sysdep.h> nor <init-arch.h>.
38122 (_ZGVdN4vvv_sincos): Removed.
38123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38126 Don't include <sysdep.h> nor <init-arch.h>.
38127 (_ZGVeN8vvv_sincos): Removed.
38128 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38130 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38131 Don't include <sysdep.h> nor <init-arch.h>.
38132 (_ZGVeN16v_cosf): Removed.
38133 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38135 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38136 Don't include <sysdep.h> nor <init-arch.h>.
38137 (_ZGVbN4v_cosf): Removed.
38138 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38140 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38141 Don't include <sysdep.h> nor <init-arch.h>.
38142 (_ZGVdN8v_cosf): Removed.
38143 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38145 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38146 Don't include <sysdep.h> nor <init-arch.h>.
38147 (_ZGVeN16v_expf): Removed.
38148 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38150 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38151 Don't include <sysdep.h> nor <init-arch.h>.
38152 (_ZGVbN4v_expf): Removed.
38153 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38155 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38156 Don't include <sysdep.h> nor <init-arch.h>.
38157 (_ZGVdN8v_expf): Removed.
38158 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38160 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38161 Don't include <sysdep.h> nor <init-arch.h>.
38162 (_ZGVeN16v_logf): Removed.
38163 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38165 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38166 Don't include <sysdep.h> nor <init-arch.h>.
38167 (_ZGVbN4v_logf): Removed.
38168 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38171 Don't include <sysdep.h> nor <init-arch.h>.
38172 (_ZGVdN8v_logf): Removed.
38173 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38175 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38176 Don't include <sysdep.h> nor <init-arch.h>.
38177 (_ZGVeN16vv_powf): Removed.
38178 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38180 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38181 Don't include <sysdep.h> nor <init-arch.h>.
38182 (_ZGVbN4vv_powf): Removed.
38183 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38185 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38186 Don't include <sysdep.h> nor <init-arch.h>.
38187 (_ZGVdN8vv_powf): Removed.
38188 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38191 Don't include <sysdep.h> nor <init-arch.h>.
38192 (_ZGVeN16vvv_sincosf): Removed.
38193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38196 Don't include <sysdep.h> nor <init-arch.h>.
38197 (_ZGVbN4vvv_sincosf): Removed.
38198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38201 Don't include <sysdep.h> nor <init-arch.h>.
38202 (_ZGVdN8vvv_sincosf): Removed.
38203 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38205 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38206 Don't include <sysdep.h> nor <init-arch.h>.
38207 (_ZGVeN16v_sinf): Removed.
38208 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38210 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38211 Don't include <sysdep.h> nor <init-arch.h>.
38212 (_ZGVbN4v_sinf): Removed.
38213 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38215 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38216 Don't include <sysdep.h> nor <init-arch.h>.
38217 (_ZGVdN8v_sinf): Removed.
38219 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38221 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38222 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38223 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38224 s_rint-sse4_1 and s_rintf-sse4_1.
38225 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38226 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38228 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38229 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38230 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38232 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38233 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38234 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38235 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38236 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38238 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38239 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38240 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38241 (__ceilf): Removed.
38242 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38243 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38244 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38245 (__floor): Removed.
38246 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38247 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38248 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38249 (__floorf): Removed.
38250 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38251 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38252 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38253 (__nearbyint): Removed.
38254 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38255 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38256 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38257 (__nearbyintf): Removed.
38258 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38259 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38260 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38262 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38263 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38264 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38265 (__rintf): Removed.
38267 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38269 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38270 SHARED. Avoid dynamic relocation against main in static PIE.
38272 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38275 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38276 (LDFLAGS-tst-prelink): Likewise.
38278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38280 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38281 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38282 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38283 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38284 (INTERNAL_SYSCALL_NCS): Likewise.
38285 (LOADARGS_1): Likewise.
38286 (LOADARGS_5): Likewise.
38287 (RESTOREARGS_1): Likewise.
38288 (RESTOREARGS_5): Likewise.
38290 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38292 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38293 (MEMPCPY_SYMBOL): Likewise.
38294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38295 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38299 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38301 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38302 (__hidden_ver1): Don't use in libc.a.
38303 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38304 (__mempcpy): Don't create a weak alias in libc.a.
38305 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38307 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38308 (__hidden_ver1): Don't use in libc.a.
38310 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38312 * config.make.in (have-insert): New.
38313 * configure.ac (libc_cv_insert): New. Set to yes if linker
38314 supports INSERT in linker script.
38315 (AC_SUBST(libc_cv_insert): New.
38316 * configure: Regenerated.
38317 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38318 if $(have-insert) == yes.
38320 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38322 * elf/Makefile (tests): Add vismain only if
38323 $(have-protected-data) == yes.
38324 (tests-pie): Likewise.
38326 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38329 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38330 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38332 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38335 * sysdeps/i386/i586/memset.S
38336 (__memset_zero_constant_len_parameter): Removed.
38337 * sysdeps/i386/i686/memset.S
38338 (__memset_zero_constant_len_parameter): Likewise.
38339 * sysdeps/i386/i686/multiarch/memset_chk.S
38340 (__memset_zero_constant_len_parameter): Likewise.
38341 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38344 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38346 * stdlib/getentropy.c (getentropy): Change return type to int.
38348 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38350 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38352 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38354 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38356 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38357 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38359 (ieee_float_shape_type): Likewise.
38360 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38361 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38362 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38363 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38364 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38365 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38366 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38367 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38368 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38370 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38371 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38372 (__ieee754_yn): Likewise.
38373 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38374 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38377 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38378 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38379 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38380 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38381 (__erfc): Likewise.
38382 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38383 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38384 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38385 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38386 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38387 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38389 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38390 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38391 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38392 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38393 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38394 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38395 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38396 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38397 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38398 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38399 (__issignaling): Likewise.
38400 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38401 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38402 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38405 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38407 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38409 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38411 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38412 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38413 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38414 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38415 (__erfcf): Likewise.
38416 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38417 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38418 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38419 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38421 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38422 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38424 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38425 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38426 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38427 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38428 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38429 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38430 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38433 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38435 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38437 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38438 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38440 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38443 (__ieee754_ynl): Likewise.
38444 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38445 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38447 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38449 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38450 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38451 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38453 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38454 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38455 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38456 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38457 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38458 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38459 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38460 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38462 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38463 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38464 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38466 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38467 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38468 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38469 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38470 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38475 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38479 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38492 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38493 (__ieee754_remainderl): Likewise.
38494 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38496 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38502 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38503 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38504 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38505 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38506 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38509 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38510 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38511 (__ieee754_y0l): Likewise.
38514 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38515 (__ieee754_y1l): Likewise.
38518 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38519 (__ieee754_ynl): Likewise.
38520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38521 (__ieee754_lgammal_r): Likewise.
38522 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38524 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38525 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38526 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38527 (__erfcl): Likewise.
38528 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38529 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38531 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38532 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38533 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38534 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38535 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38539 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38540 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38541 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38542 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38543 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38545 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38546 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38548 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38549 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38550 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38551 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38552 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38554 2017-08-03 Florian Weimer <fweimer@redhat.com>
38557 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38558 on memory allocation failure.
38560 2017-08-03 Alan Modra <amodra@gmail.com>
38562 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38563 tst-tlsopt-powerpc.c with function name change and no test harness.
38564 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38565 Call tls_get_addr_opt_test.
38566 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38567 (modules-names): Add mod-tlsopt-powerpc.
38568 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38569 (tst-tlsopt-powerpc): Depend on .so.
38570 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38571 define. Expand use in TLS_GD and TLS_LD.
38573 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38575 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38577 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38579 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38582 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38583 comparing size with that of double.
38584 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38585 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38586 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38587 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38588 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38589 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38590 unsigned __int128 types.
38592 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38594 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38595 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38596 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38597 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38598 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38600 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38602 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38604 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38606 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38608 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38611 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38612 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38616 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38619 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38620 bit-field expressions passed to sizeof or typeof.
38621 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38622 (__TGMATH_F128): Likewise.
38623 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38624 (__TGMATH_CF128): Likewise.
38625 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38626 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38627 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38628 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38629 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38630 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38631 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38632 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38633 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38634 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38635 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38636 (__TGMATH_UNARY_IMAG): Likewise.
38637 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38638 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38639 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38641 (define_vars_for_type): Handle bit_field type specially.
38642 (Tests.__init__): Declare structure with bit-field element.
38644 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38647 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38648 (MEMCPY_CHK): Define only if SHARED is defined.
38649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38654 See ChangeLog.18 for earlier changes.